Add missing #include for MIN/MAX users.
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2
3         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4         * nptl/pthread_mutex_lock.c: Likewise.
5         * nptl/pthread_mutex_timedlock.c: Likewise.
6         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7
8 2014-07-01  Richard henderson  <rth@redhat.com>
9
10         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11         (__isnan, __isnanl): Remove.
12         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13
14         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15
16 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17
18         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19
20 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21
22         * resolv/nss_dns/dns-host.c (getanswer_r)
23         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24
25 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
26
27         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29         undefine.
30         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32
33 2014-07-01  Roland McGrath <roland@hack.frob.com>
34
35         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37
38         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
39         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40
41         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
42         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
43         ... here.
44         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
45         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
46
47         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
49         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
50         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
51
52         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
53         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
54         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
55         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
56         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
57         Moved ...
58         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
59         ... here.
60         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
61         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
62         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
63         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
64         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
65         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
66         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
67         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
68         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
69         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
70         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
71         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
72         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
73         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
74         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
75         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
76         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
77         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
78         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
79         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
80         ... here.
81         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
82         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
83         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
84         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
85         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
86         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
87         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
88         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
89
90 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
91
92         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
93         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
94         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
95         Add sysdep.
96
97 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
98
99         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
100
101 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
102
103         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
104         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
105
106         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
107
108         * sysdeps/arm/libm-test-ulps: Regenerated.
109
110 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
111             Roland McGrath <roland@hack.frob.com>
112
113         * test-skeleton.c (signal_handler): Kill the whole process group
114         before killing the child individually.
115         (main): Report any failure on `setpgid'.
116
117 2014-06-30  Roland McGrath  <roland@hack.frob.com>
118
119         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
120         from _TLS_H to _ARM_NPTL_TLS_H.
121         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
122         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
123
124 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
125
126         [BZ #16539]
127         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
128         (__expm1l): Return argument unchanged when small but not
129         subnormal.
130
131         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
132         include macro name.
133         (_FP_UNPACK_RAW_1_P): Likewise.
134         (_FP_PACK_RAW_1): Likewise.
135         (_FP_PACK_RAW_1_P): Likewise.
136         (_FP_MUL_MEAT_1_wide): Likewise.
137         (_FP_MUL_MEAT_DW_1_hard): Likewise.
138         (_FP_MUL_MEAT_1_hard): Likewise.
139         (_FP_DIV_MEAT_1_imm): Likewise.
140         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
141         (_FP_DIV_MEAT_1_udiv): Likewise.
142         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
143         (_FP_UNPACK_RAW_2): Likewise.
144         (_FP_UNPACK_RAW_2_P): Likewise.
145         (_FP_PACK_RAW_2): Likewise.
146         (_FP_PACK_RAW_2_P): Likewise.
147         (_FP_MUL_MEAT_DW_2_wide): Likewise.
148         (_FP_MUL_MEAT_2_wide): Likewise.
149         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
150         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
151         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
152         (_FP_MUL_MEAT_2_gmp): Likewise.
153         (_FP_DIV_MEAT_2_udiv): Likewise.
154         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
155         (_FP_FRAC_SRL_4): Likewise.
156         (_FP_FRAC_SRST_4): Likewise.
157         (_FP_FRAC_SRS_4): Likewise.
158         (_FP_UNPACK_RAW_4): Likewise.
159         (_FP_UNPACK_RAW_4_P): Likewise.
160         (_FP_PACK_RAW_4): Likewise.
161         (_FP_PACK_RAW_4_P): Likewise.
162         (_FP_MUL_MEAT_DW_4_wide): Likewise.
163         (_FP_MUL_MEAT_4_wide): Likewise.
164         (_FP_MUL_MEAT_4_gmp): Likewise.
165         (umul_ppppmnnn): Likewise.
166         (_FP_DIV_MEAT_4_udiv): Likewise.
167         (__FP_FRAC_ADD_4): Likewise.
168         (__FP_FRAC_SUB_3): Likewise.
169         (__FP_FRAC_SUB_4): Likewise.
170         (__FP_FRAC_DEC_3): Likewise.
171         (__FP_FRAC_DEC_4): Likewise.
172         (__FP_FRAC_ADDI_4): Likewise.
173         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
174         (_FP_FRAC_SRL_8): Likewise.
175         (_FP_FRAC_SRS_8): Likewise.
176
177         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
178         include macro name.
179         (FP_UNPACK_RAW_EP): Likewise.
180         (FP_PACK_RAW_E): Likewise.
181         (FP_PACK_RAW_EP): Likewise.
182         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
183         (_FP_ISSIGNAN): Likewise.
184         (_FP_ADD_INTERNAL): Likewise.
185         (_FP_FMA): Likewise.
186         (_FP_CMP): Likewise.
187         (_FP_SQRT): Likewise.
188         (_FP_TO_INT): Likewise.
189         (_FP_FROM_INT): Likewise.
190         (FP_EXTEND): Likewise.
191         (_FP_DIV_MEAT_N_loop): Likewise.
192
193 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
194
195         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
196         throughout.
197
198 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
199
200         [BZ #17097]
201         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
202         result with correct sign in case of exponents that produce
203         overflow except for X very close to 1.
204
205 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
206
207         mktime: merge #if/#ifdef usage from glibc
208         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
209         as that works with both Glibc's and Gnulib's style.
210         See thread starting at Siddhesh Poyarekar's bug report at:
211         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
212
213 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
214
215         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
216         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
217         * sysdeps/tile/tilegx/memmove.c: Remove file.
218
219 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
220
221         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
222         abi-name definition.
223         * scripts/soversions.awk: Do not handle or generate ABI lines.
224         * shlib-versions: Remove ABI entries.
225         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
226         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
227
228 2014-06-27  Roland McGrath  <roland@hack.frob.com>
229
230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
231         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
232         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
233         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
234         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
235         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
237         Moved ...
238         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
239         ... here.
240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
241         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
243         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
245         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
247         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
249         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
250         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
251         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
253         Moved ...
254         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
256         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
258         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
260         Moved ...
261         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
263         Moved ...
264         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
265         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
266         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
267         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
268         Moved ...
269         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
270         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
271         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
272         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
273         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
274         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
275         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
276         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
277         Moved ...
278         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
280         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
281         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
282         Moved ...
283         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
284         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
285         Moved ...
286         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
287         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
288         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
289         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
290         Moved ...
291         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
292         ... here.
293         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
294         Identical file removed.
295         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
296         Moved ...
297         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
298         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
299         Identical file removed.
300         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
301         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
302         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
303         Moved ...
304         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
306         Identical file removed.
307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
308         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
309         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
310         Identical file removed.
311         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
312         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
313         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
314         Identical file removed.
315         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
316         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
317         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
318         Identical file removed.
319         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
320         Moved ...
321         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
322         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
323         Identical file removed.
324         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
325         Moved ...
326         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
328         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
330         Identical file removed.
331         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
332         Moved ...
333         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
334         ... here.
335         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
336         Identical file removed.
337         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
338         Moved ...
339         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
340         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
341         Identical file removed.
342         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
343         Moved ...
344         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
345         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
346         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
347         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
348         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
350         Moved ...
351         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
352         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
353         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
354
355         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
356         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
357         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
358         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
359         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
360
361 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
362
363         [BZ #17092]
364         * nscd/nscd.c (monitor_child): Return exit status of child
365         instead of return value from wait syscall.
366
367 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
368
369         * configure.ac (libc_commonpagesize): Remove variable.
370         (libc_relro_required): Likewise.
371         (libc_cv_z_relro): Remove configure test.
372         * configure: Regenerated.
373         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
374         variable.
375         (libc_relro_required): Likewise.
376         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
377         (libc_relro_required): Likewise.
378         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
379         (libc_relro_required): Likewise.
380         * sysdeps/arm/preconfigure: Regenerated.
381         * sysdeps/ia64/preconfigure: Remove file.
382         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
383         variable.
384         (libc_relro_required): Likewise.
385
386         [BZ #16561]
387         [BZ #16562]
388         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
389         (__ieee754_yn): Set FE_TONEAREST mode internally and then
390         recompute overflowing results in original rounding mode.
391         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
392         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
393         recompute overflowing results in original rounding mode.
394         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
395         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
396         recompute overflowing results in original rounding mode.
397         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
398         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
399         recompute overflowing results in original rounding mode.
400         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
401         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
402         recompute overflowing results in original rounding mode.
403         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
404         (libc_feholdsetround_ctx): New macro.
405         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
406         * sysdeps/i386/fpu/libm-test-ulps: Update.
407         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
408
409 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
410
411         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
412         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
413         corresponding .cpsetup call.
414
415 2014-06-26  Roland McGrath  <roland@hack.frob.com>
416
417         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
418         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
419         * sysdeps/arm/Makefile [$(subdir) = csu]
420         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
421         (static-only-routines): Add aeabi_read_tp here.
422         (shared-only-routines): Add libc-aeabi_read_tp here.
423         (CFLAGS-libc-start.c): Add -fexceptions here.
424         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
425         (sysdep_routines, static-only-routines, shared-only-routines):
426         Don't add to these here.
427         (CFLAGS-libc-start.c): Likewise.
428
429         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
430         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
431         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
432         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
433         * sysdeps/arm/Makefile [$(subdir) = rt]
434         (librt-sysdep_routines, librt-shared-only-routines):
435         Append rt-aeabi_unwind_cpp_pr1 here.
436         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
437         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
438         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
439         (libpthread-sysdep_routines, libpthread-shared-only-routines):
440         Append nptl-aeabi_unwind_cpp_pr1 here.
441         (tests): Filter out tst-cleanupx4 here.
442         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
443         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
444         Don't do those here.
445
446 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
447
448         * scripts/list-sources.sh: Do not handle ports specially.
449
450 2014-06-26  Roland McGrath  <roland@hack.frob.com>
451
452         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
453         * sysdeps/arm/feupdateenv.c: Likewise.
454
455         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
456
457 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
458
459         * manual/texinfo.tex: Update to version 2014-05-05.10 with
460         trailing whitespace removed.
461         * scripts/config.guess: Update to version 2014-03-23.
462         * scripts/config.sub: Update to version 2014-05-01
463         * scripts/install-sh: Update to version 2013-12-25.23.
464         * scripts/move-if-change: Update from gnulib.
465
466 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
467
468         * debug/memmove_chk.c: Remove pagecopy.h include.
469
470 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
471
472         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
473         identical to gnulib mktime.
474
475 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
476
477         * configure.ac: Do not test for machine being rs6000.  Do not test
478         for powerpc*-*soft.
479         * configure: Regenerated.
480
481         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
482         test.
483         * configure: Regenerated.
484         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
485         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
486         Remove configure test.
487         * sysdeps/arm/configure: Regenerated.
488         * sysdeps/nptl/configure.ac: Do not check
489         libc_cv_asm_cfi_directives.
490         * sysdeps/nptl/configure: Regenerated.
491         * sysdeps/x86_64/nptl/configure.ac: Remove file.
492         * sysdeps/x86_64/nptl/configure: Remove generated file.
493         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
494         unconditional.
495         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
496
497 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
498
499         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
500         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
501         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
502         it is defined.
503
504         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
505         instead of whether it is defined.
506         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
507         * sysdeps/hppa/dl-machine.h: Likewise.
508         * sysdeps/ia64/dl-machine.h: Likewise.
509         * sysdeps/m68k/dl-machine.h: Likewise.
510         * sysdeps/microblaze/dl-machine.h: Likewise.
511         * sysdeps/mips/dl-machine.: Likewise.
512         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
513         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
514         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
515         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
516         * sysdeps/sh/dl-machine.h: Likewise.
517         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
518         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
519         * sysdeps/tile/dl-machine.h: Likewise.
520         * sysdeps/x86_64/dl-machine.h: Likewise.
521
522         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
523         code.
524         (verify_persistent_db): Likewise.
525
526 2014-06-26  Roland McGrath  <roland@hack.frob.com>
527
528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
529         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
531         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
533         Moved ...
534         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
535         ... here.
536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
537         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
539         Identical file removed.
540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
541         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
543         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
545         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
547         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
549         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
551         Moved ...
552         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
554         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
556         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
558         Moved ...
559         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
561         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
563         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
565         Identical file removed.
566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
567         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
569         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
571         Moved ...
572         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
573         ... here.
574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
575         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
577         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
579         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
581         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
583         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
585         Moved ...
586         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
588         Moved ...
589         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
591         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
593         Moved ...
594         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
596         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
597
598         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
599         folded into ...
600         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
601         * sysdeps/unix/sysv/linux/s390/Versions
602         (libpthread: GLIBC_2.19): New version set.
603         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
604         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
605         (librt: GLIBC_2.3.3): New version set.
606         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
607         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
608         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
609         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
610         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
611         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
612         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
613         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
614         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
615         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
616         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
617         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
618         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
619         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
620         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
621         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
622         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
623         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
624         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
625         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
626         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
627         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
628         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
629         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
630         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
631         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
632         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
633         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
634         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
635         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
636         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
637         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
638         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
639         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
640         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
641         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
642         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
643         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
644         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
645         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
646         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
647         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
648         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
649         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
650         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
651
652         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
653         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
654         (__libc_vfork): Define the function under this name.
655         [!NOT_IN_libc] (__vfork): Make this an alias.
656         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
658         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
659         (__libc_vfork): Define the function under this name.
660         [!NOT_IN_libc] (__vfork): Make this an alias.
661         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
662         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
663         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
664         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
665         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
666         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
667
668         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
669         code that was previously under [RESET_PID].
670         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
671         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
672         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
673
674         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
675         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
676         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
677         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
678         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
679         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
680         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
681         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
682         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
683         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
684         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
685         Moved ...
686         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
687         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
688         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
689         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
690         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
691         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
692         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
693         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
694         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
695         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
696         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
697         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
698         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
699         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
700         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
701         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
702         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
703         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
704         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
705         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
706         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
707         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
708         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
709         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
710         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
711         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
712         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
713         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
714         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
715
716 2014-06-25  Roland McGrath  <roland@hack.frob.com>
717
718         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
719         that was previously under [RESET_PID].
720         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
721
722 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
723
724         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
725         not undefine and redefine.
726         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
727         [O_CLOEXEC]: Make code unconditional.
728         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
729         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
730         <kernel-features.h>.
731         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
732         conditional variable definition.
733         (shm_open) [O_CLOEXEC]: Make code unconditional.
734         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
735         code.
736
737         * configure.ac (USE_REGPARMS): Don't define here.
738         * configure: Regenerated.
739         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
740         * sysdeps/i386/configure: Regenerated.
741
742         * nptl/createthread.c: Don't include kernel-features.h.
743         * nptl/pthread_cancel.c: Likewise.
744         * nptl/pthread_condattr_setclock.c: Likewise.
745         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
746         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
747         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
748         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
749         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
750         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
751         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
752         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
753         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
754         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
755         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
756         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
757         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
758         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
759         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
760         * nscd/gai.c: Likewise.
761         * nss/nss_db/db-open.c: Likewise.
762         * sysdeps/generic/ldsodefs.h: Likewise.
763         * sysdeps/sh/nptl/tls.h: Likewise.
764         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
765         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
766         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
767         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
768         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
769         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
770         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
771         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
772         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
773         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
774         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
775         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
776         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
777         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
778         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
779         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
780         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
781         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
782         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
783         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
784         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
785         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
786         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
787         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
788         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
789         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
790         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
791         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
792         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
793         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
794         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
795         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
796         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
797         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
798         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
799         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
800         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
801         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
802         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
803         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
804         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
805         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
806         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
807         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
808         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
809         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
810         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
811         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
812         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
813         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
814         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
815         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
816         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
817         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
818         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
819         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
820         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
821         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
844         * sysdeps/unix/sysv/linux/pread.c: Likewise.
845         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
846         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
847         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
848         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
849         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
850         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
851         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
852         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
853         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
854         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
855         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
856         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
857         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
858         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
859         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
860         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
861         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
862         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
863         * sysdeps/unix/sysv/linux/system.c: Likewise.
864         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
865         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
866         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
867         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
868         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
869         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
870         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
871
872         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
873         * configure: Regenerated.
874         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
875
876         * configure.ac (base_machine): Do not set specially for particular
877         machines here.
878         * configure: Regenerated.
879         * sysdeps/powerpc/preconfigure: Move machine and base_machine
880         settings from configure.ac.
881         * sysdeps/i386/preconfigure: New file.
882         * sysdeps/s390/preconfigure: Likewise.
883         * sysdeps/sh/preconfigure: Likewise.
884         * sysdeps/sparc/preconfigure: Likewise.
885
886 2014-06-25  Roland McGrath  <roland@hack.frob.com>
887
888         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
889         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
890         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
891         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
892         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
893         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
894         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
895         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
896         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
897         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
898         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
899         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
900         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
901         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
902         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
903         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
904         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
905         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
906         * sysdeps/sparc/sparc64/Makefile: ... appended here.
907
908         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
909         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
910         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
911         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
912         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
913         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
914         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
915         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
916         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
917         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
918         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
919         * sysdeps/sparc/sparc32/sem_post.c: ... here.
920         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
921         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
922         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
923         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
924         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
925         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
926         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
927         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
928         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
929         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
930         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
931         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
932         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
933         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
934         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
935         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
936         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
937         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
938         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
939         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
940         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
941         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
942         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
943         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
944         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
945         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
946
947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
948         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
950         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
952         Moved ...
953         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
954         ... here.
955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
956         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
958         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
960         Moved ...
961         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
963         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
965         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
967         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
969         Moved ...
970         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
972         Moved ...
973         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
975         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
977         Moved ...
978         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
980         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
982         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
984         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
986         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
988         Moved ...
989         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
990         ... here.
991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
992         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
994         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
996         Moved ...
997         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
999         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1001         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1003         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1005         Moved ...
1006         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1008         Moved ...
1009         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1011         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1013         Moved ...
1014         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1016         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1018         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1019
1020 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1021
1022         * timezone/checktab.awk: Update from tzcode 2014e.
1023         * timezone/private.h: Likewise.
1024         * timezone/tzfile.h: Likewise.
1025         * timezone/zdump.c: Likewise.
1026         * timezone/zic.c: Likewise.
1027
1028         * sysdeps/unix/sysv/linux/kernel-features.h
1029         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1030         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1031         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1032         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1033         Remove conditional code.
1034
1035 2014-06-25  Will Newton  <will.newton@linaro.org>
1036
1037         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1038         (_dl_arm_cap_flags): Add HWCAP2 values.
1039         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1040         (_DL_HWCAP_COUNT): Increase to 37.
1041         (_DL_HWCAP_LAST): New define.
1042         (_DL_HWCAP2_LAST): New define.
1043         (_dl_procinfo): Add support for printing
1044         AT_HWCAP2 entries.
1045         (_dl_string_hwcap): Use _dl_hwcap_string.
1046
1047 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1048
1049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1050
1051 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1052
1053         * README: Do not mention ports directory.
1054
1055         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1056         Remove macro.
1057         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1058         <kernel-features.h>.
1059         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1060         conditional variable definition.
1061         (__futimes): Update comment.
1062         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1063         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1064
1065         [BZ #16560]
1066         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1067         arguments close to 0.
1068         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1069         Likewise.
1070         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1071         Likewise.
1072         * math/auto-libm-test-in: Add more tests of exp10.
1073         * math/auto-libm-test-out: Regenerated.
1074         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1075
1076         * sysdeps/unix/sysv/linux/kernel-features.h
1077         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1078         * sysdeps/unix/sysv/linux/readv.c: Do not include
1079         <kernel-features.h>.
1080         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1081         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1082         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1083         unconditional.
1084         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1085         conditional code.
1086         * sysdeps/unix/sysv/linux/writev.c: Do not include
1087         <kernel-features.h>.
1088         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1089         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1090         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1091         unconditional.
1092         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1093         conditional code.
1094
1095 2014-06-25  Will Newton  <will.newton@linaro.org>
1096
1097         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1098         comment changes throughout the file.  Remove checks
1099         for HAVE_*_H definitions that are not required.
1100         (__gen_tempname): Call abort if an unknown kind value is
1101         passed.
1102
1103 2014-06-25  Andreas Schwab  <schwab@suse.de>
1104
1105         [BZ #17086]
1106         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1107         scalbln, scalblnf, scalblnl in libc.
1108
1109 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1110
1111         [BZ #17086]
1112         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1113         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1114         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1115
1116 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1117
1118         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1119         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1120         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1121         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1122         Update #include.
1123         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1124         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1125         Update #include.
1126         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1127         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1128         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1129         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1130         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1131         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1132         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1133         * sysdeps/x86/bits/semaphore.h: ... here.
1134         * sysdeps/x86/nptl/elide.h: Moved ...
1135         * sysdeps/x86/elide.h: ... here.
1136         * sysdeps/x86_64/nptl/Implies: File removed.
1137         * sysdeps/i386/nptl/Implies: File removed.
1138
1139 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1140
1141         [BZ #16539]
1142         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1143         return the argument for normal arguments with exponent below -64.
1144         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1145         Likewise.
1146         * math/auto-libm-test-in: Add another test of expm1.
1147         * math/auto-libm-test-out: Regenerated.
1148
1149         [BZ #16287]
1150         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1151         calling __erfcl for arguments at least 16.
1152         * math/auto-libm-test-in: Add more tests of erf.
1153         * math/auto-libm-test-out: Regenerated.
1154
1155         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1156         individual architectures.
1157         * sysdeps/unix/sysv/linux/configure: Regenerated.
1158         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1159         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1160         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1161         (ldd_rewrite_script): Define variable.
1162         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1164         file.
1165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1166         generated file.
1167         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1168         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1169         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1170         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1171         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1172         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1173         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1174         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1175
1176 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1177
1178         [BZ #17084]
1179         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1180         Rename member __data.d to __data.__elision_data.
1181
1182 2014-06-24  Wilco  <wdijkstr@arm.com>
1183
1184         * NEWS: Add 16918 to fixed bug list.
1185
1186 2014-06-24  Wilco  <wdijkstr@arm.com>
1187
1188         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1189
1190 2014-06-24  Wilco  <wdijkstr@arm.com>
1191
1192         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1193         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1194         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1195         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1196         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1197         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1198         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1199         Use _FPU_MASK_RM.
1200
1201 2014-06-24  Wilco  <wdijkstr@arm.com>
1202
1203         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1204
1205 2014-06-24  Wilco  <wdijkstr@arm.com>
1206
1207         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1208         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1209         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1210         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1211
1212 2014-06-24  Wilco  <wdijkstr@arm.com>
1213
1214         [BZ #16918]
1215         * sysdeps/arm/feupdateenv.c (feupdateenv):
1216         Rewrite to reduce FPSCR accesses and fix return value.
1217
1218 2014-06-24  Wilco  <wdijkstr@arm.com>
1219
1220         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1221         Optimize to avoid unnecessary FPSCR writes.
1222         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1223         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1224         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1225         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1226
1227 2014-06-24  Wilco  <wdijkstr@arm.com>
1228
1229         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1230         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1231         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1232         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1233         Call libc_fetestexcept_vfp.
1234         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1235         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1236         __SOFTFP__ ifdef so that they can be built for softfp.
1237
1238 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1239
1240         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1241         argument type signed char.
1242
1243         * Makerules (check-abi): Dump diff of symlist if the test
1244         fails.
1245
1246 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1247
1248         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1249         using abort.
1250
1251         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1252         Remove unused variable ST.
1253
1254 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1255
1256         [BZ #16354]
1257         [BZ #17061]
1258         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1259         small arguments before calling __expm1.
1260         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1261         small arguments before calling __expm1f.
1262         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1263         small arguments before calling __expm1l.
1264         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1265         Likewise.
1266         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1267         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1268         spurious underflow for some cosh tests.
1269         * math/auto-libm-test-out: Regenerated.
1270         * sysdeps/i386/fpu/libm-test-ulps: Update.
1271
1272         [BZ #17050]
1273         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1274         (__ieee754_y1): Set errno if return value overflows.
1275         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1276         (__ieee754_y1f): Set errno if return value overflows.
1277         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1278         (__ieee754_y1l): Set errno if return value overflows.
1279         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1280         (__ieee754_y1l): Set errno if return value overflows.
1281         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1282         * math/auto-libm-test-out: Regenerated.
1283
1284         * math/gen-auto-libm-tests.c: Document use of
1285         ignore-zero-inf-sign.
1286         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1287         (input_flags): Add ignore-zero-inf-sign.
1288         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1289         * math/gen-libm-test.pl (generate_testfile): Handle
1290         ignore-zero-inf-sign.
1291         * math/auto-libm-test-in: Mark some cpow tests with
1292         ignore-zero-inf-sign and some with xfail-rounding.
1293         * math/auto-libm-test-out: Regenerated.
1294         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1295         * sysdeps/i386/fpu/libm-test-ulps: Update.
1296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1297
1298         [BZ #16315]
1299         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1300         overflowing or underflowing operations take place with sign of
1301         result.
1302         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1303         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1304         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1305         (__ieee754_pow): Recompute overflowing and underflowing results in
1306         original rounding mode.
1307         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1308         (__powl_helper): Allow negative argument X and scale negated value
1309         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1310         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1311         overflowing or underflowing operations take place with sign of
1312         result.
1313         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1314         Include <math.h>.
1315         * math/auto-libm-test-in: Add more tests of pow.
1316         * math/auto-libm-test-out: Regenerated.
1317         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1318         (pow_tonearest_test_data): Remove.
1319         (pow_test_tonearest): Likewise.
1320         (pow_towardzero_test_data): Likewise.
1321         (pow_test_towardzero): Likewise.
1322         (pow_downward_test_data): Likewise.
1323         (pow_test_downward): Likewise.
1324         (pow_upward_test_data): Likewise.
1325         (pow_test_upward): Likewise.
1326         (main): Don't call removed functions.
1327         * sysdeps/i386/fpu/libm-test-ulps: Update.
1328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1329
1330 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1331
1332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1333         Moved ...
1334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1336         Moved ...
1337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1339         Moved ...
1340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1342         Moved ...
1343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1345         File removed.
1346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1347         File removed.
1348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1349         File removed.
1350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1351         File removed.
1352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1353         File removed.
1354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1355         File removed.
1356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1357         File removed.
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1359         File removed.
1360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1361         File removed.
1362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1363         File removed.
1364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1365         File removed.
1366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1367         File removed.
1368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1369         Moved ...
1370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1372         Moved ...
1373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1374         ... here.
1375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1376         Moved ...
1377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1379         Moved ...
1380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1382         Moved ...
1383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1385         Moved ...
1386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1388         Moved ...
1389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1391         Moved ...
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1394         Moved ...
1395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1398         ... here.
1399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1400         Moved ...
1401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1403         Moved ...
1404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1405         ... here.
1406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1407         Moved ...
1408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1409         ... here.
1410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1411         Moved ...
1412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1413         ... here.
1414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1415         Moved ...
1416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1418         Moved ...
1419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1423         Moved ...
1424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1425         ... here.
1426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1427         Moved ...
1428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1429         ... here.
1430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1431         Moved ...
1432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1434         Moved ...
1435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1437         Moved ...
1438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1440         Moved ...
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1443         Moved ...
1444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1445         ... here.
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1447         Moved ...
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1450         Moved ...
1451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1453         Moved ...
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1456         Moved ...
1457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1461         Moved ...
1462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1464         Moved ...
1465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1467         Moved ...
1468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1469         ... here.
1470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1471         Moved ...
1472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1473         ... here.
1474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1475         Moved ...
1476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1477         ... here.
1478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1479         Moved ...
1480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1482         Moved ...
1483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1485         Moved ...
1486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1488         Moved ...
1489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1490         ... here.
1491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1492         Moved ...
1493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1494         ... here.
1495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1496         Moved ...
1497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1498         ... here.
1499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1500         Moved ...
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1503         Moved ...
1504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1505
1506 2014-06-23  Will Newton  <will.newton@linaro.org>
1507             Wilco  <wdijkstr@arm.com>
1508
1509         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1510         implementation.  Include get-rounding-mode.h.
1511         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1512         [!libc_feholdsetround_noex_ctx]: Define
1513         libc_feholdsetround_noex_ctx.
1514         [!libc_feholdsetround_noexf_ctx]: Define
1515         libc_feholdsetround_noexf_ctx.
1516         [!libc_feholdsetround_noexl_ctx]: Define
1517         libc_feholdsetround_noexl_ctx.
1518         (libc_feholdsetround_ctx): New function.
1519         (libc_feresetround_ctx): New function.
1520         (libc_feholdsetround_noex_ctx): New function.
1521         (libc_feresetround_noex_ctx): New function.
1522
1523 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1524
1525         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1526         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1527         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1528         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1529         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1530         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1531
1532         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1533         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1534         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1535         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1536         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1537         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1538         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1539         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1540         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1541         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1542         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1543         Moved ...
1544         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1545         ... here.
1546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1547         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1549         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1550         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1551         Moved ...
1552         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1553         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1554         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1555         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1556         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1557         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1558         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1559         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1560         Moved ...
1561         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1562         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1563         Moved ...
1564         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1565         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1566         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1567         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1568         Moved ...
1569         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1570         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1571         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1572         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1573         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1574         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1575         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1576         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1577         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1578         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1579         Moved ...
1580         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1581         ... here.
1582         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1583         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1584         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1585         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1586         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1587         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1588         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1589         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1590         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1591         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1592         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1593         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1594         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1595         Moved ...
1596         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1597         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1598         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1599         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1600         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1601         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1602         Moved ...
1603         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1604         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1605         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1606         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1607         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1608
1609         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1610         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1611         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1612         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1613         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1614         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1615         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1616         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1617         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1618         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1619         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1620         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1621         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1622         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1623         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1624         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1625         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1626         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1627         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1628         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1629         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1630         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1631         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1632         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1633         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1634         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1635         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1636         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1637
1638 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1639
1640         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1641         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1642         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1643         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1644         (IPV6_PMTUDISC_INTERFACE): Likewise.
1645         (IPV6_PMTUDISC_OMIT): Likewise.
1646
1647 2014-06-23  Andreas Schwab  <schwab@suse.de>
1648
1649         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1650         Remove unused errout label.
1651
1652 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1653
1654         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1655         macro: hardware supports Vector Crypto instructions.
1656
1657 2014-06-23  Will Newton  <will.newton@linaro.org>
1658
1659         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1660         rather than __builtin_expect.
1661
1662         * elf/dl-lookup.c (undefined_msg): Remove variable.
1663         (_dl_lookup_symbol_x): Replace undefined_msg with string
1664         literal.
1665
1666         * elf/dl-lookup.c (do_lookup_unique): New function.
1667         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1668         to a separate function.
1669
1670 2014-06-23  Andreas Schwab  <schwab@suse.de>
1671
1672         [BZ #17079]
1673         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1674         before reading the next line.
1675
1676 2014-06-23  Will Newton  <will.newton@linaro.org>
1677
1678         * test-skeleton.c (signal_handler): Use printf and %m
1679         rather than perror.  Use printf rather than fprintf to
1680         stderr.  Use puts rather than fputs to stderr.
1681         (main): Likewise.
1682
1683 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1684
1685         * nscd/nscd.c (thread_info_t): Remove typedef.
1686         (thread_info): Remove variable.
1687
1688 2014-06-21  Allan McRae  <allan@archlinux.org>
1689
1690         * NEWS: Mention CVE-2014-4043.
1691
1692 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1693
1694         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1695         * nptl/smp.h: ... here.
1696
1697         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1698
1699         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1700         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1701         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1702         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1703
1704         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1705         * nptl/stack-aliasing.h: New file.
1706         * sysdeps/i386/i686/stack-aliasing.h: New file.
1707         * sysdeps/i386/i686/nptl/Makefile: File removed.
1708         * sysdeps/x86_64/stack-aliasing.h: New file.
1709         * sysdeps/x86_64/nptl/Makefile
1710         (CFLAGS-pthread_create.c): Variable removed.
1711
1712         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1713         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1714         old file.
1715         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1716         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1717         old file.
1718
1719 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1720
1721         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1722         (__ASSUME_SIGFRAME_V2): Remove macro.
1723         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1724         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1725         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1726         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1727         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1728         Declare as function.  Remove conditional macro definitions.
1729         (__default_rt_sa_restorer): Likewise.
1730         (__default_sa_restorer_v1): Remove declaration.
1731         (__default_sa_restorer_v2): Likewise.
1732         (__default_rt_sa_restorer_v1): Likewise.
1733         (__default_rt_sa_restorer_v2): Likewise.
1734         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1735         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1736         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1737
1738 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1739
1740         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1741         (libpthread-routines): Add sysdep.
1742         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1743         * sysdeps/unix/sysv/linux/sparc/Versions
1744         (libpthread: GLIBC_2.3.3): New version set.
1745         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1746         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1747         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1748         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1749         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1750         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1751         Moved ...
1752         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1753         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1754         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1755         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1756         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1757         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1758         * sysdeps/sparc/nptl/sem_init.c: ... here.
1759         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1760         * sysdeps/sparc/nptl/sem_post.c: ... here.
1761         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1762         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1763         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1764         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1765         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1766         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1767         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1768         (libpthread-routines): Add cpu_relax.
1769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1770         File removed.
1771         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1772         (librt: GLIBC_2.3.3): New version set.
1773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1774         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1775         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1776         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1779         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1781         Moved ...
1782         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1784         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1786         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1788         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1790         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1792         Moved ...
1793         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1794         Update #include.
1795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1796         Moved ...
1797         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1798         Update #include.
1799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1800         Moved ...
1801         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1802         Update #include.
1803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1804         Moved ...
1805         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1806         Update #include.
1807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1808         Moved ...
1809         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1810         Update #include.
1811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1812         Moved ...
1813         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1814         Update #include.
1815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1816         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1818         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1820         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1822         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1824         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1826         Moved ...
1827         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1829         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1831         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1832
1833 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1834
1835         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1836         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1837         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1838         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1839         * nscd/nscd.c: Likewise.
1840         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1841         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1842         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1843         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1844
1845         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1846         <kernel-features.h>.
1847         (init_mq_netlink): Remove conditional have_sock_cloexec
1848         definitions.  Remove code conditional on have_sock_cloexec < 0.
1849         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1850         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1851         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1852         <kernel-features.h>.
1853         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1854         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1855
1856 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1857
1858         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1859         Add tests for memset_chk and memset.
1860
1861         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1862         with AVX2_Usable.
1863
1864 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1865
1866         [BZ #16046]
1867         * elf/tst-dl-iter-static.c: New file.
1868         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1869
1870         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1871         error.
1872
1873 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1874
1875         * sysdeps/unix/sysv/linux/kernel-features.h
1876         (__ASSUME_F_GETOWN_EX): Remove macro.
1877         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1878         <kernel-features.h>.
1879         (miss_F_GETOWN_EX): Remove variable or macro.
1880         (do_fcntl): Do not check miss_F_GETOWN_EX.
1881         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1882
1883         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1884         Remove macro.
1885         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1886         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1887         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1888
1889         * sysdeps/unix/sysv/linux/kernel-features.h
1890         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1891         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1892         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1893         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1894
1895 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1896
1897         [BZ #17075]
1898         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1899         Fix calculation of the symbol's value.
1900         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1901         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1902         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1903         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1904         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1905         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1906         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1907         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1908         (modules-names): Add `tst-armtlsdescmod',
1909         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1910         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1911         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1912         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1913         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1914         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1915         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1916         ($(objpfx)tst-armtlsdescloc): New dependency.
1917         ($(objpfx)tst-armtlsdescextnow): Likewise.
1918         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1919         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1920         TLS scheme support.
1921         * sysdeps/arm/configure: Regenerate.
1922
1923 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1924
1925         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1926         (__atfct_seterrno_2): Likewise.
1927         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1928         <kernel-features.h>.
1929         (__ASSUME_ATFCTS): Do not undefine and redefine.
1930         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1931         (__have_atfcts): Remove conditional definition.
1932         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1933         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1934         unreachable if [__ASSUME_ATFCTS].
1935         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1936         not undefine and redefine.
1937         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1938         <kernel-features.h>.
1939         (faccessat) [__NR_faccessat]: Make code unconditional.
1940         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1941         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1942         <kernel-features.h>.
1943         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1944         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1945         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1946         <kernel-features.h>.
1947         (fchownat) [__NR_fchownat]: Make code unconditional.
1948         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1949         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1950         <kernel-features.h>.
1951         (futimesat) [__NR_futimesat]: Make code unconditional.
1952         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1953         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1954         <kernel-features.h>.
1955         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1956         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1957         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1958         <kernel-features.h>.
1959         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1960         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1961         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1962         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1963         <kernel-features.h>.
1964         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1965         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1966         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1967         <kernel-features.h>.
1968         (linkat) [__NR_linkat]: Make code unconditional.
1969         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1970         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1971         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1972         <kernel-features.h>.
1973         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1974         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1975         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1976         <kernel-features.h>.
1977         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1978         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1979         * sysdeps/unix/sysv/linux/openat.c: Do not include
1980         <kernel-features.h>.
1981         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1982         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1983         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1984         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1985         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1986         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1987         <kernel-features.h>.
1988         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1989         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1990         result of INLINE_SYSCALL directly, not via int variable.
1991         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1992         <kernel-features.h>.
1993         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1994         (renameat) [__NR_renameat]: Make code unconditional.
1995         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1996         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1997         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1998         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1999         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2000         (__ASSUME_ATFCTS): Do not undefine and redefine.
2001         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2002         <kernel-features.h>.
2003         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2004         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2005         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2006         <kernel-features.h>.
2007         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2008         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2009         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2010         (__ASSUME_ATFCTS): Do not undefine and redefine.
2011         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2012         <kernel-features.h>.
2013         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2014         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2015         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2016         <kernel-features.h>.
2017         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2018         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2019
2020 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2021
2022         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2023
2024 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2025
2026         [BZ #17069]
2027         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2028         constructed tree before returning error.
2029         * posix/bug-regexp36.c: Expand test case.
2030
2031 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2032
2033         [BZ #6803]
2034         * math/libm-test.inc (scalbln_test_date):
2035         Add errno expectations.
2036         * math/w_scalblnf.c: New File.
2037         Add wrapper which checks for setting errno to ERANGE.
2038         Add weak_alias for corresponding scalbln function.
2039         * math/w_scalbln.c: Likewise.
2040         * math/w_scalblnl.c: Likewise.
2041         * math/Makefile (libm-calls): Add w_scalbln.
2042         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2043         Remove weak_alias for corresponding scalbln function.
2044         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2045         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2046         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2047         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2048         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2049         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2050         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2051         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2052         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2053         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2054         Remove long_double_symbol for scalblnl function in libm, libc.
2055         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2056         Add wrapper which checks for setting errno to ERANGE.
2057         Add long_double_symbol for scalblnl function in libm, libc.
2058         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2059         Remove long_double_symbol for scalblnl in libm.
2060         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2061         Add wrapper which checks for setting errno to ERANGE.
2062         Add long_double_symbol for scalblnl function in libm.
2063         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2064         Do not use wrapper because of own implementation.
2065
2066 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2067
2068         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2069         3 bytes for __pad1 for x32.
2070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2071
2072 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2073             H.J. Lu  <hongjiu.lu@intel.com>
2074
2075         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2076         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2077         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2078         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2079         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2080
2081 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2082
2083         [BZ #17069]
2084         * posix/regcomp.c (parse_expression): Deallocate partially
2085         constructed tree before returning error.
2086         * posix/Makefile.c (tests): Add bug-regex36.
2087         (generated): Add bug-regex36.mtrace.
2088         (tests-special): Add $(objpfx)bug-regex36-mem.out
2089         (bug-regex36-ENV): New variable.
2090         ($(objpfx)bug-regex36-mem.out): New rule.
2091         * posix/bug-regex36.c: New file.
2092
2093 2014-06-19  Will Newton  <will.newton@linaro.org>
2094
2095         * malloc/malloc.c (systrim): If extra is zero then return
2096         early.
2097
2098 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2099
2100         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2101
2102 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2103
2104         * sysdeps/aarch64/strchr.S: New file.
2105
2106 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2107
2108         [BZ #17022]
2109         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2110         from arguments -2 or below.
2111         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2112         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2113
2114 2014-06-18  Andreas Schwab  <schwab@suse.de>
2115
2116         [BZ #17062]
2117         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2118         of a bracket expr not to run off the end of the string.
2119         * posix/Makefile (tests): Add tst-fnmatch3.
2120         * posix/tst-fnmatch3.c: New file.
2121
2122 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2123
2124         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2125         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2126         [$(cross-compiling) = no]: Likewise.
2127         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2128         [$(cross-compiling) = no]: Likewise.
2129
2130 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2131
2132         [BZ #17031]
2133         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2134         double, adjusted for any remainder from the high double.
2135         * math/libm-test.inc (nearbyint): Add tests.
2136         (rint): Likewise.
2137
2138 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2139
2140         * nptl/sysdeps/powerpc/Makefile: Moved ...
2141         * sysdeps/powerpc/nptl/Makefile: ... here.
2142         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2143         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2144         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2145         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2146         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2147         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2148         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2149         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2150         * nptl/sysdeps/powerpc/tls.h: Moved ...
2151         * sysdeps/powerpc/nptl/tls.h: ... here.
2152
2153 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2154
2155         [BZ #16681]
2156         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2157         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2158         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2159         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2160         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2161         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2162         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2163         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2164         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2165
2166 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2167
2168         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2169
2170 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2171
2172         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2173         defined operator.
2174
2175         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2176         $TIMEOUTFACTOR.
2177
2178 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2179
2180         [BZ #17058]
2181         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2182         non-executed part of the test.
2183
2184 2014-06-16  Andreas Schwab  <schwab@suse.de>
2185
2186         * string/bits/string2.h (strdup, strndup): Update feature guard.
2187
2188 2014-06-14  David S. Miller  <davem@davemloft.net>
2189
2190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2191
2192 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2193
2194         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2195         that was previously under [RESET_PID].
2196         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2197
2198         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2199         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2200         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2201         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2202         (__libc_vfork): New strong alias.
2203         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2204
2205 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2206
2207         * sysdeps/generic/elide.h: New file.
2208
2209 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2210
2211         * Makefile (installed-headers): Adjust path of pthread.h header.
2212
2213 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2214
2215         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2216         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2217         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2218         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2219
2220         * nptl/sysdeps/s390/Makefile: Moved ...
2221         * sysdeps/s390/nptl/Makefile: ... here.
2222         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2223         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2224         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2225         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2226         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2227         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2228         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2229         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2230         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2231         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2232         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2233         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2234         * nptl/sysdeps/s390/tls.h: Moved ...
2235         * sysdeps/s390/nptl/tls.h: ... here.
2236
2237         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2238         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2239
2240 2014-06-13  David S. Miller  <davem@davemloft.net>
2241
2242         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2245         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2246         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2248         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2249         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2250         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2251         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2252         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2253         Remove RESET_PID cpp guards.
2254         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2255         Remove RESET_PID cpp guards.
2256         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2257
2258 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2259
2260         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2261         __sp to uintptr_t.
2262
2263 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2264
2265         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2266         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2267         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2268         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2269         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2270         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2271         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2272         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2273         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2274         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2275         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2276         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2277         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2278         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2279         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2280         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2281         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2282         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2283         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2284         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2285
2286         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2287         (pthread_rwlock_rdlock): Add elision.
2288         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2289         (pthread_rwlock_wrlock): Add elision.
2290         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2291         (pthread_rwlock_trywrlock): Add elision.
2292         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2293         (pthread_rwlock_tryrdlock): Add elision.
2294         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2295         (pthread_rwlock_tryrdlock): Add elision unlock.
2296         * nptl/sysdeps/pthread/pthread.h:
2297         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2298         (PTHREAD_RWLOCK_INITIALIZER,
2299         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2300         Handle new elision field.
2301         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2302         * sysdeps/arm/nptl/bits/pthreadtypes.h
2303         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2304         * sysdeps/sh/nptl/bits/pthreadtypes.h
2305         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2306         * sysdeps/tile/nptl/bits/pthreadtypes.h
2307         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2308         * sysdeps/a/nptl/bits/pthreadtypes.h
2309         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2310         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2311         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2312         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2313         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2314         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2315         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2316         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2317         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2318         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2319         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2320         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2321         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2322         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2323         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2324         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2325         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2326         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2327         (elision_init): Set try_xbegin to zero when no RTM.
2328         * sysdeps/x86/nptl/bits/pthreadtypes.h
2329         (pthread_rwlock_t): Change __pad1 to __rwelision.
2330         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2331
2332 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2333
2334         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2335         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2336         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2337         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2338
2339 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2340
2341         [BZ #16996]
2342         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2343         that the cached result has been set before returning it.
2344
2345 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2346
2347         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2348         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2349         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2350         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2351         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2352         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2353
2354         * nptl/sysdeps/sparc/Makefile: Moved ...
2355         * sysdeps/sparc/nptl/Makefile: ... here.
2356         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2357         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2358         * nptl/sysdeps/sparc/tls.h: Moved ...
2359         * sysdeps/sparc/nptl/tls.h: ... here.
2360         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2361         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2362         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2363         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2364         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2365         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2366         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2367         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2368         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2369         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2370         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2371         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2372         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2373         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2374         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2375         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2376         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2377         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2378         Update #include.
2379         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2380         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2381         Update #include.
2382         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2383         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2384         Update #include.
2385         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2386         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2387         Update #include.
2388
2389         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2390
2391         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2392         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2393
2394         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2395         (struct list_links): Type removed.
2396         (struct thread_node, struct timer_node): Replace struct list_links
2397         with struct list_head.
2398         (list_unlink_ip): Likewise.
2399         * sysdeps/pthread/timer_routines.c
2400         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2401         (list_append, list_insbefore): Likewise.
2402         (list_init): Function removed.
2403         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2404         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2405         * sysdeps/pthread/Makefile: ... here, new file.
2406
2407         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2408         * sysdeps/nptl/Implies: ... here.
2409         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2410         * nptl/sysdeps/pthread/list.h: Moved ...
2411         * include/list.h: ... here.
2412         * nptl/sysdeps/pthread/createthread.c: Moved ...
2413         * nptl/createthread.c: ... here.
2414         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2415         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2416         * nptl/pt-longjmp.c: ... here.
2417         * nptl/sysdeps/pthread/Makefile: Moved ...
2418         * sysdeps/nptl/Makefile: ... here.
2419         * nptl/sysdeps/pthread/Subdirs: Moved ...
2420         * sysdeps/nptl/Subdirs: ... here.
2421         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2422         * sysdeps/nptl/aio_misc.h: ... here.
2423         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2424         * sysdeps/nptl/bits/libc-lock.h: ... here.
2425         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2426         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2427         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2428         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2429         * nptl/sysdeps/pthread/configure: Moved ...
2430         * sysdeps/nptl/configure: ... here.
2431         * nptl/sysdeps/pthread/configure.ac: Moved ...
2432         * sysdeps/nptl/configure.ac: ... here.
2433         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2434         * sysdeps/nptl/gai_misc.h: ... here.
2435         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2436         * sysdeps/nptl/librt-cancellation.c: ... here.
2437         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2438         * sysdeps/nptl/malloc-machine.h: ... here.
2439         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2440         * sysdeps/nptl/pthread-functions.h: ... here.
2441         * nptl/sysdeps/pthread/pthread.h: Moved ...
2442         * sysdeps/nptl/pthread.h: ... here.
2443         * nptl/sysdeps/pthread/setxid.h: Moved ...
2444         * sysdeps/nptl/setxid.h: ... here.
2445         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2446         * sysdeps/nptl/sigfillset.c: ... here.
2447         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2448         * sysdeps/nptl/tcb-offsets.h: ... here.
2449         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2450         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2451         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2452         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2453         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2454         * sysdeps/pthread/allocalim.h: ... here.
2455         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2456         * sysdeps/pthread/bits/sigthread.h: ... here.
2457         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2458         * sysdeps/pthread/flockfile.c: ... here.
2459         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2460         * sysdeps/pthread/ftrylockfile.c: ... here.
2461         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2462         * sysdeps/pthread/funlockfile.c: ... here.
2463         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2464         * sysdeps/pthread/posix-timer.h: ... here.
2465         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2466         * sysdeps/pthread/timer_create.c: ... here.
2467         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2468         * sysdeps/pthread/timer_delete.c: ... here.
2469         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2470         * sysdeps/pthread/timer_getoverr.c: ... here.
2471         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2472         * sysdeps/pthread/timer_gettime.c: ... here.
2473         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2474         * sysdeps/pthread/timer_routines.c: ... here.
2475         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2476         * sysdeps/pthread/timer_settime.c: ... here.
2477         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2478         * sysdeps/pthread/tst-timer.c: ... here.
2479         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2480         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2481
2482         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2483         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2484
2485         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2486         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2487         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2488         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2489         Update #include target.
2490         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2491         * sysdeps/i386/i686/nptl/Makefile: ... here.
2492         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2493         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2494         Update #include target.
2495         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2496         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2497         * nptl/sysdeps/i386/Makefile: Moved ...
2498         * sysdeps/i386/nptl/Makefile: ... here.
2499         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2500         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2501         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2502         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2503         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2504         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2505         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2506         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2507         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2508         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2509         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2510         * nptl/sysdeps/i386/tls.h: Moved ...
2511         * sysdeps/i386/nptl/tls.h: ... here.
2512
2513         * sysdeps/sh/Makefile [$(subdir) = csu]
2514         (gen-as-const-headers): Add tcb-offsets.sym.
2515         * nptl/sysdeps/sh/Makefile: File removed.
2516         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2517         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2518         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2519         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2520         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2521         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2522         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2523         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2524         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2525         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2526         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2527         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2528         * nptl/sysdeps/sh/tls.h: Moved ...
2529         * sysdeps/sh/nptl/tls.h: ... here.
2530         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2531         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2532         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2533         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2534         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2535         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2536         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2537         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2538         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2539         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2540         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2541         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2542         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2543         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2544         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2545         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2546         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2547         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2548         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2549         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2550         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2551         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2552         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2553         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2554         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2555         Moved ...
2556         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2557         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2558         Moved ...
2559         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2560         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2561         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2562         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2563         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2564         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2565         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2566         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2567         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2568         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2569         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2570         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2571         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2572         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2573         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2574         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2575         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2576         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2577         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2578
2579 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2580
2581         * posix/spawn_faction_addopen.c: Include string.h.
2582
2583 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2584
2585         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2586         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2587         * nptl/sysdeps/x86_64/Makefile: Moved ...
2588         * sysdeps/x86_64/nptl/Makefile: ... here.
2589         * nptl/sysdeps/x86_64/configure: Moved ...
2590         * sysdeps/x86_64/nptl/configure: ... here.
2591         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2592         * sysdeps/x86_64/nptl/configure.ac: ... here.
2593         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2594         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2595         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2596         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2597         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2598         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2599         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2600         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2601         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2602         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2603         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2604         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2605         * nptl/sysdeps/x86_64/tls.h: Moved ...
2606         * sysdeps/x86_64/nptl/tls.h: ... here.
2607         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2608         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2609         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2610         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2611
2612         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2613
2614 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2615
2616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2617
2618 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2619
2620         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2621         type.
2622         [POSIX] (off_t): Likewise.
2623         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2624         [POSIX] (S_ISBLK): Require macro.
2625         [POSIX] (S_ISCHR): Likewise.
2626         [POSIX] (S_ISDIR): Likewise.
2627         [POSIX] (S_ISFIFO): Likewise.
2628         [POSIX] (S_ISREG): Likewise.
2629         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2630         optional-macro.
2631         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2632         type.
2633         [POSIX] (time_t): Likewise.
2634         [POSIX] (timer_t): Likewise.
2635
2636 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2637
2638         [BZ #17048]
2639         * posix/spawn_int.h (struct __spawn_action): Make the path string
2640         non-const to support deallocation.
2641         * posix/spawn_faction_addopen.c
2642         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2643         * posix/spawn_faction_destroy.c
2644         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2645         path in all spawn_do_open actions.
2646         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2647         posix_spawn_file_actions_addopen.
2648
2649 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2650
2651         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2652         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2653         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2654         conditional code always true.
2655         (__libc_vfork): New alias.
2656
2657 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2658
2659         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2660         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2661
2662         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2663
2664         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2665         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2666
2667         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2668         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2669
2670         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2671         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2672
2673 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2674
2675         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2676         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2677         multiarch strcmp for PPC64.
2678         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2679         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2681         multiarch optimizations.
2682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2683         (__libc_ifunc_impl_list): Likewise.
2684
2685 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2686
2687         * benchtests/scripts/validate_benchout.py: New script.
2688         * benchtests/Makefile (bench-func): Call it.
2689         * benchtests/scripts/benchout.schema.json: New file.
2690
2691 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2692
2693         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2694         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2695         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2696         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2697         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2698         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2699         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2700         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2701         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2702         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2703         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2704         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2705         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2706         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2707         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2708         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2710         Moved ...
2711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2712         ... here.
2713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2714         Moved ...
2715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2717         Moved ...
2718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2719         ... here.
2720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2721         Moved ...
2722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2723         ... here.
2724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2725         Moved ...
2726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2728         Moved ...
2729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2730         ... here.
2731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2732         Moved ...
2733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2734         ... here.
2735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2736         Moved ...
2737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2739         Moved ...
2740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2741         ... here.
2742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2743         Moved ...
2744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2745         ... here.
2746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2747         Moved ...
2748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2749         ... here.
2750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2751         Moved ...
2752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2754         Moved ...
2755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2756         ... here.
2757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2758         Moved ...
2759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2760         ... here.
2761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2762         Moved ...
2763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2764         ... here.
2765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2766         Moved ...
2767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2769         Moved ...
2770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2771         ... here.
2772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2773         Moved ...
2774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2775         ... here.
2776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2777         Moved ...
2778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2780         Moved ...
2781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2782         ... here.
2783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2784         Moved ...
2785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2787         Moved ...
2788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2790         Moved ...
2791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2792         ... here.
2793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2794         Moved ...
2795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2796         ... here.
2797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2798         Moved ...
2799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2800         ... here.
2801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2802         Moved ...
2803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2805         Moved ...
2806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2807         ... here.
2808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2809         Moved ...
2810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2811         ... here.
2812         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2813         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2814         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2815         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2816         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2817         Moved ...
2818         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2819         ... here.
2820         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2821         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2822         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2823         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2824         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2825         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2826         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2827         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2828         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2829         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2830         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2831         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2832         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2833         Moved ...
2834         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2835         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2836         Moved ...
2837         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2838         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2839         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2840         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2841         Moved ...
2842         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2844         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2845         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2846         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2847         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2848         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2849
2850 2014-06-10  Wilco  <wdijkstr@arm.com>
2851
2852         * math/test-fenv-return.c: New file.
2853         * math/Makefile: Add new test test-fenv-return.
2854
2855 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2856
2857         [BZ #17042]
2858         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2859         when x - 1 is zero.
2860         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2861         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2862         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2863         0.0L for an argument of 1.0L.
2864         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2865         Likewise.
2866         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2867         value when x - 1 is zero.
2868         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2869         * sysdeps/i386/fpu/libm-test-ulps: Update.
2870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2871
2872 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2873
2874         [BZ #15119]
2875         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2876
2877 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2878
2879         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2880         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2881
2882 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2883
2884         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2885         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2886
2887         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2888         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2889
2890         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2891         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2892
2893         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2894         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2895
2896         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2897         if not already defined.
2898         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2899         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2900         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2901         (TLS_INIT_TP): Use it.
2902         (TLS_DEFINE_INIT_TP): New macro.
2903         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2904
2905 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2906
2907         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2908         constant.
2909         [POSIX] (IXANY): Likewise.
2910         [POSIX] (OLCUC): Likewise.
2911         [POSIX || POSIX2008] (CBAUD): Do not allow.
2912         [POSIX || POSIX2008] (DEFECHO): Likewise.
2913         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2914         [POSIX || POSIX2008] (ECHOKE): Likewise.
2915         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2916         [POSIX || POSIX2008] (EXTA): Likewise.
2917         [POSIX || POSIX2008] (EXTB): Likewise.
2918         [POSIX || POSIX2008] (FLUSHO): Likewise.
2919         [POSIX || POSIX2008] (LOBLK): Likewise.
2920         [POSIX || POSIX2008] (PENDIN): Likewise.
2921         [POSIX || POSIX2008] (SWTCH): Likewise.
2922         [POSIX || POSIX2008] (VDISCARD): Likewise.
2923         [POSIX || POSIX2008] (VDSUSP): Likewise.
2924         [POSIX || POSIX2008] (VLNEXT): Likewise.
2925         [POSIX || POSIX2008] (VREPRINT): Likewise.
2926         [POSIX || POSIX2008] (VSTATUS): Likewise.
2927         [POSIX || POSIX2008] (VWERASE): Likewise.
2928         (B*): Change to B[0123456789]*.
2929         * conform/data/time.h-data [POSIX || UNIX98]
2930         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2931         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2932         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2933         [POSIX] (tm_*): Do not allow.
2934
2935 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2936
2937         * Makefile (install): Don't set LANGUAGE.
2938         * Makefile.in (install): Likewise.
2939         * assert/Makefile (test-assert-ENV): Remove variable.
2940         (test-assert-perr-ENV): Likewise.
2941         * elf/Makefile (neededtest4-ENV): Likewise.
2942         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2943         [$(cross-compiling) = no]: Don't set LANGUAGE.
2944         * io/ftwtest-sh (LANG): Remove variable.
2945         * libio/Makefile (tst-widetext-ENV): Likewise.
2946         * manual/install.texi (Running make install): Don't refer to
2947         environment settings for make install.
2948         * INSTALL: Regenerated.
2949         * nptl/tst-tls6.sh: Don't set LANG.
2950         * posix/globtest.sh (LANG): Remove variable.
2951         * string/Makefile (tester-ENV): Likewise.
2952         (inl-tester-ENV): Likewise.
2953         (noinl-tester-ENV): Likewise.
2954         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2955         [$(cross-compiling) = no]: Don't set LANGUAGE.
2956         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2957         without explicit environment settings.
2958
2959 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2960
2961         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2962         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2963         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2964         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2965
2966 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2967
2968         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2969         other files in the crypt directory.
2970         * crypt/crypt.c: Remove duplicate includes.
2971         * crypt/crypt-entry.c: Likewise.
2972         * crypt/crypt_util.c: Likewise.
2973
2974 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2975
2976         * Makeconfig (run-program-env): New variable.
2977         (run-program-prefix-before-env): Likewise.
2978         (run-program-prefix-after-env): Likewise.
2979         (run-program-prefix): Define in terms of new variables.
2980         (built-program-cmd-before-env): New variable.
2981         (built-program-cmd-after-env): Likewise.
2982         (built-program-cmd): Define in terms of new variables.
2983         (test-program-prefix-before-env): New variable.
2984         (test-program-prefix-after-env): Likewise.
2985         (test-program-prefix): Define in terms of new variables.
2986         (test-program-cmd-before-env): New variable.
2987         (test-program-cmd-after-env): Likewise.
2988         (test-program-cmd): Define in terms of new variables.
2989         * Rules (make-test-out): Use $(run-program-env).
2990         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2991         (help): Do not mention environment variables.  Mention
2992         --timeoutfactor option.
2993         (timeoutfactor): New variable.
2994         (blacklist_exports): Remove function.
2995         (exports): Remove variable.
2996         (command): Do not include ${exports}.
2997         * manual/install.texi (Configuring and compiling): Do not mention
2998         test wrappers preserving environment variables.  Mention that last
2999         assignment to a variable must take precedence.
3000         * INSTALL: Regenerated.
3001         * benchtests/Makefile (run-bench): Use $(run-program-env).
3002         * catgets/Makefile ($(objpfx)test1.cat): Use
3003         $(built-program-cmd-before-env), $(run-program-env) and
3004         $(built-program-cmd-after-env).
3005         ($(objpfx)test2.cat): Do not specify environment variables
3006         explicitly.
3007         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3008         $(run-program-env) and $(built-program-cmd-after-env).
3009         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3010         $(run-program-env) and $(test-program-cmd-after-env).
3011         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3012         explicitly.
3013         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3014         run_program_env and test_program_cmd_after_env arguments.
3015         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3016         * elf/tst-pathopt.sh: Use run_program_env argument.
3017         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3018         $(test-wrapper-env) and $(run-program-env).
3019         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3020         run_program_env arguments.
3021         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3022         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3023         $(test-program-prefix-before-env), $(run-program-env) and
3024         $(test-program-prefix-after-env).
3025         ($(objpfx)tst-gettext2.out): Likewise.
3026         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3027         run_program_env and test_program_prefix_after_env arguments.
3028         * intl/tst-gettext2.sh: Likewise.
3029         * intl/tst-gettext4.sh: Do not set environment variables
3030         explicitly.
3031         * intl/tst-gettext6.sh: Likewise.
3032         * intl/tst-translit.sh: Likewise.
3033         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3034         $(test-program-prefix-before-env), $(run-program-env) and
3035         $(test-program-prefix-after-env).
3036         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3037         run_program_env and test_program_prefix_after_env arguments.
3038         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3039         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3040         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3041         explicitly with each use of ${test_wrapper_env}.
3042         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3043         $(test-program-prefix-before-env), $(run-program-env) and
3044         $(test-program-prefix-after-env).
3045         * posix/tst-getconf.sh: Do not set environment variables
3046         explicitly.
3047         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3048         run_program_env and test_program_prefix_after_env arguments.
3049         * stdio-common/tst-printf.sh: Do not set environment variables
3050         explicitly.
3051         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3052         $(test-program-prefix-before-env), $(run-program-env) and
3053         $(test-program-prefix-after-env).
3054         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3055         run_program_env and test_program_prefix_after_env arguments.
3056         Split $test calls into $test_pre and $test.
3057         * timezone/Makefile (build-testdata): Use
3058         $(built-program-cmd-before-env), $(run-program-env) and
3059         $(built-program-cmd-after-env).
3060
3061 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3062
3063         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3064         strlen for non SHARED builds.
3065
3066 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3067
3068         * nptl/allocatestack.c (check_list): Inlined function...
3069         (__reclaim_stacks): ... here.
3070
3071 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3072
3073         [BZ #15698]
3074         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3075         memory overrun.
3076
3077 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3078
3079         * Rules (make-test-out): Include
3080         LOCPATH=$(common-objpfx)localedata in default environment.
3081         * debug/Makefile (tst-chk1-ENV): Remove variable.
3082         (tst-chk2-ENV): Likewise.
3083         (tst-chk3-ENV): Likewise.
3084         (tst-chk4-ENV): Likewise.
3085         (tst-chk5-ENV): Likewise.
3086         (tst-chk6-ENV): Likewise.
3087         (tst-lfschk1-ENV): Likewise.
3088         (tst-lfschk2-ENV): Likewise.
3089         (tst-lfschk3-ENV): Likewise.
3090         (tst-lfschk4-ENV): Likewise.
3091         (tst-lfschk5-ENV): Likewise.
3092         (tst-lfschk6-ENV): Likewise.
3093         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3094         (tst-iconv7-ENV): Likewise.
3095         * intl/Makefile (LOCPATH-ENV): Likewise.
3096         (tst-codeset-ENV): Likewise.
3097         (tst-gettext3-ENV): Likewise.
3098         (tst-gettext5-ENV): Likewise.
3099         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3100         (tst-fopenloc-ENV): Likewise.
3101         (tst-fgetws-ENV): Remove variable.
3102         (tst-ungetwc1-ENV): Likewise.
3103         (tst-ungetwc2-ENV): Likewise.
3104         (bug-ungetwc2-ENV): Likewise.
3105         (tst-swscanf-ENV): Likewise.
3106         (bug-ftell-ENV): Likewise.
3107         (tst-fgetwc-ENV): Likewise.
3108         (tst-fseek-ENV): Likewise.
3109         (tst-ftell-partial-wide-ENV): Likewise.
3110         (tst-ftell-active-handler-ENV): Likewise.
3111         (tst-ftell-append-ENV): Likewise.
3112         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3113         (tst-regexloc-ENV): Likewise.
3114         (bug-regex1-ENV): Likewise.
3115         (tst-regex-ENV): Likewise.
3116         (tst-regex2-ENV): Likewise.
3117         (bug-regex5-ENV): Likewise.
3118         (bug-regex6-ENV): Likewise.
3119         (bug-regex17-ENV): Likewise.
3120         (bug-regex18-ENV): Likewise.
3121         (bug-regex19-ENV): Likewise.
3122         (bug-regex20-ENV): Likewise.
3123         (bug-regex22-ENV): Likewise.
3124         (bug-regex23-ENV): Likewise.
3125         (bug-regex25-ENV): Likewise.
3126         (bug-regex26-ENV): Likewise.
3127         (bug-regex30-ENV): Likewise.
3128         (bug-regex32-ENV): Likewise.
3129         (bug-regex33-ENV): Likewise.
3130         (bug-regex34-ENV): Likewise.
3131         (bug-regex35-ENV): Likewise.
3132         (tst-rxspencer-ENV): Likewise.
3133         (tst-rxspencer-no-utf8-ENV): Likewise.
3134         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3135         (tst-sscanf-ENV): Likewise.
3136         (tst-swprintf-ENV): Likewise.
3137         (tst-swscanf-ENV): Likewise.
3138         (test-vfprintf-ENV): Likewise.
3139         (scanf13-ENV): Likewise.
3140         (bug14-ENV): Likewise.
3141         (tst-grouping-ENV): Likewise.
3142         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3143         (tst-strtod3-ENV): Likewise.
3144         (tst-strtod4-ENV): Likewise.
3145         (tst-strtod5-ENV): Likewise.
3146         (testmb2-ENV): Likewise./
3147         * string/Makefile (tst-strxfrm-ENV): Likewise.
3148         (tst-strxfrm2-ENV): Likewise.
3149         (bug-strcoll1-ENV): Likewise.
3150         (test-strcasecmp-ENV): Likewise.
3151         (test-strncasecmp-ENV): Likewise.
3152         * time/Makefile (tst-strptime-ENV): Likewise.
3153         (tst-ftime_l-ENV): Likewise.
3154         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3155         (tst-mbrtowc-ENV): Likewise.
3156         (tst-wcrtomb-ENV): Likewise.
3157         (tst-mbrtowc2-ENV): Likewise.
3158         (tst-c16c32-1-ENV): Likewise.
3159         (tst-mbsnrtowcs-ENV): Likewise.
3160
3161 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3162
3163         * manual/resource.texi (How to get information about the memory
3164         subsystem?): Fix typo.
3165         Reported by Peon de la Parra Ivan <peon@keba.com>
3166
3167 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3168
3169         [BZ #16882]
3170         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3171         (pthread_spin_lock): Branch out of spin loop to proper location.
3172         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3173         (pthread_spin_lock): Likewise.
3174
3175         * nptl/tst-spin4.c: New test.
3176         * nptl/Makefile (tests): Add tst-spin4.
3177
3178 2014-06-03  Andreas Schwab  <schwab@suse.de>
3179
3180         [BZ #15946]
3181         * resolv/res_send.c (send_dg): Reload file descriptor after
3182         calling reopen.
3183
3184 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3185
3186         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3187
3188 2014-06-03  Richard Henderson  <rth@redhat.com>
3189
3190         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3191         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3192         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3193         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3194         in the SAVE_PID block.
3195         (__libc_vfork): New alias.
3196         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3197
3198         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3199         child in registers, not on the stack.  Remove RESET_PID conditionals.
3200         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3201
3202 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3203
3204         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3205
3206 2014-06-03  Wilco  <wdijkstr@arm.com>
3207
3208         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3209         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3210         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3211         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3212         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3213         Likewise.
3214
3215 2014-06-03  Wilco  <wdijkstr@arm.com>
3216
3217         * sysdeps/aarch64/fpu/math_private.h
3218         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3219         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3220         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3221         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3222         Fix declarations.
3223
3224 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3225
3226         * crypt/crypt-private.h: Include ufc-crypt.h.
3227         (__b64_from_24bit): Declare extern.
3228         * crypt/crypt_util.c(__b64_from_24bit): New function.
3229         (b64t): New static const variable.
3230         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3231         (b64t): Remove variable.
3232         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3233         * crypt/sha256-crypt.c: Include crypt-private.h.
3234         (b64t): Remove variable.
3235         (__sha256_crypt_r): Remove b64_from_24bit and replace
3236         with __b64_from_24bit.
3237         * crypt/sha512-crypt.c: Likewise.
3238
3239 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3240
3241         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3242         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3243         Label the code __libc_vfork rather than __vfork.
3244         [!NOT_IN_libc] (vfork): Define as weak alias.
3245         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3246         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3247         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3248
3249 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3250
3251         * malloc/malloc.c (malloc_info): Fix format specifier for
3252         n_mmaps.
3253
3254 2014-06-02  Wilco  <wdijkstr@arm.com>
3255
3256         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3257         FPCR write.
3258
3259 2014-06-02  Wilco  <wdijkstr@arm.com>
3260
3261         [BZ #17009]
3262         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3263         Rewrite to reduce FPCR/FPSR accesses.
3264
3265 2014-06-01  David S. Miller  <davem@davemloft.net>
3266
3267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3268
3269 2014-05-31  David S. Miller  <davem@davemloft.net>
3270
3271         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3272         to occur in round to nearest mode when |x| >= 2.0
3273
3274 2014-05-30  Richard Henderson  <rth@twiddle.net>
3275
3276         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3277         (PSEUDO_RET_NOERRNO): Remove.
3278         (ret): Don't redefine.
3279         (ret_NOERRNO): Define in terms of ret.
3280         (ret_ERRVAL): Likewise.
3281
3282         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3283         use of PSEUDO_RET; perform the error check directly.
3284
3285 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3286
3287         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3288         with __int128_t.
3289
3290 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3291
3292         * malloc/malloc (malloc_info): Fix formatting.
3293
3294 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3295             Roland McGrath  <roland@hack.frob.com>
3296
3297         * malloc/malloc (malloc_info): Also print mmapped statistics.
3298
3299 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3300
3301         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3302         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3303
3304 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3305
3306         * malloc/malloc.c (malloc_info): Inline mi_arena.
3307
3308 2014-05-29  Richard Henderson  <rth@twiddle.net>
3309
3310         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3311         Remove comma before expanding ASM_ARGS_##nr.
3312         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3313         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3314         of ASM_ARGS_##nr.
3315         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3316         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3317         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3318         (ASM_ARGS_1): Add leading comma.
3319
3320         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3321         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3322         to __errno_location.
3323         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3324         Remove the expected plt for __errno_location.
3325
3326         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3327         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3328         call to __read_tp.
3329
3330         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3331         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3332         it and break it down.
3333         (DOCARGS_0, DOCARGS_1): Do nothing.
3334         (DOCARGS_2): Update to store into the new stack frame.
3335         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3336         (UNDOCARGS_1): Update to restore from the new stack frame.
3337         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3338         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3339
3340         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3341         (SINGLE_THREAD_P): New parameter for result regno.
3342         (PSEUDO): Update to match; use cbz instead of beq.
3343
3344         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3345         Use ENTRY to define the _nocancel entry point.  Share the syscall
3346         and syscall error check paths with the cancel path.
3347         (PSEUDO_END): New.
3348
3349         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3350         whitespace; tabs before and after asm mnemonics.
3351
3352 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3353
3354         [BZ #15132]
3355         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3356         Call fstat64 or stat64 internally, depending on arguments passed.
3357         Replace stat buffer argument with file descriptor argument.
3358         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3359         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3360         Pass fd to __internal_statvfs instead of calling fstat64.
3361         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3362         Pass fd to __internal_statvfs64 instead of calling fstat64.
3363         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3364         Pass -1 to __internal_statvfs instead of calling stat64.
3365         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3366         Pass -1 to __internal_statvfs64 instead of calling stat64.
3367
3368 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3369
3370         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3371         that was previously under [RESET_PID].
3372         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3373
3374         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3375         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3376
3377 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3378
3379         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3380
3381         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3382         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3383
3384 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3385
3386         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3387
3388 2014-05-27  Andreas Schwab  <schwab@suse.de>
3389
3390         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3391         TLS_INIT_TP macro.
3392         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3393         * elf/rtld.c (init_tls, dl_main): Likewise.
3394         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3395         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3396         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3397         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3398         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3399         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3400         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3401         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3402         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3403         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3404         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3405         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3406         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3407         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3408         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3409         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3410         * sysdeps/generic/tls.h: Update description.
3411
3412 2014-05-27  Will Newton  <will.newton@linaro.org>
3413
3414         [BZ #16990]
3415         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3416         and restore r2 rather than just restoring.
3417
3418 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3419
3420         [BZ #16724]
3421         * libio/tst-ftell-append.c: New test case.
3422         * libio/Makefile (tests): Add test case.
3423         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3424         append mode.
3425         * libio/wfileops.c (do_ftell_wide): Likewise.
3426
3427 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3428
3429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3430
3431         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3432         ...
3433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3435         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3436         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3437         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3438         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3439         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3440         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3442         Moved ...
3443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3444         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3445         Moved ...
3446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3447         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3448         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3449         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3450         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3451         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3452         ...
3453         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3454         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3455         Moved ...
3456         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3457         here.
3458         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3459         ...
3460         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3461         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3462         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3463
3464         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3465         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3466         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3467         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3468
3469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3470         merge into ...
3471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3472         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3473         ...
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3476         ...
3477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3478         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3479         Moved ...
3480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3481         here.
3482         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3483         Moved ...
3484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3486         Moved ...
3487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3488
3489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3490         conditional [RESET_PID].
3491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3492         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3493         removed.
3494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3495         removed.
3496
3497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3498         <tcb-offsets.h>.
3499         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3500         (__libc_vfork): New strong alias.
3501         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3502         removed.
3503         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3504         Removed.
3505
3506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3507         <tcb-offsets.h>.
3508         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3509         (__libc_vfork): New strong alias.
3510         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3511         removed.
3512         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3513         removed.
3514
3515 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3516
3517         * malloc/malloc.c (mi_arena): New function.
3518         (malloc_info): Remove nested function mi_arena. Call non-nosted
3519         function mi_arena.
3520
3521 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3522
3523         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3524         by insrwi.
3525         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3526         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3527         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3528         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3529         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3530         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3531         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3532
3533 2014-05-26  Andreas Schwab  <schwab@suse.de>
3534
3535         [BZ #16984]
3536         * locale/programs/repertoire.c (repertoire_read): Add slash
3537         between I18NPATH element and file name.
3538         * locale/programs/locfile.c (locfile_read): Likewise.
3539
3540 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3541
3542         * nptl/pthread_mutexattr_settype.c
3543         (__pthread_mutexattr_settype):
3544         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3545
3546 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3547
3548         * nptl/tst-mutex5 (do_test):
3549         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3550
3551 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3552
3553         * benchtests/README: Document 'init' directive.
3554         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3555         BENCH_INIT.
3556         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3557         (parse_file): Recognize 'init' directive.
3558
3559 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3560
3561         [BZ #16796]
3562         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3563         alignment of struct pthread.
3564
3565 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3566
3567         [BZ #16878]
3568         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3569         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3570         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3571         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3572
3573 2014-05-25  Richard Henderson  <rth@twiddle.net>
3574
3575         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3576         (SINGLE_THREAD_P_PIC): Remove.
3577         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3578         (SINGLE_THREAD_P_PIC): Remove.
3579
3580         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3581         branch to syscall error ...
3582         (PSEUDO): ... here.
3583         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3584         from __local_syscall_error to .Lsyscall_error.
3585         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3586         (SYSCALL_ERROR): Update label name.
3587
3588         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3589         Do not use DOARGS/UNDOARGS.
3590         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3591         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3592         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3593         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3594         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3595
3596         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3597         block comment.
3598
3599         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3600         define if !NOT_IN_libc.
3601         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3602         define with non-default symbol versions.
3603
3604 2014-05-23  Richard Henderson  <rth@twiddle.net>
3605
3606         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3607         (vfork, __vfork): Define via compat_symbol.
3608
3609         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3610         [!HAVE_IFUNC] (vfork_compat): Remove.
3611         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3612
3613 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3614
3615         [BZ #16978]
3616         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3617         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3618         variable.
3619
3620 2014-05-23  Richard Henderson  <rth@twiddle.net>
3621
3622         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3623         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3624         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3625         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3626
3627         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3628         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3629         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3630         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3631         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3632         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3633         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3634         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3635         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3636         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3637         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3638         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3639         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3640         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3641         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3642         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3643         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3644         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3645         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3646         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3647         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3648         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3649         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3650         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3651         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3652         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3653         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3654         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3655         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3656         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3657         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3658         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3659         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3660         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3661         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3662         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3663         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3664         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3665         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3666         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3667         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3668         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3669         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3670         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3671         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3672         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3673         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3674         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3675         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3676         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3677         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3678         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3679         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3680         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3681         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3682         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3683
3684         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3685         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3686         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3687         before exiting on error.
3688         (__libc_vfork): New strong alias.
3689         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3690         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3691
3692         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3693         that was previously under [RESET_PID].
3694         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3695
3696         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3697
3698 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3699
3700         [BZ #16977]
3701         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3702         value when x - 1 is zero.
3703         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3704         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3705         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3706         0.0L for an argument of 1.0L.
3707         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3708         Likewise.
3709         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3710         value when x - 1 is zero.
3711         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3712         * sysdeps/i386/fpu/libm-test-ulps: Update.
3713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3714
3715 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3716
3717         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3718         alphasort and versionsort.
3719
3720 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3721
3722         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3723         macro.
3724         [copysignf]: Likewise.
3725
3726 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3727
3728         * crypt/md5-crypt.c: Fix formatting.
3729
3730 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3731
3732         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3733         (b64_from_24bit): New function.
3734
3735 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3736
3737         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3738         libc_hidden_builtin_def to ifunc.
3739         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3740         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3741
3742 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3743
3744         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3745         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3746
3747 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3748
3749         * nscd/Depend (linuxthreads): Remove.
3750         (nptl): Add.
3751         * resolv/Depend (linuxthreads): Remove.
3752         * rt/Depend (linuxthreads): Remove.
3753
3754         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3755         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3756         $(common-objpfx)elf/.
3757         (link-libc-before-gnulib): Likewise.
3758         (elfobjdir): Remove variable.
3759         * Makefile (install): Use $(elf-objpfx) instead of
3760         $(common-objpfx)elf/.
3761         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3762         $(elfobjdir)/.
3763         (link-libc-deps): Likewise.
3764         ($(common-objpfx)libc.so): Likewise.
3765         ($(common-objpfx)linkobj/libc.so): Likewise.
3766         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3767         instead of $(common-objpfx)elf/.
3768         (symbolic-link-list): Likewise.
3769         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3770         [$(cross-compiling) = no]: Likewise.
3771         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3772         $(elfobjdir)/.
3773         (static-gnulib-arch): Likewise.
3774         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3775         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3776         $(common-objpfx)elf/.
3777
3778 2014-05-21  Richard Henderson  <rth@redhat.com>
3779
3780         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3781         (SINGLE_THREAD_P): Use the correct width load.  Fold
3782         into the ldr offset.
3783
3784         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3785         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3786
3787 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3788
3789         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3790         (libgcc_s_resume): Use __attribute_used__.
3791         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3792         Likewise.
3793
3794 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3795
3796         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3797         optimization when used with float constants.
3798
3799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3800
3801 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3802
3803         [BZ #16915]
3804         * locale/nl_langinfo_l.c: Make direct reference to every
3805         _nl_current_CATEGORY symbol.
3806         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3807         (tests-static): Add tst-langinfo-static.
3808         (tests-special): Add tst-langinfo-static.out.
3809         ($(objpfx)tst-langinfo.out): Redirect output.
3810         ($(objpfx)tst-langinfo-static.out): New.
3811         * localedata/tst-langinfo.sh: Send output to stdout.
3812         * localedata/tst-langinfo-static.c: New file.
3813
3814         [BZ #16965]
3815         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3816         when the shift amount is modulo the limb size.
3817
3818 2014-05-20  Richard Henderson  <rth@redhat.com>
3819
3820         [BZ #16967]
3821         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3822         Change type of sa_flags from unsigned int to int.
3823
3824         [BZ #16966]
3825         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3826
3827         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3828
3829 2014-05-20  Will Newton  <will.newton@linaro.org>
3830
3831         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3832         Test the return value of the system call in the nocancel case.
3833
3834 2014-05-20  Will Newton  <will.newton@linaro.org>
3835             Yvan Roux  <yvan.roux@linaro.org>
3836
3837         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3838         #include of asm/ptrace.h.
3839         (PTRACE_GET_THREAD_AREA): Remove #undef.
3840         (PTRACE_GETHBPREGS): Likewise.
3841         (PTRACE_SETHBPREGS): Likewise.
3842         (struct user_regs_struct): New structure.
3843         (struct user_fpsimd_struct): New structure.
3844         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3845         #include of asm/ptrace.h and second #include of sys/user.h.
3846         (PTRACE_GET_THREAD_AREA): Remove #undef.
3847         (PTRACE_GETHBPREGS): Likewise.
3848         (PTRACE_SETHBPREGS): Likewise.
3849         (ELF_NGREG): Use new struct user_regs_struct.
3850         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3851
3852 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3853
3854         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3855         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3856
3857 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3858
3859         [BZ #16958]
3860         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3861         membar to avoid block loads/stores to overlap previous stores.
3862
3863 2014-05-17  Richard Henderson  <rth@redhat.com>
3864
3865         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3866         Create the __##syscall_name##_nocancel entry point.
3867         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3868         Remove; let the sysdep-cancel.h code create it.
3869
3870 2014-05-17  David S. Miller  <davem@davemloft.net>
3871
3872         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3873         Protect with __USE_GNU.
3874         (TIOCSET_TEMPT): Likewise.
3875         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3876         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3877         these are already provided in bits/ioctl-types.h
3878
3879 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3880
3881         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3882         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3883
3884         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3885         Use wait4 regardless of [__NR_waitpid].
3886
3887 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3888
3889         PR libgcc/60166
3890         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3891         (_FP_NANSIGN_Q): Set the quiet bit.
3892
3893 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3894
3895         * benchtests/Makefile
3896         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3897         not $(common-objpfx)math/libm.so.
3898         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3899         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3900         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3901         $(common-objpfx)dlfcn/libdl.so.
3902         ($(objpfx)tst-audit8): Depend on $(libm), not
3903         $(common-objpfx)math/libm.so.
3904         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3905         not $(common-objpfx)dlfcn/libdl.so.
3906         * math/Makefile
3907         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3908         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3909         [$(build-shared) = yes].
3910         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3911         $(common-objpfx)nptl/libpthread.so.
3912         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3913         $(common-objpfx)math/libm.so$(libm.so-version) or
3914         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3915         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3916         $(common-objpfx)dlfcn/libdl.so.
3917         * setjmp/Makefile (link-libm): Remove variable.
3918         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3919         * stdio-common/Makefile (link-libm): Remove variable.
3920         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3921         * stdlib/Makefile (link-libm): Remove variable.
3922         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3923         ($(objpfx)tst-strtod-round): Likewise.
3924         ($(objpfx)tst-tininess): Likewise.
3925         ($(objpfx)tst-strtod-underflow): Likewise.
3926         ($(objpfx)tst-strtod6): Likewise.
3927         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3928         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3929         $(common-objpfx)dlfcn/libdl.so.
3930
3931 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3932
3933         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3934         BSD terminal modes definitions.
3935
3936 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3937
3938         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3939         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3940
3941         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3942         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3943         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3944         Don't do #include_next.
3945         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3946         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3947         Don't do #include_next.
3948         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3949         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3950         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3951         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3952
3953 2014-05-16  Allan McRae  <allan@archlinux.org>
3954
3955         * po/sv.po: Update Swedish translation from translation project.
3956
3957         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3958         in sed expression.
3959
3960 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3961
3962         [BZ #16917]
3963         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3964         errno if the TIOCGPTN ioctl fails with an error different than
3965         EINVAL.
3966         * login/tst-ptsname.c: New file.
3967         * login/Makefile (tests): Add tst-ptsname.
3968
3969         [BZ #16943]
3970         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3971         and prlimit64.
3972
3973 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3974
3975         [BZ #16849]
3976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3977         herrno to return EAI_AGAIN.
3978
3979 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3980
3981         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3982         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3983         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3984         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3985         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3986         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3987         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3988         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3989         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3990         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3991         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3992         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3993         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3994         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3995         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3996         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3997         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3998         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3999         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4000         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4001         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4002         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4003         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4004         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4005         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4006         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4007         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4008         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4009         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4010         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4012         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4014         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4016         Moved ...
4017         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4019         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4021         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4023         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4025         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4027         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4029         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4031         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4033         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4035         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4037         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4039         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4041         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4043         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4045         Moved ...
4046         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4048         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4049         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4050         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4051         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4052         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4053         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4054         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4056         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4058         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4060         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4062         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4064         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4066         Moved ...
4067         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4069         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4070
4071         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4072         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4073         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4074         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4075         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4076         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4077         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4078         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4079         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4080         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4081         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4082         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4083         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4084         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4085         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4086         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4087         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4088         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4089         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4090         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4091         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4092         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4093         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4094         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4095         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4096         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4097         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4098         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4099         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4100         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4101         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4102
4103         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4104         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4105
4106         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4107         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4108         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4109         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4110         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4111         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4112         Moved ...
4113         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4114         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4115         Moved ...
4116         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4117         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4118         Moved ...
4119         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4120         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4121         Moved ...
4122         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4123         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4124         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4125         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4126         Moved ...
4127         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4128         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4129         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4130         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4131         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4132         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4133         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4134         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4135         Moved ...
4136         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4137         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4138         Moved ...
4139         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4140         ... here.
4141         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4142         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4143         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4144         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4145         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4146         Moved ...
4147         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4148         ... here.
4149         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4150         Moved ...
4151         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4152         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4153         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4154         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4155         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4156         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4157         Moved ...
4158         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4159         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4160         Moved ...
4161         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4162         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4163         Moved ...
4164         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4165         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4166         Moved ...
4167         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4168         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4169         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4170         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4171         Moved ...
4172         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4173         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4174         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4175         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4176         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4177         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4178         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4179         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4180         Moved ...
4181         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4182         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4183         Moved ...
4184         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4185         ... here.
4186         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4187         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4188         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4189         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4190         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4191         Moved ...
4192         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4193         ... here.
4194         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4195         Moved ...
4196         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4197         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4198         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4199         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4200         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4201         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4202         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4203         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4204         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4205         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4206         Moved ...
4207         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4208         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4209         Moved ...
4210         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4211         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4212         Moved ...
4213         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4214         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4215         Moved ...
4216         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4217         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4218         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4219         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4220         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4221         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4222         Moved ...
4223         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4224         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4225         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4226         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4227         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4228         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4229         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4230         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4231         Moved ...
4232         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4233         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4234         Moved ...
4235         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4236         ... here.
4237         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4238         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4239         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4240         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4241         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4242         Moved ...
4243         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4244         ... here.
4245         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4246         Moved ...
4247         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4248         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4249         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4250         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4251         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4252         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4253         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4254         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4255         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4256         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4257         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4258
4259         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4260         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4261
4262         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4263         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4264
4265         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4266         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4267         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4268         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4269         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4270         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4271         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4272         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4273         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4274         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4275         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4276         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4277         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4278         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4279         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4280         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4281         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4282         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4283         Moved ...
4284         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4286         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4287         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4288         Moved ...
4289         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4290         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4291         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4292         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4293         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4294         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4295         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4296         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4297         Moved ...
4298         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4299         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4300         Moved ...
4301         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4302         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4303         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4304         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4305         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4306         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4307         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4308         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4309         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4310         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4311         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4312         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4313         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4314         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4315         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4316         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4317         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4318
4319         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4320         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4321         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4322         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4323         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4324
4325         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4326         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4327         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4328         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4329         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4330         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4331         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4332         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4333         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4334         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4335
4336         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4337         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4338
4339         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4340         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4341         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4342         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4343         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4344         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4345         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4346         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4347         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4348         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4349         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4350         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4351         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4352         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4353         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4354         Update #include.
4355         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4356         Likewise.
4357         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4358         Likewise.
4359         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4360         Likewise.
4361         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4362         Likewise.
4363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4364         Likewise.
4365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4366         Likewise.
4367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4368         Likewise.
4369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4370         Likewise.
4371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4372         Likewise.
4373         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4374         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4375         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4376         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4377         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4378         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4379         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4380         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4381         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4382         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4383         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4384         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4385         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4386         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4387         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4388
4389         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4390         that was previously under [RESET_PID].
4391         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4392         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4393         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4394
4395         * sysdeps/i386/nptl/Implies: New file.
4396         * sysdeps/x86_64/nptl/Implies: New file.
4397         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4398         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4399         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4400         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4401
4402         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4403         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4404         (__libc_vfork): New strong alias.
4405         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4406         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4407
4408         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4409         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4410         (__libc_vfork): New strong alias.
4411         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4412         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4413
4414         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4415         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4416         (__libc_vfork): New strong alias.
4417         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4418         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4419         * nptl/pt-vfork.c: New file.
4420         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4421         (libpthread: GLIBC_2.20): New version set (empty).
4422
4423 2014-05-14  Will Newton  <will.newton@linaro.org>
4424
4425         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4426         rather than #if.
4427
4428 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4429
4430         [BZ #16564]
4431         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4432         arguments with exponent 65 or above.
4433         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4434         arguments 0x1p113L or above.
4435         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4436         to arguments 0x1p107L or above.
4437         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4438         positive arguments with exponent 65 or above.
4439         * math/auto-libm-test-in: Add more tests of log1p.
4440         * math/auto-libm-test-out: Regenerated.
4441
4442         [BZ #16928]
4443         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4444         non-finite arguments is +0.
4445         * math/s_cacosf.c (__cacosf): Likewise.
4446         * math/s_cacosl.c (__cacosl): Likewise.
4447         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4448         * sysdeps/i386/fpu/libm-test-ulps: Update.
4449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4450
4451         [BZ #16927]
4452         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4453         value.
4454         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4455         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4456         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4457         for explicit high bit of mantissa when testing for argument equal
4458         to 1.
4459         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4460         * sysdeps/i386/fpu/libm-test-ulps: Update.
4461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4462
4463         [BZ #16516]
4464         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4465         (__erf): Scale by 16 instead of 8 in potentially underflowing
4466         case.  Ensure exception if result actually underflows.
4467         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4468         (__erff): Scale by 16 instead of 8 in potentially underflowing
4469         case.  Ensure exception if result actually underflows.
4470         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4471         (efx8): Remove variable.
4472         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4473         case.  Ensure exception if result actually underflows.
4474         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4475         (efx8): Remove variable.
4476         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4477         case.  Ensure exception if result actually underflows.
4478         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4479         (efx8): Remove variable.
4480         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4481         case.  Ensure exception if result actually underflows.
4482         * math/auto-libm-test-in: Add more tests of erf.
4483         * math/auto-libm-test-out: Regenerated.
4484
4485 2014-05-14  Andreas Schwab  <schwab@suse.de>
4486
4487         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4488         Remove code conditionalized on USE___THREAD.
4489
4490         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4491         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4492         not definedness.
4493
4494 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4495
4496         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4497         Define unconditionally.
4498         (__ASSUME_O_CLOEXEC): Likewise.
4499         (__ASSUME_SOCK_CLOEXEC): Likewise.
4500         (__ASSUME_IN_NONBLOCK): Likewise.
4501         (__ASSUME_PIPE2): Likewise.
4502         (__ASSUME_EVENTFD2): Likewise.
4503         (__ASSUME_SIGNALFD4): Likewise.
4504         (__ASSUME_DUP3): Likewise.
4505         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4506         (__ASSUME_DUP3): Do not define.
4507         (__ASSUME_EVENTFD2): Likewise.
4508         (__ASSUME_IN_NONBLOCK): Likewise.
4509         (__ASSUME_O_CLOEXEC): Likewise.
4510         (__ASSUME_PIPE2): Likewise.
4511         (__ASSUME_SIGNALFD4): Likewise.
4512         (__ASSUME_SOCK_CLOEXEC): Likewise.
4513         (__ASSUME_UTIMES): Undefine.
4514         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4515         (__ASSUME_UTIMES): Do not define.
4516         (__ASSUME_O_CLOEXEC): Likewise.
4517         (__ASSUME_SOCK_CLOEXEC): Likewise.
4518         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4519         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4520         0x020621].
4521         (__ASSUME_PIPE2): Likewise.
4522         (__ASSUME_EVENTFD2): Likewise.
4523         (__ASSUME_SIGNALFD4): Likewise.
4524         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4525         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4526         Do not define.
4527         (__ASSUME_EVENTFD2): Likewise.
4528         (__ASSUME_SIGNALFD4): Likewise.
4529         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4530         (__ASSUME_32BITUIDS): Likewise.
4531         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4532         (__ASSUME_IPC64): Likewise.
4533         (__ASSUME_ST_INO_64_BIT): Likewise.
4534         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4535         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4536         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4537         (__ASSUME_UTIMES): Do not define.
4538         (__ASSUME_PSELECT): Likewise.
4539         (__ASSUME_PPOLL): Likewise.
4540         (__ASSUME_O_CLOEXEC): Likewise.
4541         (__ASSUME_SOCK_CLOEXEC): Likewise.
4542         (__ASSUME_IN_NONBLOCK): Likewise.
4543         (__ASSUME_PIPE2): Likewise.
4544         (__ASSUME_EVENTFD2): Likewise.
4545         (__ASSUME_SIGNALFD4): Likewise.
4546         (__ASSUME_DUP3): Likewise.
4547         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4548         (__ASSUME_UTIMES): Likewise.
4549         (__ASSUME_O_CLOEXEC): Likewise.
4550         (__ASSUME_SOCK_CLOEXEC): Likewise.
4551         (__ASSUME_IN_NONBLOCK): Likewise.
4552         (__ASSUME_PIPE2): Likewise.
4553         (__ASSUME_EVENTFD2): Likewise.
4554         (__ASSUME_SIGNALFD4): Likewise.
4555         (__ASSUME_DUP3): Likewise.
4556         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4557         (__ASSUME_UTIMES): Likewise.
4558         (__ASSUME_O_CLOEXEC): Likewise.
4559         (__ASSUME_SOCK_CLOEXEC): Likewise.
4560         (__ASSUME_IN_NONBLOCK): Likewise.
4561         (__ASSUME_PIPE2): Likewise.
4562         (__ASSUME_EVENTFD2): Likewise.
4563         (__ASSUME_SIGNALFD4): Likewise.
4564         (__ASSUME_DUP3): Likewise.
4565         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4566         Likewise.
4567         (__ASSUME_UTIMES): Likewise.
4568         (__ASSUME_EVENTFD2): Likewise.
4569         (__ASSUME_SIGNALFD4): Likewise.
4570         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4571         (__ASSUME_O_CLOEXEC): Likewise.
4572         (__ASSUME_SOCK_CLOEXEC): Likewise.
4573         (__ASSUME_IN_NONBLOCK): Likewise.
4574         (__ASSUME_PIPE2): Likewise.
4575         (__ASSUME_EVENTFD2): Likewise.
4576         (__ASSUME_SIGNALFD4): Likewise.
4577         (__ASSUME_DUP3): Likewise.
4578         (__ASSUME_UTIMES): Undefine.
4579
4580         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4581         feclearexcept.  Remove symbol versioning code.
4582         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4583         symbol versioning code.
4584         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4585         symbol versioning code.
4586         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4587         feupdateenv.  Remove symbol versioning code.
4588         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4589         fegetexceptflag.  Remove symbol versioning code.
4590         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4591         fesetexceptflag.  Remove symbol versioning code.
4592         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4593         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4594         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4595         (__posix_fadvise64_l32): Remove prototype.
4596         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4597         code.
4598
4599 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4600
4601         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4602         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4603         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4604         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4605
4606 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4607
4608         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4609         current working directory
4610
4611 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4612
4613         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4614         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4615         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4616         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4617         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4618         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4619         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4620         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4621         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4622         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4623         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4624         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4625         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4626         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4627         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4628         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4629         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4630         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4631         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4632         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4633         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4634         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4635         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4636         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4637         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4638         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4639         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4640         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4641         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4642         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4643         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4644         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4645         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4646         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4647         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4648         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4649         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4650         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4651         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4652         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4653         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4654         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4655
4656         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4657         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4658
4659         * sysdeps/unix/sysv/linux/arm/Makefile
4660         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4661         Add rt-aeabi_unwind_cpp_pr1.
4662         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4663         Add nptl-aeabi_unwind_cpp_pr1.
4664         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4665         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4666         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4667         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4668         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4669         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4670
4671         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4672         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4673         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4674         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4675
4676         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4677         Deconditionalize the code that was previously under [RESET_PID].
4678         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4679
4680         * sysdeps/generic/exit-thread.h: New file.
4681         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4682         * include/unistd.h (__exit_thread): Remove declaration.
4683         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4684         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4685         * csu/libc-start.c: Include <exit-thread.h>.
4686         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4687         * nptl/pthread_create.c: Include <exit-thread.h>.
4688         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4689         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4690         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4691         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4692         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4693         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4694         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4695         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4696         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4697         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4698         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4699         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4700         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4701         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4702         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4703         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4704         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4705
4706 2014-05-13  Andreas Schwab  <schwab@suse.de>
4707
4708         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4709
4710 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4711
4712         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4713         (__ASSUME_UTIMES): Do not condition on kernel version.
4714         (__ASSUME_PSELECT): Define unconditionally.
4715         (__ASSUME_PPOLL): Likewise.
4716         (__ASSUME_ATFCTS): Likewise.
4717         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4718         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4719         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4720         (__ASSUME_UTIMENSAT): Define unconditionally.
4721         (__ASSUME_PRIVATE_FUTEX): Likewise.
4722         (__ASSUME_FALLOCATE): Likewise.
4723         (__ASSUME_O_CLOEXEC): Likewise.
4724         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4725         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4726         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4727         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4728         (__ASSUME_IN_NONBLOCK): Likewise.
4729         (__ASSUME_PIPE2): Likewise.
4730         (__ASSUME_EVENTFD2): Likewise.
4731         (__ASSUME_SIGNALFD4): Likewise.
4732         (__ASSUME_DUP3): Likewise.
4733         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4734         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4735         (__ASSUME_AT_RANDOM): Likewise.
4736         (__ASSUME_PREADV): Likewise.
4737         (__ASSUME_PWRITEV): Likewise.
4738         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4739         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4740         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4741         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4742         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4743         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4744         (__ASSUME_O_CLOEXEC): Define unconditionally.
4745         (__ASSUME_PSELECT): Do not undefine conditionally.
4746         (__ASSUME_PPOLL): Likewise.
4747         (__ASSUME_ATFCTS): Likewise.
4748         (__ASSUME_SET_ROBUST_LIST): Likewise.
4749         (__ASSUME_UTIMENSAT): Likewise.
4750         (__ASSUME_FDATASYNC): Define unconditionally.
4751         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4752         (__ASSUME_SIGFRAME_V2): Likewise.
4753         )__ASSUME_EVENTFD2): Likewise.
4754         (__ASSUME_SIGNALFD4): Likewise.
4755         (__ASSUME_PSELECT): Do not undefine conditionally.
4756         (__ASSUME_PPOLL): Likewise.
4757         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4758         (__ASSUME_PSELECT): Define unconditionally.
4759         (__ASSUME_PPOLL): Likewise.
4760         (__ASSUME_O_CLOEXEC): Likewise.
4761         (__ASSUME_SOCK_CLOEXEC): Likewise.
4762         (__ASSUME_IN_NONBLOCK): Likewise.
4763         (__ASSUME_PIPE2): Likewise.
4764         (__ASSUME_EVENTFD2): Likewise.
4765         (__ASSUME_SIGNALFD4): Likewise.
4766         (__ASSUME_DUP3): Likewise.
4767         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4768         (__ASSUME_O_CLOEXEC): Likewise.
4769         (__ASSUME_SOCK_CLOEXEC): Likewise.
4770         (__ASSUME_IN_NONBLOCK): Likewise.
4771         (__ASSUME_PIPE2): Likewise.
4772         (__ASSUME_EVENTFD2): Likewise.
4773         (__ASSUME_SIGNALFD4): Likewise.
4774         (__ASSUME_DUP3): Likewise.
4775         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4776         (__ASSUME_EVENTFD2): Likewise.
4777         (__ASSUME_SIGNALFD4): Likewise.
4778         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4779
4780 2014-05-12  Andreas Schwab  <schwab@suse.de>
4781
4782         [BZ #16932]
4783         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4784         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4785         than maximum RPC packet size.
4786         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4787         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4788         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4789         (_nss_nis_getservbyport_r): Likewise.
4790
4791 2014-05-12  Will Newton  <will.newton@linaro.org>
4792
4793         * malloc/Makefile (tests): Add tst-mallopt.
4794         * malloc/tst-mallopt.c: New file.
4795
4796 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4797
4798         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4799         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4800
4801 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4802
4803         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4804         (tst-tlsmod6.so): Likewise.
4805
4806 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4807
4808         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4809
4810 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4811
4812         [BZ #16064]
4813         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4814         and <dl-procinfo.h>.
4815         (__fegetenv): Save SSE state in envp->__eip if supported.
4816         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4817         envp->__eip if supported.
4818         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4819         and <dl-procinfo.h>.
4820         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4821         __data_offset and __data_selector in environment to 0.  Set SSE
4822         state if supported.
4823         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4824         test-fenv-sse.
4825         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4826         -mfpmath=sse.
4827         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4828
4829 2014-05-09  Will Newton  <will.newton@linaro.org>
4830
4831         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4832         and libc_relro_required for ARM.
4833         * sysdeps/arm/preconfigure: Regenerate.
4834
4835 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4836             Stefan Liebler  <stli@linux.vnet.ibm.com>
4837
4838         * config.make.in (enable-lock-elision): New Makefile variable.
4839         * configure.ac: Likewise.
4840         * configure: Regenerate.
4841         * sysdeps/s390/configure.ac:
4842         Add check for gcc transactions support.
4843         * sysdeps/s390/configure: Regenerate.
4844         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4845         Build elision files if enabled.
4846         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4847         Add lock elision support for s390.
4848         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4849         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4850         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4851         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4852         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4853         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4854         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4855         Likewise.
4856         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4857         Likewise.
4858         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4859         Likewise.
4860         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4861         Likewise.
4862         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4863         (__lll_timedlock_elision, __lll_lock_elision)
4864         (__lll_unlock_elision, __lll_trylock_elision)
4865         (lll_timedlock_elision, lll_lock_elision)
4866         (lll_unlock_elision, lll_trylock_elision): Add.
4867         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4868         (pthread_mutex_t): Add lock elision support for s390.
4869
4870 2014-05-14  Wilco  <wdijkstr@arm.com>
4871
4872         * sysdeps/arm/fclrexcpt.c: Cleanup.
4873         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4874         * sysdeps/arm/feenablxcpt.c: Cleanup.
4875         * sysdeps/arm/fegetenv.c: Cleanup.
4876         * sysdeps/arm/fegetexcept.c: Cleanup.
4877         * sysdeps/arm/fegetround.c: Cleanup.
4878         * sysdeps/arm/feholdexcpt.c: Cleanup.
4879         * sysdeps/arm/fesetenv.c: Cleanup.
4880         * sysdeps/arm/fesetround.c: Cleanup.
4881         * sysdeps/arm/feupdateenv.c: Cleanup.
4882         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4883         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4884         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4885         * sysdeps/arm/ftestexcept.c: Cleanup.
4886         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4887         * sysdeps/arm/setfpucw.c: Cleanup.
4888
4889 2014-05-09  Will Newton  <will.newton@linaro.org>
4890
4891         * sysdeps/arm/armv7/strcmp.S: New file.
4892         * NEWS: Mention addition of ARMv7 optimized strcmp.
4893
4894 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4895
4896         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4897         look for %.ac rather than %.in.
4898
4899         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4900         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4901         * sysdeps/mach/hurd/configure: Regenerated.
4902         * sysdeps/unix/sysv/linux/configure: Regenerated.
4903
4904         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4905
4906 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4907
4908         [BZ# 16922]
4909         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4910         (LONG_SUB): Ditto.
4911         (PTR_SUB): Ditto.
4912
4913 2014-05-07  Andreas Schwab  <schwab@suse.de>
4914
4915         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4916         when skipping over non-matching result from nscd.
4917
4918 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4919
4920         [BZ #16876]
4921         * nptl/sockperf.c (client): Check socket return value.
4922
4923         [BZ #16877]
4924         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4925         nscd security class.
4926
4927 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4928
4929         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4930         * sysdeps/arm/unwind.h: ... here.
4931
4932 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4933
4934         [BZ# 16916]
4935         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4936         Define.
4937
4938 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4939
4940         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4941         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4942         multiarch strncpy for PPC64.
4943         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4944         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4946         multiarch optimizations.
4947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4948         (__libc_ifunc_impl_list): Likewise.
4949         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4950         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4951         multiarch stpncpy for PPC64.
4952         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4953         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4954
4955 2014-05-06  Andreas Schwab  <schwab@suse.de>
4956
4957         [BZ #16912]
4958         * gmon/mcount.c (_MCOUNT_DECL): Use
4959         atomic_compare_and_exchange_bool_acq instead of
4960         catomic_compare_and_exchange_bool_acq.
4961
4962 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4963
4964         * elf/Makefile (others, install-bin): Remove pldd.
4965         (pldd-modules): Variable removed.
4966         ($(objpfx)pldd): Target removed.
4967         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4968         (others, install-bin): Append pldd here.
4969         ($(objpfx)pldd): New target.
4970
4971         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4972         to 0, so the first #if test emitted later doesn't see it undefined.
4973         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4974         * sysdeps/gnu/errlist.c: Regenerated.
4975
4976 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4977
4978         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4979         [libc_hidden_builtin_def]: Define to empty value.
4980         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4981         [libc_hidden_builtin_def]: Likewise.
4982         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4983         [libc_hidden_builtin_def]: Likewise.
4984         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4985         [libc_hidden_builtin_def]: Likewise.
4986         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4987         __redirect_memcpy and define ifunc as default hidden symbol.
4988         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4989         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4990
4991 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4992
4993         * locale/iso-4217.def: Reintroduce XDR currency.
4994
4995 2014-05-04  Allan McRae  <allan@archlinux.org>
4996
4997         * po/eo.po: Update Esperanto translation from translation project.
4998
4999 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5000
5001         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5002         and FEATURE_INDEX_MAX to 1.
5003         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5004
5005 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5006
5007         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5008         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5009         * iconvdata/big5.c (ONE_DIRECTION): Define.
5010         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5011         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5012         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5013         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5014         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5015         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5016         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5017         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5018         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5019         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5020         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5021         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5022         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5023         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5024         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5025         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5026         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5027         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5028         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5029         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5030         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5031         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5032         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5033         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5034         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5035         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5036         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5037         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5038         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5039         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5040         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5041         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5042         * iconvdata/johab.c (ONE_DIRECTION): Define.
5043         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5044         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5045         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5046         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5047         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5048         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5049         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5050         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5051         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5052         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5053
5054 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5055
5056         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5057         (_IO_JUMPS_OFFSET): Define to 0.
5058
5059         * nptl/sysdeps/pthread/bits/libc-lock.h
5060         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5061         (__libc_lock_define_initialized_recursive): Always define using
5062         initializer.  Modern compilers treat uninitialized (implicit zero) and
5063         explicit zero initializers the same (i.e. put the datum in bss).
5064
5065 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5066
5067         * nscd/nscd-client.h: Include <string.h>.
5068
5069 2014-05-01  David S. Miller  <davem@davemloft.net>
5070
5071         [BZ #16885]
5072         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5073         multiple zero bytes exist at the end of a string.
5074         Reported by Aurelien Jarno <aurelien@aurel32.net>
5075
5076         * string/test-strcmp.c (check): Add explicit test for situations where
5077         there are multiple zero bytes after the first.
5078
5079 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5080
5081         [BZ #16890]
5082         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5083         when compiling wprintf.
5084         * stdio-common/tstdiomisc.c (t3): New function.
5085         (main): Call it.
5086
5087 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5088
5089         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5090         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5091         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5092         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5093
5094 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5095
5096         * stdlib/longlong.h: Updated from GCC.
5097
5098 2014-05-01  Will Newton  <will.newton@linaro.org>
5099             Bernard Ogden  <bernie.ogden@linaro.org>
5100
5101         * NEWS: Update fixed bug list.
5102
5103         [BZ #15119]
5104         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5105
5106 2014-04-30  David S. Miller  <davem@davemloft.net>
5107
5108         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5109         (libc_feholdexcept_setround_sparc_ctx): New function.
5110         (libc_fesetenv_sparc_ctx): Likewise.
5111         (libc_feupdateenv_sparc_ctx): Likewise.
5112         (libc_feholdsetround_sparc_ctx): Likewise.
5113         (libc_feholdexcept_setround_ctx): Define.
5114         (libc_feholdexcept_setroundf_ctx): Likewise.
5115         (libc_feholdexcept_setroundl_ctx): Likewise.
5116         (libc_fesetenv_ctx): Likewise.
5117         (libc_fesetenvf_ctx): Likewise.
5118         (libc_fesetenvl_ctx): Likewise.
5119         (libc_feupdateenv_ctx): Likewise.
5120         (libc_feupdateenvf_ctx): Likewise.
5121         (libc_feupdateenvl_ctx): Likewise.
5122         (libc_feresetround_ctx): Likewise.
5123         (libc_feresetroundf_ctx): Likewise.
5124         (libc_feresetroundl_ctx): Likewise.
5125         (libc_feholdsetround_ctx): Likewise.
5126         (libc_feholdsetroundf_ctx): Likewise.
5127         (libc_feholdsetroundl_ctx): Likewise.
5128
5129         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5130         with __USE_GNU instead of XOPEN cpp guards.
5131
5132         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5133         0.
5134
5135         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5136         with XOPEN cpp guards.
5137
5138 2014-04-30  Julian Brown  <julian@codesourcery.com>
5139
5140         [BZ #16888]
5141         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5142         handling.
5143
5144 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5145
5146         [BZ #9894]
5147         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5148         Change to 2.6.32.
5149         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5150         * sysdeps/unix/sysv/linux/configure: Regenerated.
5151         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5152         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5153         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5154         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5155         * README: Update reference to required Linux kernel version.
5156         * manual/install.texi (Linux): Update reference to required Linux
5157         kernel headers version.
5158         * INSTALL: Regenerated.
5159
5160         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5161         header inclusion.
5162         [POSIX] (limits.h): Likewise.
5163         [POSIX] (math.h): Likewise.
5164         [POSIX] (sys/wait.h): Likewise.
5165         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5166         function.
5167         [POSIX] (stddef.h): Do not allow header inclusion.
5168
5169 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5170
5171         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5172
5173 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5174
5175         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5176         Return immediately after lll_futex_wake.
5177
5178 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5179
5180         [BZ #16791]
5181         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5182         structure.
5183         (datahead_init_pos): Call datahead_init_common early.
5184         (datahead_init_neg): Likewise.
5185
5186         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5187         datahead_init_neg): New functions.
5188         * nscd/aicache.c (addhstaiX): Use them.
5189         * nscd/grpcache.c (cache_addgr): Likewise.
5190         * nscd/hstcache.c (cache_addhst): Likewise.
5191         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5192         * nscd/netgroupcache.c (do_notfound): Likewise.
5193         (addgetnetgrentX): Likewise.
5194         (addinnetgrX): Likewise.
5195         * nscd/pwdcache.c (cache_addpw): Likewise.
5196         * nscd/servicescache.c (cache_addserv): Likewise.
5197
5198 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5199             Atsushi Onoe  <atsushi@onoe.org>
5200
5201         [BZ #14308]
5202         [BZ #12994]
5203         [BZ #13651]
5204         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5205         one response is valid.
5206         * resolv/res_send.c (send_dg): Check for validity of other
5207         response if the current response is a referral.
5208
5209 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5210
5211         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5212
5213 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5214
5215         [BZ #16823]
5216         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5217         Always divide by positive zero when computing -Inf result.
5218         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5219         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5220
5221 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5222
5223         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5224         FPSCR if value do not change.
5225         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5226         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5227         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5228         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5229         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5230         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5231         function.
5232
5233 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5234
5235         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5236         * sysdeps/unix/sysv/linux/hppa: Move directory from
5237         ports/systeps/unix/sysv/linux/hppa.
5238         * README: Update listing for hppa-*-linux-gnu.
5239
5240 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5241
5242         [BZ #16754]
5243         * manual/stdio.texi (Hook functions): Fix types of stream hook
5244         functions.
5245         [BZ #16854]
5246         * socket/sys/socket.h: Fix typo in comment.
5247
5248 2014-04-28  Wilco  <wdijkstr@arm.com>
5249
5250         * sysdeps/arm/fenv_private.h: New file.
5251         * sysdeps/arm/math_private.h: New file.
5252         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5253
5254 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5255
5256         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5257         with __int128_t.
5258         (La_x86_64_retval): Likewise.
5259
5260 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5261
5262         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5263         fpsr if value didn't change.
5264         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5265         to fpcr if value didn't change.
5266         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5267         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5268         fpsr or fpcr if value didn't change.
5269         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5270         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5271         fpcr if value didn't change.
5272         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5273         to fpsr if value didn't change.
5274
5275 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5276
5277         * nptl/tst-sem3.c: Use test-skeleton.c
5278         (main): Rename to do_test.  Use return instead of
5279         exit.
5280         * nptl/tst-sem4.c: Use test-skeleton.c
5281         (main): Rename to do_test.
5282
5283 2014-04-22  David S. Miller  <davem@davemloft.net>
5284
5285         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5286         (struct sigaction): New struct member __glibc_reserved0, change
5287         type of sa_flags to int.
5288
5289 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5290
5291         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5292         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5293
5294 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5295
5296         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5297         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5298
5299 2014-04-22  Will Newton  <will.newton@linaro.org>
5300             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5301
5302         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5303         (__longjmp): Add longjmp and longjmp_target SystemTap
5304         probes.
5305         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5306         (__sigsetjmp): Add setjmp SystemTap probe.
5307
5308 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5309
5310         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5311         match manual order.
5312
5313 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5314
5315         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5316
5317         * sysdeps/powerpc/fpu/fenv_private.h
5318         (libc_feholdexcept_setroundl_ctx): Define to
5319         libc_feholdexcept_setround_ppc_ctx.
5320         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5321         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5322         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5323         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5324
5325 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5326
5327         * sysdeps/aarch64/math-tests.h: New file.
5328
5329 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5330
5331         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5332         New.
5333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5334         Check and set bit_AVX2_Usable.
5335         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5336         macro.
5337         (bit_AVX2): Likewise.
5338         (index_AVX2_Usable): Likewise.
5339         (CPUID_AVX2): Likewise.
5340         (HAS_AVX2): Likewise.
5341
5342 2014-04-17  Will Newton  <will.newton@linaro.org>
5343
5344         * manual/setjmp.texi (System V contexts): Add note that
5345         calling setcontext on a context created by a call to a
5346         signal handler is undefined.  Update text to note that
5347         setcontext from a signal handler is possible but not
5348         recommended.
5349
5350         [BZ #16629]
5351         * stdlib/tst-setcontext.c: Include signal.h.
5352         (main): Check that the signal stack before and
5353         after swapcontext is the same.
5354
5355         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5356         Re-implement to restore registers in user code and avoid
5357         rt_sigreturn system call.
5358
5359 2014-04-17  Wilco  <wdijkstr@arm.com>
5360
5361         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5362         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5363         * math/test-fenv.c: Skip exception trap tests on targets which only
5364         support non-stop mode.
5365
5366 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5367             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5368
5369         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5370         (libc_feholdsetround_aarch64_ctx)
5371         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5372         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5373         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5374         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5375         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5376         (libc_feresetround_noexl_ctx): Define.
5377
5378 2014-04-16  Richard Henderson  <rth@redhat.com>
5379
5380         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5381
5382         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5383         unwind tables.
5384
5385         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5386         const from the non-libc, non-ldso copy.
5387
5388         * sysdeps/alpha/libm-test-ulps: Regenerate.
5389
5390 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5391             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5392
5393         * sysdeps/aarch64/fpu/math_private.h: New file.
5394
5395 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5396
5397         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5398
5399 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5400
5401         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5402         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5403         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5404         Intel MPX bound registers before _dl_profile_fixup.
5405         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5406         registers after _dl_profile_fixup.  Save and restore bound
5407         registers bnd0/bnd1 when calling _dl_call_pltexit.
5408         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5409         (LR_BND_OFFSET): Likewise.
5410         (LRV_BND0_OFFSET): Likewise.
5411         (LRV_BND1_OFFSET): Likewise.
5412
5413 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5414
5415         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5416         to...
5417         * sysdeps/mach/hurd/i386/tls.h: ... here.
5418         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5419         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5420         fields.
5421
5422 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5423
5424         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5425
5426 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5427
5428         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5429
5430 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5431
5432         [BZ #14770]
5433         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5434         * sysdeps/s390/configure: Regenerate.
5435
5436         [BZ #16824]
5437         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5438         Set round-to-nearest internally to reduce error accumulation.
5439
5440 2014-04-16  Alan Modra  <amodra@gmail.com>
5441
5442         [BZ #16740]
5443         [BZ #16619]
5444         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5445         * math/libm-test.inc (frexp_test_data): Add tests.
5446         * NEWS: Update fixed bug list.
5447
5448 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5449
5450         * benchtests/Makefile: Depend on libraries in build directory.
5451         (bench-math): Separate out math tests.
5452         (bench-pthread): Separate out pthread tests.
5453         (bench): Include math and pthread tests.
5454
5455 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5456
5457         [BZ #16831]
5458         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5459         _dl_debug_initialize.
5460
5461         * configure.ac: Remove SELinux header check.
5462         * configure: Regenerate.
5463         * nscd/selinux.c (perms): Array of const char* to permission names.
5464         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5465         default policy. Call string_to_security_class and string_to_av_perm to
5466         translate strings. Enforce default policy and call avs_has_perm with
5467         results of translated strings.
5468
5469 2014-04-13  David S. Miller  <davem@davemloft.net>
5470
5471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5472
5473 2014-04-12  Allan McRae  <allan@archlinux.org>
5474
5475         [BZ #16838]
5476         * manual/string.texi (Collation Functions): Fix qsort argument
5477         order in example.
5478         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5479
5480 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5481
5482         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5483         Make the test a no-op if there are no exceptions defined.
5484
5485 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5486
5487         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5488         enable-hardcoded-path-in-tests
5489
5490 2014-04-11  Will Newton  <will.newton@linaro.org>
5491
5492         * benchtests/Makefile (extra-objs): Add json-lib.o.
5493         (bench-func): Tidy up JSON output.
5494         * benchtests/bench-skeleton.c: Include json-lib.h.
5495         (main): Use JSON library functions to do output of
5496         benchmark results.
5497         * benchtests/bench-timing-type.c (main): Output the
5498         timing type simply, leaving formatting to the user.
5499         * benchtests/json-lib.c: New file.
5500         * benchtests/json-lib.h: Likewise.
5501
5502 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5503
5504         [BZ #15215]
5505         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5506         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5507         memory barriers.  Add comments.
5508         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5509         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5510         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5511         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5512         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5513         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5514
5515 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5516
5517         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5518         * sysdeps/s390/s390-64/configure.ac: ... this ...
5519         * sysdeps/s390/configure.ac: ... to here.
5520         * sysdeps/s390/s390-32/configure: Delete file.
5521         * sysdeps/s390/s390-64/configure: Delete file.
5522         * sysdeps/s390/configure: Regenerate.
5523
5524 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5525
5526         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5527
5528 2014-04-11  Will Newton  <will.newton@linaro.org>
5529
5530         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5531         to zero if it is not defined elsewhere.  (mtrim): Test
5532         the value of MALLOC_DEBUG with #if rather than #ifdef.
5533
5534 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5535
5536         * benchtests/pthread_once-inputs: New file.
5537         * benchtests/pthread_once-source.c: New file.
5538         * benchtests/README: Update documentation.
5539
5540 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5541             H.J. Lu  <hongjiu.lu@intel.com>
5542
5543         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5544         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5545         * sysdeps/x86_64/configure: Regenerated.
5546         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5547         macro.
5548         (REGISTER_SAVE_RAX): Likewise.
5549         (REGISTER_SAVE_RCX): Likewise.
5550         (REGISTER_SAVE_RDX): Likewise.
5551         (REGISTER_SAVE_RSI): Likewise.
5552         (REGISTER_SAVE_RDI): Likewise.
5553         (REGISTER_SAVE_R8): Likewise.
5554         (REGISTER_SAVE_R9): Likewise.
5555         (REGISTER_SAVE_BND0): Likewise.
5556         (REGISTER_SAVE_BND1): Likewise.
5557         (REGISTER_SAVE_BND2): Likewise.
5558         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5559         bound registers when calling _dl_fixup.
5560
5561 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5562
5563         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5564         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5565         of its definition.
5566         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5567         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5568         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5569         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5570         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5571         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5572         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5573
5574 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5575
5576         [BZ #15514]
5577         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5578         pathconf(_PC_NAME_MAX).
5579
5580 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5581
5582         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5583         Remove macro usage.
5584         (__PTHREAD_SPINS): Move definition to ...
5585         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5586         (__PTHREAD_SPINS): ... here.
5587         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5588         (__PTHREAD_SPIN): Likewise.
5589         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5590         (__PTHREAD_SPIN): Likewise.
5591         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5592         (__PTHREAD_SPIN): Likewise.
5593         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5594         (__PTHREAD_SPIN): Likewise.
5595         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5596         (__PTHREAD_SPIN): Likewise.
5597         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5598         (__PTHREAD_SPIN): Likewise.
5599         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5600         (__PTHREAD_SPIN): Likewise.
5601         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5602         (__PTHREAD_SPIN): Likewise.
5603         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5604         (__PTHREAD_SPIN): Likewise.
5605         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5606         (__PTHREAD_SPIN): Likewise.
5607         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5608         (__PTHREAD_SPIN): Likewise.
5609         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5610         (__PTHREAD_SPIN): Likewise.
5611
5612         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5613         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5614         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5615         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5616         imply folder.
5617         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5618         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5619         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5620         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5621         correct imply path.
5622         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5623         strlen symbol for non multi-arch builds.
5624         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5625         missing hidden_def and weak_alias.
5626
5627 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5628
5629         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5630
5631 2014-04-07  Will Newton  <will.newton@linaro.org>
5632
5633         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5634         and contents.  [!_LIBC] Remove #ifndef and contents.
5635         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5636         * string/memccpy.c (__memccpy): Use ANSI prototype.
5637         * string/memfrob.c (memfrob): Likewise.
5638         * string/strcoll.c (STRCOLL): Likewise.
5639         * string/strlen.c (strlen): Likewise.
5640         * string/strtok.c (STRTOK): Likewise.
5641         * string/strcat.c: Remove unused #include of memcopy.h.
5642         (strcat): Use ANSI prototype.
5643         * string/strchr.c: Remove unused #include of memcopy.h.
5644         (strchr): Use ANSI prototype.
5645         * string/strcmp.c: Remove unused #include of memcopy.h.
5646         (strcmp): Use ANSI prototype.
5647         * string/strcpy.c: Remove unused #include of memcopy.h.
5648         (strcpy): Use ANSI prototype.
5649
5650 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5651
5652         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5653         * config.make.in (config-extra-cppflags): Set it from
5654         libc_extra_cppflags.
5655         * configure.ac (libc_extra_cflags): Make it accumulate over
5656         configure fragments.
5657         (libc_extra_cppflags): New flag.
5658         * configure. Regenerate.
5659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5660         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5661         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5663
5664         [BZ #16815]
5665         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5666         result for FE_DOWNWARD rounding mode.
5667         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5668         Likewise.
5669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5670
5671 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5672
5673         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5674         in function argument name.
5675
5676 2014-04-03  David Svoboda  <svoboda@cert.org>
5677
5678         [BZ #5666]
5679         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5680         explicitly.
5681
5682 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5683
5684         * elf/dl-unmap-segments.h: New file.
5685         * sysdeps/generic/ldsodefs.h
5686         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5687         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5688         * elf/dl-fptr.c: Likewise.
5689         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5690         * sysdeps/aarch64/tlsdesc.c: Likewise.
5691         * sysdeps/arm/tlsdesc.c: Likewise.
5692         * sysdeps/i386/tlsdesc.c: Likewise.
5693         * sysdeps/tile/dl-runtime.c: Likewise.
5694         * sysdeps/x86_64/tlsdesc.c: Likewise.
5695         * elf/dl-load.h: New file.
5696         * elf/dl-load.c: Include it.
5697         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5698         Macros moved to dl-load.h.
5699         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5700         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5701         Use _dl_unmap_segments in place of __munmap.
5702         Break out segment-mapping loop into ...
5703         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5704
5705 2014-04-03  Will Newton  <will.newton@linaro.org>
5706
5707         * elf/dl-lookup.c (do_lookup_x): Remove comment
5708         referring to nested function and move variable
5709         declarations down to before first use.
5710
5711 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5712
5713         [BZ #16799]
5714         [BZ #16800]
5715         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5716         with 0 numerator.
5717         * math/s_catanf.c (__catanf): Likewise.
5718         * math/s_catanh.c (__catanh): Likewise.
5719         * math/s_catanhf.c (__catanhf): Likewise.
5720         * math/s_catanhl.c (__catanhl): Likewise.
5721         * math/s_catanl.c (__catanl): Likewise.
5722         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5723         by positive zero when computing -Inf result.
5724         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5725         (catanh_test): Likewise.
5726         * sysdeps/i386/fpu/libm-test-ulps: Update.
5727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5728
5729         [BZ #16789]
5730         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5731         instead of using underflowing value in computing result.
5732         * math/s_clog10.c (__clog10): Likewise.
5733         * math/s_clog10f.c (__clog10f): Likewise.
5734         * math/s_clog10l.c (__clog10l): Likewise.
5735         * math/s_clogf.c (__clogf): Likewise.
5736         * math/s_clogl.c (__clogl): Likewise.
5737         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5738         (clog10_test): Likewise.
5739         * sysdeps/i386/fpu/libm-test-ulps: Update.
5740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5741
5742 2014-04-02  Alan Modra  <amodra@gmail.com>
5743
5744         [BZ #16739]
5745         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5746         output when value is near a power of two.  Use int64_t for lx and
5747         remove casts.  Use decimal rather than hex exponent constants.
5748         Don't use long double multiplication when double will suffice.
5749         * math/libm-test.inc (nextafter_test_data): Add tests.
5750         * NEWS: Add 16739 and 16786 to bug list.
5751
5752         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5753
5754         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5755
5756 2014-04-01  Will Newton  <will.newton@linaro.org>
5757
5758         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5759         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5760
5761 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5762
5763         [BZ #13347]
5764         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5765         * nptl/tst-setuid2.c: New file.
5766         * nptl/Makefile (xtests): Add tst-setuid2.
5767
5768 2014-04-01  Alan Modra  <amodra@gmail.com>
5769
5770         [BZ #16786]
5771         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5772
5773 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5774
5775         [BZ #6803]
5776         [BZ #6804]
5777         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5778         set errno as appropriate.
5779         * math/w_scalbf.c (__scalbf): Likewise.
5780         * math/w_scalbl.c (__scalbl): Likewise.
5781         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5782         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5783         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5784         Add more NaN tests.
5785
5786         [BZ #16349]
5787         * math/w_atan2.c: Include <errno.h>.
5788         (__atan2): Set errno for result underflowing to zero.
5789         * math/w_atan2f.c: Include <errno.h>.
5790         (__atan2f): Set errno for result underflowing to zero.
5791         * math/w_atan2l.c: Include <errno.h>.
5792         (__atan2l): Set errno for result underflowing to zero.
5793         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5794         tests.
5795         * math/auto-libm-test-out: Regenerated.
5796
5797 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5798
5799         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5800         Encode instruction correctly in little endian.
5801         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5802         Likewise.
5803         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5804         Likewise.
5805         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5806         Likewise.
5807         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5808         Likewise.
5809
5810 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5811
5812         [BZ #9894]
5813         * sysdeps/unix/sysv/linux/kernel-features.h
5814         [__sparc__ && !__arch64__ && !__sparc_v9__]
5815         (__ASSUME_SET_ROBUST_LIST): Do not define.
5816         [__sparc__ && !__arch64__ && !__sparc_v9__]
5817         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5818         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5819         Likewise.
5820         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5821         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5822         (__ASSUME_REQUEUE_PI): Likewise.
5823         (__ASSUME_SET_ROBUST_LIST): Likewise.
5824         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5825         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5826         Undefine.
5827         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5828         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5829         Likewise.
5830         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5831         Likewise.
5832         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5833         Likewise.
5834         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5835         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5836         Undefine.
5837         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5838         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5839         Likewise.
5840
5841         [BZ #16648]
5842         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5843         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5844         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5845
5846 2014-03-31  Will Newton  <will.newton@linaro.org>
5847
5848         * benchtests/Makefile (bench): Add ffs and ffsll to list
5849         of tests.
5850         * benchtests/ffs-inputs: New file.
5851         * benchtests/ffsll-inputs: Likewise.
5852
5853 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5854
5855         [BZ #16770]
5856         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5857         too large before casting to int.
5858         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5859         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5860         * math/libm-test.inc (scalb_test_data): Add more tests.
5861
5862 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5863
5864         * benchtests/Makefile (DETAILED_OPT): New make option.
5865         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5866         set.
5867         * benchtests/bench-skeleton.c: Include stdbool.h.
5868         (main): Store and print timings per input.
5869         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5870         member to each argument value.
5871         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5872         (_print_arg_data): Initialize per-input timing to 0.
5873
5874         * benchtests/Makefile (timing-type): New binary.
5875         (bench-clean): Also remove bench-timing-type.
5876         (bench): New target for timing-type.
5877         (bench-func): Print output in JSON format.
5878         * benchtests/bench-skeleton.c (main): Print output in JSON
5879         format.
5880         * benchtests/bench-timing-type.c: New file.
5881         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5882         (TIMING_PRINT_STATS): Remove.
5883         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5884         name separately.
5885
5886         * benchtests/bench-modf.c: Remove.
5887         * benchtests/modf-inputs: New inputs file.
5888
5889 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5890
5891         [BZ #16362]
5892         * math/s_clog10.c (M_PI_LOG10E): New macro.
5893         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5894         imaginary parts are 0.
5895         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5896         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5897         imaginary parts are 0.
5898         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5899         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5900         imaginary parts are 0.
5901         * math/libm-test.inc (clog10_test_data): Update expected results
5902         for when real and imaginary parts are 0.
5903
5904 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5905
5906         * elf/dl-load.c: Finish conversion of __builtin_expect into
5907         __glibc_{un}likely.
5908
5909 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5910
5911         [BZ #16348]
5912         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5913         1+x for argument with exponent below -67.
5914         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5915         Likewise.
5916         * math/auto-libm-test-in: Add more tests of exp.
5917         * math/auto-libm-test-out: Regenerated.
5918
5919 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5920
5921         [BZ #16759]
5922         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5923         (nscd_getnetgrent): Use it.
5924
5925         [BZ #16760]
5926         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5927         of stpcpy.
5928
5929 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5930
5931         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5932         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5933         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5934         (lll_robust_unlock): Remove out of line section. Use cfi
5935         intrinsics.
5936         (LLL_STUB_UNWIND_INFO*): Remove.
5937         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5938         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5939         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5940         (lll_robust_unlock): Remove out of line section. Use cfi
5941         intrinsics.
5942         (LLL_STUB_UNWIND_INFO*): Remove.
5943
5944 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5945
5946         [BZ #16758]
5947         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5948         blank values.
5949
5950 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5951
5952         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5953
5954 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5955
5956         [BZ #16198]
5957         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5958         fnstenv.
5959         * math/test-fenv-preserve.c: New file.
5960         * math/Makefile (tests): Add test-fenv-preserve.
5961
5962 2014-03-26  Will Newton <will.newton@linaro.org>
5963
5964         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5965
5966 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5967
5968         * scripts/versionlist.awk: Partition the version sets and emit all
5969         GLIBC_* (sorted) before all others (sorted).
5970
5971 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5972
5973         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5974         GLIBC_2.2.5 version.
5975
5976 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5977
5978         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5979         calls.
5980
5981         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5982         previous change.
5983
5984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5985
5986 2014-03-25  Andreas Schwab  <schwab@suse.de>
5987
5988         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5989         label to be used after in6ailist is initialized.
5990
5991 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5992
5993         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5994         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5995
5996 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5997
5998         [BZ #16357]
5999         [BZ #16599]
6000         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6001         min_plus_half.
6002         (fp_formats): Update initializers.
6003         (init_fp_formats): Initialize new field.
6004         (output_for_one_input_case): Allow underflow for results up to
6005         min_plus_half.
6006         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6007         * math/auto-libm-test-in: Don't mark some underflows from asin and
6008         atanh as spurious.
6009         * math/auto-libm-test-out: Regenerated.
6010         * sysdeps/i386/fpu/libm-test-ulps: Update.
6011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6012
6013 2014-03-25  Andreas Schwab  <schwab@suse.de>
6014
6015         * libio/Makefile (tst-ftell-partial-wide-ENV)
6016         (tst-ftell-active-handler-ENV): Define.
6017
6018 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6019
6020         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6021
6022 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6023
6024         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6025
6026 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6027
6028         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6029         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6030         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6031
6032 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6033
6034         [BZ #16634]
6035         * elf/dl-load.c (open_verify): Add mode parameter.
6036         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6037         (open_path): Change from boolean 'secure' to complete flag 'mode'
6038         (_dl_map_object): Adjust.
6039         * elf/Makefile (tests): Add tst-dlopen-aout.
6040         * elf/tst-dlopen-aout.c: New test.
6041
6042 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6043
6044         [BZ #16714]
6045         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6046         (struct stat): Rename member pad0 to __glibc_reserved0.
6047
6048         [BZ #16712]
6049         * sysdeps/s390/s390-32/bits/wordsize.h
6050         (__WORDSIZE32_SIZE_ULONG): New define.
6051         * sysdeps/s390/s390-64/bits/wordsize.h
6052         (__WORDSIZE32_SIZE_ULONG): Likewise.
6053         * sysdeps/generic/stdint.h (SIZE_MAX):
6054         Define as UL if __WORDSIZE32_SIZE_ULONG.
6055
6056         [BZ #16713]
6057         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6058         (__glibc_reserved0): New variable.
6059         (sa_flags): Change type to int.
6060
6061         * posix/Makefile (before-compile): Use += before-compile instead
6062         of a :=.
6063
6064         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6065         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6066
6067 2014-03-20  Andreas Schwab  <schwab@suse.de>
6068
6069         [BZ #16743]
6070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6071         non-matching result from nscd.
6072
6073 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6074
6075         * scripts/bench.py: Moved to ...
6076         * benchtests/scripts/bench.py: ... here.
6077         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6078
6079 2014-03-24  Andreas Schwab  <schwab@suse.de>
6080
6081         [BZ #16002]
6082         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6083         alloca_account and account alloca use for struct in6ailist.
6084
6085 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6086
6087         [BZ #16284]
6088         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6089         rounding mode to recompute results that overflow to infinity or
6090         underflow to zero.
6091         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6092         bug 16284.
6093         * math/auto-libm-test-out: Regenerated.
6094         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6095         (ccosh_test): Likewise.
6096         (csin_test_data): Use plus_oflow.
6097         (csin_test): Use ALL_RM_TEST.
6098         (csinh_test_data): Use plus_oflow.
6099         (csinh_test): Use ALL_RM_TEST.
6100         * sysdeps/i386/fpu/libm-test-ulps: Update.
6101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6102
6103 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6104
6105         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6106         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6107         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6108
6109         [BZ #16731]
6110         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6111         when x - 1 is zero.
6112         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6113         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6114         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6115         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6116         argument is 1.
6117         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6118         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6119         zero.
6120         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6121         * sysdeps/i386/fpu/libm-test-ulps: Update.
6122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6123
6124 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6125
6126         * scripts/bench.pl: Remove file.
6127         * scripts/bench.py: New benchmark script.
6128         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6129         * benchtests/README: Mention python dependency.
6130         * scripts/pylintrc: New file.
6131         * scripts/pylint: New file.
6132
6133         * bits/mathdef.h: Use #ifdef instead of #if.
6134         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6135         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6136         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6137         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6138         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6139         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6140
6141 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6142             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6143
6144         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6146         and strpbrk-ppc64 objects.
6147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6148         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6149         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6150         multiarch strpbrk for POWER7.
6151         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6152         multiarch strpbrk for PPC64.
6153         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6154         ifunc selector.
6155         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6156         strpbrk for POWER7.
6157
6158 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6159
6160         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6161         (atan_test): Likewise.
6162         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6163         (atanh_test): Use ALL_RM_TEST.
6164         (atan2_test_data): Likewise.
6165         (cabs_test): Likewise.
6166         (cacosh_test): Likewise.
6167         (carg_test): Likewise.
6168         (casin_test): Likewise.
6169         (casinh_test): Likewise.
6170         (cbrt_test): Likewise.
6171         (csqrt_test): Likewise.
6172         (erf_test): Likewise.
6173         (erfc_test): Likewise.
6174         (pow10_test): Likewise.
6175         (exp2_test): Likewise.
6176         (hypot_test): Likewise.
6177         (j0_test): Likewise.
6178         (j1_test): Likewise.
6179         (lgamma_test): Likewise.
6180         (gamma_test): Likewise.
6181         (sincos_test): Likewise.
6182         (tanh_test): Likewise.
6183         (y0_test): Likewise.
6184         (y1_test): Likewise.
6185         * sysdeps/i386/fpu/libm-test-ulps: Update.
6186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6187
6188 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6189
6190         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6192         and strcspn-ppc64 objects.
6193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6194         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6195         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6196         multiarch strcspn for POWER7.
6197         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6198         multiarch strcspn for PPC64.
6199         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6200         ifunc selector.
6201         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6202         strcspn for POWER7.
6203
6204 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6205
6206         * math/gen-libm-test.pl (generate_testfile): Expect only function
6207         name as argument to AUTO_TESTS_* and pass results for all rounding
6208         modes to parse_args.
6209         (parse_auto_input): Separate inputs of automatic tests from
6210         outputs before storing in %auto_tests.
6211         * math/libm-test.inc (acos_test_data): Update call to
6212         AUTO_TESTS_f_f.
6213         (acos_test): Use ALL_RM_TEST.
6214         (acos_tonearest_test_data): Remove.
6215         (acos_test_tonearest): Likewise.
6216         (acos_towardzero_test_data): Likewise.
6217         (acos_test_towardzero): Likewise.
6218         (acos_downward_test_data): Likewise.
6219         (acos_test_downward): Likewise.
6220         (acos_upward_test_data): Likewise.
6221         (acos_test_upward): Likewise.
6222         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6223         (asin_test_data): Likewise.
6224         (asin_test): Use ALL_RM_TEST.
6225         (asin_tonearest_test_data): Remove.
6226         (asin_test_tonearest): Likewise.
6227         (asin_towardzero_test_data): Likewise.
6228         (asin_test_towardzero): Likewise.
6229         (asin_downward_test_data): Likewise.
6230         (asin_test_downward): Likewise.
6231         (asin_upward_test_data): Likewise.
6232         (asin_test_upward): Likewise.
6233         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6234         (atan_test_data): Likewise.
6235         (atanh_test_data): Likewise.
6236         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6237         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6238         (carg_test_data): Likewise.
6239         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6240         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6241         (ccosh_test_data): Likewise.
6242         (cexp_test_data): Likewise.
6243         (clog_test_data): Likewise.
6244         (clog10_test_data): Likewise.
6245         (cos_test_data): Update call to AUTO_TESTS_f_f.
6246         (cos_test): Use ALL_RM_TEST.
6247         (cos_tonearest_test_data): Remove.
6248         (cos_test_tonearest): Likewise.
6249         (cos_towardzero_test_data): Likewise.
6250         (cos_test_towardzero): Likewise.
6251         (cos_downward_test_data): Likewise.
6252         (cos_test_downward): Likewise.
6253         (cos_upward_test_data): Likewise.
6254         (cos_test_upward): Likewise.
6255         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6256         (cosh_test): Use ALL_RM_TEST.
6257         (cosh_tonearest_test_data): Remove.
6258         (cosh_test_tonearest): Likewise.
6259         (cosh_towardzero_test_data): Likewise.
6260         (cosh_test_towardzero): Likewise.
6261         (cosh_downward_test_data): Likewise.
6262         (cosh_test_downward): Likewise.
6263         (cosh_upward_test_data): Likewise.
6264         (cosh_test_upward): Likewise.
6265         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6266         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6267         (ctan_test_data): Likewise.
6268         (ctan_test): Use ALL_RM_TEST.
6269         (ctan_tonearest_test_data): Remove.
6270         (ctan_test_tonearest): Likewise.
6271         (ctan_towardzero_test_data): Likewise.
6272         (ctan_test_towardzero): Likewise.
6273         (ctan_downward_test_data): Likewise.
6274         (ctan_test_downward): Likewise.
6275         (ctan_upward_test_data): Likewise.
6276         (ctan_test_upward): Likewise.
6277         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6278         (ctanh_test): Use ALL_RM_TEST.
6279         (ctanh_tonearest_test_data): Remove.
6280         (ctanh_test_tonearest): Likewise.
6281         (ctanh_towardzero_test_data): Likewise.
6282         (ctanh_test_towardzero): Likewise.
6283         (ctanh_downward_test_data): Likewise.
6284         (ctanh_test_downward): Likewise.
6285         (ctanh_upward_test_data): Likewise.
6286         (ctanh_test_upward): Likewise.
6287         (erf_test_data): Update call to AUTO_TESTS_f_f.
6288         (erfc_test_data): Likewise.
6289         (exp_test_data): Likewise.
6290         (exp_test): Use ALL_RM_TEST.
6291         (exp_tonearest_test_data): Remove.
6292         (exp_test_tonearest): Likewise.
6293         (exp_towardzero_test_data): Likewise.
6294         (exp_test_towardzero): Likewise.
6295         (exp_downward_test_data): Likewise.
6296         (exp_test_downward): Likewise.
6297         (exp_upward_test_data): Likewise.
6298         (exp_test_upward): Likewise.
6299         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6300         (exp10_test): Use ALL_RM_TEST.
6301         (exp10_tonearest_test_data): Remove.
6302         (exp10_test_tonearest): Likewise.
6303         (exp10_towardzero_test_data): Likewise.
6304         (exp10_test_towardzero): Likewise.
6305         (exp10_downward_test_data): Likewise.
6306         (exp10_test_downward): Likewise.
6307         (exp10_upward_test_data): Likewise.
6308         (exp10_test_upward): Likewise.
6309         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6310         (expm1_test_data): Likewise.
6311         (expm1_test): Use ALL_RM_TEST.
6312         (expm1_tonearest_test_data): Remove.
6313         (expm1_test_tonearest): Likewise.
6314         (expm1_towardzero_test_data): Likewise.
6315         (expm1_test_towardzero): Likewise.
6316         (expm1_downward_test_data): Likewise.
6317         (expm1_test_downward): Likewise.
6318         (expm1_upward_test_data): Likewise.
6319         (expm1_test_upward): Likewise.
6320         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6321         (fma_test): Use ALL_RM_TEST.
6322         (fma_towardzero_test_data): Remove.
6323         (fma_test_towardzero): Likewise.
6324         (fma_downward_test_data): Likewise.
6325         (fma_test_downward): Likewise.
6326         (fma_upward_test_data): Likewise.
6327         (fma_test_upward): Likewise.
6328         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6329         (j0_test_data): Update call to AUTO_TESTS_f_f.
6330         (j1_test_data): Likewise.
6331         (jn_test_data): Update call to AUTO_TESTS_if_f.
6332         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6333         (log_test_data): Update call to AUTO_TESTS_f_f.
6334         (log10_test_data): Likewise.
6335         (log1p_test_data): Likewise.
6336         (log2_test_data): Likewise.
6337         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6338         (pow_tonearest_test_data): Likewise.
6339         (sin_test_data): Update call to AUTO_TESTS_f_f.
6340         (sin_test): Use ALL_RM_TEST.
6341         (sin_tonearest_test_data): Remove.
6342         (sin_test_tonearest): Likewise.
6343         (sin_towardzero_test_data): Likewise.
6344         (sin_test_towardzero): Likewise.
6345         (sin_downward_test_data): Likewise.
6346         (sin_test_downward): Likewise.
6347         (sin_upward_test_data): Likewise.
6348         (sin_test_upward): Likewise.
6349         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6350         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6351         (sinh_test): Use ALL_RM_TEST.
6352         (sinh_tonearest_test_data): Remove.
6353         (sinh_test_tonearest): Likewise.
6354         (sinh_towardzero_test_data): Likewise.
6355         (sinh_test_towardzero): Likewise.
6356         (sinh_downward_test_data): Likewise.
6357         (sinh_test_downward): Likewise.
6358         (sinh_upward_test_data): Likewise.
6359         (sinh_test_upward): Likewise.
6360         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6361         (sqrt_test): Use ALL_RM_TEST.
6362         (sqrt_tonearest_test_data): Remove.
6363         (sqrt_test_tonearest): Likewise.
6364         (sqrt_towardzero_test_data): Likewise.
6365         (sqrt_test_towardzero): Likewise.
6366         (sqrt_downward_test_data): Likewise.
6367         (sqrt_test_downward): Likewise.
6368         (sqrt_upward_test_data): Likewise.
6369         (sqrt_test_upward): Likewise.
6370         (tan_test_data): Update call to AUTO_TESTS_f_f.
6371         (tan_test): Use ALL_RM_TEST.
6372         (tan_tonearest_test_data): Remove.
6373         (tan_test_tonearest): Likewise.
6374         (tan_towardzero_test_data): Likewise.
6375         (tan_test_towardzero): Likewise.
6376         (tan_downward_test_data): Likewise.
6377         (tan_test_downward): Likewise.
6378         (tan_upward_test_data): Likewise.
6379         (tan_test_upward): Likewise.
6380         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6381         (tgamma_test_data): Likewise.
6382         (y0_test_data): Likewise.
6383         (y1_test_data): Likewise.
6384         (yn_test_data): Update call to AUTO_TESTS_if_f.
6385         (main): Do not call removed functions.
6386
6387 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6388
6389         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6390         (ldexp_test_data): Remove.
6391         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6392         scalbn_test_data.
6393         (scalb_test): Use ALL_RM_TEST.
6394
6395 2014-03-19  Andreas Schwab  <schwab@suse.de>
6396
6397         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6398
6399 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6400
6401         [BZ #16649]
6402         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6403         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6404         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6405         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6406         (__ASSUME_PREADV): Undefine.
6407         (__ASSUME_PWRITEV): Likewise.
6408
6409 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6410
6411         * bits/mman-linux.h: Add comment about non-Linux use.
6412         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6413         bits/mman-linux.h resting place.
6414
6415         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6416         * bits/mman-linux.h: ... here.
6417
6418 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6419
6420         * conform/conformtest.pl: Add standard definition when calling C
6421         preprocessor on data files.
6422         (checknamespace): Remove unused variable.
6423
6424 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6425
6426         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6427         minus_oflow, plus_uflow and minus_uflow in expected results.
6428         * math/libm-test.inc (scalbn_test_data): Add more tests of
6429         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6430         minus_uflow.
6431         (scalbn_test): Use ALL_RM_TEST.
6432         (scalbln_test_data): Add more tests of negative arguments.  Use
6433         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6434         (scalbln_test): Use ALL_RM_TEST.
6435
6436 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6437
6438         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6439
6440 2014-03-18  Will Newton  <will.newton@linaro.org>
6441
6442         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6443         inaccurate comment.
6444
6445 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6446
6447         * Makerules [!subdir] (check-abi): Exit with error status if a
6448         test failed.
6449
6450 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6451
6452         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6453         for rint.  Include results for all rounding modes.
6454         (nearbyint_test): Use ALL_RM_TEST.
6455         (rint_test_data): Include all tests used for nearbyint.
6456
6457 2014-03-17  Will Newton  <will.newton@linaro.org>
6458
6459         * nptl/sysdeps/pthread/pthread.h: Revert previous
6460         change.
6461
6462         * sysdeps/generic/ldsodefs.h: Revert previous
6463         change.
6464
6465         * libio/genops.c: Revert previous change.
6466         * libio/libioP.h: Likewise.
6467         * stdio-common/vfprintf.c: Likewise.
6468
6469         * sysdeps/generic/math_private.h: Revert previous
6470         change.
6471
6472         * sysdeps/generic/math_private.h: Check whether
6473         HAVE_RM_CTX is defined with #ifdef rather
6474         than #if.
6475
6476         * argp/argp-fmtstream.h: Check whether
6477         __STRICT_ANSI__ is defined with #ifdef rather
6478         than #if.
6479         * argp/argp.h: Likewise.
6480
6481         * libio/genops.c: Check whether
6482         _IO_JUMPS_OFFSET is defined with #ifdef rather
6483         than #if.
6484         * libio/libioP.h: Likewise.
6485         * stdio-common/vfprintf.c: Likewise.
6486
6487         * sysdeps/generic/ldsodefs.h: Check whether
6488         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6489         than #if.
6490
6491         * nptl/sysdeps/pthread/pthread.h: Check
6492         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6493         its value.
6494
6495 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6496
6497         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6498         setting O_APPEND.
6499         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6500         test case.
6501
6502         [BZ #16680]
6503         * libio/fileops.c (_IO_file_open): Seek to end of file but
6504         don't cache the offset.
6505         (get_file_offset): Remove function.
6506         (do_ftell): Use cached offset when available.
6507         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6508         don't cache the offset.
6509         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6510         case.
6511         (do_one_test): Call it.
6512         (do_ftell_test): Fix up expected old offset for a+ mode.
6513         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6514         available.
6515
6516         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6517         up test status with function return status.
6518         (do_write_test): Likewise.
6519         (do_append_test): Likewise.
6520
6521         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6522         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6523         Remove.
6524
6525 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6526
6527         * math/gen-libm-test.pl (parse_args): Handle results specified for
6528         each rounding mode separately.
6529         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6530         tests and results from lrint_tonearest_test_data,
6531         lrint_towardzero_test_data, lrint_downward_test_data and
6532         lrint_upward_test_data.
6533         (lrint_test): Use ALL_RM_TEST.
6534         (lrint_tonearest_test_data): Remove.
6535         (lrint_test_tonearest): Likewise.
6536         (lrint_towardzero_test_data): Likewise.
6537         (lrint_test_towardzero): Likewise.
6538         (lrint_downward_test_data): Likewise.
6539         (lrint_test_downward): Likewise.
6540         (lrint_upward_test_data): Likewise.
6541         (lrint_test_upward): Likewise.
6542         (llrint_test_data): Merge in per-rounding-mode tests and results
6543         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6544         llrint_downward_test_data and llrint_upward_test_data.
6545         (llrint_test): Use ALL_RM_TEST.
6546         (llrint_tonearest_test_data): Remove.
6547         (llrint_test_tonearest): Likewise.
6548         (llrint_towardzero_test_data): Likewise.
6549         (llrint_test_towardzero): Likewise.
6550         (llrint_downward_test_data): Likewise.
6551         (llrint_test_downward): Likewise.
6552         (llrint_upward_test_data): Likewise.
6553         (llrint_test_upward): Likewise.
6554         (rint_test_data): Merge in per-rounding-mode tests and results
6555         from rint_tonearest_test_data, rint_towardzero_test_data,
6556         rint_downward_test_data and rint_upward_test_data.  Add
6557         per-rounding-mode results for tests not in those arrays.
6558         (rint_test): Use ALL_RM_TEST.
6559         (rint_tonearest_test_data): Remove.
6560         (rint_test_tonearest): Likewise.
6561         (rint_towardzero_test_data): Likewise.
6562         (rint_test_towardzero): Likewise.
6563         (rint_downward_test_data): Likewise.
6564         (rint_test_downward): Likewise.
6565         (rint_upward_test_data): Likewise.
6566         (rint_test_upward): Likewise.
6567         (main): Don't call removed functions.
6568
6569 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6570
6571         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6572         "Compiled on ..." crapola.  It is anti-useful.
6573
6574 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6575
6576         * scripts/evaluate-test.sh: Handle fourth argument to determine
6577         whether test run should stop on failure.
6578         * Makeconfig (stop-on-test-failure): New variable.
6579         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6580         $(stop-on-test-failure).
6581         * Makefile (tests): Give a summary of results from testing and
6582         exit with failure status if they include an ERROR or FAIL.
6583         (xtests): Likewise.
6584         * manual/install.texi (Configuring and compiling): Mention
6585         stop-on-test-failure=y.
6586         * INSTALL: Regenerated.
6587
6588 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6589
6590         * scripts/versionlist.awk: New file.
6591         * Makerules [$(build-shared) = yes]
6592         (postclean-generated): Add Versions.def, not Versions.def.v and
6593         Versions.def.v.i.
6594         ($(common-objpfx)Versions.def.v.i): Target removed.
6595         ($(common-objpfx)Versions.def): New target.
6596         ($(common-objpfx)Versions.all): Depend on that rather that
6597         $(common-objpfx)Versions.def.v.
6598         * Versions.def: File removed.
6599
6600         * Makeconfig (+gccwarn): Add -Wundef.
6601         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6602         a dl-sysdep.h breaking its contract.
6603         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6604         * include/stackinfo.h: New file.
6605         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6606         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6607         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6608         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6609         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6610         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6611         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6612         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6613         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6614         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6615         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6616         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6617         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6618         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6619         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6620
6621 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6622
6623         [BZ #16707]
6624         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6625         implementation.
6626         * math/libm-test.inc (round_test_data): Add more tests.
6627
6628         [BZ #16706]
6629         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6630         implementation.
6631         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6632
6633         [BZ #16701]
6634         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6635         implementation.
6636         * math/libm-test.inc (ceil_test_data): Add more tests.
6637
6638         * math/libm-test.inc (trunc_test_data): Add more tests related to
6639         BZ#16414.
6640
6641 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6642
6643         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6644         with #if rather than #ifdef.
6645         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6646
6647 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6648
6649         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6650         first.  Disable AVX-512 GCC support if assembler doesn't support
6651         it.
6652         * sysdeps/x86_64/configure: Regenerated.
6653
6654 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6655
6656         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6657         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6658         (__old_pthread_attr_setstack): Likewise.
6659         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6660         [!_STACK_GROWS_DOWN]: Likewise.
6661
6662 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6663
6664         * config.make.in (have-bash2): Delete.
6665         * configure.ac (libc_cv_have_bash2): Delete.
6666         * configure: Regenerate.
6667         * elf/Makefile (common-ldd-rewrite): Rename to ...
6668         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6669         (sh-ldd-rewrite): Delete.
6670         (bash-ldd-rewrite): Delete.
6671         (have-bash2): Delete checks.
6672         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6673         ldd-rewrite.
6674
6675         * config.make.in (have-ksh): Delete.
6676         (KSH): Delete.
6677         * configure.ac (libc_cv_have_ksh): Delete.
6678         * configure: Regenerate.
6679
6680         * elf/Makefile: Delete $(have-ksh) check.
6681         ($(objpfx)sotruss): Change KSH to BASH.
6682         * elf/sotruss.ksh: Rename to ...
6683         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6684         function style to match POSIX.  Drop ksh vim mode setting.
6685
6686         * manual/time.texi (Specifying the Time Zone with TZ): Change
6687         Tuesday to Thursday.
6688
6689         * debug/tst-longjmp_chk2.c: Update header comment.
6690         (stackoverflow_handler): Add comment.  Call assert on pass value.
6691
6692 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6693
6694         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6695         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6696         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6697         (La_x86_64_vector): Add zmm.
6698         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6699         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6700         ($(objpfx)tst-audit10): New target.
6701         ($(objpfx)tst-audit10.out): Likewise.
6702         (tst-audit10-ENV): New.
6703         (AVX512-CFLAGS): Likewise.
6704         (CFLAGS-tst-audit10.c): Likewise.
6705         (CFLAGS-tst-auditmod10a.c): Likewise.
6706         (CFLAGS-tst-auditmod10b.c): Likewise.
6707         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6708         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6709         * sysdeps/x86_64/configure: Regenerated.
6710         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6711         AVX-512 zmm register support.
6712         (_dl_x86_64_save_sse): Likewise.
6713         (_dl_x86_64_restore_sse): Likewise.
6714         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6715         size vector registers.
6716         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6717         (ZMM_SIZE): Likewise.
6718         * sysdeps/x86_64/tst-audit10.c: New file.
6719         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6720         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6721
6722 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6723
6724         * configure.ac (HAVE_EHDR_START): New check.
6725         * configure: Regenerated.
6726         * config.h.in (HAVE_EHDR_START): New #undef.
6727         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6728         assuming the lowest-addressed segment maps the start of the file.
6729
6730 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6731
6732         * INSTALL: Regenerated.
6733
6734 2014-03-13  Will Newton  <will.newton@linaro.org>
6735
6736         * manual/setjmp.texi (System V contexts): Improve
6737         clarity and grammar of documentation.
6738
6739 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6740
6741         [BZ #16381]
6742         * elf/Makefile (tests): Add tst-pie2.
6743         (tests-pie): Add tst-pie2.
6744         * elf/tst-pie2.c: New file.
6745         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6746         for ET_EXEC.
6747         * elf/rtld.c (map_doit): Load executable as lt_executable.
6748         (dl_main): Likewise.
6749
6750 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6751
6752         [BZ #16642]
6753         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6754         (__ASSUME_PSELECT): Undefine.
6755
6756 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6757
6758         [BZ #16689]
6759         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6760         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6761         static build.
6762         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6763         selector for static builds.
6764
6765 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6766
6767         [BZ #16695]
6768         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6769         key in the buffer.
6770
6771 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6772
6773         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6774         IFUNC selector for static builds.
6775
6776 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6777
6778         * sysdeps/mips/math_private.h [__mips_hard_float]
6779         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6780         libc_feresetround_mips_ctx.
6781         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6782         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6783         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6784
6785         [BZ #16677]
6786         * math/s_nextafter.c (__nextafter): Do not return value from
6787         overflowing computation.
6788         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6789         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6790         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6791         Likewise.
6792         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6793         Likewise.
6794         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6795         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6796
6797 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6798
6799         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6800         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6801         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6802         the new mov targetting sp.
6803
6804 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6805
6806         [BZ #16683]
6807         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6808         Define it for static builds as well.
6809         (NO_BZERO_IMPL): Likewise.
6810
6811 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6812
6813         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6814         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6815         multiarch strspn for PPC64.
6816         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6817         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6819         (__libc_ifunc_impl_list): Likewise.
6820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6821         multiarch optimizations
6822         * string/strspn.c (strspn): Using macro to redefine symbol name.
6823
6824 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6825             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6826
6827         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6828         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6829         multiarch strncat for PPC64.
6830         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6831         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6833         (__libc_ifunc_impl_list): Likewise.
6834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6835         multiarch optimizations
6836
6837 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6838
6839         [BZ #16639]
6840         * nscd/nscd.service: Make service type forking.
6841
6842 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6843
6844         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6845         sign in non default rounding modes.
6846         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6847
6848 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6849
6850         * math/libm-test.inc (ALL_RM_TEST): New macro.
6851         (ceil_test): Use ALL_RM_TEST.
6852         (cimag_test): Likewise.
6853         (conj_test): Likewise.
6854         (copysign_test): Likewise.
6855         (cproj_test): Likewise.
6856         (creal_test): Likewise.
6857         (fabs_test): Likewise.
6858         (floor_test): Likewise.
6859         (fmax_test): Likewise.
6860         (fmin_test): Likewise.
6861         (fmod_test): Likewise.
6862         (fpclassify_test): Likewise.
6863         (frexp_test): Likewise.
6864         (ilogb_test): Likewise.
6865         (isfinite_test): Likewise.
6866         (finite_test): Likewise.
6867         (isgreater_test): Likewise.
6868         (isgreaterequal_test): Likewise.
6869         (isinf_test): Likewise.
6870         (isless_test): Likewise.
6871         (islessequal_test): Likewise.
6872         (islessgreater_test): Likewise.
6873         (isnan_test): Likewise.
6874         (isnormal_test): Likewise.
6875         (issignaling_test): Likewise.
6876         (isunordered_test): Likewise.
6877         (logb_test): Likewise.
6878         (logb_downward_test_data): Remove.
6879         (logb_test_downward): Likewise.
6880         (lround_test): Use ALL_RM_TEST.
6881         (llround_test): Likewise.
6882         (modf_test): Likewise.
6883         (nexttoward_test): Likewise.
6884         (remainder_test): Likewise.
6885         (drem_test): Likewise.
6886         (remainder_tonearest_test_data): Likewise.
6887         (remainder_test_tonearest): Likewise.
6888         (drem_test_tonearest): Likewise.
6889         (remainder_towardzero_test_data): Likewise.
6890         (remainder_test_towardzero): Likewise.
6891         (drem_test_towardzero): Likewise.
6892         (remainder_downward_test_data): Likewise.
6893         (remainder_test_downward): Likewise.
6894         (drem_test_downward): Likewise.
6895         (remainder_upward_test_data): Likewise.
6896         (remainder_test_upward): Likewise.
6897         (drem_test_upward): Likewise.
6898         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6899         (round_test): Use ALL_RM_TEST.
6900         (signbit_test): Likewise.
6901         (trunc_test): Likewise.
6902         (significand_test): Likewise.
6903         (main): Don't call removed functions.
6904
6905 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6906
6907         [BZ #16674]
6908         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6909         || __USE_XOPEN2K8].
6910         (ILL_ILLOPN): Likewise.
6911         (ILL_ILLADR): Likewise.
6912         (ILL_ILLTRP): Likewise.
6913         (ILL_PRVOPC): Likewise.
6914         (ILL_PRVREG): Likewise.
6915         (ILL_COPROC): Likewise.
6916         (ILL_BADSTK): Likewise.
6917         (FPE_INTDIV): Likewise.
6918         (FPE_INTOVF): Likewise.
6919         (FPE_FLTDIV): Likewise.
6920         (FPE_FLTOVF): Likewise.
6921         (FPE_FLTUND): Likewise.
6922         (FPE_FLTRES): Likewise.
6923         (FPE_FLTINV): Likewise.
6924         (FPE_FLTSUB): Likewise.
6925         (SEGV_MAPERR): Likewise.
6926         (SEGV_ACCERR): Likewise.
6927         (BUS_ADRALN): Likewise.
6928         (BUS_ADRERR): Likewise.
6929         (BUS_OBJERR): Likewise.
6930         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6931         (TRAP_TRACE): Likewise.
6932         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6933         __USE_XOPEN2K8].
6934         (CLD_KILLED): Likewise.
6935         (CLD_DUMPED): Likewise.
6936         (CLD_TRAPPED): Likewise.
6937         (CLD_STOPPED): Likewise.
6938         (CLD_CONTINUED): Likewise.
6939         (POLL_IN): Likewise.
6940         (POLL_OUT): Likewise.
6941         (POLL_MSG): Likewise.
6942         (POLL_ERR): Likewise.
6943         (POLL_PRI): Likewise.
6944         (POLL_HUP): Likewise.
6945         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6946         Likewise.
6947         (ILL_ILLOPN): Likewise.
6948         (ILL_ILLADR): Likewise.
6949         (ILL_ILLTRP): Likewise.
6950         (ILL_PRVOPC): Likewise.
6951         (ILL_PRVREG): Likewise.
6952         (ILL_COPROC): Likewise.
6953         (ILL_BADSTK): Likewise.
6954         (FPE_INTDIV): Likewise.
6955         (FPE_INTOVF): Likewise.
6956         (FPE_FLTDIV): Likewise.
6957         (FPE_FLTOVF): Likewise.
6958         (FPE_FLTUND): Likewise.
6959         (FPE_FLTRES): Likewise.
6960         (FPE_FLTINV): Likewise.
6961         (FPE_FLTSUB): Likewise.
6962         (SEGV_MAPERR): Likewise.
6963         (SEGV_ACCERR): Likewise.
6964         (BUS_ADRALN): Likewise.
6965         (BUS_ADRERR): Likewise.
6966         (BUS_OBJERR): Likewise.
6967         (BUS_MCEERR_AR): Likewise.
6968         (BUS_MCEERR_AO): Likewise.
6969         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6970         (TRAP_TRACE): Likewise.
6971         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6972         __USE_XOPEN2K8].
6973         (CLD_KILLED): Likewise.
6974         (CLD_DUMPED): Likewise.
6975         (CLD_TRAPPED): Likewise.
6976         (CLD_STOPPED): Likewise.
6977         (CLD_CONTINUED): Likewise.
6978         (POLL_IN): Likewise.
6979         (POLL_OUT): Likewise.
6980         (POLL_MSG): Likewise.
6981         (POLL_ERR): Likewise.
6982         (POLL_PRI): Likewise.
6983         (POLL_HUP): Likewise.
6984         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6985         (ILL_ILLOPN): Likewise.
6986         (ILL_ILLADR): Likewise.
6987         (ILL_ILLTRP): Likewise.
6988         (ILL_PRVOPC): Likewise.
6989         (ILL_PRVREG): Likewise.
6990         (ILL_COPROC): Likewise.
6991         (ILL_BADSTK): Likewise.
6992         (FPE_INTDIV): Likewise.
6993         (FPE_INTOVF): Likewise.
6994         (FPE_FLTDIV): Likewise.
6995         (FPE_FLTOVF): Likewise.
6996         (FPE_FLTUND): Likewise.
6997         (FPE_FLTRES): Likewise.
6998         (FPE_FLTINV): Likewise.
6999         (FPE_FLTSUB): Likewise.
7000         (SEGV_MAPERR): Likewise.
7001         (SEGV_ACCERR): Likewise.
7002         (BUS_ADRALN): Likewise.
7003         (BUS_ADRERR): Likewise.
7004         (BUS_OBJERR): Likewise.
7005         (BUS_MCEERR_AR): Likewise.
7006         (BUS_MCEERR_AO): Likewise.
7007         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7008         (TRAP_TRACE): Likewise.
7009         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7010         __USE_XOPEN2K8].
7011         (CLD_KILLED): Likewise.
7012         (CLD_DUMPED): Likewise.
7013         (CLD_TRAPPED): Likewise.
7014         (CLD_STOPPED): Likewise.
7015         (CLD_CONTINUED): Likewise.
7016         (POLL_IN): Likewise.
7017         (POLL_OUT): Likewise.
7018         (POLL_MSG): Likewise.
7019         (POLL_ERR): Likewise.
7020         (POLL_PRI): Likewise.
7021         (POLL_HUP): Likewise.
7022         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7023         Likewise.
7024         (ILL_ILLOPN): Likewise.
7025         (ILL_ILLADR): Likewise.
7026         (ILL_ILLTRP): Likewise.
7027         (ILL_PRVOPC): Likewise.
7028         (ILL_PRVREG): Likewise.
7029         (ILL_COPROC): Likewise.
7030         (ILL_BADSTK): Likewise.
7031         (ILL_BADIADDR): Likewise.
7032         (ILL_BREAK): Likewise.
7033         (FPE_INTDIV): Likewise.
7034         (FPE_INTOVF): Likewise.
7035         (FPE_FLTDIV): Likewise.
7036         (FPE_FLTOVF): Likewise.
7037         (FPE_FLTUND): Likewise.
7038         (FPE_FLTRES): Likewise.
7039         (FPE_FLTINV): Likewise.
7040         (FPE_FLTSUB): Likewise.
7041         (FPE_DECOVF): Likewise.
7042         (FPE_DECDIV): Likewise.
7043         (FPE_DECERR): Likewise.
7044         (FPE_INVASC): Likewise.
7045         (FPE_INVDEC): Likewise.
7046         (SEGV_MAPERR): Likewise.
7047         (SEGV_ACCERR): Likewise.
7048         (SEGV_PSTKOVF): Likewise.
7049         (BUS_ADRALN): Likewise.
7050         (BUS_ADRERR): Likewise.
7051         (BUS_OBJERR): Likewise.
7052         (BUS_MCEERR_AR): Likewise.
7053         (BUS_MCEERR_AO): Likewise.
7054         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7055         (TRAP_TRACE): Likewise.
7056         (TRAP_BRANCH): Likewise.
7057         (TRAP_HWBKPT): Likewise.
7058         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7059         __USE_XOPEN2K8].
7060         (CLD_KILLED): Likewise.
7061         (CLD_DUMPED): Likewise.
7062         (CLD_TRAPPED): Likewise.
7063         (CLD_STOPPED): Likewise.
7064         (CLD_CONTINUED): Likewise.
7065         (POLL_IN): Likewise.
7066         (POLL_OUT): Likewise.
7067         (POLL_MSG): Likewise.
7068         (POLL_ERR): Likewise.
7069         (POLL_PRI): Likewise.
7070         (POLL_HUP): Likewise.
7071         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7072         (ILL_ILLOPN): Likewise.
7073         (ILL_ILLADR): Likewise.
7074         (ILL_ILLTRP): Likewise.
7075         (ILL_PRVOPC): Likewise.
7076         (ILL_PRVREG): Likewise.
7077         (ILL_COPROC): Likewise.
7078         (ILL_BADSTK): Likewise.
7079         (FPE_INTDIV): Likewise.
7080         (FPE_INTOVF): Likewise.
7081         (FPE_FLTDIV): Likewise.
7082         (FPE_FLTOVF): Likewise.
7083         (FPE_FLTUND): Likewise.
7084         (FPE_FLTRES): Likewise.
7085         (FPE_FLTINV): Likewise.
7086         (FPE_FLTSUB): Likewise.
7087         (SEGV_MAPERR): Likewise.
7088         (SEGV_ACCERR): Likewise.
7089         (BUS_ADRALN): Likewise.
7090         (BUS_ADRERR): Likewise.
7091         (BUS_OBJERR): Likewise.
7092         (BUS_MCEERR_AR): Likewise.
7093         (BUS_MCEERR_AO): Likewise.
7094         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7095         (TRAP_TRACE): Likewise.
7096         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7097         __USE_XOPEN2K8].
7098         (CLD_KILLED): Likewise.
7099         (CLD_DUMPED): Likewise.
7100         (CLD_TRAPPED): Likewise.
7101         (CLD_STOPPED): Likewise.
7102         (CLD_CONTINUED): Likewise.
7103         (POLL_IN): Likewise.
7104         (POLL_OUT): Likewise.
7105         (POLL_MSG): Likewise.
7106         (POLL_ERR): Likewise.
7107         (POLL_PRI): Likewise.
7108         (POLL_HUP): Likewise.
7109         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7110         (ILL_ILLOPN): Likewise.
7111         (ILL_ILLADR): Likewise.
7112         (ILL_ILLTRP): Likewise.
7113         (ILL_PRVOPC): Likewise.
7114         (ILL_PRVREG): Likewise.
7115         (ILL_COPROC): Likewise.
7116         (ILL_BADSTK): Likewise.
7117         (FPE_INTDIV): Likewise.
7118         (FPE_INTOVF): Likewise.
7119         (FPE_FLTDIV): Likewise.
7120         (FPE_FLTOVF): Likewise.
7121         (FPE_FLTUND): Likewise.
7122         (FPE_FLTRES): Likewise.
7123         (FPE_FLTINV): Likewise.
7124         (FPE_FLTSUB): Likewise.
7125         (SEGV_MAPERR): Likewise.
7126         (SEGV_ACCERR): Likewise.
7127         (BUS_ADRALN): Likewise.
7128         (BUS_ADRERR): Likewise.
7129         (BUS_OBJERR): Likewise.
7130         (BUS_MCEERR_AR): Likewise.
7131         (BUS_MCEERR_AO): Likewise.
7132         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7133         (TRAP_TRACE): Likewise.
7134         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7135         __USE_XOPEN2K8].
7136         (CLD_KILLED): Likewise.
7137         (CLD_DUMPED): Likewise.
7138         (CLD_TRAPPED): Likewise.
7139         (CLD_STOPPED): Likewise.
7140         (CLD_CONTINUED): Likewise.
7141         (POLL_IN): Likewise.
7142         (POLL_OUT): Likewise.
7143         (POLL_MSG): Likewise.
7144         (POLL_ERR): Likewise.
7145         (POLL_PRI): Likewise.
7146         (POLL_HUP): Likewise.
7147         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7148         (ILL_ILLOPN): Likewise.
7149         (ILL_ILLADR): Likewise.
7150         (ILL_ILLTRP): Likewise.
7151         (ILL_PRVOPC): Likewise.
7152         (ILL_PRVREG): Likewise.
7153         (ILL_COPROC): Likewise.
7154         (ILL_BADSTK): Likewise.
7155         (FPE_INTDIV): Likewise.
7156         (FPE_INTOVF): Likewise.
7157         (FPE_FLTDIV): Likewise.
7158         (FPE_FLTOVF): Likewise.
7159         (FPE_FLTUND): Likewise.
7160         (FPE_FLTRES): Likewise.
7161         (FPE_FLTINV): Likewise.
7162         (FPE_FLTSUB): Likewise.
7163         (SEGV_MAPERR): Likewise.
7164         (SEGV_ACCERR): Likewise.
7165         (BUS_ADRALN): Likewise.
7166         (BUS_ADRERR): Likewise.
7167         (BUS_OBJERR): Likewise.
7168         (BUS_MCEERR_AR): Likewise.
7169         (BUS_MCEERR_AO): Likewise.
7170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7171         (TRAP_TRACE): Likewise.
7172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7173         __USE_XOPEN2K8].
7174         (CLD_KILLED): Likewise.
7175         (CLD_DUMPED): Likewise.
7176         (CLD_TRAPPED): Likewise.
7177         (CLD_STOPPED): Likewise.
7178         (CLD_CONTINUED): Likewise.
7179         (POLL_IN): Likewise.
7180         (POLL_OUT): Likewise.
7181         (POLL_MSG): Likewise.
7182         (POLL_ERR): Likewise.
7183         (POLL_PRI): Likewise.
7184         (POLL_HUP): Likewise.
7185         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7186         (ILL_ILLOPN): Likewise.
7187         (ILL_ILLADR): Likewise.
7188         (ILL_ILLTRP): Likewise.
7189         (ILL_PRVOPC): Likewise.
7190         (ILL_PRVREG): Likewise.
7191         (ILL_COPROC): Likewise.
7192         (ILL_BADSTK): Likewise.
7193         (ILL_DBLFLT): Likewise.
7194         (ILL_HARDWALL): Likewise.
7195         (FPE_INTDIV): Likewise.
7196         (FPE_INTOVF): Likewise.
7197         (FPE_FLTDIV): Likewise.
7198         (FPE_FLTOVF): Likewise.
7199         (FPE_FLTUND): Likewise.
7200         (FPE_FLTRES): Likewise.
7201         (FPE_FLTINV): Likewise.
7202         (FPE_FLTSUB): Likewise.
7203         (SEGV_MAPERR): Likewise.
7204         (SEGV_ACCERR): Likewise.
7205         (BUS_ADRALN): Likewise.
7206         (BUS_ADRERR): Likewise.
7207         (BUS_OBJERR): Likewise.
7208         (BUS_MCEERR_AR): Likewise.
7209         (BUS_MCEERR_AO): Likewise.
7210         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7211         (TRAP_TRACE): Likewise.
7212         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7213         __USE_XOPEN2K8].
7214         (CLD_KILLED): Likewise.
7215         (CLD_DUMPED): Likewise.
7216         (CLD_TRAPPED): Likewise.
7217         (CLD_STOPPED): Likewise.
7218         (CLD_CONTINUED): Likewise.
7219         (POLL_IN): Likewise.
7220         (POLL_OUT): Likewise.
7221         (POLL_MSG): Likewise.
7222         (POLL_ERR): Likewise.
7223         (POLL_PRI): Likewise.
7224         (POLL_HUP): Likewise.
7225         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7226         (ILL_ILLOPN): Likewise.
7227         (ILL_ILLADR): Likewise.
7228         (ILL_ILLTRP): Likewise.
7229         (ILL_PRVOPC): Likewise.
7230         (ILL_PRVREG): Likewise.
7231         (ILL_COPROC): Likewise.
7232         (ILL_BADSTK): Likewise.
7233         (FPE_INTDIV): Likewise.
7234         (FPE_INTOVF): Likewise.
7235         (FPE_FLTDIV): Likewise.
7236         (FPE_FLTOVF): Likewise.
7237         (FPE_FLTUND): Likewise.
7238         (FPE_FLTRES): Likewise.
7239         (FPE_FLTINV): Likewise.
7240         (FPE_FLTSUB): Likewise.
7241         (SEGV_MAPERR): Likewise.
7242         (SEGV_ACCERR): Likewise.
7243         (BUS_ADRALN): Likewise.
7244         (BUS_ADRERR): Likewise.
7245         (BUS_OBJERR): Likewise.
7246         (BUS_MCEERR_AR): Likewise.
7247         (BUS_MCEERR_AO): Likewise.
7248         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7249         (TRAP_TRACE): Likewise.
7250         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7251         __USE_XOPEN2K8].
7252         (CLD_KILLED): Likewise.
7253         (CLD_DUMPED): Likewise.
7254         (CLD_TRAPPED): Likewise.
7255         (CLD_STOPPED): Likewise.
7256         (CLD_CONTINUED): Likewise.
7257         (POLL_IN): Likewise.
7258         (POLL_OUT): Likewise.
7259         (POLL_MSG): Likewise.
7260         (POLL_ERR): Likewise.
7261         (POLL_PRI): Likewise.
7262         (POLL_HUP): Likewise.
7263         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7264         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7265
7266         [BZ #16670]
7267         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7268         before #include of <time.h>.
7269         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7270         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7271         (test-xfail-UNIX98/sched.h/conform): Likewise.
7272
7273 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7274
7275         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7276         error absence of trapping exception support.
7277         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7278
7279 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7280
7281         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7282         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7283         * timezone/Makefile (testdata): Move definition above include of
7284         Rules.
7285         (test-zones): New variable.
7286         (tests-special): Add zone files.
7287         (build-testdata): Use $(evaluate-test).
7288
7289         * elf/Makefile (tests-special): Rename tests to end with .out.
7290         ($(objpfx)noload-mem): Likewise.
7291         ($(objpfx)tst-leaks1-mem): Likewise.
7292         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7293         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7294         $(objpfx)test-iconvconfig.out.
7295         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7296         set -e inside subshell and redirect output to file.
7297         * iconvdata/Makefile (generated): Rename tests to end with .out.
7298         Correct type.
7299         (tests-special): Rename tests to end with .out.
7300         ($(objpfx)mtrace-tst-loading): Likewise.
7301         * intl/Makefile (generated): Likewise.
7302         (tests-special): Likewise.
7303         ($(objpfx)mtrace-tst-gettext): Likewise.
7304         * misc/Makefile (generated): Likewise.
7305         (tests-special): Likewise.
7306         ($(objpfx)tst-error1-mem): Likewise.
7307         * nptl/Makefile (tests-special): Likewise.
7308         ($(objpfx)tst-stack3-mem): Likewise.
7309         (generated): Likewise.
7310         * posix/Makefile (generated): Likewise.
7311         (tests-special): Likewise.
7312         (xtests-special): Likewise.
7313         ($(objpfx)tst-fnmatch-mem): Likewise.
7314         ($(objpfx)bug-regex2-mem): Likewise.
7315         ($(objpfx)bug-regex14-mem): Likewise.
7316         ($(objpfx)bug-regex21-mem): Likewise.
7317         ($(objpfx)bug-regex31-mem): Likewise.
7318         ($(objpfx)tst-vfork3-mem): Likewise.
7319         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7320         ($(objpfx)tst-pcre-mem): Likewise.
7321         ($(objpfx)tst-boost-mem): Likewise.
7322         ($(objpfx)bug-ga2-mem): Likewise.
7323         ($(objpfx)bug-glob2-mem): Likewise.
7324         * resolv/Makefile (generate): Likewise.
7325         (tests-special): Likewise.
7326         (xtests-special): Likewise.
7327         (generated): Likewise.
7328         ($(objpfx)mtrace-tst-leaks): Likewise.
7329         ($(objpfx)mtrace-tst-leaks2): Likewise.
7330
7331         * scripts/merge-test-results.sh: New file.
7332         * Makefile (tests-special-notdir): New variable.
7333         (tests): Run merge-test-results.sh.
7334         (xtests): Likewise.
7335         * Rules (tests-special-notdir): New variable.
7336         (xtests-special-notdir): Likewise.
7337         (tests): Run merge-test-results.sh
7338         (xtests): Likewise.
7339
7340         * Makeconfig (test-xfail-name): New variable.
7341         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7342         compute variable name for expected failures.
7343         * conform/Makefile (conformtest-headers-data): New variable.
7344         (conformtest-standards): Likewise.
7345         (conformtest-headers-ISO): Likewise.
7346         (conformtest-headers-ISO99): Likewise.
7347         (conformtest-headers-ISO11): Likewise.
7348         (conformtest-headers-POSIX): Likewise.
7349         (conformtest-headers-XPG3): Likewise.
7350         (conformtest-headers-XPG4): Likewise.
7351         (conformtest-headers-UNIX98): Likewise.
7352         (conformtest-headers-XOPEN2K): Likewise.
7353         (conformtest-headers-POSIX2008): Likewise.
7354         (conformtest-headers-XOPEN2K8): Likewise.
7355         (conformtest-header-list-base): Likewise.
7356         (conformtest-header-list-tests): Likewise.
7357         (conformtest-header-base): Likewise.
7358         (conformtest-header-tests): Likewise.
7359         (tests-special): Add $(conformtest-header-list-tests).  If
7360         [$(fast-check) && !$(cross-compiling)], add
7361         $(conformtest-header-tests) instead of
7362         $(objpfx)run-conformtest.out.
7363         (generated): Add $(conformtest-header-list-base).  If
7364         [$(fast-check) && !$(cross-compiling)], add
7365         $(conformtest-header-base).  Remove previous setting.
7366         ($(conformtest-header-list-tests)): New target.
7367         (test-xfail-run-conformtest): Remove variable.
7368         ($(objpfx)run-conformtest.out): Remove target.
7369         (test-xfail-ISO11/complex.h/conform): New variable.
7370         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7371         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7372         (test-xfail-XPG3/varargs.h/conform): Likewise.
7373         (test-xfail-XPG4/varargs.h/conform): Likewise.
7374         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7375         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7376         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7377         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7378         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7379         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7380         (test-xfail-XPG3/ftw.h/conform): Likewise.
7381         (test-xfail-XPG3/grp.h/conform): Likewise.
7382         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7383         (test-xfail-XPG3/limits.h/conform): Likewise.
7384         (test-xfail-XPG3/pwd.h/conform): Likewise.
7385         (test-xfail-XPG3/search.h/conform): Likewise.
7386         (test-xfail-XPG3/signal.h/conform): Likewise.
7387         (test-xfail-XPG3/stdio.h/conform): Likewise.
7388         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7389         (test-xfail-XPG3/string.h/conform): Likewise.
7390         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7391         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7392         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7393         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7394         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7395         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7396         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7397         (test-xfail-XPG3/termios.h/conform): Likewise.
7398         (test-xfail-XPG3/time.h/conform): Likewise.
7399         (test-xfail-XPG3/unistd.h/conform): Likewise.
7400         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7401         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7402         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7403         (test-xfail-XPG4/netdb.h/conform): Likewise.
7404         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7405         (test-xfail-XPG4/signal.h/conform): Likewise.
7406         (test-xfail-XPG4/stdio.h/conform): Likewise.
7407         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7408         (test-xfail-XPG4/stropts.h/conform): Likewise.
7409         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7410         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7411         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7412         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7413         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7414         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7415         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7416         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7417         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7418         (test-xfail-XPG4/termios.h/conform): Likewise.
7419         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7420         (test-xfail-XPG4/unistd.h/conform): Likewise.
7421         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7422         (test-xfail-POSIX/sched.h/conform): Likewise.
7423         (test-xfail-POSIX/signal.h/conform): Likewise.
7424         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7425         (test-xfail-POSIX/tar.h/conform): Likewise.
7426         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7427         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7428         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7429         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7430         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7431         (test-xfail-UNIX98/sched.h/conform): Likewise.
7432         (test-xfail-UNIX98/signal.h/conform): Likewise.
7433         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7434         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7435         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7436         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7437         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7438         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7439         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7440         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7441         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7442         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7443         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7444         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7445         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7446         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7447         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7448         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7449         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7450         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7451         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7452         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7453         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7454         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7455         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7456         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7457         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7458         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7459         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7460         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7461         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7462         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7463         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7464         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7465         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7466         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7467         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7468         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7469         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7470         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7471         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7472         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7473         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7474         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7475         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7476         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7477         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7478         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7479         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7480         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7481         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7482         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7483         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7484         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7485         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7486         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7487         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7488         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7489         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7490         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7491         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7492         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7493         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7494         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7495         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7496         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7497         (conformtest-cc-flags): Likewise.
7498         ($(conformtest-header-tests): New target.
7499         * conform/check-header-lists.sh: New file.
7500         * conform/run-conformtest.sh: Remove.
7501
7502         * conform/conformtest.pl: Allow ' and \ in values given for
7503         constants.
7504         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7505         inclusion.
7506         [POSIX] (sys/types.h): Likewise.
7507         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7508         inclusion.
7509         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7510         inclusion.
7511         * conform/data/signal.h-data (SIGIO): Remove expectation.
7512         [XPG3] (SIGBUS): Do not expect.
7513         [POSIX || XPG3] (SIGPOLL): Likewise.
7514         [POSIX || XPG3] (SIGPROF): Likewise.
7515         [POSIX || XPG3] (SIGSYS): Likewise.
7516         [XPG3] (SIGTRAP): Likewise.
7517         [POSIX || XPG3] (SIGURG): Likewise.
7518         [POSIX || XPG3] (SIGVTALRM): Likewise.
7519         [POSIX || XPG3] (SIGXCPU): Likewise.
7520         [POSIX || XPG3] (SIGXFSZ): Likewise.
7521         [POSIX] (SA_SIGINFO): Expect.
7522         [XPG3] (siginfo_t): Do not expect type or contents.
7523         [POSIX] (si_pid): Do not expect element.
7524         [POSIX] (si_uid): Likewise.
7525         [POSIX] (si_addr): Likewise.
7526         [POSIX] (si_status): Likewise.
7527         [POSIX] (si_band): Likewise.
7528         [XPG4] (si_value): Likewise.
7529         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7530         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7531         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7532         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7533         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7534         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7535         [POSIX || XPG3] (ILL_COPROC): Likewise.
7536         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7537         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7538         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7539         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7540         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7541         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7542         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7543         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7544         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7545         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7546         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7547         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7548         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7549         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7550         [POSIX || XPG3] (CLD_EXITED): Likewise.
7551         [POSIX || XPG3] (CLD_KILLED): Likewise.
7552         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7553         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7554         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7555         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7556         [POSIX || XPG3] (POLL_IN): Likewise.
7557         [POSIX || XPG3] (POLL_OUT): Likewise.
7558         [POSIX || XPG3] (POLL_MSG): Likewise.
7559         [POSIX || XPG3] (POLL_ERR): Likewise.
7560         [POSIX || XPG3] (POLL_PRI): Likewise.
7561         [POSIX || XPG3] (POLL_HUP): Likewise.
7562         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7563         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7564         (SIG*): Do not allow.
7565         [XPG3] (si_*): Likewise.
7566         [XPG3] (SI_*): Likewise.
7567         [XPG3 || XPG4] (sigev_*): Likewise.
7568         [XPG3 || XPG4] (SIGEV_*): Likewise.
7569         [XPG3 || XPG4] (sival_*): Likewise.
7570         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7571         [POSIX || XPG3] (BUS_*): Likewise.
7572         [POSIX || XPG3] (CLD_*): Likewise.
7573         [POSIX || XPG3] (FPE_*): Likewise.
7574         [POSIX || XPG3] (ILL_*): Likewise.
7575         [POSIX || XPG3] (POLL_*): Likewise.
7576         [POSIX || XPG3] (SEGV_*): Likewise.
7577         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7578         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7579         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7580         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7581         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7582         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7583         Specify type and value.
7584         (TVERSLEN): Likewise.
7585         (REGTYPE): Likewise.
7586         (AREGTYPE): Likewise.
7587         (LNKTYPE): Likewise.
7588         (SYMTYPE): Likewise.
7589         (CHRTYPE): Likewise.
7590         (BLKTYPE): Likewise.
7591         (DIRTYPE): Likewise.
7592         (FIFOTYPE): Likewise.
7593         (CONTTYPE): Likewise.
7594         (TSUID): Likewise.
7595         (TSGID): Likewise.
7596         (TSVTX): Likewise.
7597         (TUREAD): Likewise.
7598         (TUWRITE): Likewise.
7599         (TUEXEC): Likewise.
7600         (TGREAD): Likewise.
7601         (TGWRITE): Likewise.
7602         (TGEXEC): Likewise.
7603         (TOREAD): Likewise.
7604         (TOWRITE): Likewise.
7605         (TOEXEC): Likewise.
7606         [POSIX] (TSVTX): Expect constant.
7607
7608 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7609
7610         * Makefile (tests): Change dependencies to ....
7611         (tests-special): ... additions to this variable.
7612         (tests): Depend on $(tests-special).
7613         * Makerules (check-abi-list): New variable.
7614         (check-abi): Depend on $(check-abi-list).
7615         [$(subdir) = elf] (tests-special): Add
7616         $(objpfx)check-abi-libc.out.
7617         [$(build-shared) = yes && subdir] (tests-special): Add
7618         $(check-abi-list).
7619         [$(build-shared) = yes && subdir] (tests): Do not depend on
7620         check-abi.
7621         * Rules (tests): Depend on $(tests-special).
7622         (xtests): Depend on $(xtests-special).
7623         * catgets/Makefile (tests): Change dependencies to ....
7624         (tests-special): ... additions to this variable.
7625         * conform/Makefile (tests): Change dependencies to ....
7626         (tests-special): ... additions to this variable.
7627         * elf/Makefile (tests): Change dependencies to ....
7628         (tests-special): ... additions to this variable.
7629         * grp/Makefile (tests): Change dependencies to ....
7630         (tests-special): ... additions to this variable.
7631         * iconv/Makefile (xtests): Change dependencies to ....
7632         (xtests-special): ... additions to this variable.
7633         * iconvdata/Makefile (tests): Change dependencies to ....
7634         (tests-special): ... additions to this variable.
7635         * intl/Makefile (tests): Change dependencies to ....
7636         (tests-special): ... additions to this variable.  Also add
7637         $(objpfx)tst-gettext.out.
7638         * io/Makefile (tests): Change dependencies to ....
7639         (tests-special): ... additions to this variable.
7640         * libio/Makefile (tests): Change dependencies to ....
7641         (tests-special): ... additions to this variable.
7642         * malloc/Makefile (tests): Change dependencies to ....
7643         (tests-special): ... additions to this variable.
7644         * misc/Makefile (tests): Change dependencies to ....
7645         (tests-special): ... additions to this variable.
7646         * nptl/Makefile (tests): Change dependencies to ....
7647         (tests-special): ... additions to this variable.
7648         * nptl_db/Makefile (tests): Change dependencies to ....
7649         (tests-special): ... additions to this variable.
7650         * posix/Makefile (tests): Change dependencies to ....
7651         (tests-special): ... additions to this variable.
7652         (xtests): Change dependencies to ....
7653         (xtests-special): ... additions to this variable.
7654         * resolv/Makefile (tests): Change dependencies to ....
7655         (tests-special): ... additions to this variable.
7656         (xtests): Change dependencies to ....
7657         (xtests-special): ... additions to this variable.
7658         * stdio-common/Makefile (tests): Change dependencies to ....
7659         (tests-special): ... additions to this variable.
7660         (do-tst-unbputc): Remove target.
7661         (do-tst-printf): Likewise.
7662         * stdlib/Makefile (tests): Change dependencies to ....
7663         (tests-special): ... additions to this variable.
7664         * string/Makefile (tests): Change dependencies to ....
7665         (tests-special): ... additions to this variable.
7666         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7667         (tests-special): ... additions to this variable.
7668
7669         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7670         whole file.
7671         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7672         whole file.
7673         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7674         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7675
7676         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7677         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7678         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7679         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7680         * conform/data/libgen.h-data [XPG3]: Likewise.
7681         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7682         * conform/data/ndbm.h-data [XPG3]: Likewise.
7683         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7684         * conform/data/netdb.h-data [XPG3]: Likewise.
7685         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7686         * conform/data/poll.h-data [XPG3]: Likewise.
7687         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7688         * conform/data/strings.h-data [XPG3]: Likewise.
7689         * conform/data/stropts.h-data [XPG3]: Likewise.
7690         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7691         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7692         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7693         Likewise.
7694         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7695         * conform/data/sys/time.h-data [XPG3]: Likewise.
7696         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7697         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7698         * conform/data/sys/un.h-data [XPG3]: Likewise.
7699         * conform/data/syslog.h-data [XPG3]: Likewise.
7700         * conform/data/ucontext.h-data [XPG3]: Likewise.
7701         * conform/data/utmpx.h-data [XPG3]: Likewise.
7702         * conform/data/varargs.h-data [UNIX98]: Enable file.
7703
7704         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7705
7706         * math/libm-test.inc (struct test_f_f_data): Move expected results
7707         into structure for each rounding mode.
7708         (struct test_ff_f_data): Likewise.
7709         (struct test_ff_f_data_nexttoward): Likewise.
7710         (struct test_fi_f_data): Likewise.
7711         (struct test_fl_f_data): Likewise.
7712         (struct test_if_f_data): Likewise.
7713         (struct test_fff_f_data): Likewise.
7714         (struct test_c_f_data): Likewise.
7715         (struct test_f_f1_data): Likewise.
7716         (struct test_fF_f1_data): Likewise.
7717         (struct test_ffI_f1_data): Likewise.
7718         (struct test_c_c_data): Likewise.
7719         (struct test_cc_c_data): Likewise.
7720         (struct test_f_i_data): Likewise.
7721         (struct test_ff_i_data): Likewise.
7722         (struct test_f_l_data): Likewise.
7723         (struct test_f_L_data): Likewise.
7724         (struct test_fFF_11_data): Likewise.
7725         (RM_): New macro.
7726         (RM_FE_DOWNWARD): Likewise.
7727         (RM_FE_TONEAREST): Likewise.
7728         (RM_FE_TOWARDZERO): Likewise.
7729         (RM_FE_UPWARD): Likewise.
7730         (RUN_TEST_LOOP_f_f): Update references to expected results.
7731         (RUN_TEST_LOOP_2_f): Likewise.
7732         (RUN_TEST_LOOP_fff_f): Likewise.
7733         (RUN_TEST_LOOP_c_f): Likewise.
7734         (RUN_TEST_LOOP_f_f1): Likewise.
7735         (RUN_TEST_LOOP_fF_f1): Likewise.
7736         (RUN_TEST_LOOP_fI_f1): Likewise.
7737         (RUN_TEST_LOOP_ffI_f1): Likewise.
7738         (RUN_TEST_LOOP_c_c): Likewise.
7739         (RUN_TEST_LOOP_cc_c): Likewise.
7740         (RUN_TEST_LOOP_f_i): Likewise.
7741         (RUN_TEST_LOOP_f_i_tg): Likewise.
7742         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7743         (RUN_TEST_LOOP_f_b): Likewise.
7744         (RUN_TEST_LOOP_f_b_tg): Likewise.
7745         (RUN_TEST_LOOP_f_l): Likewise.
7746         (RUN_TEST_LOOP_f_L): Likewise.
7747         (RUN_TEST_LOOP_fFF_11): Likewise.
7748         * math/gen-libm-test.pl (parse_args): Output four copies of
7749         expected results for each test.
7750
7751         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7752         (__ASSUME_UTIMES): Remove.
7753         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7754         (__ASSUME_UTIMES): Likewise.
7755
7756         * math/gen-auto-libm-tests.c: Update comment on output format.
7757         (output_for_one_input_case): Generate before-rounding and
7758         after-rounding information as conditions on output flags not
7759         floating-point format.
7760         * math/auto-libm-test-out: Regenerated.
7761         * math/gen-libm-test.pl (cond_value): New function.
7762         (or_cond_value): Use cond_value.
7763         (generate_testfile): Handle conditional exceptions.
7764
7765 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7766
7767         * math/libm-test.inc (max_valid_error): New variable.
7768         (init_max_error): Take new argument specifying whether function
7769         results are exactly determined.  Set max_valid_error and bound
7770         other variables for errors based on this argument.
7771         (set_max_error): Do not record results above max_valid_error.
7772         (check_float_internal): Only accept errors of up to 0.5ulps if
7773         also at most max_valid_error.
7774         (START): Take new argument EXACT and pass it to init_max_error.
7775         (acos_test): Update call to START.
7776         (acos_test_tonearest): Likewise.
7777         (acos_test_towardzero): Likewise.
7778         (acos_test_downward): Likewise.
7779         (acos_test_upward): Likewise.
7780         (acosh_test): Likewise.
7781         (asin_test): Likewise.
7782         (asin_test_tonearest): Likewise.
7783         (asin_test_towardzero): Likewise.
7784         (asin_test_downward): Likewise.
7785         (asin_test_upward): Likewise.
7786         (asinh_test): Likewise.
7787         (atan_test): Likewise.
7788         (atanh_test): Likewise.
7789         (atan2_test): Likewise.
7790         (cabs_test): Likewise.
7791         (cacos_test): Likewise.
7792         (cacosh_test): Likewise.
7793         (carg_test): Likewise.
7794         (casin_test): Likewise.
7795         (casinh_test): Likewise.
7796         (catan_test): Likewise.
7797         (catanh_test): Likewise.
7798         (cbrt_test): Likewise.
7799         (ccos_test): Likewise.
7800         (ccosh_test): Likewise.
7801         (ceil_test): Likewise.
7802         (cexp_test): Likewise.
7803         (cimag_test): Likewise.
7804         (clog_test): Likewise.
7805         (clog10_test): Likewise.
7806         (conj_test): Likewise.
7807         (copysign_test): Likewise.
7808         (cos_test): Likewise.
7809         (cos_test_tonearest): Likewise.
7810         (cos_test_towardzero): Likewise.
7811         (cos_test_downward): Likewise.
7812         (cos_test_upward): Likewise.
7813         (cosh_test): Likewise.
7814         (cosh_test_tonearest): Likewise.
7815         (cosh_test_towardzero): Likewise.
7816         (cosh_test_downward): Likewise.
7817         (cosh_test_upward): Likewise.
7818         (cpow_test): Likewise.
7819         (cproj_test): Likewise.
7820         (creal_test): Likewise.
7821         (csin_test): Likewise.
7822         (csinh_test): Likewise.
7823         (csqrt_test): Likewise.
7824         (ctan_test): Likewise.
7825         (ctan_test_tonearest): Likewise.
7826         (ctan_test_towardzero): Likewise.
7827         (ctan_test_downward): Likewise.
7828         (ctan_test_upward): Likewise.
7829         (ctanh_test): Likewise.
7830         (ctanh_test_tonearest): Likewise.
7831         (ctanh_test_towardzero): Likewise.
7832         (ctanh_test_downward): Likewise.
7833         (ctanh_test_upward): Likewise.
7834         (erf_test): Likewise.
7835         (erfc_test): Likewise.
7836         (exp_test): Likewise.
7837         (exp_test_tonearest): Likewise.
7838         (exp_test_towardzero): Likewise.
7839         (exp_test_downward): Likewise.
7840         (exp_test_upward): Likewise.
7841         (exp10_test): Likewise.
7842         (exp10_test_tonearest): Likewise.
7843         (exp10_test_towardzero): Likewise.
7844         (exp10_test_downward): Likewise.
7845         (exp10_test_upward): Likewise.
7846         (pow10_test): Likewise.
7847         (exp2_test): Likewise.
7848         (expm1_test): Likewise.
7849         (expm1_test_tonearest): Likewise.
7850         (expm1_test_towardzero): Likewise.
7851         (expm1_test_downward): Likewise.
7852         (expm1_test_upward): Likewise.
7853         (fabs_test): Likewise.
7854         (fdim_test): Likewise.
7855         (floor_test): Likewise.
7856         (fma_test): Likewise.
7857         (fma_test_towardzero): Likewise.
7858         (fma_test_downward): Likewise.
7859         (fma_test_upward): Likewise.
7860         (fmax_test): Likewise.
7861         (fmin_test): Likewise.
7862         (fmod_test): Likewise.
7863         (fpclassify_test): Likewise.
7864         (frexp_test): Likewise.
7865         (hypot_test): Likewise.
7866         (ilogb_test): Likewise.
7867         (isfinite_test): Likewise.
7868         (finite_test): Likewise.
7869         (isgreater_test): Likewise.
7870         (isgreaterequal_test): Likewise.
7871         (isinf_test): Likewise.
7872         (isless_test): Likewise.
7873         (islessequal_test): Likewise.
7874         (islessgreater_test): Likewise.
7875         (isnan_test): Likewise.
7876         (isnormal_test): Likewise.
7877         (issignaling_test): Likewise.
7878         (isunordered_test): Likewise.
7879         (j0_test): Likewise.
7880         (j1_test): Likewise.
7881         (jn_test): Likewise.
7882         (ldexp_test): Likewise.
7883         (lgamma_test): Likewise.
7884         (gamma_test): Likewise.
7885         (lrint_test): Likewise.
7886         (lrint_test_tonearest): Likewise.
7887         (lrint_test_towardzero): Likewise.
7888         (lrint_test_downward): Likewise.
7889         (lrint_test_upward): Likewise.
7890         (llrint_test): Likewise.
7891         (llrint_test_tonearest): Likewise.
7892         (llrint_test_towardzero): Likewise.
7893         (llrint_test_downward): Likewise.
7894         (llrint_test_upward): Likewise.
7895         (log_test): Likewise.
7896         (log10_test): Likewise.
7897         (log1p_test): Likewise.
7898         (log2_test): Likewise.
7899         (logb_test): Likewise.
7900         (logb_test_downward): Likewise.
7901         (lround_test): Likewise.
7902         (llround_test): Likewise.
7903         (modf_test): Likewise.
7904         (nearbyint_test): Likewise.
7905         (nextafter_test): Likewise.
7906         (nexttoward_test): Likewise.
7907         (pow_test): Likewise.
7908         (pow_test_tonearest): Likewise.
7909         (pow_test_towardzero): Likewise.
7910         (pow_test_downward): Likewise.
7911         (pow_test_upward): Likewise.
7912         (remainder_test): Likewise.
7913         (drem_test): Likewise.
7914         (remainder_test_tonearest): Likewise.
7915         (drem_test_tonearest): Likewise.
7916         (remainder_test_towardzero): Likewise.
7917         (drem_test_towardzero): Likewise.
7918         (remainder_test_downward): Likewise.
7919         (drem_test_downward): Likewise.
7920         (remainder_test_upward): Likewise.
7921         (drem_test_upward): Likewise.
7922         (remquo_test): Likewise.
7923         (rint_test): Likewise.
7924         (rint_test_tonearest): Likewise.
7925         (rint_test_towardzero): Likewise.
7926         (rint_test_downward): Likewise.
7927         (rint_test_upward): Likewise.
7928         (round_test): Likewise.
7929         (scalb_test): Likewise.
7930         (scalbn_test): Likewise.
7931         (scalbln_test): Likewise.
7932         (signbit_test): Likewise.
7933         (sin_test): Likewise.
7934         (sin_test_tonearest): Likewise.
7935         (sin_test_towardzero): Likewise.
7936         (sin_test_downward): Likewise.
7937         (sin_test_upward): Likewise.
7938         (sincos_test): Likewise.
7939         (sinh_test): Likewise.
7940         (sinh_test_tonearest): Likewise.
7941         (sinh_test_towardzero): Likewise.
7942         (sinh_test_downward): Likewise.
7943         (sinh_test_upward): Likewise.
7944         (sqrt_test): Likewise.
7945         (sqrt_test_tonearest): Likewise.
7946         (sqrt_test_towardzero): Likewise.
7947         (sqrt_test_downward): Likewise.
7948         (sqrt_test_upward): Likewise.
7949         (tan_test): Likewise.
7950         (tan_test_tonearest): Likewise.
7951         (tan_test_towardzero): Likewise.
7952         (tan_test_downward): Likewise.
7953         (tan_test_upward): Likewise.
7954         (tanh_test): Likewise.
7955         (tgamma_test): Likewise.
7956         (trunc_test): Likewise.
7957         (y0_test): Likewise.
7958         (y1_test): Likewise.
7959         (yn_test): Likewise.
7960         (significand_test): Likewise.
7961
7962         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7963         individual tests in comment.
7964         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7965         (prev_max_error): New variable.
7966         (prev_real_max_error): Likewise.
7967         (prev_imag_max_error): Likewise.
7968         (compare_ulp_data): Don't refer to test names in comment.
7969         (find_test_ulps): Remove function.
7970         (find_function_ulps): Likewise.
7971         (find_complex_function_ulps): Likewise.
7972         (init_max_error): Take function name as argument.  Look up ulps
7973         for that function.
7974         (print_ulps): Remove function.
7975         (print_max_error): Use prev_max_error instead of calling
7976         find_function_ulps.
7977         (print_complex_max_error): Use prev_real_max_error and
7978         prev_imag_max_error instead of calling find_complex_function_ulps.
7979         (check_float_internal): Take max_ulp parameter instead of calling
7980         find_test_ulps.  Don't call print_ulps.
7981         (check_float): Update call to check_float_internal.
7982         (check_complex): Update calls to check_float_internal.
7983         (START): Pass argument to init_max_error.
7984         * math/gen-libm-test.pl (%results): Don't include "kind"
7985         information.
7986         (parse_ulps): Don't handle ulps of individual tests.
7987         (print_ulps_file): Likewise.
7988         (output_ulps): Likewise.
7989         * math/README.libm-test: Update.
7990         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7991         individual tests.
7992         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7993         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7994         * sysdeps/arm/libm-test-ulps: Likewise.
7995         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7996         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7997         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7998         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7999         * sysdeps/microblaze/libm-test-ulps: Likewise.
8000         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8001         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8002         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8003         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8004         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8005         * sysdeps/sh/libm-test-ulps: Likewise.
8006         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8007         * sysdeps/tile/libm-test-ulps: Likewise.
8008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8009
8010 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8011
8012         * math/libm-test.inc (print_complex_max_error): Check separately
8013         whether real and imaginary errors are within allowed range and
8014         pass 0 to print_complex_function_ulps instead of value within
8015         allowed range.
8016
8017 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8018
8019         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8020         formatting.
8021         (get_handles_fopen): Likewise.
8022         (do_write_test): Likewise.
8023
8024         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8025
8026         * libio/fileops.c (do_ftell): Use cached offset when
8027         available.
8028         * libio/iofwide.c (do_ftell_wide): Likewise.
8029         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8030         _IO_file_attach.
8031         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8032
8033         [BZ #16532]
8034         * libio/libioP.h (get_file_offset): New function.
8035         * libio/fileops.c (get_file_offset): Likewise.
8036         (do_ftell): Likewise.
8037         (_IO_new_file_seekoff): Split out ftell logic.
8038         * libio/wfileops.c (do_ftell_wide): Likewise.
8039         (_IO_wfile_seekoff): Split out ftell logic.
8040         * libio/tst-ftell-active-handler.c: New test case.
8041         * libio/Makefile (tests): Add it.
8042
8043 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8044
8045         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8046         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8047
8048 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8049
8050         [BZ #16639]
8051         * nscd/connections.c (nscd_init): Call do_exit.
8052         (start_threads): Call do_exit and notify_parent.
8053         (begin_drop_privileges): Call do_exit.
8054         (finish_drop_privileges): Likewise.
8055         * nscd/selinux.c (preserve_capabilities): Likewise.
8056         (install_real_capabilities): Likewise.
8057         (nscd_selinux_enabled): Likewise.
8058         (avc_create_thread): Likewise.
8059         (avc_alloc_lock): Likewise.
8060         (nscd_avc_init): Likewise.
8061         * nscd/nscd.c (parent_fd): New static variable.
8062         (main): Create a pipe between parent and child processes.
8063         Skip closing parent_fd.
8064         (monitor_child): New function.
8065         (do_exit): Likewise.
8066         (notify_parent): Likewise.
8067         * nscd/nscd.h (notify_parent): Likewise.
8068         (do_exit): Likewise.
8069
8070 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8071
8072         * malloc/malloc.c (__libc_calloc): Revert last change.
8073
8074 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8075
8076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8077
8078 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8079
8080         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8082         implementation.
8083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8084         (__libc_ifunc_impl_list): Likewise.
8085         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8086         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8087         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8088         * string/strrchr.c: Define STRRCHR.
8089
8090 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8091
8092         * benchtest/bench-strtok.c (simple_strtok): Delete.
8093         (strtok_string): Use as benchmark.
8094         * string/strtok (STRTOK): New macro.
8095
8096 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8097
8098         * manual/threads.texi: Add header and standard comments to all
8099         functions.
8100
8101         * elf/dl-lookup.c (check_match): New function.
8102         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8103         (do_lookup_x): Remove nested function check_match. Use non-nested
8104         function check_match.
8105
8106 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8107
8108         * csu/Makefile (generated, before-compile): Use += rather than =.
8109         * catgets/Makefile (generated, generated-dirs): Likewise.
8110         * debug/Makefile (generated): Likewise.
8111         * dlfcn/Makefile (generated): Likewise.
8112         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8113         * iconvdata/Makefile (before-compile, generated): Likewise.
8114         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8115         * libio/Makefile (generated): Likewise.
8116         * malloc/Makefile (generated): Likewise.
8117         * manual/Makefile (generated, generated-dirs): Likewise.
8118         * misc/Makefile (generated): Likewise.
8119         * posix/Makefile (generated): Likewise.
8120         * resolv/Makefile (generated): Likewise.
8121         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8122         * timezone/Makefile (generated, generated-dirs): Likewise.
8123
8124         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8125
8126 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8127
8128         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8129         power8 implementation.
8130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8131         file: POWER8 llround ifunc implementation.
8132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8133         (__lllround): Add POWER8 implementation.
8134         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8135         POWER8 llround implementation.
8136
8137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8138         power8 implementation.
8139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8140         file: POWER8 llrint ifunc implementation.
8141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8142         Add POWER8 implementation.
8143         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8144         POWER8 llrint implementation.
8145
8146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8147         power8 implementation.
8148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8149         file: POWER8 finite ifunc implementation.
8150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8151         Add POWER8 implementation.
8152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8153         Likewise.
8154         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8155         POWER8 finite implementation.
8156         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8157
8158         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8159         power8 implementation.
8160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8161         file: POWER8 isinf ifunc implementation.
8162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8163         POWER8 implementation.
8164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8165         Likewise.
8166         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8167         isinf implementation.
8168         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8169
8170         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8171         (INIT_ARCH): Add hwcap2 initialization.
8172         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8173         power8 implementation.
8174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8175         file: POWER8 isnan ifunc implementation.
8176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8177         POWER8 implementation.
8178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8179         Likewise.
8180         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8181         isnan implementation.
8182         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8183
8184 2014-02-27  Joey Ye  <joey.ye@arm.com>
8185
8186         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8187         (_FP_NANFRAC_Q): Set to zero.
8188
8189 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8190
8191         [BZ #16623]
8192         * math/auto-libm-test-in: New test inputs.
8193         * math/auto-libm-test-out: Regenerate.
8194         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8195         and DA.
8196         (__cos): Likewise.
8197         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8198
8199 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8200
8201         * scripts/evaluate-test.sh: Take new argument indicating whether
8202         failure is expected.
8203         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8204         indicating whether failure is expected.
8205         * conform/Makefile (test-xfail-run-conformtest): New variable.
8206         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8207         level.
8208         * posix/Makefile (test-xfail-annexc): New variable.
8209         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8210
8211 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8212
8213         * argp/Makefile: Include Makeconfig immediately after defining
8214         subdir.
8215         * assert/Makefile: Likewise.
8216         * benchtests/Makefile: Likewise.
8217         * catgets/Makefile: Likewise.
8218         * conform/Makefile: Likewise.
8219         * crypt/Makefile: Likewise.
8220         * csu/Makefile: Likewise.
8221         (all): Remove target.
8222         * ctype/Makefile: Include Makeconfig immediately after defining
8223         subdir.
8224         * debug/Makefile: Likewise.
8225         * dirent/Makefile: Likewise.
8226         * dlfcn/Makefile: Likewise.
8227         * gmon/Makefile: Likewise.
8228         * gnulib/Makefile: Likewise.
8229         * grp/Makefile: Likewise.
8230         * gshadow/Makefile: Likewise.
8231         * hesiod/Makefile: Likewise.
8232         * hurd/Makefile: Likewise.
8233         (all): Remove target.
8234         * iconvdata/Makefile: Include Makeconfig immediately after
8235         defining subdir.
8236         * inet/Makefile: Likewise.
8237         * intl/Makefile: Likewise.
8238         * io/Makefile: Likewise.
8239         * libio/Makefile: Likewise.
8240         (all): Remove target.
8241         * locale/Makefile: Include Makeconfig immediately after defining
8242         subdir.
8243         * login/Makefile: Likewise.
8244         * mach/Makefile: Likewise.
8245         (all): Remove target.
8246         * malloc/Makefile: Include Makeconfig immediately after defining
8247         subdir.
8248         (all): Remove target.
8249         * manual/Makefile: Include Makeconfig immediately after defining
8250         subdir.
8251         * math/Makefile: Likewise.
8252         * misc/Makefile: Likewise.
8253         * nis/Makefile: Likewise.
8254         * nss/Makefile: Likewise.
8255         * po/Makefile: Likewise.
8256         (all): Remove target.
8257         * posix/Makefile: Include Makeconfig immediately after defining
8258         subdir.
8259         * pwd/Makefile: Likewise.
8260         * resolv/Makefile: Likewise.
8261         * resource/Makefile: Likewise.
8262         * rt/Makefile: Likewise.
8263         * setjmp/Makefile: Likewise.
8264         * shadow/Makefile: Likewise.
8265         * signal/Makefile: Likewise.
8266         * socket/Makefile: Likewise.
8267         * soft-fp/Makefile: Likewise.
8268         * stdio-common/Makefile: Likewise.
8269         * stdlib/Makefile: Likewise.
8270         * streams/Makefile: Likewise.
8271         * string/Makefile: Likewise.
8272         * sunrpc/Makefile: Likewise.
8273         (all): Remove target.
8274         * sysvipc/Makefile: Include Makeconfig immediately after defining
8275         subdir.
8276         * termios/Makefile: Likewise.
8277         * time/Makefile: Likewise.
8278         * timezone/Makefile: Likewise.
8279         (all): Remove target.
8280         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8281         subdir.
8282         * wctype/Makefile: Likewise.
8283
8284 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8285
8286         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8287         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8288         (libc_feholdexcept_setround_mips): Ditto.
8289         (libc_feholdsetround): New.
8290         (libc_feholdsetroundf): New.
8291         (libc_feholdsetroundl): New.
8292         (libc_feupdateenv_test_mips): New.
8293         (libc_feupdateenv_test): New.
8294         (libc_feupdateenv_testf): New.
8295         (libc_feupdateenv_testl): New.
8296         (libc_feresetround): New.
8297         (libc_feresetroundf): New.
8298         (libc_feresetroundl): New.
8299         (libc_fetestexcept_mips): New.
8300         (libc_fetestexcept): New.
8301         (libc_fetestexceptf): New.
8302         (libc_fetestexceptl): New.
8303         (HAVE_RM_CTX): New.
8304         (libc_feholdexcept_setround_mips_ctx): New.
8305         (libc_feholdexcept_setround_ctx): New.
8306         (libc_feholdexcept_setroundf_ctx): New.
8307         (libc_feholdexcept_setroundl_ctx): New.
8308         (libc_fesetenv_mips_ctx): New.
8309         (libc_fesetenv_ctx): New.
8310         (libc_fesetenv_ctxf): New.
8311         (libc_fesetenv_ctxl): New.
8312         (libc_feupdateenv_mips_ctx): New.
8313         (libc_feupdateenv_ctx): New.
8314         (libc_feupdateenvf_ctx): New.
8315         (libc_feupdateenvl_ctx): New.
8316         (libc_feholdsetround_mips_ctx): New.
8317         (libc_feholdsetround_ctx): New.
8318         (libc_feholdsetroundf_ctx): New.
8319         (libc_feholdsetroundl_ctx): New.
8320         (libc_feresetround_mips_ctx): New.
8321         (libc_feresetround_ctx): New.
8322         (libc_feresetroundf_ctx): New.
8323         (libc_feresetroundl_ctx): New.
8324
8325 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8326
8327         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8328
8329         * manual/ipc.texi: New file.
8330         * manual/Makefile (chapters): Add ipc.
8331         * manual/job.texi: Add "Inter-Process Communication" to next.
8332         * manual/process.texi: Add "Inter-Process Communication" to prev.
8333
8334 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8335
8336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8337
8338 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8339
8340         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8341
8342         * manual/arith.texi: Fix spaces after sentences.
8343         * manual/charset.texi: Likewise.
8344         * manual/errno.texi: Likewise.
8345         * manual/install.texi: Likewise.
8346         * manual/llio.texi: Likewise.
8347         * manual/locale.texi: Likewise.
8348         * manual/maint.texi: Likewise.
8349         * manual/math.texi: Likewise.
8350         * manual/memory.texi: Likewise.
8351         * manual/message.texi: Likewise.
8352         * manual/probes.texi: Likewise.
8353         * manual/resource.texi: Likewise.
8354         * manual/signal.texi: Likewise.
8355         * manual/socket.texi: Likewise.
8356         * manual/stdio.texi: Likewise.
8357         * manual/string.texi: Likewise.
8358         * manual/time.texi: Likewise.
8359         * manual/users.texi: Likewise.
8360
8361 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8362
8363         [BZ #16632]
8364         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8365         _DEFAULT_SOURCE is defined.
8366
8367 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8368             Carlos O'Donell  <carlos@redhat.com>
8369
8370         [BZ #16613]
8371         * elf/dl-tls.c (_dl_count_modids): New function.
8372         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8373         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8374         audit library and increment generation counter.
8375         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8376         * elf/tst-audit9.c: New file.
8377         * elf/tst-auditmod9a.c: New file.
8378         * elf/tst-auditmod9b.c: New file.
8379         * elf/Makefile: Add rules to build and run tst-audit9.
8380
8381 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8382
8383         [BZ #15347]
8384         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8385
8386 2014-02-25  Will Newton  <will.newton@linaro.org>
8387
8388         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8389         (__longjmp): Restore sp and lr before restoring callee
8390         saved registers.  Add longjmp and longjmp_target
8391         SystemTap probe point.
8392         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8393         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8394         Define to zero to match jmpbuf layout.
8395         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8396         (__sigsetjmp): Save sp and lr before saving callee
8397         saved registers.  Add setjmp SystemTap probe point.
8398
8399 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8400
8401         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8402
8403 2014-02-24  Andreas Schwab  <schwab@suse.de>
8404
8405         [BZ #15804]
8406         * elf/pldd.c (wait_for_ptrace_stop): New function.
8407         (main): Call it after attaching.
8408
8409 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8410
8411         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8412         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8413         Versions files is now verboten.
8414         * hurd/Versions (libc: GLIBC_2.0):
8415         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8416         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8417         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8418         * mach/Versions: Likewise.
8419
8420         * csu/Versions: Remove unused %include.
8421         * resolv/Versions: Likewise.
8422
8423 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8424
8425         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8426         ($(objpfx)check-local-headers.out): Likewise.
8427         ($(objpfx)begin-end-check.out): Likewise.
8428         * Makerules (check-abi-%.out): Likewise.
8429         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8430         ($(objpfx)test2.cat): Likewise.
8431         ($(objpfx)de/libc.cat): Likewise.
8432         ($(objpfx)test-gencat.out): Likewise.
8433         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8434         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8435         ($(objpfx)noload-mem): Likewise.
8436         ($(objpfx)tst-pathopt.out): Likewise.
8437         ($(objpfx)tst-rtld-load-self.out): Likewise.
8438         ($(objpfx)tst-array1-cmp.out): Likewise.
8439         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8440         ($(objpfx)tst-array2-cmp.out): Likewise.
8441         ($(objpfx)tst-array3-cmp.out): Likewise.
8442         ($(objpfx)tst-array4-cmp.out): Likewise.
8443         ($(objpfx)tst-array5-cmp.out): Likewise.
8444         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8445         ($(objpfx)check-textrel.out): Likewise.
8446         ($(objpfx)check-execstack.out): Likewise.
8447         ($(objpfx)check-localplt.out): Likewise.
8448         ($(objpfx)order2-cmp.out): Likewise.
8449         ($(objpfx)tst-leaks1-mem): Likewise.
8450         ($(objpfx)tst-leaks1-static-mem): Likewise.
8451         ($(objpfx)tst-initorder-cmp.out): Likewise.
8452         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8453         ($(objpfx)tst-unused-dep.out): Likewise.
8454         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8455         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8456         * iconv/Makefile (test-iconvconfig): Likewise.
8457         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8458         ($(objpfx)iconv-test.out): Likewise.
8459         ($(objpfx)tst-tables.out): Likewise.
8460         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8461         ($(objpfx)tst-gettext.out): Likewise.
8462         ($(objpfx)tst-translit.out): Likewise.
8463         ($(objpfx)tst-gettext2.out): Likewise.
8464         ($(objpfx)tst-gettext4.out): Likewise.
8465         ($(objpfx)tst-gettext6.out): Likewise.
8466         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8467         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8468         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8469         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8470         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8471         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8472         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8473         ($(objpfx)wordexp-tst.out): Likewise.
8474         ($(objpfx)annexc.out): Likewise.
8475         ($(objpfx)tst-fnmatch-mem): Likewise.
8476         ($(objpfx)bug-regex2-mem): Likewise.
8477         ($(objpfx)bug-regex14-mem): Likewise.
8478         ($(objpfx)bug-regex21-mem): Likewise.
8479         ($(objpfx)bug-regex31-mem): Likewise.
8480         ($(objpfx)tst-vfork3-mem): Likewise.
8481         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8482         ($(objpfx)tst-pcre-mem): Likewise.
8483         ($(objpfx)tst-boost-mem): Likewise.
8484         ($(objpfx)tst-getconf.out): Likewise.
8485         ($(objpfx)bug-ga2-mem): Likewise.
8486         ($(objpfx)bug-glob2-mem): Likewise.
8487         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8488         ($(objpfx)mtrace-tst-leaks2): Likewise.
8489         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8490         ($(objpfx)tst-printf.out): Likewise.
8491         ($(objpfx)tst-setvbuf1.out): Likewise.
8492         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8493         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8494         ($(objpfx)tst-fmtmsg.out): Likewise.
8495         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8496         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8497
8498         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8499         * bits/sigaction.h [__USE_MISC]: Likewise.
8500         * bits/waitstatus.h: Update #endif comments.
8501         * ctype/ctype.h: Likewise.
8502         * dirent/dirent.h: Likewise.
8503         [__USE_MISC]: Remove redundant conditionals.
8504         * grp/grp.h: Update #endif comments.
8505         [__USE_GNU]: Remove redundant conditionals.
8506         [__USE_MISC]: Likewise.
8507         * inet/netinet/in.h [__USE_GNU]: Likewise.
8508         * io/sys/stat.h [__USE_MISC]: Likewise.
8509         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8510         * libio/bits/stdio.h: Update #endif comments.
8511         [__USE_MISC]: Remove redundant conditionals.
8512         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8513         * libio/stdio.h: Update #endif comments.
8514         [__USE_MISC]: Remove redundant conditionals.
8515         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8516         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8517         * math/math.h: Update #else and #endif comments.
8518         [__USE_MISC]: Remove redundant conditionals.
8519         * misc/sys/uio.h: Update #endif comments.
8520         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8521         * posix/glob.h [__USE_MISC]: Likewise.
8522         * posix/sys/types.h: Update #endif comments.
8523         [__USE_MISC]: Remove redundant conditionals.
8524         * posix/sys/wait.h: Update #endif comments.
8525         [__USE_MISC]: Remove redundant conditionals.
8526         * posix/unistd.h: Update #endif comments.
8527         [__USE_MISC]: Remove redundant conditionals.
8528         * pwd/pwd.h [__USE_GNU]: Likewise.
8529         [__USE_MISC]: Likewise.
8530         * resolv/netdb.h [__USE_GNU]: Likewise.
8531         * signal/signal.h: Update #endif comments.
8532         [__USE_MISC]: Remove redundant conditionals.
8533         * stdlib/stdlib.h: Update #else and #endif comments.
8534         [__USE_MISC]: Remove redundant conditionals.
8535         [__USE_GNU]: Likewise.
8536         * string/bits/string2.h [__USE_MISC]: Likewise.
8537         * string/string.h: Update #endif comments.
8538         [__USE_MISC]: Remove redundant conditionals.
8539         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8540         Likewise.
8541         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8542         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8543         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8544         Likewise.
8545         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8546         Likewise.
8547         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8548         comments.
8549         [__USE_MISC]: Remove redundant conditionals.
8550         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8551         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8552         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8553         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8554         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8555         Likewise.
8556         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8557         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8558         Likewise.
8559         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8560         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8561         Likewise.
8562         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8563         Likewise.
8564         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8565         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8566         Likewise.
8567         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8568         Likewise.
8569         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8570         * sysdeps/x86/bits/string.h: Update #endif comments.
8571         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8572         conditionals.
8573         * time/sys/time.h: Update #endif comments.
8574         * time/time.h: Likewise.
8575         [__USE_MISC]: Remove redundant conditionals.
8576
8577 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8578
8579         [BZ #16600]
8580         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8581
8582 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8583
8584         * Versions.def (librt): Add GLIBC_2.17.
8585
8586 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8587
8588         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8589         synonym for _SYS_AUXV_H to allow direct inclusion.
8590         * sysdeps/sparc/bits/hwcap.h: Likewise.
8591         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8592         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8593         * sysdeps/sparc/sysdep.h: Likewise.
8594
8595 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8596
8597         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8598
8599 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8600
8601         * benchtests/bench-strrchr.c: Print length instead of position.
8602
8603 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8604
8605         [BZ #16611]
8606         * sysdeps/unix/sysv/linux/kernel-features.h
8607         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8608         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8609         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8610         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8611         Likewise.
8612         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8613         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8614         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8615         (__ASSUME_SENDMMSG): Define instead of using previous
8616         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8617         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8618         (__ASSUME_SENDMMSG_SYSCALL): Define.
8619         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8620         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8621         Likewise.
8622         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8623         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8624         Likewise.
8625         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8626         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8627         Likewise.
8628         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8629         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8630         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8631         [__ASSUME_SENDMMSG]: Change conditionals to
8632         [__ASSUME_SENDMMSG_SOCKETCALL].
8633         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8634         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8635         Define.
8636         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8637         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8638         Likewise.
8639         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8640         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8641         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8642         [!__ASSUME_SENDMMSG]: Change conditional to
8643         [!__ASSUME_SENDMMSG_SOCKETCALL].
8644         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8645         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8646         Define.
8647
8648         [BZ #16610]
8649         * sysdeps/unix/sysv/linux/kernel-features.h
8650         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8651         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8652         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8653         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8654         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8655         [__i386__ || __sparc__]
8656         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8657         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8658         (__ASSUME_RECVMMSG): Define instead of using previous
8659         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8660         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8661         (__ASSUME_RECVMMSG_SYSCALL): Define.
8662         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8663         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8664         Likewise.
8665         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8666         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8667         Likewise.
8668         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8669         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8670         Likewise.
8671         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8672         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8673         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8674         [__ASSUME_RECVMMSG]: Change condition to
8675         [__ASSUME_RECVMMSG_SOCKETCALL].
8676         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8677         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8678         Define.
8679         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8680         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8681         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8682         Likewise.
8683         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8684         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8685         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8686         [!__ASSUME_RECVMMSG]: Change condition to
8687         [!__ASSUME_RECVMMSG_SOCKETCALL].
8688         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8689         (__ASSUME_RECVMMSG_SYSCALL): Define.
8690
8691         [BZ #16609]
8692         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8693         __powerpc__ || __s390__ || __sh__ || __sparc__]
8694         (__ASSUME_SOCKETCALL): Define.
8695         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8696         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8697         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8698         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8699         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8700         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8701         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8702         (__ASSUME_ACCEPT4): Define instead of using previous
8703         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8704         __powerpc__ || __sparc__ || __s390__)] condition.
8705         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8706         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8707         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8708         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8709         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8710         [!__ASSUME_ACCEPT4]: Change condition to
8711         [!__ASSUME_ACCEPT4_SOCKETCALL].
8712         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8713         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8714         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8715         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8716         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8717         __ASSUME_ACCEPT4_SYSCALL.
8718         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8719         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8720         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8721         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8722         __ASSUME_ACCEPT4_SYSCALL.
8723         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8724         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8725         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8726         [__ASSUME_ACCEPT4]: Change condition to
8727         [__ASSUME_ACCEPT4_SOCKETCALL].
8728         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8729         (__ASSUME_SOCKETCALL): Define.
8730         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8731         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8732         (__ASSUME_SOCKETCALL): Define.
8733         (__ASSUME_ACCEPT4): Remove.
8734         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8735         Define.
8736         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8737         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8738         Likewise.
8739         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8740         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8741
8742         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8743         macro.
8744         (HWCAP_ARM_LPAE): Likewise.
8745         (HWCAP_ARM_EVTSTRM): Likewise.
8746         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8747         Add vpfd32, lpae and evtstrm.
8748         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8749         Increase to 22.
8750
8751 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8752
8753         * math/auto-libm-test-in: Add tests of clog10.
8754         * math/auto-libm-test-out: Regenerated.
8755         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8756         * sysdeps/i386/fpu/libm-test-ulps: Update.
8757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8758
8759 2014-02-18  Andreas Schwab  <schwab@suse.de>
8760
8761         [BZ #16574]
8762         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8763         Store non-zero if the second buffer was newly allocated.
8764         (send_dg): Likewise.
8765         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8766         to send_vc and send_dg.
8767         (res_nsend): Pass NULL for ansp2_malloced.
8768         * resolv/res_query.c (__libc_res_nquery): Add parameter
8769         answerp2_malloced and pass it down to __libc_res_nsend.
8770         (res_nquery): Pass additional NULL to __libc_res_nquery.
8771         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8772         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8773         second answer buffer if answerp2_malloced was set.
8774         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8775         (__libc_res_nquerydomain): Add parameter
8776         answerp2_malloced and pass it down to __libc_res_nquery.
8777         (res_nquerydomain): Pass additional NULL to
8778         __libc_res_nquerydomain.
8779         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8780         additional NULL to __libc_res_nsend and __libc_res_nquery.
8781         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8782         additional NULL to __libc_res_nsearch.
8783         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8784         parameter of __libc_res_nsearch to check for separately allocated
8785         second buffer.
8786         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8787         __libc_res_nquery.
8788         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8789         additional NULL to __libc_res_nquery.
8790         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8791         __libc_res_nsearch.
8792         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8793         * include/resolv.h: Update prototypes of __libc_res_nquery,
8794         __libc_res_nsearch, __libc_res_nsend.
8795
8796 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8797
8798         * math/auto-libm-test-in: Add tests of fma.
8799         * math/auto-libm-test-out: Regenerated.
8800         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8801         (fma_towardzero_test_data): Likewise.
8802         (fma_downward_test_data): Likewise.
8803         (fma_upward_test_data): Likewise.
8804         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8805         mpc_mode.
8806         (rounding_modes): Add values for new field.
8807         (func_calc_method): Add value mpfr_fff_f.
8808         (func_calc_desc): Add mpfr_fff_f union field.
8809         (test_function): Add field exact_args.
8810         (FUNC): Add macro argument EXACT_ARGS.
8811         (FUNC_mpfr_f_f): Update call to FUNC.
8812         (FUNC_mpfr_f_f): Likewise.
8813         (FUNC_mpfr_ff_f): Likewise.
8814         (FUNC_mpfr_if_f): Likewise.
8815         (FUNC_mpc_c_f): Likewise.
8816         (FUNC_mpc_c_c): Likewise.
8817         (test_functions): Add fma.  Update calls to FUNC.
8818         (handle_input_arg): Add argument exact_args.
8819         (add_test): Update call to handle_input_arg.
8820         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8821         (output_for_one_input_case): Update call to calc_generic_results.
8822         Recalculate exact zero results in each rounding mode.
8823
8824         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8825         non-negative before setting low bit.
8826         * math/auto-libm-test-in: Mark one asin test possibly having
8827         spurious underflow.
8828         * math/auto-libm-test-out: Regenerated.
8829         * sysdeps/i386/fpu/libm-test-ulps: Update.
8830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8831
8832 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8833
8834         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8835         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8836         ports/sysdeps/unix/sysv/linux/microblaze.
8837         * README: Add missing listing for microblaze*-*-linux-gnu.
8838
8839 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8840
8841         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8842         * sysdeps/unix/sysv/linux/ia64: Move directory from
8843         ports/sysdeps/unix/sysv/linux/ia64.
8844         * README: Update listing for ia64-*-linux-gnu.
8845
8846 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8847             Joseph Myers  <joseph@codesourcery.com>
8848
8849         * Makeconfig (test-name): New variable.
8850         (evaluate-test): Likewise.
8851         * Makerules (do-test-clean): Remove .test-result files.
8852         (common-mostlyclean): Likewise.
8853         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8854         * scripts/evaluate-test.sh: New file.
8855
8856 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8857
8858         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8859         separate $(objpfx)tst-fopenloc-cmp.out and
8860         $(objpfx)tst-fopenloc-mem.out targets.
8861         (tests): Update dependencies.
8862         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8863         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8864         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8865         (tst-rxspencer-no-utf8-ARGS): New variable.
8866         (tst-rxspencer-no-utf8-ENV): Likewise.
8867         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8868         instead of $(objpfx)tst-rxspencer-mem.
8869         ($(objpfx)tst-rxspencer-mem): Change target to
8870         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8871         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8872         * posix/tst-rxspencer-no-utf8.c: New file.
8873
8874         * elf/Makefile ($(objpfx)order.out): Remove rule.
8875         [$(run-built-tests) = yes] (tests): Depend on
8876         $(objpfx)order-cmp.out.
8877         ($(objpfx)order-cmp.out): New rule.
8878         [$(run-built-tests) = yes] (tests): Depend on
8879         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8880         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8881         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8882         $(objpfx)tst-array5-static-cmp.out.
8883         ($(objpfx)tst-array1.out): Remove rule.
8884         ($(objpfx)tst-array1-cmp.out): New rule.
8885         ($(objpfx)tst-array1-static.out): Remove rule.
8886         ($(objpfx)tst-array1-static-cmp.out): New rule.
8887         ($(objpfx)tst-array2.out): Remove rule.
8888         ($(objpfx)tst-array2-cmp.out): New rule.
8889         ($(objpfx)tst-array3.out): Remove rule.
8890         ($(objpfx)tst-array3-cmp.out): New rule.
8891         ($(objpfx)tst-array4.out): Remove rule.
8892         ($(objpfx)tst-array4-cmp.out): New rule.
8893         ($(objpfx)tst-array5.out): Remove rule.
8894         ($(objpfx)tst-array5-cmp.out): New rule.
8895         ($(objpfx)tst-array5-static.out): Remove rule.
8896         ($(objpfx)tst-array5-static-cmp.out): New rule.
8897         [$(run-built-tests) = yes] (tests): Depend on
8898         $(objpfx)order2-cmp.out.
8899         ($(objpfx)order2.out): Remove rule.
8900         ($(objpfx)order2-cmp.out): New rule.
8901         ($(objpfx)tst-initorder.out): Remove rule.
8902         [$(run-built-tests) = yes] (tests): Depend on
8903         $(objpfx)tst-initorder-cmp.out.
8904         ($(objpfx)tst-initorder-cmp.out): New rule.
8905         ($(objpfx)tst-initorder2.out): Remove rule.
8906         [$(run-built-tests) = yes] (tests): Depend on
8907         $(objpfx)tst-initorder2-cmp.out.
8908         ($(objpfx)tst-initorder2-cmp.out): New rule.
8909         [$(run-built-tests) = yes] (tests): Depend on
8910         $(objpfx)tst-unused-dep-cmp.out.
8911         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8912         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8913         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8914         on $(objpfx)tst-setvbuf1-cmp.out.
8915         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8916         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8917         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8918         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8919         ($(objpfx)tst-svc.out): Remove rule.
8920         ($(objpfx)tst-svc-cmp.out): New rule.
8921
8922 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8923
8924         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8925         * ctype/ctype.h [__USE_MISC]: Likewise.
8926         * dirent/dirent.h [__USE_MISC]: Likewise.
8927         * grp/grp.h [__USE_MISC]: Likewise.
8928         * io/fcntl.h [__USE_MISC]: Likewise.
8929         * io/sys/stat.h [__USE_MISC]: Likewise.
8930         * libio/stdio.h [__USE_MISC]: Likewise.
8931         * posix/unistd.h [__USE_MISC]: Likewise.
8932         * pwd/pwd.h [__USE_MISC]: Likewise.
8933         * stdlib.h [__USE_MISC]: Likewise.
8934         * string/bits/string2.h [__USE_MISC]: Likewise.
8935         * string/string.h [__USE_MISC]: Likewise.
8936         * time/time.h [__USE_MISC]: Likewise.
8937
8938 2014-02-13  Andreas Schwab  <schwab@suse.de>
8939
8940         [BZ #16574]
8941         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8942         second answer buffer if it was separately allocated.
8943
8944 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8945
8946         * sysdeps/mips/math-tests.h: Include <features.h>.
8947         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8948         (ROUNDING_TESTS_long_double): Do not define.
8949         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8950         (EXCEPTION_TESTS_long_double): Likewise.
8951         * sysdeps/mips/mips64/libm-test-ulps: Update.
8952
8953         * include/features.h (__USE_BSD): Remove macro definitions.
8954         (__USE_SVID): Likewise.
8955         (_BSD_SOURCE): Likewise.
8956         (_SVID_SOURCE): Likewise.
8957         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8958         from definition of _DEFAULT_SOURCE.
8959         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8960         [_DEFAULT_SOURCE].
8961         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8962         * bits/mman.h [__USE_BSD]: Likewise.
8963         * bits/termios.h [__USE_BSD]: Likewise.
8964         * bits/waitstatus.h [__USE_BSD]: Likewise.
8965         * ctype/ctype.h [__USE_SVID]: Likewise.
8966         * dirent/dirent.h [__USE_BSD]: Likewise.
8967         * grp/grp.h [__USE_SVID]: Likewise.
8968         [__USE_BSD]: Likewise.
8969         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8970         * io/fcntl.h [__USE_BSD]: Likewise.
8971         * io/ftw.h [__USE_BSD]: Likewise.
8972         * io/sys/stat.h [__USE_BSD]: Likewise.
8973         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8974         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8975         * libio/stdio.h [__USE_SVID]: Likewise.
8976         [__USE_BSD]: Likewise.
8977         * math/math.h [__USE_SVID]: Likewise.
8978         [__USE_BSD]: Likewise.
8979         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8980         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8981         * misc/search.h [__USE_SVID]: Likewise.
8982         * misc/sys/mman.h [__USE_BSD]: Likewise.
8983         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8984         * misc/sys/uio.h [__USE_BSD]: Likewise.
8985         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8986         * posix/glob.h [__USE_BSD]: Likewise.
8987         * posix/regex.h [__USE_BSD]: Likewise.
8988         * posix/sys/types.h [__USE_BSD]: Likewise.
8989         [__USE_SVID]: Likewise.
8990         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8991         * posix/sys/wait.h [__USE_BSD]: Likewise.
8992         [__USE_SVID]: Likewise.
8993         * posix/unistd.h [__USE_BSD]: Likewise.
8994         [__USE_SVID]: Likewise.
8995         * pwd/pwd.h [__USE_SVID]: Likewise.
8996         * resolv/netdb.h [__USE_BSD]: Likewise.
8997         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8998         * signal/signal.h [__USE_BSD]: Likewise.
8999         [__USE_SVID]: Likewise.
9000         * socket/sys/socket.h [__USE_BSD]: Likewise.
9001         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9002         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9003         [__USE_SVID]: Likewise.
9004         * string/bits/string2.h [__USE_BSD]: Likewise.
9005         [__USE_SVID]: Likewise.
9006         * string/bits/string3.h [__USE_BSD]: Likewise.
9007         * string/endian.h [__USE_BSD]: Likewise.
9008         * string/string.h [__USE_SVID]: Likewise.
9009         [__USE_BSD]: Likewise.
9010         * string/strings.h [__USE_BSD]: Likewise.
9011         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9012         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9013         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9014         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9015         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9016         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9017         Likewise.
9018         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9019         Likewise.
9020         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9021         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9022         Likewise.
9023         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9024         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9025         Likewise.
9026         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9027         Likewise.
9028         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9029         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9030         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9031         Likewise.
9032         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9033         Likewise.
9034         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9035         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9036         * termios/termios.h [__USE_BSD]: Likewise.
9037         * time/sys/time.h [__USE_BSD]: Likewise.
9038         * time/time.h [__USE_BSD]: Likewise.
9039         [__USE_SVID]: Likewise.
9040
9041         * Makefile (subdir_targets): Remove subdir_lint.out.
9042
9043         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9044         (do-tst-printf): Likewise.
9045         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9046         $(objpfx)tst-printf.out.
9047
9048         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9049
9050         * Makerules (check-abi-%): Change target to
9051         $(objpfx)check-abi-%.out.
9052         (check-abi target): Update dependencies.
9053         (check-abi-pattern variable): Redirect output of diff to $@.
9054         (check-abi variable): Likewise.
9055         * elf/Makefile (check-abi): Update dependencies.
9056
9057         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9058         unused.
9059         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9060         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9061         subnormal range.
9062         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9063         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9064         value has largest subnormal exponent.
9065         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9066         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9067         * sysdeps/aarch64/soft-fp/sfp-machine.h
9068         (_FP_TININESS_AFTER_ROUNDING): New macro.
9069         * sysdeps/alpha/soft-fp/sfp-machine.h
9070         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9071         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9072         Likewise.
9073         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9074         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9075         * sysdeps/mips/soft-fp/sfp-machine.h
9076         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9077         * sysdeps/powerpc/soft-fp/sfp-machine.h
9078         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9079         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9080         Likewise.
9081         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9082         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9083         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9084         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9085         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9086         Likewise.
9087
9088 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9089
9090         [BZ #16545]
9091         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9092         model 1.
9093
9094 2014-02-12  Richard Henderson  <rth@redhat.com>
9095
9096         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9097         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9098         * sysdeps/unix/sysv/linux/alpha: Move directory from
9099         ports/sysdeps/unix/sysv/linux/alpha.
9100         * README: Update listing for alpha-*-linux-gnu.
9101
9102 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9103
9104         * include/features.h: Update comment documenting feature test
9105         macros.
9106         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9107         _DEFAULT_SOURCE.
9108         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9109         (_SVID_SOURCE): Likewise.
9110         (_DEFAULT_SOURCE): Update description of default features.
9111         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9112         with _GNU_SOURCE.
9113         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9114         (S_ISVTX): Likewise.
9115         * manual/math.texi (Mathematical Constants): Likewise.
9116         * manual/signal.texi (Interrupted Primitives): Likewise.
9117         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9118         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9119         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9120         Don't refer to _SVID_SOURCE in warning text.
9121
9122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9123
9124         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9125         already defined.
9126         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9127         * sysdeps/mips/dl-lookup.c: Remove.
9128         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9129
9130 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9131
9132         [BZ #16447]
9133         * math/auto-libm-test-in: Add testcase for expl.
9134         * math/auto-libm-test-out: Regenerate.
9135         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9136         calculation of unsafe.
9137         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9138
9139 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9140
9141         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9142         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9143         ports/sysdeps/unix/sysv/linux/aarch64.
9144         * README: Update listing for aarch64*-*-linux-gnu.
9145
9146 2014-02-11  Will Newton  <will.newton@linaro.org>
9147
9148         * manual/probes.texi (Mathematical Function Probes): Use
9149         "triggered" instead of "hit".
9150
9151         * manual/probes.texi (Internal Probes): Add documentation
9152         of setjmp, longjmp and longjmp_target probes.
9153
9154         * include/stap-probe.h: Add comment about probe argument
9155         format.
9156
9157         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9158         definition.  (tr_where, tr_freehook, tr_mallochook,
9159         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9160
9161 2014-02-11  David S. Miller  <davem@davemloft.net>
9162
9163         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9164         processing int_tests.
9165
9166 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9167
9168         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9169         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9170         * sysdeps/unix/sysv/linux/mips: Move directory from
9171         ports/sysdeps/unix/sysv/linux/mips.
9172         * README: Update listing for mips-*-linux-gnu and
9173         mips64-*-linux-gnu.
9174
9175 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9176
9177         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9178         * sysdeps/unix/sysv/linux/m68k: Move directory from
9179         ports/sysdeps/unix/sysv/linux/m68k.
9180         * README: Update listing for m68k-*-linux-gnu.
9181
9182 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9183
9184         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9185         * sysdeps/unix/sysv/linux/generic: Move directory from
9186         ports/sysdeps/unix/sysv/linux/generic.
9187         * sysdeps/unix/sysv/linux/tile: Move directory from
9188         ports/sysdeps/unix/sysv/linux/tile.
9189         * README: Update listing for tile*-*-linux-gnu.
9190
9191 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9192
9193         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9194         __builtin_expect.
9195         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9196         * catgets/open_catalog.c (__open_catalog): Likewise.
9197         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9198         * debug/confstr_chk.c: Likewise.
9199         * debug/fread_chk.c (__fread_chk): Likewise.
9200         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9201         * debug/getgroups_chk.c: Likewise.
9202         * debug/mbsnrtowcs_chk.c: Likewise.
9203         * debug/mbsrtowcs_chk.c: Likewise.
9204         * debug/mbstowcs_chk.c: Likewise.
9205         * debug/memcpy_chk.c: Likewise.
9206         * debug/memmove_chk.c: Likewise.
9207         * debug/mempcpy_chk.c: Likewise.
9208         * debug/memset_chk.c: Likewise.
9209         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9210         * debug/strcat_chk.c (__strcat_chk): Likewise.
9211         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9212         * debug/strncat_chk.c (__strncat_chk): Likewise.
9213         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9214         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9215         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9216         * debug/wcpncpy_chk.c: Likewise.
9217         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9218         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9219         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9220         * debug/wcsncpy_chk.c: Likewise.
9221         * debug/wcsnrtombs_chk.c: Likewise.
9222         * debug/wcsrtombs_chk.c: Likewise.
9223         * debug/wcstombs_chk.c: Likewise.
9224         * debug/wmemcpy_chk.c: Likewise.
9225         * debug/wmemmove_chk.c: Likewise.
9226         * debug/wmempcpy_chk.c: Likewise.
9227         * debug/wmemset_chk.c: Likewise.
9228         * dirent/scandirat.c (SCANDIRAT): Likewise.
9229         * dlfcn/dladdr1.c (dladdr1): Likewise.
9230         * dlfcn/dladdr.c (dladdr): Likewise.
9231         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9232         * dlfcn/dlerror.c (__dlerror): Likewise.
9233         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9234         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9235         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9236         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9237         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9238         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9239         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9240         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9241         Likewise.
9242         * elf/dl-conflict.c: Likewise.
9243         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9244         * elf/dl-dst.h: Likewise.
9245         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9246         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9247         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9248         * elf/dl-init.c (call_init, _dl_init): Likewise.
9249         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9250         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9251         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9252         Likewise.
9253         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9254         Likewise.
9255         * elf/dl-minimal.c (__libc_memalign): Likewise.
9256         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9257         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9258         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9259         * elf/dl-sym.c (do_sym): Likewise.
9260         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9261         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9262         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9263         * elf/dl-writev.h (_dl_writev): Likewise.
9264         * elf/ldconfig.c (search_dir): Likewise.
9265         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9266         (dl_main): Likewise.
9267         * elf/setup-vdso.h (setup_vdso): Likewise.
9268         * grp/compat-initgroups.c (compat_call): Likewise.
9269         * grp/fgetgrent.c (fgetgrent): Likewise.
9270         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9271         * grp/putgrent.c (putgrent): Likewise.
9272         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9273         Likewise.
9274         * hurd/hurdinit.c: Likewise.
9275         * iconvdata/8bit-gap.c (struct): Likewise.
9276         * iconvdata/ansi_x3.110.c : Likewise.
9277         * iconvdata/big5.c : Likewise.
9278         * iconvdata/big5hkscs.c : Likewise.
9279         * iconvdata/cp1255.c: Likewise.
9280         * iconvdata/cp1258.c : Likewise.
9281         * iconvdata/cp932.c : Likewise.
9282         * iconvdata/euc-cn.c: Likewise.
9283         * iconvdata/euc-jisx0213.c : Likewise.
9284         * iconvdata/euc-jp.c: Likewise.
9285         * iconvdata/euc-jp-ms.c : Likewise.
9286         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9287         * iconvdata/gb18030.c : Likewise.
9288         * iconvdata/gbbig5.c (const): Likewise.
9289         * iconvdata/gbgbk.c: Likewise.
9290         * iconvdata/gbk.c : Likewise.
9291         * iconvdata/ibm1364.c : Likewise.
9292         * iconvdata/ibm930.c : Likewise.
9293         * iconvdata/ibm932.c: Likewise.
9294         * iconvdata/ibm933.c : Likewise.
9295         * iconvdata/ibm935.c : Likewise.
9296         * iconvdata/ibm937.c : Likewise.
9297         * iconvdata/ibm939.c : Likewise.
9298         * iconvdata/ibm943.c: Likewise.
9299         * iconvdata/iso_11548-1.c: Likewise.
9300         * iconvdata/iso-2022-cn.c : Likewise.
9301         * iconvdata/iso-2022-cn-ext.c : Likewise.
9302         * iconvdata/iso-2022-jp-3.c: Likewise.
9303         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9304         * iconvdata/iso-2022-kr.c : Likewise.
9305         * iconvdata/iso646.c (gconv_end): Likewise.
9306         * iconvdata/iso_6937-2.c : Likewise.
9307         * iconvdata/iso_6937.c : Likewise.
9308         * iconvdata/iso8859-1.c: Likewise.
9309         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9310         * iconvdata/shift_jisx0213.c : Likewise.
9311         * iconvdata/sjis.c : Likewise.
9312         * iconvdata/t.61.c : Likewise.
9313         * iconvdata/tcvn5712-1.c : Likewise.
9314         * iconvdata/tscii.c: Likewise.
9315         * iconvdata/uhc.c : Likewise.
9316         * iconvdata/unicode.c (gconv_end): Likewise.
9317         * iconvdata/utf-16.c (gconv_end): Likewise.
9318         * iconvdata/utf-32.c (gconv_end): Likewise.
9319         * iconvdata/utf-7.c (base64): Likewise.
9320         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9321         * iconv/gconv_close.c (__gconv_close): Likewise.
9322         * iconv/gconv_open.c (__gconv_open): Likewise.
9323         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9324         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9325         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9326         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9327         (ucs4le_internal_loop_single): Likewise.
9328         * iconv/iconv.c (iconv): Likewise.
9329         * iconv/iconv_close.c: Likewise.
9330         * iconv/loop.c (SINGLE): Likewise.
9331         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9332         * include/atomic.h: Likewise.
9333         * inet/inet6_option.c (option_alloc): Likewise.
9334         * intl/bindtextdom.c (set_binding_values): Likewise.
9335         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9336         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9337         * intl/localealias.c (read_alias_file): Likewise.
9338         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9339         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9340         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9341         * libio/fmemopen.c (fmemopen): Likewise.
9342         * libio/iofgets.c (_IO_fgets): Likewise.
9343         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9344         * libio/iofgetws.c (fgetws): Likewise.
9345         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9346         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9347         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9348         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9349         * locale/findlocale.c (_nl_find_locale): Likewise.
9350         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9351         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9352         Likewise.
9353         * locale/setlocale.c (setlocale): Likewise.
9354         * login/programs/pt_chown.c (main): Likewise.
9355         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9356         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9357         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9358         (mmap, mmap64, mremap, munmap): Likewise.
9359         * math/e_exp2l.c: Likewise.
9360         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9361         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9362         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9363         * math/s_catan.c (__catan): Likewise.
9364         * math/s_catanf.c (__catanf): Likewise.
9365         * math/s_catanh.c (__catanh): Likewise.
9366         * math/s_catanhf.c (__catanhf): Likewise.
9367         * math/s_catanhl.c (__catanhl): Likewise.
9368         * math/s_catanl.c (__catanl): Likewise.
9369         * math/s_ccosh.c (__ccosh): Likewise.
9370         * math/s_ccoshf.c (__ccoshf): Likewise.
9371         * math/s_ccoshl.c (__ccoshl): Likewise.
9372         * math/s_cexp.c (__cexp): Likewise.
9373         * math/s_cexpf.c (__cexpf): Likewise.
9374         * math/s_cexpl.c (__cexpl): Likewise.
9375         * math/s_clog10.c (__clog10): Likewise.
9376         * math/s_clog10f.c (__clog10f): Likewise.
9377         * math/s_clog10l.c (__clog10l): Likewise.
9378         * math/s_clog.c (__clog): Likewise.
9379         * math/s_clogf.c (__clogf): Likewise.
9380         * math/s_clogl.c (__clogl): Likewise.
9381         * math/s_csin.c (__csin): Likewise.
9382         * math/s_csinf.c (__csinf): Likewise.
9383         * math/s_csinh.c (__csinh): Likewise.
9384         * math/s_csinhf.c (__csinhf): Likewise.
9385         * math/s_csinhl.c (__csinhl): Likewise.
9386         * math/s_csinl.c (__csinl): Likewise.
9387         * math/s_csqrt.c (__csqrt): Likewise.
9388         * math/s_csqrtf.c (__csqrtf): Likewise.
9389         * math/s_csqrtl.c (__csqrtl): Likewise.
9390         * math/s_ctan.c (__ctan): Likewise.
9391         * math/s_ctanf.c (__ctanf): Likewise.
9392         * math/s_ctanh.c (__ctanh): Likewise.
9393         * math/s_ctanhf.c (__ctanhf): Likewise.
9394         * math/s_ctanhl.c (__ctanhl): Likewise.
9395         * math/s_ctanl.c (__ctanl): Likewise.
9396         * math/w_pow.c: Likewise.
9397         * math/w_powf.c: Likewise.
9398         * math/w_powl.c: Likewise.
9399         * math/w_scalb.c (sysv_scalb): Likewise.
9400         * math/w_scalbf.c (sysv_scalbf): Likewise.
9401         * math/w_scalbl.c (sysv_scalbl): Likewise.
9402         * misc/error.c (error_tail): Likewise.
9403         * misc/pselect.c (__pselect): Likewise.
9404         * nis/nis_callback.c (__nis_create_callback): Likewise.
9405         * nis/nis_call.c (__nisfind_server): Likewise.
9406         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9407         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9408         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9409         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9410         * nis/nis_lookup.c (nis_lookup): Likewise.
9411         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9412         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9413         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9414         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9415         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9416         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9417         * nis/nss_compat/compat-initgroups.c (add_group)
9418         (internal_getgrent_r): Likewise.
9419         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9420         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9421         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9422         (internal_getspnam_r): Likewise.
9423         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9424         (_nss_nis_getaliasbyname_r): Likewise.
9425         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9426         (_nss_nis_getntohost_r): Likewise.
9427         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9428         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9429         (_nss_nis_getgrgid_r): Likewise.
9430         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9431         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9432         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9433         (_nss_nis_gethostbyname4_r): Likewise.
9434         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9435         (initgroups_netid): Likewise.
9436         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9437         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9438         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9439         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9440         (_nss_nis_getprotobynumber_r): Likewise.
9441         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9442         (_nss_nis_getsecretkey): Likewise.
9443         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9444         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9445         (_nss_nis_getpwuid_r): Likewise.
9446         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9447         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9448         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9449         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9450         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9451         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9452         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9453         Likewise.
9454         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9455         (_nss_nisplus_getntohost_r): Likewise.
9456         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9457         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9458         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9459         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9460         Likewise.
9461         * nis/nss_nisplus/nisplus-initgroups.c
9462         (_nss_nisplus_initgroups_dyn): Likewise.
9463         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9464         (_nss_nisplus_getnetbyaddr_r): Likewise.
9465         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9466         (_nss_nisplus_getprotobynumber_r): Likewise.
9467         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9468         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9469         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9470         Likewise.
9471         * nis/nss_nisplus/nisplus-service.c
9472         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9473         (_nss_nisplus_getservbyport_r): Likewise.
9474         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9475         (_nss_nisplus_getspnam_r): Likewise.
9476         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9477         Likewise.
9478         * nscd/aicache.c (addhstaiX): Likewise.
9479         * nscd/cache.c (cache_search, prune_cache): Likewise.
9480         * nscd/connections.c (register_traced_file, send_ro_fd)
9481         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9482         (main_loop_epoll): Likewise.
9483         * nscd/grpcache.c (addgrbyX): Likewise.
9484         * nscd/hstcache.c (addhstbyX): Likewise.
9485         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9486         * nscd/mem.c (gc, mempool_alloc): Likewise.
9487         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9488         (addinnetgrX): Likewise.
9489         * nscd/nscd-client.h (__nscd_acquire_maplock)
9490         (__nscd_drop_map_ref): Likewise.
9491         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9492         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9493         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9494         Likewise.
9495         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9496         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9497         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9498         (__nscd_get_map_ref): Likewise.
9499         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9500         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9501         Likewise.
9502         * nscd/pwdcache.c (addpwbyX): Likewise.
9503         * nscd/selinux.c (preserve_capabilities): Likewise.
9504         * nscd/servicescache.c (addservbyX): Likewise.
9505         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9506         * posix/fnmatch.c (fnmatch): Likewise.
9507         * posix/getopt.c (_getopt_internal_r): Likewise.
9508         * posix/glob.c (glob, glob_in_dir): Likewise.
9509         * posix/wordexp.c (exec_comm_child): Likewise.
9510         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9511         (getanswer_r, gaih_getanswer_slice): Likewise.
9512         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9513         * resolv/res_init.c: Likewise.
9514         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9515         * resolv/res_query.c (__libc_res_nquery): Likewise.
9516         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9517         Likewise.
9518         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9519         * stdio-common/perror.c (perror): Likewise.
9520         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9521         * stdio-common/tmpnam.c (tmpnam): Likewise.
9522         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9523         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9524         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9525         Likewise.
9526         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9527         * stdlib/putenv.c (putenv): Likewise.
9528         * stdlib/setenv.c (__add_to_environ): Likewise.
9529         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9530         * stdlib/strtol_l.c (INTERNAL): Likewise.
9531         * string/memmem.c (memmem): Likewise.
9532         * string/strerror.c (strerror): Likewise.
9533         * string/strnlen.c (__strnlen): Likewise.
9534         * string/test-memmem.c (simple_memmem): Likewise.
9535         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9536         * sunrpc/pm_getport.c (__get_socket): Likewise.
9537         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9538         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9539         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9540         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9541         Likewise.
9542         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9543         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9544         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9545         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9546         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9547         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9548         Likewise.
9549         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9550         Likewise.
9551         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9552         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9553         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9554         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9555         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9556         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9557         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9558         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9559         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9560         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9561         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9562         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9563         Likewise.
9564         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9565         Likewise.
9566         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9567         Likewise.
9568         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9569         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9570         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9571         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9572         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9573         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9574         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9575         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9576         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9577         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9578         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9579         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9580         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9581         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9582         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9583         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9584         Likewise.
9585         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9586         Likewise.
9587         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9588         Likewise.
9589         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9590         Likewise.
9591         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9593         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9594         Likewise.
9595         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9596         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9597         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9598         * sysdeps/posix/sleep.c: Likewise.
9599         * sysdeps/posix/tempname.c: Likewise.
9600         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9601         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9602         Likewise.
9603         * sysdeps/powerpc/powerpc32/dl-machine.h
9604         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9605         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9606         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9607         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9608         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9609         Likewise.
9610         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9611         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9612         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9613         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9614         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9615         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9616         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9617         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9618         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9619         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9620         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9621         (elf_machine_lazy_rel): Likewise.
9622         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9623         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9624         (elf_machine_lazy_rel): Likewise.
9625         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9626         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9627         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9628         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9629         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9630         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9631         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9632         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9633         Likewise.
9634         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9635         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9636         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9637         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9638         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9639         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9640         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9641         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9642         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9643         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9644         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9645         Likewise.
9646         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9647         (__posix_fallocate64_l64): Likewise.
9648         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9649         (posix_fallocate): Likewise.
9650         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9651         Likewise.
9652         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9653         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9654         (getifaddrs_internal): Likewise.
9655         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9656         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9657         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9658         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9659         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9660         (__posix_fallocate64_l64): Likewise.
9661         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9662         Likewise.
9663         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9664         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9665         (__get_clockfreq): Likewise.
9666         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9667         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9668         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9669         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9671         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9672         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9673         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9674         Likewise.
9675         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9676         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9677         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9678         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9679         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9680         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9681         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9682         Likewise.
9683         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9684         (posix_fallocate): Likewise.
9685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9686         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9687         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9688         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9689         (elf_machine_rela, elf_machine_rela_relative)
9690         (elf_machine_lazy_rel): Likewise.
9691         * time/asctime.c (asctime_internal): Likewise.
9692         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9693         * time/tzset.c (__tzset_parse_tz): Likewise.
9694         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9695         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9696         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9697         * wcsmbs/wcsmbsload.h: Likewise.
9698
9699         [BZ #15894]
9700         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9701
9702         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9703         (arena_get2): Remove THREAD_STATS conditionals.
9704         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9705         (__malloc_stats, int): Likewise.
9706
9707 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9708
9709         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9710         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9711
9712         * manual/setjmp.texi: Fix typos/grammar errors.
9713
9714         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9715         Only return early when n is <= 0.  Delete unused return statement.
9716
9717         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9718         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9719         * debug/tst-longjmp_chk3.c: New file.
9720
9721         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9722         (test_main): Replace code with set_fortify_handler call.
9723         * debug/test-strcpy_chk.c: Likewise.
9724         * debug/tst-chk1.c: Likewise.
9725         * debug/tst-longjmp_chk.c: Likewise.
9726         * test-skeleton.c: Include fcntl.h & paths.h
9727         (set_fortify_handler): Define.
9728
9729         * debug/tst-longjmp_chk.c: Add header comment and include
9730         ../test-skeleton.c.
9731         (do_test): Mark static.
9732         (TEST_FUNCTION): Define.
9733
9734         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9735         (IP_PMTUDISC_INTERFACE): Likewise.
9736         (IP_MULTICAST_IF): Likewise.
9737         (IP_MULTICAST_TTL): Likewise.
9738         (IP_MULTICAST_LOOP): Likewise.
9739         (IP_ADD_MEMBERSHIP): Likewise.
9740         (IP_DROP_MEMBERSHIP): Likewise.
9741         (IP_UNBLOCK_SOURCE): Likewise.
9742         (IP_BLOCK_SOURCE): Likewise.
9743         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9744         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9745         (IP_MSFILTER): Likewise.
9746         (MCAST_JOIN_GROUP): Likewise.
9747         (MCAST_BLOCK_SOURCE): Likewise.
9748         (MCAST_UNBLOCK_SOURCE): Likewise.
9749         (MCAST_LEAVE_GROUP): Likewise.
9750         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9751         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9752         (MCAST_MSFILTER): Likewise.
9753         (IP_MULTICAST_ALL): Likewise.
9754         (IP_UNICAST_IF): Likewise.
9755
9756         * timezone/Makefile: Delete $(have-ksh) check.
9757         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9758         * timezone/tzselect.ksh: Add +x mode bits.
9759
9760         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9761         (ANON_INODE_FS_MAGIC): Likewise.
9762         (BDEVFS_MAGIC): Likewise.
9763         (BINFMTFS_MAGIC): Likewise.
9764         (BTRFS_TEST_MAGIC): Likewise.
9765         (CRAMFS_MAGIC_WEND): Likewise.
9766         (DEBUGFS_MAGIC): Likewise.
9767         (ECRYPTFS_SUPER_MAGIC): Likewise.
9768         (EXT3_SUPER_MAGIC): Likewise.
9769         (EXT4_SUPER_MAGIC): Likewise.
9770         (FUTEXFS_SUPER_MAGIC): Likewise.
9771         (HOSTFS_SUPER_MAGIC): Likewise.
9772         (HUGETLBFS_MAGIC): Likewise.
9773         (MINIX3_SUPER_MAGIC): Likewise.
9774         (MTD_INODE_FS_MAGIC): Likewise.
9775         (NILFS_SUPER_MAGIC): Likewise.
9776         (OPENPROM_SUPER_MAGIC): Likewise.
9777         (PIPEFS_MAGIC): Likewise.
9778         (PSTOREFS_MAGIC): Likewise.
9779         (QNX6_SUPER_MAGIC): Likewise.
9780         (RAMFS_MAGIC): Likewise.
9781         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9782         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9783         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9784         (SECURITYFS_MAGIC): Likewise.
9785         (SELINUX_MAGIC): Likewise.
9786         (SMACK_MAGIC): Likewise.
9787         (SOCKFS_MAGIC): Likewise.
9788         (SQUASHFS_MAGIC): Likewise.
9789         (STACK_END_MAGIC): Likewise.
9790         (TMPFS_MAGIC): Likewise.
9791         (USBDEVICE_SUPER_MAGIC): Likewise.
9792         (V9FS_MAGIC): Likewise.
9793         (XENFS_SUPER_MAGIC): Likewise.
9794         (CRAMFS_MAGIC): Fix typo in comment.
9795         (EXT2_SUPER_MAGIC): Update comment.
9796         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9797
9798 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9799
9800         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9801         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9802         * sysdeps/unix/sysv/linux/arm: Move directory from
9803         ports/sysdeps/unix/sysv/linux/arm.
9804         * README: Update listing for arm-*-linux-gnueabi.
9805
9806         * README: Remove mention of am33.
9807
9808 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9809
9810         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9811         than the comma operator, to avoid "rhs of comma has no effect"
9812         compiler warnings.
9813         (__sigfillset, __sigandset, __sigorset): Likewise.
9814         * include/signal.h (__sigemptyset): Likewise.
9815         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9816
9817 2014-02-07  Allan McRae  <allan@archlinux.org>
9818
9819         * version.h (RELEASE): Set to "development".
9820         (VERSION): Set to "2.19.90"
9821         * NEWS: Add 2.20 section.
9822
9823 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9824
9825         [BZ #16529]
9826         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9827
9828 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9829
9830         * manual/contrib.texi: Update entry for Carlos O'Donell,
9831         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9832
9833 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9834
9835         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9836
9837         * sysdeps/unix/sysv/linux/kernel-features.h
9838         [__LINUX_KERNEL_VERSION >= 0x020621]
9839         (__ASSUME_PROC_PID_TASK_COMM): Define.
9840
9841 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9842
9843         [BZ #16398]
9844         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9845         conversion when destination buffer does not have enough space.
9846         * libio/tst-ftell-partial-wide.c: New test case.
9847         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9848
9849         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9850         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9851         Leonard and Allan McRae.
9852
9853 2014-02-04  David S. Miller  <davem@davemloft.net>
9854
9855         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9856         32-bit.
9857
9858 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9859
9860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9861         New file
9862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9863         New file
9864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9865         New file.
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9867         New file.
9868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9869         New file.
9870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9871         New file.
9872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9873         New file.
9874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9875         New file.
9876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9877         New file.
9878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9879         New file.
9880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9881         New file.
9882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9883         New file.
9884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9885         New file.
9886
9887 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9888
9889         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9890         * shlib-versions: Likewise.
9891
9892 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9893             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9894
9895         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9896         (abilist-pattern): New variable, set to %-le.abilist.
9897
9898         * Makerules (abilist-pattern): New variable.
9899         (vpath): Use $(abilist-pattern) in place of %.abilist.
9900         (check-abi-% pattern rule): Likewise.
9901         (check-abi, update-abi): Likewise.
9902
9903 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9904
9905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9906
9907 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9908
9909         * manual/startup.texi: Add next, previous, and top entries for
9910         the `Program Arguments' and `Environment Variables' nodes.
9911
9912 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9913
9914         * manual/macros.texi: Add comments before MTASC-safety macros.
9915
9916         * manual/users.texi: Document MTASC-safety properties.
9917
9918         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9919         (pthread_getspecific, pthread_setspecific): Format with
9920         @deftypefun, and add @safety note.
9921         * manual/signal.texi: Move comments that analyze the above
9922         functions to their home place.
9923
9924 2014-02-03  Allan McRae  <allan@archlinux.org>
9925
9926         * po/sl.po: Update Slovenian translation from translation project.
9927
9928 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9929
9930         * manual/time.texi (timegm): Add missing blank after @c.
9931         Reported by Joseph Myers <joseph@codesourcery.com>.
9932
9933 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9934
9935         * manual/check-safety.sh: New.
9936         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9937
9938         * manual/terminal.texi: Document MTASC-safety properties.
9939
9940         * manual/filesys.texi: Document MTASC-safety properties.
9941
9942         * manual/errno.texi: Document MTASC-safety properties.
9943
9944         * manual/intro.texi: Document safety identifiers and
9945         conditionals.
9946
9947         * manual/string.texi (wcstok): Fix prototype.
9948         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9949
9950         * manual/time.texi: Document MTASC-safety properties.
9951
9952         * manual/string.texi: Document MTASC-safety properties.
9953
9954         * manual/threads.texi: Document MTASC-safety properties.
9955
9956         * manual/stdio.texi: Document MTASC-safety properties.
9957
9958         * manual/syslog.texi: Document MTASC-safety properties.
9959
9960         * manual/sysinfo.texi: Document MTASC-safety properties.
9961
9962         * manual/startup.texi: Document MTASC-safety properties.
9963
9964         * manual/socket.texi: Document MTASC-safety properties.
9965
9966         * manual/signal.texi: Document MTASC-safety properties.
9967
9968 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9969
9970         * manual/setjmp.texi: Document MTASC-safety properties.
9971
9972         * manual/search.texi: Document MTASC-safety properties.
9973
9974         * manual/resource.texi: Document MTASC-safety properties.
9975
9976         * manual/process.texi: Document MTASC-safety properties.
9977
9978         * manual/platform.texi: Document MTASC-safety properties.
9979
9980         * manual/pipe.texi: Document MTASC-safety properties.
9981
9982         * manual/pattern.texi: Document MTASC-safety properties.
9983
9984         * manual/message.texi: Document MTASC-safety properties.
9985
9986         [BZ #12751]
9987         * manual/memory.texi: Document MTASC-safety properties.
9988
9989         * manual/math.texi: Document MTASC-safety properties.
9990
9991         * manual/locale.texi: Document MTASC-safety properties.
9992
9993         * manual/llio.texi: Document MTASC-safety properties.
9994
9995         * manual/libdl.texi: New.
9996
9997         * manual/lang.texi: Document MTASC-safety properties.
9998
9999         * manual/job.texi: Document MTASC-safety properties.
10000
10001         * manual/getopt.texi: Document MTASC-safety properties.
10002
10003         * manual/ctype.texi: Document MTASC-safety properties.
10004
10005 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10006
10007         [BZ #16046]
10008         * csu/libc-tls.c (static_map): Remove variable.
10009         (__libc_setup_tls): Use main executable's link map for TLS data.
10010         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10011         casing for LM_ID_BASE and GL(dl_nns).
10012         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10013         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10014         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10015         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10016         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10017         member.
10018         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10019         l_phnum members.
10020
10021 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10022
10023         * manual/debug.texi: Document MTASC-safety properties.
10024
10025 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10026
10027         [BZ #16510]
10028         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10029         of __x86_64__ when disabling x87 inline functions.
10030
10031 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10032
10033         * manual/charset.texi: Document MTASC-safety properties.
10034
10035         * manual/crypt.texi: Document MTASC-safety properties.
10036
10037         * manual/conf.texi: Document MTASC-safety properties.
10038
10039         * manual/arith.texi: Document MTASC-safety properties.
10040
10041         * manual/argp.texi: Document MTASC-safety properties.
10042
10043         * manual/macros.texi: Introduce macros to document multi
10044         thread, asynchronous signal and asynchronous cancellation
10045         safety properties.
10046         * manual/intro.texi: Introduce the properties themselves.
10047
10048 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10049
10050         * sysdeps/sh/sh4/Makefile: New file.
10051
10052 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10053
10054         * math/gen-libm-test.pl ($srcdir): New variable.
10055         ($auto_input): Use it.
10056
10057 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10058
10059         [BZ #16506]
10060         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10061         access beyond array bounds when parsing netgroups file.
10062
10063         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10064         the old buffer before realloc.
10065
10066 2014-01-27  Allan McRae  <allan@archlinux.org>
10067
10068         * po/fr.po: Update French translation from translation project.
10069
10070 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10071
10072         * sysdeps/sh/libm-test-ulps: Regenerate.
10073
10074 2014-01-24  David S. Miller  <davem@davemloft.net>
10075
10076         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10077
10078 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10079
10080         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10081         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10082
10083 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10084
10085         [BZ #16474]
10086         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10087         string pointers after reallocation.
10088
10089 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10090
10091         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10092         __SH4A__ instead of __SH_FPU_ANY__.
10093
10094 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10095
10096         * sysdeps/sh/fpu_control.h: New file.
10097         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10098         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10099         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10100         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10101         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10102         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10103         * sysdeps/sh/sys/ucontext.h: Remove.
10104         * sysdeps/sh/sys: Remove directory.
10105
10106 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10107
10108         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10109         s390/sys/ucontext.h.
10110         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10111         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10112
10113 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10114
10115         [BZ #15605]
10116         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10117
10118 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10119
10120         [BZ#16431]
10121         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10122         Adjust the vDSO correctly for internal calls.
10123         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10124
10125 2014-01-20  Allan McRae  <allan@archlinux.org>
10126
10127         * po/ca.po: Update Catalan translation from translation project.
10128
10129 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10130
10131         * sysdeps/s390/sotruss-lib.c: New file.
10132
10133 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10134
10135         [BZ#16430]
10136         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10137         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10138         local calls issues by not having a PLT stub required for IFUNC calls.
10139         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10140
10141 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10142
10143         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10144         * math/test-fpucw-static.c: Likewise.
10145
10146 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10147
10148         [BZ #16453]
10149         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10150
10151 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10152
10153         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10154         implementation for powerpc.
10155
10156 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10157
10158         [BZ #14782]
10159         * sysdeps/posix/system.c (__libc_system): Do not enable
10160         asynchronous cancellation.
10161
10162 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10163
10164         [BZ #16427]
10165         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10166         handling only for numbers special also in the IEEE case.
10167
10168 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10169
10170         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10171
10172 2014-01-11  Allan McRae  <allan@archlinux.org>
10173
10174         * po/bg.po: Update Bulgarian translation from translation project.
10175
10176         * po/de.po: Update German translation from translation project.
10177
10178 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10179
10180         * sysdeps/generic/gcc-compat.h: New file.
10181
10182 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10183
10184         * benchtests/asin-inputs: Correct slow inputs.
10185         * benchtests/acos-inputs: Likewise.
10186
10187 2014-01-10  Allan McRae  <allan@archlinux.org>
10188
10189         * po:sv.po: Update Swedish translation from translation project.
10190
10191         * po/vi.po: Update Vietnamese translation from translation project.
10192
10193         * po/eo.po: Update Esperanto translation from translation project.
10194
10195         * po/cs.po: Update Czech translation from translation project.
10196
10197         * po/nl.po: Update Dutch translation from translation project.
10198
10199         * po/pl.po: Update Polish translation from translation project.
10200
10201         * po/ru.po: Update Russian translation from translation project.
10202
10203         * po/uk.po: Update Ukrainian translation from translation project.
10204
10205 2014-01-08  Brooks Moses  <bmoses@google.com>
10206
10207         * elf/dl-load.c: Fix comment typo.
10208
10209 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10210
10211         * po/header.pot: Rename to...
10212         * po/pot.header: ... this.
10213         * po/Makefile: Use pot.header.
10214
10215 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10216             Maxim Kuvyrkov  <maxim@kugelworks.com>
10217
10218         [BZ #16394]
10219         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10220         SRC and DEST against LEN.
10221
10222 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10223
10224         [BZ #16414]
10225         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10226         implementation.
10227         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10228
10229 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10230
10231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10232
10233 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10234
10235         [BZ #16408]
10236         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10237         for large positive arguments.
10238
10239 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10240
10241         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10242
10243         * math/auto-libm-test-in: Mark various tests with
10244         xfail-rounding:ldbl-128ibm.
10245         * math/auto-libm-test-out: Regenerated.
10246
10247         [BZ #16407]
10248         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10249         Increase overflow threshold.
10250
10251 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10252
10253         [BZ #14286]
10254         * stdio-common/vfprintf.c: Check for integer overflow.
10255
10256 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10257
10258         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10259         the first argument and return value of __tls_get_addr_internal.
10260
10261 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10262
10263         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10264         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10265
10266 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10267
10268         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10269         * sysdeps/s390/rtld-global-offsets.sym: New file.
10270         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10271         GLIBC_2.19 symbol.
10272         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10273         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10274         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10275         ... this.
10276         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10277         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10278         ... this.
10279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10280         Regenerate.
10281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10282         Regenerate.
10283         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10284         halfs of GPRs for high_gprs contexts.
10285         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10286         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10287         field.
10288         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10289         uc_flags field.
10290         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10291         64 bit versions:
10292         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10293         for high GPRs (uc_high_gprs) and for future extensions
10294         (__reserved).
10295         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10296         for future extensions (__reserved).
10297         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10298         64 bit versions:
10299         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10300         SC_HIGHGPRS offset definition.
10301         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10302         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10303
10304         * Versions.def: Add GLIBC_2.19 for libpthread.
10305         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10306         siglongjmp for libpthread with GLIBC_2.19 symver.
10307         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10308         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10309         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10310         * sysdeps/s390/__longjmp.c: New file.
10311         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10312         * sysdeps/s390/longjmp.c: New file.
10313         * sysdeps/s390/setjmp.S: New file.
10314         * sysdeps/s390/sigjmp.S: New file.
10315         * sysdeps/s390/v1-longjmp.c: New file.
10316         * sysdeps/s390/v1-setjmp.h: New file.
10317         * sysdeps/s390/v1-sigjmp.c: New file.
10318         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10319         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10320         GLIBC_2.19 version.
10321         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10322         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10323         versioned symbols for ____longjmp_chk.
10324         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10325         Likewise.
10326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10327         Regenerate.
10328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10329         Regenerate.
10330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10331         Regenerate.
10332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10333         Regenerate.
10334         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10335         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10336         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10337         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10338         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10339         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10340         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10341         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10342         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10343         * sysdeps/s390/rtld-__longjmp.c: New file.
10344         * sysdeps/s390/rtld-setjmp.S: New file.
10345
10346 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10347
10348         [BZ #16400]
10349         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10350         Return -__logl (x) for small positive arguments without evaluating
10351         a polynomial.
10352
10353 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10354
10355         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10356         Rename to ...
10357         (__ptrace_peeksiginfo_args): ... this.
10358         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10359         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10360         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10361
10362 2014-01-06  Allan McRae  <allan@archlinux.org>
10363
10364         * inet/netinet/in.h: Fix typo in comment.
10365
10366 2014-01-05  Andreas Jaeger  <aj@suse.de>
10367
10368         * sysdeps/i386/fpu/libm-test-ulps: Update.
10369
10370 2014-01-05  Allan McRae  <allan@archlinux.org>
10371
10372         * po/libc.pot: Regenerated.
10373
10374         * malloc/memusagestat.c: Fix gettext call formatting.
10375
10376 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10377
10378         * nscd/nscd.c: Improve usage() output.
10379
10380 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10381
10382         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10383         * sysdeps/unix/sysv/linux/configure: Regenerated.
10384         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10385         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10386
10387 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10388
10389         [BZ #16390]
10390         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10391         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10392
10393 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10394
10395         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10396         extra tokens at end of #undef directive.
10397         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10398         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10399         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10400
10401 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10402
10403         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10404
10405         * math/auto-libm-test-in: Mark various tests with
10406         xfail-rounding:ldbl-128ibm.
10407         * math/auto-libm-test-out: Regenerated.
10408
10409 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10410
10411         [BZ #16386]
10412         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10413         numbers with subnormal high part when calculating exponent.
10414
10415         [BZ #16385]
10416         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10417         fabs.
10418
10419         [BZ #16384]
10420         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10421         M_LN2l.
10422         (__ieee754_acoshl): Use __log1pl not __log1p.
10423
10424 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10425
10426         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10427         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10428         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10429         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10430         (reused_arena, arena_get2): Convert to GNU style.
10431         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10432         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10433         (memalign_check, __malloc_set_state): Likewise.
10434         * malloc/mallocbug.c (main): Likewise.
10435         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10436         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10437         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10438         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10439         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10440         (__posix_memalign, malloc_info): Likewise.
10441         * malloc/malloc.h: Likewise.
10442         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10443         (mallochook, memalignhook, reallochook, mabort): Likewise.
10444         * malloc/mcheck.h: Likewise.
10445         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10446         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10447         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10448         * malloc/morecore.c (__default_morecore): Likewise.
10449         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10450         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10451         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10452         (print_and_abort): Likewise.
10453         * malloc/obstack.h: Likewise.
10454         * malloc/set-freeres.c (__libc_freeres): Likewise.
10455         * malloc/tst-mallocstate.c (main): Likewise.
10456         * malloc/tst-mtrace.c (main): Likewise.
10457         * malloc/tst-realloc.c (do_test): Likewise.
10458
10459 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10460
10461         [BZ #16366]
10462         * nscd/netgroupcache.c (do_notfound): New function.
10463         (addgetnetgrentX): Use it.
10464
10465         [BZ # 16365]
10466         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10467         NSS_STATUS_NOTFOUND.
10468
10469 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10470
10471         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10473
10474 2014-01-01  Allan McRae  <allan@archlinux.org>
10475
10476         * scripts/update-copyrights: Update configure input file suffix.
10477
10478         * NEWS: Update copyright year.
10479         * catgets/gencat.c: Likewise.
10480         * csu/version.c: Likewise.
10481         * debug/catchsegv.sh: Likewise.
10482         * debug/pcprofiledump.c: Likewise.
10483         * debug/xtrace.sh: Likewise.
10484         * elf/ldconfig.c: Likewise.
10485         * elf/ldd.bash.in: Likewise.
10486         * elf/pldd.c: Likewise.
10487         * elf/sotruss.ksh: Likewise.
10488         * elf/sprof.c: Likewise.
10489         * iconv/iconv_prog.c: Likewise.
10490         * iconv/iconvconfig.c: Likewise.
10491         * locale/programs/locale.c: Likewise.
10492         * locale/programs/localedef.c: Likewise.
10493         * login/programs/pt_chown.c: Likewise.
10494         * malloc/memusage.sh: Likewise.
10495         * malloc/memusagestat.c: Likewise.
10496         * malloc/mtrace.pl: Likewise.
10497         * manual/libc.texinfo: Likewise.
10498         * nscd/nscd.c: Likewise.
10499         * nss/getent.c: Likewise.
10500         * nss/makedb.c: Likewise.
10501         * posix/getconf.c: Likewise.
10502         * scripts/test-installation.pl: Likewise.
10503
10504         * All files with FSF copyright notices: Update copyright dates
10505         using scripts/update-copyrights.
10506         * intl/plural.c: Regenerated.
10507         * locale/programs/charmap-kw.h: Likewise.
10508         * locale/programs/locfile-kw.h: Likewise.
10509
10510 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10511
10512         * sysdeps/unix/sysv/linux/configure: Regenerated.
10513         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10514         the linux/fanotify.h header.
10515         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10516         HAVE_LINUX_FANOTIFY_H is defined.
10517
10518 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10519
10520         * benchtests/cos-inputs: New inputs.
10521         * benchtests/sin-inputs: Likewise.
10522
10523         * benchtests/atan-inputs: New inputs. Fix name of multiple
10524         precision fallback inputs.
10525
10526         * benchtests/atanh-inputs: New inputs.
10527         * benchtests/tanh-inputs: Likewise.
10528
10529         * benchtests/acosh-inputs: New inputs.
10530         * benchtests/asinh-inputs: Likewise.
10531
10532         * benchtests/cosh-inputs: New inputs.
10533         * benchtests/sinh-inputs: Likewise.
10534
10535         * benchtests/acos-inputs: Add more inputs.
10536         * benchtests/asin-inputs: Likewise.
10537
10538 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10539
10540         [BZ #16375]
10541         * manual/arith.texi: Fix spelling.
10542         * manual/charset.texi: Likewise.
10543         * manual/errno.texi: Likewise.
10544         * manual/filesys.texi: Likewise.
10545         * manual/lang.texi: Likewise.
10546         * manual/llio.texi: Likewise.
10547         * manual/locale.texi: Likewise.
10548         * manual/message.texi: Likewise.
10549         * manual/resource.texi: Likewise.
10550         * manual/search.texi: Likewise.
10551         * manual/setjmp.texi: Likewise.
10552         * manual/stdio.texi: Likewise.
10553         * manual/string.texi: Likewise.
10554         * manual/sysinfo.texi: Likewise.
10555         * manual/time.texi: Likewise.
10556
10557 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10558
10559         * po/sl.po: New file.
10560
10561 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10562
10563         * .gitignore: Add core/.gdbinit/.gdb_history.
10564
10565 2013-12-27  Allan McRae  <allan@archlinux.org>
10566
10567         [BZ #16369]
10568         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10569         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10570
10571 2013-12-24  Brooks Moses  <bmoses@google.com>
10572
10573         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10574         all compilers that claim C++98 compliance, not just GCC.
10575         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10576         Likewise.
10577
10578 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10579
10580         * NEWS: Restore accidentally deleted bug-fix entries.
10581
10582 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10583             Ondřej Bílka  <neleai@seznam.cz>
10584
10585         [BZ #15073]
10586         * malloc/malloc.c (_int_free): Perform sanity check only if we
10587         have_lock.
10588
10589 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10590
10591         [BZ #12986]
10592         * manual/stdio.texi (String Input Conversions): Clarify that character
10593         classes are not supported.
10594
10595 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10596
10597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10598
10599 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10600
10601         [BZ #16337]
10602         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10603         Calculate results for small negative arguments directly rather
10604         than using reflection formula with special underflow handling.
10605
10606         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10607         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10608         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10609         (fchflags): Likewise.
10610         (revoke): Likewise.
10611         (setlogin): Likewise.
10612         (sigaltstack): Likewise.
10613         (wait4): Likewise.
10614         (sigblock): Remove.
10615         (sigsetmask): Likewise.
10616         (wait3): Likewise.
10617         (waitpid): Likewise.
10618         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10619         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10620         file.
10621         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10622         * sysdeps/unix/bsd/Makefile: ... here.
10623         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10624         * sysdeps/unix/bsd/Versions: ... here.
10625         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10626         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10627         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10628         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10629         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10630         * sysdeps/unix/bsd/sigblock.c: ... here.
10631         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10632         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10633         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10634         * sysdeps/unix/bsd/sigvec.c: ... here.
10635         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10636         * sysdeps/unix/bsd/tcdrain.c: ... here.
10637         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10638         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10639         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10640         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10641         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10642         * sysdeps/unix/bsd/wait.c: ... here.
10643         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10644         * sysdeps/unix/bsd/wait3.c: ... here.
10645         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10646         * sysdeps/unix/bsd/waitpid.c: ... here.
10647
10648 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10649
10650         [BZ #16356]
10651         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10652         round-to-nearest for [!USE_AS_EXPM1L].
10653         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10654         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10655         more tests of exp and exp10.  Expect some exp10 tests to miss
10656         exceptions or fail in directed rounding modes.
10657         * math/auto-libm-test-out: Regenerated.
10658         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10659         (exp10_test_tonearest): New function.
10660         (exp10_towardzero_test_data): New array.
10661         (exp10_test_towardzero): New function.
10662         (exp10_downward_test_data): New array.
10663         (exp10_test_downward): New function.
10664         (exp10_upward_test_data): New array.
10665         (exp10_test_upward): New function.
10666         (main): Call the new functions.
10667         * sysdeps/i386/fpu/libm-test-ulps: Update.
10668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10669
10670 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10671
10672         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10673         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10674         * math/auto-libm-test-out: Regenerated.
10675         * math/libm-test.inc (acosh_test_data): Add more tests.
10676         (atanh_test_data): Likewise.
10677         (ceil_test_data): Likewise.
10678         (copysign_test_data): Likewise.
10679         * sysdeps/i386/fpu/libm-test-ulps: Update.
10680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10681
10682         * timezone/checktab.awk: Update from tzcode 2013i.
10683         * timezone/private.h: Likewise.
10684         * timezone/scheck.c: Likewise.
10685         * timezone/tzfile.h: Likewise.
10686         * timezone/tzselect.ksh: Likewise.
10687         * timezone/zdump.c: Likewise.
10688         * timezone/zic.c: Likewise.
10689
10690         * math/auto-libm-test-in: Add tests of cpow.
10691         * math/auto-libm-test-out: Regenerated.
10692         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10693         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10694         mpc_cc_c.
10695         (func_calc_desc): Add mpc_cc_c union field.
10696         (test_functions): Add cpow.
10697         (special_fill_2pi): New function.
10698         (special_real_inputs): Add 2pi.
10699         (calc_generic_results): Handle mpc_cc_c.
10700         * sysdeps/i386/fpu/libm-test-ulps: Update.
10701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10702
10703         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10704         csqrt, ctan and ctanh.
10705         * math/auto-libm-test-out: Regenerated.
10706         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10707         (TEST_COND_x86): Likewise.
10708         (ccos_test_data): Use AUTO_TESTS_c_c.
10709         (ccosh_test_data): Likewise.
10710         (cexp_test_data): Likewise.
10711         (clog_test_data): Likewise.
10712         (csqrt_test_data): Likewise.
10713         (ctan_test_data): Likewise.
10714         (ctan_tonearest_test_data): Likewise.
10715         (ctan_towardzero_test_data): Likewise.
10716         (ctan_downward_test_data): Likewise.
10717         (ctan_upward_test_data): Likewise.
10718         (ctanh_test_data): Likewise.
10719         (ctanh_tonearest_test_data): Likewise.
10720         (ctanh_towardzero_test_data): Likewise.
10721         (ctanh_downward_test_data): Likewise.
10722         (ctanh_upward_test_data): Likewise.
10723         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10724         mpc_c_c.
10725         (func_calc_desc): Add mpc_c_c union field.
10726         (FUNC_mpc_c_c): New macro.
10727         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10728         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10729         ctanh.
10730         (special_fill_min_subnorm_p120): New function.
10731         (special_real_inputs): Add min_subnorm_p120.
10732         (calc_generic_results): Handle mpc_c_c.
10733         * sysdeps/i386/fpu/libm-test-ulps: Update.
10734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10735
10736 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10737
10738         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10739         (do_sin_slow): New functions.
10740         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10741         (cslow2, csloww1, csloww2): Use the new functions.
10742
10743         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10744         Use M to change sign of result instead of X.  Assume X is
10745         positive.
10746         (csloww1): Likewise.
10747         (__sin): Adjust.
10748         (__cos): Adjust.
10749
10750         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10751         arguments A and DA.
10752         (__sin): Adjust.
10753         (__cos): Likewise.
10754
10755         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10756         (__cos): Likewise.
10757         (sloww1): Don't adjust sign of DX.
10758         (csloww1): Likewise.
10759         (sloww2): Use X directly and don't adjust sign of DX.
10760         (csloww2): Likewise.
10761
10762 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10763
10764         * math/auto-libm-test-in: Add tests of cabs and carg.
10765         * math/auto-libm-test-out: Regenerated.
10766         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10767         (carg_test_data): Likewise.
10768         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10769         mpc_c_f.
10770         (func_calc_desc): Add mpc_c_f union field.
10771         (test_functions): Add cabs and carg.
10772         (calc_generic_results): Handle mpc_c_f.
10773
10774         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10775         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10776         as a macro and a compat symbol.
10777         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10778         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10779         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10780         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10781         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10782         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10783         not use .hidden.
10784         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10785         Likewise.
10786         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10787         Likewise.
10788         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10789         Likewise.
10790         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10791         Likewise.
10792         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10793         Likewise.
10794         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10795         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10796         from GLIBC_2.3.2.
10797
10798 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10799
10800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10801
10802 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10803
10804         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10805         trailing whitespace removed.
10806         * scripts/config.guess: Update to version 2013-11-29.
10807         * scripts/config.sub: Update to version 2013-10-01.
10808
10809         * math/auto-libm-test-in: Add tests of sincos.
10810         * math/auto-libm-test-out: Regenerated.
10811         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10812         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10813         mpfr_f_11.
10814         (func_calc_desc): Add mpfr_f_11 union field.
10815         (test_functions): Add sincos.
10816         (calc_generic_results): Handle mpfr_f_11.
10817         * sysdeps/i386/fpu/libm-test-ulps: Update.
10818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10819
10820 2013-12-19  Andreas Schwab  <schwab@suse.de>
10821
10822         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10823         CALL_MCOUNT.
10824         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10825         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10826         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10827
10828 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10829
10830         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10831         * sysdeps/i386/fpu/libm-test-ulps: Update.
10832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10833
10834         [BZ #16293]
10835         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10836         round-to-nearest mode when using frndint.
10837         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10838         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10839         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10840         Likewise.
10841         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10842         sinh test to fail.
10843         * math/auto-libm-test-out: Regenerated.
10844         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10845         (TEST_COND_x86): Likewise.
10846         (expm1_tonearest_test_data): New array.
10847         (expm1_test_tonearest): New function.
10848         (expm1_towardzero_test_data): New array.
10849         (expm1_test_towardzero): New function.
10850         (expm1_downward_test_data): New array.
10851         (expm1_test_downward): New function.
10852         (expm1_upward_test_data): New array.
10853         (expm1_test_upward): New function.
10854         (main): Run the new test functions.
10855         * sysdeps/i386/fpu/libm-test-ulps: Update.
10856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10857
10858         * include/features.h: Update comment documenting feature test
10859         macros.  Mention _DEFAULT_SOURCE in comment.
10860         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10861         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10862         _BSD_SOURCE and _SVID_SOURCE.
10863         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10864         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10865         !_SVID_SOURCE]: Likewise.
10866         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10867         (__USE_POSIX_IMPLICITLY): Define.
10868         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10869         (_POSIX_SOURCE): Undefine and redefine.
10870         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10871         (_POSIX_C_SOURCE): Likewise.
10872         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10873         (Feature Test Macros): Update documentation of default features.
10874
10875 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10876
10877         * benchtests/Makefile: Add bench-strtok.
10878         * benchtests/bench-strtok.c: New file: strtok benchtest.
10879
10880 2013-12-19  Allan McRae  <allan@archlinux.org>
10881
10882         * manual/install.texi: Suppress menu for plain text output.
10883         * INSTALL: Regenerated.
10884
10885 2013-12-18  Brooks Moses  <bmoses@google.com>
10886
10887         [BZ #15846]
10888         * misc/getauxval.c: Include errno.h.
10889         (__getauxval): Set errno to ENOENT if the requested type is not
10890         found.
10891         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10892         don't declare with __attribute_const__.
10893         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10894         * manual/startup.texi: Document that getauxval sets errno.
10895
10896 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10897
10898         * math/auto-libm-test-in: Add tests of jn and yn.
10899         * math/auto-libm-test-out: Regenerated.
10900         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10901         (yn_test_data): Likewise.
10902         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10903         mpfr_if_f.
10904         (func_calc_desc): Add mpfr_if_f union field.
10905         (FUNC_mpfr_if_f): New macro.
10906         (test_functions): Add jn and yn.
10907         (calc_generic_results): Assert type of second input for
10908         mpfr_ff_f.  Handle mpfr_if_f.
10909         (output_for_one_input_case): Disable all checking for arguments
10910         fitting floating-point types in case of an integer argument.
10911         * sysdeps/i386/fpu/libm-test-ulps: Update.
10912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10913
10914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10915         Don't expect fegetround reference in libm.so.
10916
10917 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10918
10919         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10920         $(config-cflags-nofma).
10921
10922 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10923
10924         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10925         * math/auto-libm-test-out: Regenerated.
10926
10927         [BZ #16338]
10928         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10929         to determine exponent and adjust argument to have exponent of -1.
10930         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10931         log2.
10932         * math/auto-libm-test-out: Regenerated.
10933         * sysdeps/i386/fpu/libm-test-ulps: Update.
10934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10935
10936 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10937
10938         * manual/probes.texi: Remove cases when per-thread arenas are
10939         disabled.
10940
10941 2013-12-18  Andreas Schwab  <schwab@suse.de>
10942
10943         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10944         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10945         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10946         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10947         * sysdeps/i386/i686/multiarch/Makefile: Update.
10948         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10949
10950 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10951
10952         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10953         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10954
10955 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10956
10957         [BZ #15968]
10958         Support TZ transition times < 00:00:00.
10959         This is needed for version-3 tz-format files; it supports time
10960         stamps past 2037 for America/Godthab (the only entry in the tz
10961         database for which this change is relevant).
10962         * manual/time.texi (TZ Variable): Document transition times
10963         from -167:59:59 through -00:00:01.
10964         * time/tzset.c (tz_rule): Time of day is now signed.
10965         (__tzset_parse_tz): Parse negative time of day.
10966
10967         Document TZ transition times >= 25:00:00.
10968         * manual/time.texi (TZ Variable): Document transition times from
10969         25:00:00 through 167:59:59.  These are already supported, and this
10970         support will help with version-3 tz-format files.
10971
10972         * manual/time.texi (TZ Variable): Modernize North America example
10973         to reflect current (i.e., 2007-and-later) daylight saving rules.
10974
10975         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10976
10977 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10978
10979         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10980         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10981         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10982         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10983         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10984         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10985         * sysdeps/unix/bsd/clock.c: Likewise.
10986         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10987         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10988         * sysdeps/unix/bsd/init-posix.c: Likewise.
10989         * sysdeps/unix/bsd/poll.c: Likewise.
10990         * sysdeps/unix/bsd/ptsname.c: Likewise.
10991         * sysdeps/unix/bsd/seekdir.c: Likewise.
10992         * sysdeps/unix/bsd/setegid.c: Likewise.
10993         * sysdeps/unix/bsd/seteuid.c: Likewise.
10994         * sysdeps/unix/bsd/setgid.c: Likewise.
10995         * sysdeps/unix/bsd/setrgid.c: Likewise.
10996         * sysdeps/unix/bsd/setruid.c: Likewise.
10997         * sysdeps/unix/bsd/setsid.c: Likewise.
10998         * sysdeps/unix/bsd/setuid.c: Likewise.
10999         * sysdeps/unix/bsd/sigaction.c: Likewise.
11000         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11001         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11002         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11003         * sysdeps/unix/bsd/telldir.c: Likewise.
11004         * sysdeps/unix/bsd/times.c: Likewise.
11005         * sysdeps/unix/bsd/usleep.c: Likewise.
11006
11007         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11008         ($(objpfx)libbsd-compat.a): Remove rule.
11009
11010         * include/features.h (__FAVOR_BSD): Do not define.
11011         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11012         features conflicting with POSIX.
11013         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11014         (_BSD_SOURCE): Remove description of not being a subset of other
11015         feature test macros.
11016         * manual/job.texi (getpgrp): Do not document BSD version.
11017         (getpgid): Do not document by reference to BSD getpgrp.
11018         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11019         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11020         * signal/signal.h [__FAVOR_BSD]: Likewise.
11021         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11022         instead of making contents conditional on [__FAVOR_BSD].
11023         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11024
11025 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11026
11027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11028
11029 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11030
11031         [BZ #16314]
11032         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11033         values below 2**-450, not 2**-500.
11034         * math/auto-libm-test-in: Don't allow spurious underflow from
11035         hypot.
11036         * math/auto-libm-test-out: Regenerated.
11037
11038         [BZ #16316]
11039         [BZ #16330]
11040         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11041         values of ha and hb and sort them after adjusting subnormal
11042         arguments.
11043         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11044         Likewise.
11045         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11046         values of ea and eb and sort them after adjusting subnormal
11047         arguments.
11048         * math/auto-libm-test-in: Do not expect some hypot tests of
11049         subnormals to fail.  Add more hypot tests.
11050         * math/auto-libm-test-out: Regenerated.
11051
11052 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11053
11054         [BZ #13304]
11055         * sysdeps/sh/s_fma.c: New file.
11056         * sysdeps/sh/s_fmaf.c: New file.
11057         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11058         version.
11059         * sysdeps/sh/Implies: Add sh/soft-fp.
11060
11061 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11062
11063         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11064         level of indirection to members `objname', `errstring', `malloced'.
11065         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11066         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11067         it as the __longjmp argument (just pass 1 instead).
11068         (_dl_catch_error): Initialize C with argument pointers and address of
11069         volatile local ERRCODE rather than copying values out of C at return.
11070
11071 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11072
11073         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11074         * math/auto-libm-test-out: Regenerated.
11075         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11076         (hypot_test_data): Likewise.
11077         (pow_test_data): Likewise.
11078         (pow_tonearest_test_data): Likewise.
11079         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11080         mpfr_ff_f.
11081         (func_calc_desc): Add mpfr_ff_f union field.
11082         (FUNC_mpfr_ff_f): New macro.
11083         (test_functions): Add atan2, hypot and pow.
11084         (special_fill_min): New function.
11085         (special_fill_minus_min): Likewise.
11086         (special_fill_min_subnorm): Likewise.
11087         (special_fill_minus_min_subnorm): Likewise.
11088         (special_real_inputs): Add min, -min, min_subnorm and
11089         -min_subnorm.
11090         (calc_generic_results): Handle mpfr_ff_f.
11091         * sysdeps/i386/fpu/libm-test-ulps: Update.
11092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11093
11094 2013-12-16  Will Newton  <will.newton@linaro.org>
11095
11096         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11097         (Aligned Memory Blocks): Add documentation for aligned_alloc
11098         and suggest it as an alternative to posix_memalign.
11099         (Hooks for Malloc): Document __memalign_hook is also called
11100         for aligned_alloc.  (Summary of Malloc): Add summary for
11101         aligned alloc.  Document __memalign_hook is also called
11102         for aligned_alloc.
11103
11104 2013-12-16  Will Newton  <will.newton@linaro.org>
11105
11106         * manual/memory.texi (Malloc Examples): Clarify default
11107         alignment documentation.  Suggest posix_memalign rather
11108         than memalign or valloc.
11109         (Aligned Memory Blocks): Remove suggestion to use memalign
11110         or valloc.  Remove obsolete comment about BSD.
11111         Document memalign errno values and mark the function obsolete.
11112         Document posix_memalign returned error codes.  Mark valloc
11113         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11114         called for posix_memalign and valloc.
11115         (Summary of Malloc): Add posix_memalign to function summary.
11116         __memalign_hook is also called for posix_memalign and valloc.
11117
11118 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11119
11120         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11121         TAYLOR_SIN.
11122         (__sin): Adjust.
11123         (__cos): Likewise.
11124         (sloww): Use mynumber union.  Expand ternary operator into
11125         if-else statements.
11126         (cslow): use mynumber union.
11127
11128 2013-12-16  Allan McRae  <allan@archlinux.org>
11129
11130         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11131         * configure: Regenerated.
11132
11133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11134
11135         [BZ #14120]
11136         * configure.ac: Added --enable-maintainer-mode. Check for
11137         autoconf when enabled.
11138         * configure: Regenerated.
11139
11140         * nscd/nscd.service: New file.
11141         * nscd/nscd.tmpfiles: New file.
11142
11143 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11144
11145         [BZ #12100]
11146         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11147         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11148         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11149         (strstr): Add __strstr_sse2_unaligned ifunc.
11150         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11151         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11152         (strcasestr): Remove __strcasestr_sse42 ifunc.
11153         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11154         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11155         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11156
11157 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11158
11159         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11160         * sysdeps/sh/bits/fenv.h: ... here.
11161         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11162
11163 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11164
11165         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11166
11167         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11168         hypotf multiarch implementations.
11169         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11170         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11171         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11172         multiarch hypot for PPC64.
11173         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11174         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11175         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11176         multiarch hypotf for PPC64.
11177
11178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11179         modff multiarch implementations.
11180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11183         multiarch modf for PPC64.
11184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11187         multiarch modff for PPC64.
11188
11189         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11190         and logl multiarch implementations.
11191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11194         multiarch logb for PPC64.
11195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11198         multiarch logb for PPC64.
11199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11202         multiarch logb for PPC64.
11203
11204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11205         isinff multiarch implementation.
11206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11207         file.
11208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11210         multiarch isinf for PPC64.
11211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11212         file.
11213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11214         multiarch isinff for PPC64.
11215
11216         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11217         finitef multiarch implementation.
11218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11219         file.
11220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11222         multiarch finite for PPC64.
11223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11224         file.
11225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11226         multiarch finitef for PPC64.
11227
11228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11229         lrint multiarch implementation.
11230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11231         file.
11232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11234         multiarch llrint for PPC64.
11235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11236         multiarch lrint for PPC64.
11237
11238         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11239         copysignf multiarch implementation.
11240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11241         file.
11242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11243         file.
11244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11245         multiarch copysign for PPC64.
11246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11247         multiarch copysignf for PPC64.
11248
11249         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11250         multiarch implementation.
11251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11252         file.
11253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11254         file.
11255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11256         file.
11257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11258         file.
11259         multiarch llround for PPC64.
11260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11261         multiarch trunc for PPC64.
11262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11263         multiarch truncf for PPC64.
11264
11265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11266         multiarch implementation.
11267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11268         file.
11269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11270         file.
11271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11272         file.
11273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11274         file.
11275         multiarch llround for PPC64.
11276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11277         multiarch round for PPC64.
11278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11279         multiarch roundf for PPC64.
11280
11281         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11282         multiarch implementation.
11283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11284         file.
11285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11286         file.
11287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11288         file.
11289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11290         file.
11291         multiarch llround for PPC64.
11292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11293         multiarch floor for PPC64.
11294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11295         multiarch floorf for PPC64.
11296
11297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11298         multiarch implementation.
11299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11300         file.
11301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11302         file.
11303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11304         file.
11305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11306         file.
11307         multiarch llround for PPC64.
11308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11309         multiarch ceil for PPC64.
11310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11311         multiarch ceilf for PPC64.
11312
11313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11314         multiarch implementation.
11315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11316         file.
11317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11318         file.
11319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11320         file.
11321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11322         multiarch llround for PPC64.
11323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11324         multiarch lround for PPC64.
11325
11326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11327         multiarch implementation.
11328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11331         file.
11332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11335         multiarch isnan for PPC64.
11336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11337         multiarch isnanf for PPC64.
11338
11339         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11340         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11341         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11342         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11343         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11345
11346         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11347         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11348         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11349         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11350
11351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11352         multiarch implementations.
11353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11354         (__libc_ifunc_impl_list): Likewise.
11355         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11356         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11357         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11358         multiarch stpcpy for PPC64.
11359
11360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11361         multiarch implementations.
11362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11363         (__libc_ifunc_impl_list): Likewise.
11364         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11365         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11366         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11367         multiarch strcpy for PPC64.
11368
11369         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11370         redefine function name.
11371         (_wordcopy_fwd_dest_aligned): Likewise.
11372         (_wordcopy_bwd_aligned): Likewise.
11373         (_wordcopy_bwd_dest_aligned): Likewise.
11374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11375         multiarch implementations.
11376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11377         (__libc_ifunc_impl_list): Likewise.
11378         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11379         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11380         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11381         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11382         multiarch wcscpy for PPC64.
11383
11384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11385         multiarch implementations.
11386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11387         (__libc_ifunc_impl_list): Likewise.
11388         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11389         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11390         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11391         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11392         multiarch wcscpy for PPC64.
11393
11394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11395         multiarch implementations.
11396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11397         (__libc_ifunc_impl_list): Likewise.
11398         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11399         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11400         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11401         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11402         multiarch wcsrchr for PPC64.
11403
11404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11405         multiarch implementations.
11406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11407         (__libc_ifunc_impl_list): Likewise.
11408         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11409         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11410         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11411         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11412         multiarch wcschr for PPC64.
11413
11414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11415         multiarch implementations.
11416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11417         (__libc_ifunc_impl_list): Likewise.
11418         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11419         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11420         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11421         multiarch strchrnul for PPC64.
11422
11423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11424         implementations.
11425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11426         (__libc_ifunc_impl_list): Likewise.
11427         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11428         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11429         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11430         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11431         strchr for PPC64.
11432
11433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11434         implementations.
11435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11436         (__libc_ifunc_impl_list): Likewise.
11437         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11438         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11439         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11440         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11441         strncmp for PPC64.
11442
11443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11444         multiarch implementations.
11445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11446         (__libc_ifunc_impl_list): Likewise.
11447         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11448         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11449         strncasecmp for PPC64.
11450         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11451         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11452         multiarch strncasecmp_l for PPC64.
11453
11454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11455         multiarch implementations.
11456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11457         (__libc_ifunc_impl_list): Likewise.
11458         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11459         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11460         multiarch strcasecmp for PPC64.
11461         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11462         file.
11463         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11464         multiarch strcasecmp_l for PPC64.
11465
11466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11467         implementations.
11468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11469         (__libc_ifunc_impl_list): Likewise.
11470         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11471         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11472         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11473         strnlen for PPC64.
11474
11475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11476         implementations.
11477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11478         (__libc_ifunc_impl_list): Likewise.
11479         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11480         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11481         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11482         strlen for PPC64.
11483
11484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11485         implementations.
11486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11487         (__libc_ifunc_impl_list): Likewise.
11488         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11489         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11490         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11491         rawmemrchr for PPC64.
11492
11493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11494         implementation.
11495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11496         (__libc_ifunc_impl_list): Likewise.
11497         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11498         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11499         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11500         memrchr for PPC64.
11501
11502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11503         implementation.
11504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11505         (__libc_ifunc_impl_list): Likewise.
11506         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11507         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11508         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11509         memchr for PPC64.
11510
11511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11512         implementation.
11513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11514         (__libc_ifunc_impl_list): Likewise.
11515         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11516         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11517         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11518         mempcpy for PPC64.
11519
11520         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11521         avoid cretion of __bzero symbol.
11522         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11523         Likewise.
11524         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11525         Likewise.
11526         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11527         Likewise.
11528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11529         multiarch implementations.
11530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11531         (__libc_ifunc_impl_list): Likewise.
11532         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11533         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11534         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11535         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11536         bzero for PPC32.
11537         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11538         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11539         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11540         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11541         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11542         memset for PPC64.
11543         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11544
11545         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11547         implementations.
11548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11549         (__libc_ifunc_impl_list): Likewise.
11550         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11551         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11552         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11553         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11554         memcmp for PPC64.
11555
11556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11557         multiarch for POWER/PPC64.
11558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11559         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11560         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11561         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11562         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11563         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11564         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11565         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11566         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11567         memcpy for PPC64.
11568
11569         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11570         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11571         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11572         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11573         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11574         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11575         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11576         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11577         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11578         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11579         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11580         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11581         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11582         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11583         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11591
11592 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11593
11594         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11595
11596 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11597
11598         * benchtests/Makefile (bench): Add exp2 and log2.
11599         (LDLIBS-bench-exp2): Add -lm.
11600         (LDLIBS-bench-log2): Likewise.
11601         * benchtests/exp2-inputs: New inputs file.
11602         * benchtests/log2-inputs: New inputs file.
11603         * benchtests/log-inputs: Add new inputs.
11604         * benchtests/tan-inputs: Likewise.
11605
11606 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11607
11608         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11609         definition...
11610         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11611         (csloww2): ... from here.
11612
11613         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11614         instead of structures.
11615         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11616         (POLYNOMIAL): Likewise.
11617         (TAYLOR_SLOW): Likewise.
11618         (__sin): Likewise.
11619         (__cos): Likewise.
11620         (slow1): Likewise.
11621         (slow2): Likewise.
11622         (sloww): Likewise.
11623         (sloww1); Likewise.
11624         (sloww2): Likewise.
11625         (bsloww1): Likewise.
11626         (bsloww2): Likewise.
11627         (cslow2): Likewise.
11628         (csloww): Likewise.
11629         (csloww1): Likewise.
11630         (csloww2): Likewise.
11631
11632 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11633
11634         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11635         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11636         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11637         * malloc/hooks.c (realloc_check): Likewise.
11638
11639         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11640         * malloc/arena.c: Remove PER_THREAD conditional.
11641         [!PER_THREAD]: Remove code.
11642         (ptmalloc_unlock_all2): Likewise.
11643         (ptmalloc_init): Likewise.
11644         (_int_new_arena): Likewise.
11645         (arena_get2): Likewise.
11646         * malloc/hooks.c (__malloc_get_state): Likewise.
11647         (__malloc_set_state): Likewise.
11648         * malloc/malloc.c: Likewise.
11649         (struct malloc_state): Likewise.
11650         (struct malloc_par): Likewise.
11651         (__libc_realloc): Likewise.
11652         (__libc_mallopt): Likewise.
11653
11654 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11655
11656         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11657
11658 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11659
11660         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11661         macro to a function.  Check for zero perturb_byte.
11662         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11663
11664         * malloc/malloc.c: (force_reg): Remove.
11665         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11666         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11667         force_reg by atomic_forced_read.
11668         * malloc/arena.c (ptmalloc_init): Likewise.
11669         * malloc/hooks.c (top_check): Likewise.
11670
11671 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11672
11673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11674
11675 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11676
11677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11678
11679 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11680
11681         * math/auto-libm-test-in: Add tests of lgamma.
11682         * math/auto-libm-test-out: Regenerated.
11683         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11684         (M_LOG_2_SQRT_PIl): Likewise.
11685         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11686         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11687         mpfr_f_f1.
11688         (func_calc_desc): Add mpfr_f_f1 union field.
11689         (ARGS1): New macro.
11690         (ARGS2): Likewise.
11691         (ARGS3): Likewise.
11692         (ARGS4): Likewise.
11693         (RET1): Likewise.
11694         (RET2): Likewise.
11695         (CALC): Likewise.
11696         (FUNC): Likewise.
11697         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11698         (test_functions): Add lgamma.
11699         (calc_generic_results): Handle mpfr_f_f1.
11700         * sysdeps/i386/fpu/libm-test-ulps: Update.
11701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11702
11703 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11704
11705         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11706         __mpn_add_n for PowerPC64/POWER7.
11707         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11708         __mpn_sub_n for PowerPC64/POWER7.
11709
11710         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11711         __mpn_addmul_1 for PowerPC64.
11712         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11713         __mpn_submul_1 for PowerPC64.
11714         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11715         for PowerPC64.
11716         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11717         for PowerPC64.
11718
11719 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11720
11721         [BZ #15089]
11722         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11723
11724 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11725
11726         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11727
11728         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11729         add multiarch folders.
11730         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11731         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11732         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11733         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11734         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11735         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11736         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11737         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11738         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11739         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11740         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11747
11748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11749         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11751         New file.
11752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11753         New file.
11754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11755         multiarch __ieee754_hypot for PowerPC32.
11756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11757         New file.
11758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11759         New file.
11760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11761         multiarch __ieee754_hypotf for PowerPC32.
11762
11763         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11764         long_double_symbol only if __logbl is defined.
11765         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11766         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11767         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11768         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11769         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11770         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11771         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11772         path for implementation.
11773         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11774         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11776         logb, and logbl multiarch implementations for PowerPC32.
11777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11778         file.
11779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11780         file.
11781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11782         multiarch logb for PowerPC32.
11783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11784         file.
11785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11786         file.
11787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11788         multiarch logbf for PowerPC32.
11789         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11791         file.
11792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11793         multiarch logbl implementation for PowerPC32.
11794
11795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11796         and modff multiarch implementations.
11797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11798         New file.
11799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11800         New file.
11801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11802         multiarch modf for PowerPC32.
11803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11804         New file.
11805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11806         New file.
11807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11808         multiarch modff for PowerPC32.
11809
11810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11811         and lrintf multiarch implementations.
11812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11813         New file.
11814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11815         New file.
11816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11817         multiarch lrint for PowerPC32.
11818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11819         file: multiarch lrintf for PowerPC32.
11820
11821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11822         and lroundf multiarch implementations.
11823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11824         New file.
11825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11826         New file.
11827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11828         New file.
11829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11830         multiarch lround for PowerPC32.
11831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11832         file: multiarch lroundf for PowerPC32.
11833
11834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11835         copysign and copysignf multiarch implementations.
11836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11837         New file.
11838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11839         New file.
11840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11841         file: multiarch copysign for PowerPC32.
11842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11843         file: multiarch copysignf for PowerPC32.
11844
11845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11846         and truncf multiarch implementations.
11847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11848         New file.
11849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11850         file.
11851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11852         multiarch trunc for PowerPC32.
11853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11854         New file.
11855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11856         New file.
11857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11858         multiarch truncf for PowerPC32.
11859
11860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11861         and roundf multiarch implementations.
11862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11863         New file.
11864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11865         file.
11866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11867         multiarch round for PowerPC32.
11868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11869         New file.
11870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11871         New file.
11872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11873         multiarch roundf for PowerPC32.
11874
11875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11876         and floorf multiarch implementations.
11877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11878         New file.
11879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11880         file.
11881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11882         multiarch floor for PowerPC32.
11883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11884         New file.
11885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11886         New file.
11887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11888         multiarch floorf for PowerPC32.
11889
11890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11891         and ceilf multiarch implementations.
11892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11893         New file.
11894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11895         file.
11896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11897         multiarch ceil for PowerPC32.
11898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11899         New file.
11900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11901         file.
11902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11903         multiarch ceilf for PowerPC32.
11904
11905         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11906         is defined.
11907         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11908         FINITEF is defined.
11909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11910         and finitef multiarch implementations.
11911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11912         New file.
11913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11914         file.
11915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11916         multiarch finite for PowerPC32.
11917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11918         New file.
11919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11920         file: multiarch finitef for PowerPC32.
11921
11922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11923         and isinff multiarch implementations.
11924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11925         file.
11926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11927         file.
11928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11929         multiarch isinf for PowerPC32.
11930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11931         New file.
11932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11933         multiarch isinff for PowerPC32.
11934
11935         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11936         alias when __isnan is defined.
11937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11938         and isnanf multiarch implementations.
11939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11940         file.
11941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11942         file.
11943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11944         file.
11945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11946         file.
11947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11948         multiarch isnan for PowerPC32.
11949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11950         New file.
11951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11952         New file.
11953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11954         multiarch isnanf for PowerPC32.
11955
11956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11957         and sqrtf multiarch implementations.
11958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11959         file.
11960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11961         file.
11962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11963         multiarch sqrt for PowerPC32.
11964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11965         file.
11966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11967         file.
11968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11969         multiarch sqrtf for PowerPC32.
11970
11971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11972         and llroundf multiarch implementations.
11973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11974         New file.
11975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11976         New file.
11977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11978         New file.
11979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11980         file: multiarch llround for PowerPC32.
11981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11982         file: multiarch llroundf for PowerPC32.
11983
11984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11985         multiarch PowerPC32 fpu implementations.
11986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11987         New file.
11988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11989         New file.
11990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11991         multiarch llrint for PowerPC32.
11992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11993         New file.
11994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11995         New file.
11996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11997         file.
11998
11999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12000
12001         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12002         file.
12003         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12004         file.
12005         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12006         file.
12007         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12008         multiarch wordcopy for PPC32.
12009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12010         wordcopy objects.
12011         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12012         (__libc_ifunc_impl_list): Likewise.
12013         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12014         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12015         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12016         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12017         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12018         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12019
12020         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12021         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12022         file.
12023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12024         file.
12025         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12026         file.
12027         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12028         multiarch wcscpy for PPC32.
12029         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12030         multiarch objects.
12031         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12032         (__libc_ifunc_impl_list): Likewise.
12033         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12034         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12035         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12036         sysdeps/powerpc/power6/wcscpy.c.
12037
12038         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12040         file.
12041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12042         file.
12043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12044         file.
12045         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12046         multiarch wcsrchr for PPC32.
12047         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12048         multiarch objects.
12049         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12050         (__libc_ifunc_impl_list): Likewise.
12051         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12052         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12053         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12054         sysdeps/powerpc/power6/wcsrchr.c.
12055
12056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12057         file.
12058         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12059         file.
12060         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12062         multiarch wcschr for PPc32.
12063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12064         multiarch objects.
12065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12066         (__libc_ifunc_impl_list): Likewise.
12067         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12068         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12069         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12070         sysdeps/powerpc/power6/wcschr.c.
12071
12072         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12073         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12074         file.
12075         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12076         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12077         file: multiarch strchr for PPC32.
12078         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12079         multiarch objects.
12080         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12081         (__libc_ifunc_impl_list): Likewise.
12082
12083         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12084         name.
12085         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12086         file.
12087         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12088         file.
12089         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12090         multiarch strchrnul for PPC32.
12091         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12092         multiarch objects.
12093         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12094         (__libc_ifunc_impl_list): Likewise.
12095
12096         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12097         file.
12098         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12099         multiarch strncasecmp for PPC32.
12100         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12101         file.
12102         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12103         multiarch strncasecmp_l for PPC32.
12104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12105         strncasecmp multiarch objects.
12106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12107         (__libc_ifunc_impl_list): Likewise.
12108
12109         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12110         file.
12111         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12112         multiarch strncasecmp for PPC32.
12113         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12114         New file.
12115         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12116         multiarch strcasecmp_l for PPC32.
12117         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12118         multiarch objects.
12119         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12120         (__libc_ifunc_impl_list): Likewise.
12121
12122         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12123         file.
12124         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12125         file.
12126         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12127         multiarch strncmp for PPC32.
12128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12129         multiarch objects.
12130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12131         (__libc_ifunc_impl_list): Likewise.
12132
12133         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12134         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12135         file.
12136         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12137         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12139         multiarch objects.
12140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12141         (__libc_ifunc_impl_list): Likewise.
12142
12143         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12144         file.
12145         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12146         file.
12147         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12149         multiarch objects.
12150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12151         (__libc_ifunc_impl_list): Likewise.
12152
12153         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12154         file.
12155         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12156         file.
12157         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12158         multiarch rawmemchr for PPC32.
12159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12160         multiarch objects.
12161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12162         (__libc_ifunc_impl_list): Likewise.
12163
12164         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12165         file.
12166         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12167         file.
12168         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12169         file: memrchr multiarch for PPC32.
12170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12171         multiarch objects.
12172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12173         (__libc_ifunc_impl_list): Likewise.
12174
12175         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12176         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12177         file.
12178         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12179         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12180         multiarch memchr for PPC32.
12181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12182         multiarch objects.
12183         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12184         (__libc_ifunc_impl_list): Likewise.
12185
12186         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12187         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12188         file.
12189         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12190         file.
12191         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12192         file: multiarch mempcpy for PPC32.
12193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12194         multiarch objects.
12195         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12196         (__libc_ifunc_impl_list): Likewise.
12197
12198         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12199         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12200         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12201         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12202         multiarch bzero for PPC32.
12203         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12204         file.
12205         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12206         file.
12207         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12208         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12209         file: multiarch memset for PPC32.
12210         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12212         memset multiarch objects.
12213         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12214         (__libc_ifunc_impl_list): Likewise.
12215
12216         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12217         file.
12218         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12219         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12220         memcmp for PPC32.
12221         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12222         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12223         multiarch objects.
12224         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12225         (__libc_ifunc_impl_list): Likewise.
12226
12227         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12228         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12229         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12230         file.
12231         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12232         file.
12233         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12234         file.
12235         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12236         multiarch memcpy for PPC32.
12237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12238         multiarch objects.
12239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12240         (__libc_ifunc_impl_list): Likewise.
12241
12242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12243         support multiarch for POWER/PPC32.
12244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12245         Likewise.
12246         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12248         Implies file to make multiarch folder appers before the fpu and
12249         default folder for power4 configuration.
12250
12251 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12252
12253         * scripts/bench.pl: Append volatile keyword to type.
12254
12255 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12256
12257         * sysdeps/sh/sotruss-lib.c: New file.
12258         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12259
12260 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12261
12262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12263
12264 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12265
12266         [BZ #6810]
12267         * math/w_tgamma.c: Include <errno.h>.
12268         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12269         * math/w_tgammaf.c: Include <errno.h>.
12270         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12271         * math/w_tgammal.c: Include <errno.h>.
12272         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12273         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12274         underflow.  Add more tgamma tests.
12275         * math/auto-libm-test-out: Regenerated.
12276         * sysdeps/i386/fpu/libm-test-ulps: Update.
12277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12278
12279         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12280         sin, sinh, tan, tanh, tgamma, y0 and y1.
12281         * math/auto-libm-test-out: Regenerated.
12282         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12283         (TEST_COND_x86): Likewise.
12284         (M_E2l): Remove macro.
12285         (M_E3l): Likewise.
12286         (M_2_SQRT_PIl): Likewise.
12287         (M_SQRT_PIl): Likewise.
12288         (M_1_DIV_El): Likewise.
12289         (log_test_data): Use AUTO_TESTS_f_f.
12290         (log10_test_data): Likewise.
12291         (log1p_test_data): Likewise.
12292         (log2_test_data): Likewise.
12293         (sin_test_data): Likewise.
12294         (sin_tonearest_test_data): Likewise.
12295         (sin_towardzero_test_data): Likewise.
12296         (sin_downward_test_data): Likewise.
12297         (sin_upward_test_data): Likewise.
12298         (sinh_test_data): Likewise.
12299         (sinh_tonearest_test_data): Likewise.
12300         (sinh_towardzero_test_data): Likewise.
12301         (sinh_downward_test_data): Likewise.
12302         (sinh_upward_test_data): Likewise.
12303         (tan_test_data): Likewise.
12304         (tan_tonearest_test_data): Likewise.
12305         (tan_towardzero_test_data): Likewise.
12306         (tan_downward_test_data): Likewise.
12307         (tan_upward_test_data): Likewise.
12308         (tanh_test_data): Likewise.
12309         (tgamma_test_data): Likewise.
12310         (y0_test_data): Likewise.
12311         (y1_test_data): Likewise.
12312         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12313         (special_real_inputs): Add pi/4.
12314         * sysdeps/i386/fpu/libm-test-ulps: Update.
12315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12316
12317 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12318
12319         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12320         "longjmp_target" static probes.
12321         (__longjmp): Rename to __longjmp_symbol.
12322         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12323         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12324         on which longjmp to generate.
12325         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12326         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12327         probe.
12328         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12329         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12330         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12331         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12332         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12333         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12335         __longjmp_symbol based on which __longjmp to generate.
12336         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12337         probe.
12338         (setjmp): Rename to setjmp_symbol.
12339         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12340         (_setjmp): Rename to _setjmp_symbol.
12341         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12342         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12343         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12344         which setjmp to generate.
12345         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12346         "longjmp_target" static probes.
12347
12348 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12349
12350         * benchtests/README: Add note about output arguments.
12351         * benchtests/bench-sincos.c: Remove file.
12352         * benchtests/sincos-inputs: New file.
12353         * scripts/bench.pl: Identify output arguments and define
12354         static variables for them.
12355
12356         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12357
12358         [BZ #15941]
12359         * Makefile (INSTALL): Add install-plain.texi as the primary
12360         dependency.
12361         * manual/install-plain.texi: New file.
12362         * manual/install.texi: Include node directive only for
12363         non-plaintext output.
12364
12365 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12366
12367         * stdlib/longlong.h: Update from GCC.
12368
12369         [BZ #6807]
12370         [BZ #15901]
12371         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12372         * math/w_j0f.c (y0f): Likewise.
12373         * math/w_j0l.c (__y0l): Likewise.
12374         * math/w_j1.c (y1): Likewise.
12375         * math/w_j1f.c (y1f): Likewise.
12376         * math/w_j1l.c (__y1l): Likewise
12377         * math/w_jn.c (yn): Likewise.
12378         * math/w_jnf.c (ynf): Likewise.
12379         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12380         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12381         value for Bessel function domain errors outside _SVID_ mode.
12382         Adjust sign of return value for yn (negative integer, 0).
12383         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12384         by zero in return for negative x and set sign appropriately for
12385         negative n.
12386         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12387         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12388         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12389         expectations in error cases.
12390         (y1_test_data): Likewise.
12391         (yn_test_data): Likewise.
12392         * sysdeps/i386/fpu/libm-test-ulps: Update.
12393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12394
12395 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12396
12397         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12398         "64" to "64-v1".  Add "64-v2".
12399         (abi-64-options): Rename to ...
12400         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12401         (abi-64-condition): Rename to ...
12402         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12403         (abi-64-ld-soname): Rename to ...
12404         (abi-64-v1-ld-soname): ... this.
12405         (abi-64-v2-options): Define.
12406         (abi-64-v2-condition): Likewise.
12407         (abi-64-v2-ld-soname): Likewise.
12408         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12409         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12413
12414 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12415             Alan Modra  <amodra@gmail.com>
12416
12417         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12418         New versions for use with the ELFv2 ABI.
12419         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12420         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12421         declaration.
12422         (struct La_ppc64v2_retval): Likewise.
12423         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12424         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12425         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12426         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12427         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12428         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12429         Do not save or restore CR.
12430         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12431         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12432         return values for ELFv2 ABI.  Fix location of FPR return registers.
12433         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12434         updated values for _CALL_ELF == 2.
12435         (La_regs, La_retval, int_retval): Likewise.
12436
12437 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12438
12439         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12440         (FRAME_MIN_SIZE_PARM): Likewise.
12441         (FRAME_BACKCHAIN): Likewise.
12442         (FRAME_CR_SAVE): Likewise.
12443         (FRAME_LR_SAVE): Likewise.
12444         (FRAME_TOC_SAVE): Likewise.
12445         (FRAME_PARM_SAVE): Likewise.
12446         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12447         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12448         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12449         (call_mcount_parm_offset): New macro.
12450         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12451         (PROF): Use symbolic stack frame offsets.
12452         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12453         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12454         Redefine in terms of FRAME_MIN_SIZE.
12455         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12456         (_dl_profile_resolve): Likewise.  Update comment.
12457         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12458         symbols stack frame offsets.
12459         (__sigsetjmp): Likewise.
12460         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12461         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12462         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12463         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12464
12465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12466         (FRAME_BACKCHAIN): Remove.
12467         (FRAME_CR_SAVE): Likewise.
12468         (FRAME_LR_SAVE): Likewise.
12469         (FRAME_COMPILER_DW): Likewise.
12470         (FRAME_LINKER_DW): Likewise.
12471         (FRAME_TOC_SAVE): Likewise.
12472         (FRAME_PARM_SAVE): Likewise.
12473         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12474         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12475         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12477         (CHECK_SP): Use symbolic stack frame offsets.
12478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12479         zone" instead of caller's parameter save area for temp storage.
12480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12481         Likewise.  Also, use symbolic stack frame offsets.
12482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12483         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12484         our own stack frame instead of the caller's.
12485         (__socket): Use symbolic stack frame offsets.
12486
12487 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12488             Alan Modra  <amodra@gmail.com>
12489
12490         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12491         Define.
12492         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12493         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12494         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12495         New function.
12496         (elf_machine_fixup_plt): Call it.
12497         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12498         reloc arguments.
12499         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12500         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12501         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12502         r2 before calling target.
12503
12504 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12505             Alan Modra  <amodra@gmail.com>
12506
12507         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12508         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12509         versions of macros to support ELFv2 ABI.
12510         (LOCALENTRY): New macro.
12511         (ENTRY, EALIGN): Use it.
12512         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12513         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12514         fall through into ENTRY entry point.
12515         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12516         Only define if _CALL_ELF != 2.
12517
12518         (elf_machine_matches_host): Verify ABI version matches.
12519         (RTLD_START): Use LOCALENTRY.
12520         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12521         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12522         (PLT_ENTRY_WORDS): New macro.
12523         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12524         (elf_machine_runtime_setup): Support ELFv2 ABI.
12525         (elf_machine_fixup_plt): Likewise.
12526         (elf_machine_plt_conflict): Likewise.
12527         (resolve_ifunc): Likewise.
12528         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12529         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12530         Likewise.
12531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12532         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12534         (makecontext): Support ELFv2 ABI.
12535         * elf/elf.h (EF_PPC64_ABI): Define.
12536
12537 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12538
12539         * sysdeps/powerpc/powerpc64/sysdep.h
12540         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12541         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12542         (ENTRY) [ASSEMBLER]: ... but instead here ...
12543         (EALIGN) [ASSEMBLER]: ... and here.
12544         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12545         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12546         (ENTRY_2) [!ASSEMBLER]: Use it.
12547         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12548         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12549         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12550         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12551         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12553         Use PPC64_LOAD_FUNCPTR.
12554
12555         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12556
12557 2013-12-04  Alan Modra  <amodra@gmail.com>
12558
12559         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12560         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12561         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12562         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12563
12564         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12565         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12566         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12567         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12568         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12569         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12570
12571 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12572
12573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12574         (__makecontext): Fix incorrect CFI when backtracing out of
12575         context created via makecontext.
12576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12577         (__setcontext): Fix incorrect CFI during switch to new context.
12578         (__novec_setcontext): Likewise.
12579
12580 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12581
12582         [BZ #4772]
12583         * time/strptime_l.c (__strptime_internal): Allow modifiers
12584         in strptime.
12585         * time/tst-strptime.c (day_tests): Add testcase.
12586
12587 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12588
12589         * scripts/bench.pl: Skip over blank lines.
12590
12591 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12592
12593         [BZ #926]
12594         * manual/time.texi (Calendar Time): Clarify what timezone functions
12595         use.
12596
12597 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12598
12599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12600
12601 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12602
12603         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12604         implementation.
12605         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12606         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12607         * debug/memset_chk.c (__memset_chk): Likewise.
12608         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12609         * debug/strncpy_chk.c: Likewise.
12610
12611 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12612
12613         [BZ #15268]
12614         [BZ #15425]
12615         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12616         (__ieee754_exp): For possibly underflowing results, check size of
12617         result and force underflow exception if required.
12618         * math/auto-libm-test-in: Add more tests of exp.
12619         * math/auto-libm-test-out: Regenerated.
12620         * sysdeps/i386/fpu/libm-test-ulps: Update.
12621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12622
12623         [BZ #16283]
12624         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12625         * math/w_exp2f.c (__exp2f): Likewise.
12626         * math/w_exp2l.c (__exp2l): Likewise.
12627         * math/auto-libm-test-in: Do not allow missing errno on exp2
12628         underflow.
12629         * math/auto-libm-test-out: Regenerated.
12630
12631 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12632
12633         [BZ #16274]
12634         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12635         handle filename validation.
12636         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12637         (do_open): Delete.
12638
12639 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12640
12641         [BZ #6786]
12642         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12643         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12644         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12645         <float.h>.
12646         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12647         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12648         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12649         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12650         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12651         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12652         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12653         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12654         Add more erfc tests.
12655         * math/auto-libm-test-out: Regenerated.
12656         * sysdeps/i386/fpu/libm-test-ulps: Update.
12657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12658
12659         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12660         exp2, expm1, j0 and j1.
12661         * math/auto-libm-test-out: Regenerated.
12662         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12663         (erfc_test_data): Likewise.
12664         (exp_test_data): Likewise.
12665         (exp_tonearest_test_data): Likewise.
12666         (exp_towardzero_test_data): Likewise.
12667         (exp_downward_test_data): Likewise.
12668         (exp_upward_test_data): Likewise.
12669         (exp10_test_data): Likewise.
12670         (exp2_test_data): Likewise.
12671         (expm1_test_data): Likewise.
12672         (j0_test_data): Likewise.
12673         (j1_test_data): Likewise.
12674         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12675         (input_flag_type): Add flag_xfail_rounding.
12676         (input_flags): Add xfail-rounding.
12677         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12678         (output_for_one_input_case): Handle flag_xfail_rounding.
12679         * sysdeps/i386/fpu/libm-test-ulps: Update.
12680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12681
12682 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12683
12684         [BZ #16289]
12685         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12686         division by 0.
12687
12688 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12689
12690         [BZ #16195]
12691         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12692         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12693         (STAP_PROBE0): New macro.
12694         (STAP_PROBE1): Likewise.
12695         (STAP_PROBE2): Likewise.
12696         (STAP_PROBE3): Likewise.
12697         (STAP_PROBE4): Likewise.
12698
12699 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12700
12701         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12702
12703 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12704
12705         * benchtests/Makefile (bench): Add sqrt.
12706         (LDLIBS-bench-sqrt): New.
12707         * benchtests/sqrt-input: New.
12708
12709 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12710
12711         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12712         (GAIH_EAI): Likewise.
12713         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12714         (gaih_inet): Likewise.
12715         (getaddrinfo): Don't use GAIH_EAI.
12716
12717         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12718         (struct gaih): Remove definition.
12719
12720 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12721
12722         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12723         Use HERRNOP directly.
12724
12725 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12726
12727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12728
12729 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12730
12731         * math/gen-auto-libm-tests.c (test_functions): Add more
12732         single-argument functions.
12733         (special_fill_pi_2): New function.
12734         (special_fill_minus_pi_2): Likewise.
12735         (special_fill_pi_6): Likewise.
12736         (special_fill_minus_pi_6): Likewise.
12737         (special_fill_pi_3): Likewise.
12738         (special_fill_2pi_3): Likewise.
12739         (special_fill_e): Likewise.
12740         (special_fill_1_e): Likewise.
12741         (special_fill_e_minus_1): Likewise.
12742         (special_real_inputs): Add more special inputs.
12743         (output_for_one_input_case): Do not require ERANGE on underflow to
12744         zero if round-to-nearest result does not underflow to zero, unless
12745         exact results required.
12746         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12747         atan, atanh, cbrt, cos and cosh.
12748         * math/auto-libm-test-out: Regenerated.
12749         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12750         (acos_tonearest_test_data): Likewise.
12751         (acos_towardzero_test_data): Likewise.
12752         (acos_downward_test_data): Likewise.
12753         (acos_upward_test_data): Likewise.
12754         (acosh_test_data): Likewise.
12755         (asin_test_data): Likewise.
12756         (asin_tonearest_test_data): Likewise.
12757         (asin_towardzero_test_data): Likewise.
12758         (asin_upward_test_data): Likewise.
12759         (asinh_test_data): Likewise.
12760         (atan_test_data): Likewise.
12761         (atanh_test_data): Likewise.
12762         (cbrt_test_data): Likewise.
12763         (cos_test_data): Likewise.
12764         (cos_tonearest_test_data): Likewise.
12765         (cos_towardzero_test_data): Likewise.
12766         (cos_downward_test_data): Likewise.
12767         (cos_upward_test_data): Likewise.
12768         (cosh_test_data): Likewise.
12769         (cosh_tonearest_test_data): Likewise.
12770         (cosh_towardzero_test_data): Likewise.
12771         (cosh_downward_test_data): Likewise.
12772         (cosh_upward_test_data): Likewise.
12773         * sysdeps/i386/fpu/libm-test-ulps: Update.
12774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12775
12776 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12777
12778         [BZ #6787]
12779         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12780         * math/w_exp10f.c (__exp10f): Likewise.
12781         * math/w_exp10l.c (__exp10l): Likewise.
12782         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12783         errno settings in existing tests.
12784
12785         [BZ #14032]
12786         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12787         precision control set to double precision.
12788         * sysdeps/i386/fpu/w_sqrt.c: New file.
12789         * math/auto-libm-test-in: Add more tests.
12790         * math/auto-libm-test-out: Update.
12791
12792         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12793         (sqrt_test_tonearest): New function.
12794         (sqrt_towardzero_test_data): New variable.
12795         (sqrt_test_towardzero): New function.
12796         (sqrt_downward_test_data): New variable.
12797         (sqrt_test_downward): New function.
12798         (sqrt_upward_test_data): New variable.
12799         (sqrt_test_upward): New function.
12800         (main): Call the new functions.
12801
12802         * math/gen-auto-libm-tests.c: New file.
12803         * math/auto-libm-test-in: Likewise.
12804         * math/auto-libm-test-out: New generated file.
12805         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12806         variables.
12807         (%beautify): Add generated representations of zero.
12808         (top level): Set $auto_input and call parse_auto_input.
12809         (beautify): Remove trailing "f" from hex float constants.
12810         (parse_args): Handle XFAIL_TEST.
12811         (convert_condition): New function.
12812         (or_value): Likewise.
12813         (or_cond_value): Likewise.
12814         (generate_testfile): Handle AUTO_TESTS_* lines.
12815         (parse_auto_input): New function.
12816         * math/libm-test.inc (XFAIL_TEST): New macro.
12817         (ERRNO_UNCHANGED): Update value.
12818         (ERRNO_EDOM): Likewise.
12819         (ERRNO_ERANGE): Likewise.
12820         (IGNORE_RESULT): Likewise.
12821         (TEST_COND_flt_32): New macro.
12822         (TEST_COND_dbl_64): Likewise.
12823         (TEST_COND_ldbl_96_intel): Likewise.
12824         (TEST_COND_ldbl_96_m68k): Likewise.
12825         (TEST_COND_ldbl_128): Likewise.
12826         (TEST_COND_ldbl_128ibm): Likewise.
12827         (TEST_COND_long32): Likewise.
12828         (TEST_COND_long64): Likewise.
12829         (TEST_COND_before_rounding): Likewise.
12830         (TEST_COND_after_rounding): Likewise.
12831         (enable_test): Handle XFAIL_TEST flag.
12832         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12833         with finite results.
12834         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12835         auto-libm-test-out.
12836
12837 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12838             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12839
12840         [BZ #16214]
12841         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12842         __tls_get_addr_internal instead of __tls_get_offset in order to
12843         avoid GOT pointer dependency.  Make rtld export
12844         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12845         __tls_get_addr since we are a __tls_get_offset platform.
12846         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12847         GOT pointer being set up before.
12848         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12849
12850 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12851
12852         * manual/math.texi (Errors in Math Functions): Document accuracy
12853         goals.
12854
12855         [BZ #15004]
12856         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12857         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12858         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12859         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12860         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12861         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12862         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12863         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12864         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12865         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12866         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12867         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12868         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12869         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12870         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12871         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12872
12873         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12874         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12875         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12876         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12877         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12878         Likewise.
12879         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12880         Likewise.
12881         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12882         Likewise.
12883         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12884         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12885         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12886         atomic-feupdateenv and flt-rounds.
12887         * sysdeps/powerpc/nofpu/Versions (libc): Add
12888         __atomic_feholdexcept, __atomic_feclearexcept,
12889         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12890         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12891         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12892         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12893         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12894         here.
12895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12896         Update.
12897
12898         * manual/arith.texi (FP Exceptions): Document that exceptions may
12899         not be raised when matherr is used.
12900         (Math Error Reporting): Document overflow in directed rounding
12901         modes.  Document that errno may not be set when finite values are
12902         returned on overflow.  Document intent to set errno on underflow
12903         only for underflow to zero.
12904
12905         [BZ #16271]
12906         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12907         round-to-nearest then adjust result for other rounding modes.
12908         * include/fenv.h (fegetround): Use libm_hidden_proto.
12909         * math/fegetround.c (fegetround): Use libm_hidden_def.
12910         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12911         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12912         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12913         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12914         Likewise.
12915         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12916         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12917         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12918         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12919
12920 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12921
12922         [BZ #16077]
12923         * nss/Versions (libnss_files): Add
12924         _nss_files_gethostbyname3_r.
12925         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12926         New function.
12927         (HOST_DB_LOOKUP): Remove macro.
12928         (_nss_files_gethostbyname_r): Implement function without the
12929         HOST_DB_LOOKUP macro.
12930         (_nss_files_gethostbyname2_r): Likewise.
12931
12932 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12933
12934         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12935
12936 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12937
12938         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12939         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12940         warning.
12941
12942 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12943
12944         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12945         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12946         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12947         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12948         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12949         __fe_nomask_env_priv and attribute_hidden.
12950         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12951         (libc_feupdateenv_test_ppc): Likewise.
12952         (libc_feresetround_ppc): Likewise.
12953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12954         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12955         compat_symbol macro.
12956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12957         (__fe_nomask_env): Likewise.
12958         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12959
12960 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12961
12962         * string/Makefile: Remove ifunc tests.
12963         * string/test-string.h: Define TEST_IFUNC.
12964         * string/test-bcopy-ifunc.c: Remove.
12965         * string/test-bzero-ifunc.c: Likewise.
12966         * string/test-memccpy-ifunc.c: Likewise.
12967         * string/test-memchr-ifunc.c: Likewise.
12968         * string/test-memcmp-ifunc.c: Likewise.
12969         * string/test-memcpy-ifunc.c: Likewise.
12970         * string/test-memmem-ifunc.c: Likewise.
12971         * string/test-memmove-ifunc.c: Likewise.
12972         * string/test-mempcpy-ifunc.c: Likewise.
12973         * string/test-memrchr-ifunc.c: Likewise.
12974         * string/test-memset-ifunc.c: Likewise.
12975         * string/test-rawmemchr-ifunc.c: Likewise.
12976         * string/test-stpcpy-ifunc.c: Likewise.
12977         * string/test-stpncpy-ifunc.c: Likewise.
12978         * string/test-strcasecmp-ifunc.c: Likewise.
12979         * string/test-strcasestr-ifunc.c: Likewise.
12980         * string/test-strcat-ifunc.c: Likewise.
12981         * string/test-strchr-ifunc.c: Likewise.
12982         * string/test-strchrnul-ifunc.c: Likewise.
12983         * string/test-strcmp-ifunc.c: Likewise.
12984         * string/test-strcpy-ifunc.c: Likewise.
12985         * string/test-strcspn-ifunc.c: Likewise.
12986         * string/test-strlen-ifunc.c: Likewise.
12987         * string/test-strncasecmp-ifunc.c: Likewise.
12988         * string/test-strncat-ifunc.c: Likewise.
12989         * string/test-strncmp-ifunc.c: Likewise.
12990         * string/test-strncpy-ifunc.c: Likewise.
12991         * string/test-strnlen-ifunc.c: Likewise.
12992         * string/test-strpbrk-ifunc.c: Likewise.
12993         * string/test-strrchr-ifunc.c: Likewise.
12994         * string/test-strspn-ifunc.c: Likewise.
12995         * string/test-strstr-ifunc.c: Likewise.
12996
12997 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12998
12999         * benchtests/Makefile: Remove ifunc tests.
13000         * benchtests/bench-string.h: Define TEST_IFUNC.
13001         * benchtests/bench-bcopy-ifunc.c: Remove.
13002         * benchtests/bench-bzero-ifunc.c: Likewise.
13003         * benchtests/bench-memccpy-ifunc.c: Likewise.
13004         * benchtests/bench-memchr-ifunc.c: Likewise.
13005         * benchtests/bench-memcmp-ifunc.c: Likewise.
13006         * benchtests/bench-memcpy-ifunc.c: Likewise.
13007         * benchtests/bench-memmem-ifunc.c: Likewise.
13008         * benchtests/bench-memmove-ifunc.c: Likewise.
13009         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13010         * benchtests/bench-memrchr-ifunc.c: Likewise.
13011         * benchtests/bench-memset-ifunc.c: Likewise.
13012         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13013         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13014         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13015         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13016         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13017         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13018         * benchtests/bench-strcat-ifunc.c: Likewise.
13019         * benchtests/bench-strchr-ifunc.c: Likewise.
13020         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13021         * benchtests/bench-strcmp-ifunc.c: Likewise.
13022         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13023         * benchtests/bench-strcpy-ifunc.c: Likewise.
13024         * benchtests/bench-strcspn-ifunc.c: Likewise.
13025         * benchtests/bench-strlen-ifunc.c: Likewise.
13026         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13027         * benchtests/bench-strncat-ifunc.c: Likewise.
13028         * benchtests/bench-strncmp-ifunc.c: Likewise.
13029         * benchtests/bench-strncpy-ifunc.c: Likewise.
13030         * benchtests/bench-strnlen-ifunc.c: Likewise.
13031         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13032         * benchtests/bench-strrchr-ifunc.c: Likewise.
13033         * benchtests/bench-strsep-ifunc.c: Likewise.
13034         * benchtests/bench-strspn-ifunc.c: Likewise.
13035         * benchtests/bench-strstr-ifunc.c: Likewise.
13036
13037 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13038
13039         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13040
13041 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13042
13043         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13044         * rt/aio.h: Likewise.
13045         * sysdeps/gnu/bits/utmp.h: Likewise.
13046         * sysdeps/gnu/bits/utmpx.h: Likewise.
13047         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13048         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13049         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13050         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13051         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13052         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13053         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13054         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13055         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13056         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13057         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13058         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13059         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13061         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13062         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13063         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13064         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13065         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13066         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13067         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13068         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13069         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13070         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13071         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13073         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13074         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13075         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13076         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13077         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13078         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13079         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13080         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13081         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13082         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13083         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13084         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13085         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13086         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13087         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13088         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13089
13090 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13091
13092         [BZ #16245]
13093         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13094         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13095
13096 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13097
13098         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13099         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13100         Likewise.
13101
13102 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13103
13104         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13105         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13106         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13107         (__fesetround): Remove define.
13108         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13109         rounding and exceptions handling.
13110         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13111         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13112         (__fe_nomask_env): Likewise.
13113         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13114         __fegetround instead of fegetround.
13115         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13116         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13117
13118 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13119
13120         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13121         it's there.
13122
13123         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13124
13125 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13126
13127         [BZ #11157]
13128         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13129         (encrypt_r): Likewise.
13130         * malloc/obstack.h (obstack_free): Likewise.
13131         * posix/unistd.h (encrypt): Likewise.
13132
13133 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13134
13135         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13136         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13137         DL_CALL_DT_FINI() that call the functions directly.
13138         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13139         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13140         * elf/dl-fini.c: Likewise.
13141
13142 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13143
13144         * malloc/hooks.c (memalign_check): Add alignment rounding.
13145         * malloc/malloc.c (_mid_memalign): New function.
13146         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13147         Implement by calling _mid_memalign.
13148         * manual/probes.texi (Memory Allocation Probes): Remove
13149         memory_valloc_retry and memory_pvalloc_retry.
13150
13151 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13152
13153         * locale/programs/locarchive.c (open_archive): Add const
13154         qualifier to ARCHIVEFNAME and copy default fname to
13155         DEFAULT_FNAME.
13156
13157         [BZ #15601]
13158         * libio/tst-widetext.input: Rename Oriya to Odia.
13159         * locale/iso-639.def: Likewise.
13160
13161         * manual/probes.texi (Mathematical Function Probes): Add
13162         documentation for sin, cos, asin and acos probes.
13163         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13164         (__sin32): Add slowasin probe.
13165         (__cos32): Add slowacos probe.
13166         (__mpsin): Add slowsin probe.
13167         (__mpcos): Add slowcos probe.
13168
13169 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13170
13171         [BZ #15483]
13172         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13173         thread-local __sim_exceptions_thread and global
13174         __sim_exceptions_global.
13175         (__sim_disabled_exceptions): Change to thread-local
13176         __sim_disabled_exceptions_thread and global
13177         __sim_disabled_exceptions_global.
13178         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13179         and global __sim_round_mode_global.
13180         (__simulate_exceptions): Use thread-local floating-point state and
13181         set global state from it as needed.
13182         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13183         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13184         __sim_round_mode_thread.
13185         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13186         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13187         and global __sim_exceptions_global.
13188         (__sim_disabled_exceptions): Change to thread-local
13189         __sim_disabled_exceptions_thread and global
13190         __sim_disabled_exceptions_global.
13191         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13192         and global __sim_round_mode_global.
13193         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13194         (SIM_SET_GLOBAL): Likewise.
13195         * sysdeps/powerpc/soft-fp/sfp-machine.h
13196         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13197         __sim_round_mode_thread.
13198         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13199         __sim_disabled_exceptions_thread.
13200         (__sim_exceptions): Change to __sim_exceptions_thread.
13201         (__sim_disabled_exceptions): Change to
13202         __sim_disabled_exceptions_thread.
13203         (__sim_round_mode): Change to __sim_round_mode_thread.
13204         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13205         thread-local floating-point state and set global state from it as
13206         needed.
13207         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13208         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13209         (__sim_disabled_exceptions): Remove extern declaration.
13210         (feenableexcept): Use thread-local floating-point state and set
13211         global state from it as needed.
13212         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13213         extern declaration.
13214         (__sim_disabled_exceptions): Likewise.
13215         (__sim_round_mode): Likewise.
13216         (__fegetenv): Use thread-local floating-point state.
13217         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13218         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13219         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13220         floating-point state and set global state from it as needed.
13221         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13222         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13223         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13224         Likewise.
13225         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13226         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13227         Likewise.
13228         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13229         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13230         Use __sim_round_mode_thread.
13231         * math/test-fenv-tls.c: New file.
13232         * math/Makefile (tests): Add test-fenv-tls.
13233         ($(objpfx)test-fenv-tls): Depend on
13234         $(common-objpfx)nptl/libpthread.so.
13235
13236 2013-11-19  Andreas Schwab  <schwab@suse.de>
13237
13238         * locale/programs/locale.c (show_info): Decode wordarray elements.
13239         * locale/categories.def (LC_MONETARY): Add element for
13240         _NL_MONETARY_CRNCYSTR.
13241         * locale/C-monetary.c (conversion_rate): New variable.
13242         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13243         element.
13244
13245 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13246
13247         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13248         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13249
13250 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13251
13252         * elf/Makefile (tst-auxv): New test.
13253         * elf/tst-auxv.c: New
13254         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13255
13256 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13257
13258         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13259         (hidden_proto): Caller changed.
13260         (hidden_tls_proto): New macro.
13261         (libc_hidden_tls_proto): Likewise.
13262         (rtld_hidden_tls_proto): Likewise.
13263         (libm_hidden_tls_proto): Likewise.
13264         (libresolv_hidden_tls_proto): Likewise.
13265         (librt_hidden_tls_proto): Likewise.
13266         (libdl_hidden_tls_proto): Likewise.
13267         (libnss_files_hidden_tls_proto): Likewise.
13268         (libnsl_hidden_tls_proto): Likewise.
13269         (libnss_nisplus_hidden_tls_proto): Likewise.
13270         (libutil_hidden_tls_proto): Likewise.
13271
13272 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13273
13274         [BZ #10253]
13275         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13276         (decompose_rpath): Defer expansion to fillin_rpath.
13277         (_dl_init_paths): Pass linkmap to fillin_rpath.
13278
13279 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13280
13281         * benchtests/Makefile: Add strsep.
13282         * benchtests/bench-strsep.c: New file: strsep benchtest.
13283         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13284
13285 2013-11-18  Andreas Schwab  <schwab@suse.de>
13286
13287         * locale/programs/locale.c (show_info) [case byte]: Check for
13288         '\377' instead of '\177'.
13289         * locale/C-monetary.c (not_available): Always use "\377".
13290         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13291         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13292         detect unavailable sign_posn locale elements.
13293         * locale/localeconv.c (__localeconv): For grouping and
13294         mon_grouping handle "\177" and "\377" like no grouping.
13295         (INT_ELEM): New macro.  Use it to set all numeric members.
13296         * locale/programs/ld-monetary.c (monetary_read)
13297         <tok_mon_grouping>: Normalize single -1 to the empty string.
13298         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13299         Likewise.
13300
13301 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13302
13303         [BZ #16055]
13304         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13305         when we match (nil).
13306         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13307
13308 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13309
13310         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13311         (NO_TEST_INLINE): Update value.
13312         (ERRNO_UNCHANGED): Likewise.
13313         (ERRNO_EDOM): Likewise.
13314         (ERRNO_ERANGE): Likewise.
13315         (IGNORE_RESULT): Likewise.
13316         (check_float_internal): Check signs of NaN results if
13317         TEST_NAN_SIGN used.
13318         (check_complex): Pass TEST_NAN_SIGN flag through to second
13319         check_float_internal call.
13320         (copysign_test_data): Add tests with quiet NaNs as second
13321         argument.  Use TEST_NAN_SIGN.
13322         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13323         TEST_NAN_SIGN.
13324         (signbit_test_data): Add tests of quiet NaN argument.
13325         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13326
13327         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13328         $ignore_result.
13329         (parse_args): Handle function results specified as IGNORE.
13330         * math/libm-test.inc (IGNORE_RESULT): New macro.
13331         (check_float_internal): Do not check numerical result if flag
13332         IGNORE_RESULT set.
13333         (check_complex): Pass through IGNORE_RESULT to second
13334         check_float_internal call.
13335         (check_int): Do not check numerical result if flag IGNORE_RESULT
13336         set.
13337         (check_long): Likewise.
13338         (check_bool): Likewise.
13339         (check_longlong): Likewise.
13340         (lrint_test_data): Add tests of infinite and NaN arguments.
13341         (lrint_tonearest_test_data): Likewise.
13342         (lrint_towardzero_test_data): Likewise.
13343         (lrint_downward_test_data): Likewise.
13344         (lrint_upward_test_data): Likewise.
13345         (llrint_test_data): Likewise.
13346         (llrint_tonearest_test_data): Likewise.
13347         (llrint_towardzero_test_data): Likewise.
13348         (llrint_downward_test_data): Likewise.
13349         (llrint_upward_test_data): Likewise.
13350         (lround_test_data): Likewise.
13351         (llround_test_data): Likewise.
13352
13353         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13354         (ERRNO_UNCHANGED): Update value.
13355         (ERRNO_EDOM): Likewise.
13356         (ERRNO_ERANGE): Likewise.
13357         (NO_TEST_INLINE_FLOAT): New macro.
13358         (NO_TEST_INLINE_DOUBLE): Likewise.
13359         (enable_test): New function.
13360         (RUN_TEST_f_f): Check enable_test before running test.
13361         (RUN_TEST_2_f): Likewise.
13362         (RUN_TEST_fff_f): Likewise.
13363         (RUN_TEST_c_f): Likewise.
13364         (RUN_TEST_f_f1): Likewise.
13365         (RUN_TEST_fF_f1): Likewise.
13366         (RUN_TEST_fI_f1): Likewise.
13367         (RUN_TEST_ffI_f1): Likewise.
13368         (RUN_TEST_c_c): Likewise.
13369         (RUN_TEST_cc_c): Likewise.
13370         (RUN_TEST_f_i): Likewise.
13371         (RUN_TEST_f_i_tg): Likewise.
13372         (RUN_TEST_ff_i_tg): Likewise.
13373         (RUN_TEST_f_b): Likewise.
13374         (RUN_TEST_f_b_tg): Likewise.
13375         (RUN_TEST_f_l): Likewise.
13376         (RUN_TEST_f_L): Likewise.
13377         (RUN_TEST_fFF_11): Likewise.
13378         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13379         conditionals.
13380         (cosh_test_data): Likewise.
13381         (exp_test_data): Likewise.
13382         (expm1_test_data): Likewise.
13383         (hypot_test_data): Likewise.
13384         (pow_test_data): Likewise.
13385         (sinh_test_data): Likewise.
13386         (tanh_test_data): Likewise.
13387         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13388         flags argument.
13389
13390         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13391         tests with quiet NaN input and output.
13392         (acosh_test_data): Likewise.
13393         (asin_test_data): Likewise.
13394         (asinh_test_data): Likewise.
13395         (atan_test_data): Likewise.
13396         (atanh_test_data): Likewise.
13397         (atan2_test_data): Likewise.
13398         (cbrt_test_data): Likewise.
13399         (cos_test_data): Likewise.
13400         (cosh_test_data): Likewise.
13401         (erf_test_data): Likewise.
13402         (erfc_test_data): Likewise.
13403         (exp_test_data): Likewise.
13404         (exp10_test_data): Likewise.
13405         (exp2_test_data): Likewise.
13406         (expm1_test_data): Likewise.
13407         (hypot_test_data): Likewise.
13408         (j0_test_data): Likewise.
13409         (j1_test_data): Likewise.
13410         (jn_test_data): Likewise.
13411         (lgamma_test_data): Likewise.
13412         (log_test_data): Likewise.
13413         (log10_test_data): Likewise.
13414         (log1p_test_data): Likewise.
13415         (log2_test_data): Likewise.
13416         (pow_test_data): Likewise.
13417         (scalb_test_data): Likewise.
13418         (sin_test_data): Likewise.
13419         (sincos_test_data): Likewise.
13420         (sinh_test_data): Likewise.
13421         (tan_test_data): Likewise.
13422         (tanh_test_data): Likewise.
13423         (tgamma_test_data): Likewise.
13424         (y0_test_data): Likewise.
13425         (y1_test_data): Likewise.
13426         (yn_test_data): Likewise.
13427
13428         [BZ #16167]
13429         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13430         argument being NaN and avoid computations with second argument in
13431         that case.
13432         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13433         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13434         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13435
13436 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13437
13438         * locale/iso-639.def: Add Chitwani Tharu (the).
13439
13440 2013-11-14  Andreas Schwab  <schwab@suse.de>
13441
13442         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13443         word instead of empty string.
13444
13445 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13446
13447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13448         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13450         (__fe_nomask_env): Likewise.
13451
13452 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13453
13454         * benchtests/bench-timing.h: Include time.h.
13455
13456 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13457
13458         [BZ #15997]
13459         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13460         to 3.4.0 for x32.
13461         * sysdeps/unix/sysv/linux/configure: Regenerated.
13462
13463 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13464
13465         [BZ #16151]
13466         * stdlib/strtod_l.c (round_and_return): Do not consider
13467         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13468         exponent one less than half the least subnormal exponent.
13469         * stdlib/test-strtod-round-data: Add more tests.
13470         * stdlib/tst-strtod-round.c (tests): Regenerated.
13471
13472 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13473
13474         [BZ #14143]
13475         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13476         (__fe_mask_env): Likewise.
13477         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13478         libm_hidden_proto and add function prototype.
13479         (__fe_mask_env): Add function prototype.
13480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13481         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13483         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13485         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13486
13487 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13488
13489         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13490         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13491
13492 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13493
13494         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13495         of htab_find_slot().
13496
13497 2013-11-11  David S. Miller  <davem@davemloft.net>
13498
13499         [BZ #16150]
13500         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13501         symbol in the non-vis3 case in static builds.
13502         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13503         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13504         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13505         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13506
13507 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13508
13509         [BZ #387]
13510         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13511         it is empty.
13512
13513 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13514
13515         * benchtests/Makefile: Add bench-strtod.
13516         * benchtests/bench-strtod.c: New file: strtod benchtest
13517
13518 2013-11-11  Andreas Schwab  <schwab@suse.de>
13519
13520         [BZ #16153]
13521         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13522         terminating NUL in key length.
13523
13524 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13525
13526         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13527         Add artificial ODP entry for vDSO symbol for PPC64.
13528         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13529         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13530
13531 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13532
13533         [BZ #15374]
13534         * nss/getent.c (services_keys): Recognize services starting with digit.
13535
13536 2013-11-06  David S. Miller  <davem@davemloft.net>
13537
13538         [BZ #15985]
13539         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13540         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13541
13542 2013-11-06  Will Newton  <will.newton@linaro.org>
13543
13544         * manual/memory.texi (Malloc Examples): Remove register
13545         keyword from examples.
13546
13547 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13548
13549         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13550
13551 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13552
13553         [BZ #6981]
13554         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13555         depending on [__GCC_IEC_559 > 0].
13556         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13557         depending on [__GCC_IEC_559_COMPLEX > 0].
13558
13559 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13560
13561         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13562         to iso-639.def.
13563
13564 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13565
13566         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13567
13568 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13569
13570         [BZ #16112]
13571         * malloc/malloc (malloc_info): Do not handle first bin as
13572         special case.
13573
13574 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13575
13576         * locale/iso-639.def: Add Central Nahuatl (nhn).
13577
13578 2013-11-01  Bruno Haible  <bruno@clisp.org>
13579
13580         [BZ #7003]
13581         * manual/math.texi (BSD Random): Specify range upper bound as
13582         in POSIX.
13583
13584 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13585
13586         * locale/iso-639.def: Add Meadow Mari (mhr).
13587
13588 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13589
13590         [BZ #14752], [BZ #15763]
13591         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13592         Validate name.
13593         * rt/tst_shm.c: Add test for escaping directory.
13594
13595 2013-10-31  Andreas Schwab  <schwab@suse.de>
13596
13597         [BZ #15917]
13598         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13599         followed by 'x' as part of digit sequence.
13600         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13601
13602 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13603
13604         [BZ #16037]
13605         * configure.ac: allow GNU Make 4.0 and greater.
13606         * configure: Regenerated.
13607
13608 2013-10-30  Will Newton  <will.newton@linaro.org>
13609
13610         [BZ #16038]
13611         * malloc/hooks.c (memalign_check): Limit alignment to the
13612         maximum representable power of two.
13613         * malloc/malloc.c (__libc_memalign): Likewise.
13614         * malloc/tst-memalign.c (do_test): Add test for very
13615         large alignment values.
13616         * malloc/tst-posix_memalign.c (do_test): Likewise.
13617
13618 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13619
13620         [BZ #11087]
13621         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13622         (munmap_chunk): Likewise.
13623         (mremap_chunk): Likewise.
13624
13625 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13626
13627         [BZ #15799]
13628         * stdlib/div.c (div): Remove obsolete code.
13629         * stdlib/ldiv.c (ldiv): Likewise.
13630         * stdlib/lldiv.c (lldiv): Likewise.
13631
13632 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13633
13634         [BZ #16071]
13635         * nss/nss_files/files-XXX.c (get_contents_ret): New
13636         enumerator.
13637         (get_contents): New function.
13638         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13639
13640 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13641
13642         * configure.in: Moved to ...
13643         * configure.ac: ... here. Change reference to configure.in
13644         to configure.ac.
13645         * sysdeps/arm/preconfigure.ac: ... here.
13646         configure.in to configure.ac.
13647         * sysdeps/gnu/configure.in: Moved to ...
13648         * sysdeps/gnu/configure.ac: ... here.
13649         * sysdeps/i386/configure.in: Moved to ...
13650         * sysdeps/i386/configure.ac: ... here.
13651         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13652         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13653         * sysdeps/mach/configure.in: Moved to ...
13654         * sysdeps/mach/configure.ac: ... here.
13655         * sysdeps/mach/hurd/configure.in: Moved to ...
13656         * sysdeps/mach/hurd/configure.ac: ... here.
13657         * sysdeps/powerpc/configure.in: Moved to ...
13658         * sysdeps/powerpc/configure.ac: ... here.
13659         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13660         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13661         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13662         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13663         * sysdeps/s390/s390-32/configure.in: Moved to ...
13664         * sysdeps/s390/s390-32/configure.ac: ... here.
13665         * sysdeps/s390/s390-64/configure.in: Moved to ...
13666         * sysdeps/s390/s390-64/configure.ac: ... here.
13667         * sysdeps/sh/configure.in: Moved to ...
13668         * sysdeps/sh/configure.ac: ... here.
13669         * sysdeps/sparc/configure.in: Moved to ...
13670         * sysdeps/sparc/configure.ac: ... here.
13671         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13672         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13673         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13674         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13675         * sysdeps/x86_64/configure.in: Moved to ...
13676         * sysdeps/x86_64/configure.ac: ... here.
13677         * sysdeps/x86_64/preconfigure.in: Moved to ...
13678         * sysdeps/x86_64/preconfigure.ac: ... here.
13679         * aclocal.m4: Change reference to configure.in to configure.ac.
13680         * config.h.in: Likewise.
13681         * manual/install.texi: Likewise.
13682         * manual/maint.texi: Likewise.
13683         * Makefile: Likewise.
13684         * malloc/Makefile: Likewise.
13685         * nscd/Makefile: Likewise.
13686         * Makeconfig: Change reference to configure.in and
13687         preconfigure.in to configure.ac and preconfigure.ac
13688         respectively.
13689         * INSTALL: Regenerated.
13690         * configure: Likewise.
13691         * sysdeps/gnu/configure: Likewise.
13692         * sysdeps/i386/configure: Likewise.
13693         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13694         * sysdeps/mach/configure: Likewise.
13695         * sysdeps/mach/hurd/configure: Likewise.
13696         * sysdeps/powerpc/configure: Likewise.
13697         * sysdeps/powerpc/powerpc32/configure: Likewise.
13698         * sysdeps/powerpc/powerpc64/configure: Likewise.
13699         * sysdeps/s390/s390-32/configure: Likewise.
13700         * sysdeps/s390/s390-64/configure: Likewise.
13701         * sysdeps/sh/configure: Likewise.
13702         * sysdeps/sparc/configure: Likewise.
13703         * sysdeps/unix/sysv/linux/configure: Likewise.
13704         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13705         * sysdeps/x86_64/configure: Likewise.
13706         * sysdeps/x86_64/preconfigure: Likewise.
13707
13708 2013-10-29  Andreas Schwab  <schwab@suse.de>
13709
13710         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13711
13712 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13713
13714         * benchtests/pow-inputs: Add new inputs.
13715
13716         * benchtests/exp-inputs: Add new inputs.
13717
13718         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13719         conditional check for return value.
13720         (__cos32): Likewise.
13721
13722 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13723
13724         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13725         to provide a boost for large inputs with word alignment.
13726         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13727         implementation based on optimized PPC64 strcpy.
13728         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13729         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13730         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13731         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13732
13733 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13734
13735         [BZ #2801]
13736         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13737
13738 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13739
13740         [BZ #14876]
13741         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13742         * time/tst-strptime.c (day_tests): Add testcase.
13743
13744 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13745
13746         [BZ #14029]
13747         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13748
13749 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13750
13751         [BZ #16074]
13752         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13753         MAP_FAILED on error.
13754
13755 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13756
13757         [BZ #16072]
13758         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13759         heap for large requests.
13760
13761 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13762
13763         [BZ #9954]
13764         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13765         result if the result has no associated interface.
13766         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13767         interface for all 127.X.Y.Z addresses.
13768
13769 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13770
13771         * locale/iso-639.def: Add Ligurian (lij)
13772
13773 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13774
13775         [BZ #15825]
13776         * sunrpc/rpc_main.c: Document rpcgen -5.
13777
13778 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13779
13780         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13781
13782 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13783
13784         [BZ #10278]
13785         * posix/glob.c: Match only directories when trailing slash is present.
13786         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13787         (main): Add testcase.
13788
13789 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13790
13791         [BZ #15670]
13792         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13793
13794 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13795
13796         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13797         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13798         AUTH_DES and cindex for FIPS 140-2.
13799         (DES Encryption): Add cindex FIPS 46-3.
13800
13801         * locale/locarchive.h (struct locarhandle): Add fname.
13802         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13803         if an optional argument was specified to --list-archive,
13804         otherwise NULL.
13805         * locale/programs/locarchive.c (show_archive_content): Take new
13806         argument fname and pass it via ah.fname to open_archive.
13807         * locale/programs/localedef.h: Update decl.
13808         (open_archive): If AH->fname is non-null, open that file
13809         rather than the default file name, and don't ignore ENOENT.
13810         (create_archive): Set AH.fname to NULL.
13811         (delete_locales_from_archive): Likewise.
13812         (add_locales_to_archive): Likewise.
13813         * locale/programs/locfile.c (write_all_categories): Likewise.
13814
13815 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13816             Aldy Hernandez  <aldyh@redhat.com>
13817
13818         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13819         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13820         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13821         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13822         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13823         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13824         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13825         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13826         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13827         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13828         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13829         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13830         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13831         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13832         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13833         Likewise.
13834         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13835         Likewise.
13836         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13837         Likewise.
13838         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13839         Likewise.
13840         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13841         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13842         Likewise.
13843         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13844         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13845         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13846         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13847         Likewise.
13848         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13849         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13850         * sysdeps/powerpc/preconfigure: Likewise.
13851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13852         Likewise.
13853         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13854         Replace contents of file by #include of <fenv_libc.h>.
13855         * sysdeps/powerpc/soft-fp/sfp-machine.h
13856         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13857         and <sys/prctl.h>.
13858         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13859         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13860         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13861         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13862         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13863         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13865         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13866         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13867         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13868         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13869         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13871         Allow copysignl PLT reference to be missing.
13872
13873 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13874             Joseph Myers  <joseph@codesourcery.com
13875
13876         [BZ #15948]
13877         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13878         single character.
13879         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13880
13881 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13882
13883         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13884         * elf/tst-tls1.c: Likewise.
13885         * elf/tst-tls10.h: Likewise.
13886         * elf/tst-tls14.c: Likewise.
13887         * elf/tst-tls2.c: Likewise.
13888         * elf/tst-tls3.c: Likewise.
13889         * elf/tst-tls4.c: Likewise.
13890         * elf/tst-tls5.c: Likewise.
13891         * elf/tst-tls6.c: Likewise.
13892         * elf/tst-tls7.c: Likewise.
13893         * elf/tst-tls8.c: Likewise.
13894         * elf/tst-tls9.c: Likewise.
13895         * elf/tst-tlsmod1.c: Likewise.
13896         * elf/tst-tlsmod13.c: Likewise.
13897         * elf/tst-tlsmod13a.c: Likewise.
13898         * elf/tst-tlsmod14a.c: Likewise.
13899         * elf/tst-tlsmod16a.c: Likewise.
13900         * elf/tst-tlsmod16b.c: Likewise.
13901         * elf/tst-tlsmod2.c: Likewise.
13902         * elf/tst-tlsmod3.c: Likewise.
13903         * elf/tst-tlsmod4.c: Likewise.
13904         * elf/tst-tlsmod5.c: Likewise.
13905         * elf/tst-tlsmod6.c: Likewise.
13906
13907 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13908
13909         [BZ #12486]
13910         * malloc/malloc.c: remove checks for statistics.
13911
13912 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13913
13914         [BZ #15277]
13915         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13916         * inet/tst-network.c: Add testcase.
13917
13918 2013-10-17  Andreas Schwab  <schwab@suse.de>
13919
13920         [BZ #15218]
13921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13922         to determine canonical name.
13923
13924 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13925
13926         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13927         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13928         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13929         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13930         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13931         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13932         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13933         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13934         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13935         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13936         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13937         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13938         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13939         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13940         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13941         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13943         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13944         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13945         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13946         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13947         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13948         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13949         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13950         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13951         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13952         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13953         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13954         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13955         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13956         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13957         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13958         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13959         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13960         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13961         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13962         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13963         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13964         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13965         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13966         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13967         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13968         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13969         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13970         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13971         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13972         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13973         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13974         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13975         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13976         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13977         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13978         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13979         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13980         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13981         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13982         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13983         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13984
13985 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13986
13987         [BZ #16041]
13988         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13989         make result into a quiet NaN.
13990
13991 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13992
13993         * soft-fp/adddf3.c: Fix horizontal whitespace.
13994         * soft-fp/addsf3.c: Likewise.
13995         * soft-fp/addtf3.c: Likewise.
13996         * soft-fp/divdf3.c: Likewise.
13997         * soft-fp/divsf3.c: Likewise.
13998         * soft-fp/divtf3.c: Likewise.
13999         * soft-fp/double.h: Likewise.
14000         * soft-fp/eqdf2.c: Likewise.
14001         * soft-fp/eqsf2.c: Likewise.
14002         * soft-fp/eqtf2.c: Likewise.
14003         * soft-fp/extenddftf2.c: Likewise.
14004         * soft-fp/extended.h: Likewise.
14005         * soft-fp/extendsfdf2.c: Likewise.
14006         * soft-fp/extendsftf2.c: Likewise.
14007         * soft-fp/extendxftf2.c: Likewise.
14008         * soft-fp/fixdfdi.c: Likewise.
14009         * soft-fp/fixdfsi.c: Likewise.
14010         * soft-fp/fixdfti.c: Likewise.
14011         * soft-fp/fixsfdi.c: Likewise.
14012         * soft-fp/fixsfsi.c: Likewise.
14013         * soft-fp/fixsfti.c: Likewise.
14014         * soft-fp/fixtfdi.c: Likewise.
14015         * soft-fp/fixtfsi.c: Likewise.
14016         * soft-fp/fixtfti.c: Likewise.
14017         * soft-fp/fixunsdfdi.c: Likewise.
14018         * soft-fp/fixunsdfsi.c: Likewise.
14019         * soft-fp/fixunsdfti.c: Likewise.
14020         * soft-fp/fixunssfdi.c: Likewise.
14021         * soft-fp/fixunssfsi.c: Likewise.
14022         * soft-fp/fixunssfti.c: Likewise.
14023         * soft-fp/fixunstfdi.c: Likewise.
14024         * soft-fp/fixunstfsi.c: Likewise.
14025         * soft-fp/fixunstfti.c: Likewise.
14026         * soft-fp/floatdidf.c: Likewise.
14027         * soft-fp/floatdisf.c: Likewise.
14028         * soft-fp/floatditf.c: Likewise.
14029         * soft-fp/floatsidf.c: Likewise.
14030         * soft-fp/floatsisf.c: Likewise.
14031         * soft-fp/floatsitf.c: Likewise.
14032         * soft-fp/floattidf.c: Likewise.
14033         * soft-fp/floattisf.c: Likewise.
14034         * soft-fp/floattitf.c: Likewise.
14035         * soft-fp/floatundidf.c: Likewise.
14036         * soft-fp/floatundisf.c: Likewise.
14037         * soft-fp/floatunditf.c: Likewise.
14038         * soft-fp/floatunsidf.c: Likewise.
14039         * soft-fp/floatunsisf.c: Likewise.
14040         * soft-fp/floatunsitf.c: Likewise.
14041         * soft-fp/floatuntidf.c: Likewise.
14042         * soft-fp/floatuntisf.c: Likewise.
14043         * soft-fp/floatuntitf.c: Likewise.
14044         * soft-fp/fmadf4.c: Likewise.
14045         * soft-fp/fmasf4.c: Likewise.
14046         * soft-fp/fmatf4.c: Likewise.
14047         * soft-fp/gedf2.c: Likewise.
14048         * soft-fp/gesf2.c: Likewise.
14049         * soft-fp/getf2.c: Likewise.
14050         * soft-fp/ledf2.c: Likewise.
14051         * soft-fp/lesf2.c: Likewise.
14052         * soft-fp/letf2.c: Likewise.
14053         * soft-fp/muldf3.c: Likewise.
14054         * soft-fp/mulsf3.c: Likewise.
14055         * soft-fp/multf3.c: Likewise.
14056         * soft-fp/negdf2.c: Likewise.
14057         * soft-fp/negsf2.c: Likewise.
14058         * soft-fp/negtf2.c: Likewise.
14059         * soft-fp/op-1.h: Likewise.
14060         * soft-fp/op-2.h: Likewise.
14061         * soft-fp/op-4.h: Likewise.
14062         * soft-fp/op-8.h: Likewise.
14063         * soft-fp/op-common.h: Likewise.
14064         * soft-fp/quad.h: Likewise.
14065         * soft-fp/single.h: Likewise.
14066         * soft-fp/soft-fp.h: Likewise.
14067         * soft-fp/sqrtdf2.c: Likewise.
14068         * soft-fp/sqrtsf2.c: Likewise.
14069         * soft-fp/sqrttf2.c: Likewise.
14070         * soft-fp/subdf3.c: Likewise.
14071         * soft-fp/subsf3.c: Likewise.
14072         * soft-fp/subtf3.c: Likewise.
14073         * soft-fp/truncdfsf2.c: Likewise.
14074         * soft-fp/trunctfdf2.c: Likewise.
14075         * soft-fp/trunctfsf2.c: Likewise.
14076         * soft-fp/trunctfxf2.c: Likewise.
14077         * soft-fp/unorddf2.c: Likewise.
14078         * soft-fp/unordsf2.c: Likewise.
14079         * soft-fp/unordtf2.c: Likewise.
14080
14081 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14082
14083         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14084         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14085
14086 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14087
14088         * elf/dl-libc.c: Clear initfini list after freeing.
14089
14090 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14091
14092         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14093         * soft-fp/addsf3.c: Likewise.
14094         * soft-fp/addtf3.c: Likewise.
14095         * soft-fp/divdf3.c: Likewise.
14096         * soft-fp/divsf3.c: Likewise.
14097         * soft-fp/divtf3.c: Likewise.
14098         * soft-fp/double.h: Likewise.
14099         * soft-fp/eqdf2.c: Likewise.
14100         * soft-fp/eqsf2.c: Likewise.
14101         * soft-fp/eqtf2.c: Likewise.
14102         * soft-fp/extenddftf2.c: Likewise.
14103         * soft-fp/extended.h: Likewise.
14104         * soft-fp/extendsfdf2.c: Likewise.
14105         * soft-fp/extendsftf2.c: Likewise.
14106         * soft-fp/extendxftf2.c: Likewise.
14107         * soft-fp/fixdfdi.c: Likewise.
14108         * soft-fp/fixdfsi.c: Likewise.
14109         * soft-fp/fixdfti.c: Likewise.
14110         * soft-fp/fixsfdi.c: Likewise.
14111         * soft-fp/fixsfsi.c: Likewise.
14112         * soft-fp/fixsfti.c: Likewise.
14113         * soft-fp/fixtfdi.c: Likewise.
14114         * soft-fp/fixtfsi.c: Likewise.
14115         * soft-fp/fixtfti.c: Likewise.
14116         * soft-fp/fixunsdfdi.c: Likewise.
14117         * soft-fp/fixunsdfsi.c: Likewise.
14118         * soft-fp/fixunsdfti.c: Likewise.
14119         * soft-fp/fixunssfdi.c: Likewise.
14120         * soft-fp/fixunssfsi.c: Likewise.
14121         * soft-fp/fixunssfti.c: Likewise.
14122         * soft-fp/fixunstfdi.c: Likewise.
14123         * soft-fp/fixunstfsi.c: Likewise.
14124         * soft-fp/fixunstfti.c: Likewise.
14125         * soft-fp/floatdidf.c: Likewise.
14126         * soft-fp/floatdisf.c: Likewise.
14127         * soft-fp/floatditf.c: Likewise.
14128         * soft-fp/floatsidf.c: Likewise.
14129         * soft-fp/floatsisf.c: Likewise.
14130         * soft-fp/floatsitf.c: Likewise.
14131         * soft-fp/floattidf.c: Likewise.
14132         * soft-fp/floattisf.c: Likewise.
14133         * soft-fp/floattitf.c: Likewise.
14134         * soft-fp/floatundidf.c: Likewise.
14135         * soft-fp/floatundisf.c: Likewise.
14136         * soft-fp/floatunsidf.c: Likewise.
14137         * soft-fp/floatunsisf.c: Likewise.
14138         * soft-fp/floatuntidf.c: Likewise.
14139         * soft-fp/floatuntisf.c: Likewise.
14140         * soft-fp/floatuntitf.c: Likewise.
14141         * soft-fp/fmadf4.c: Likewise.
14142         * soft-fp/fmasf4.c: Likewise.
14143         * soft-fp/fmatf4.c: Likewise.
14144         * soft-fp/gedf2.c: Likewise.
14145         * soft-fp/gesf2.c: Likewise.
14146         * soft-fp/getf2.c: Likewise.
14147         * soft-fp/ledf2.c: Likewise.
14148         * soft-fp/lesf2.c: Likewise.
14149         * soft-fp/letf2.c: Likewise.
14150         * soft-fp/muldf3.c: Likewise.
14151         * soft-fp/mulsf3.c: Likewise.
14152         * soft-fp/multf3.c: Likewise.
14153         * soft-fp/negdf2.c: Likewise.
14154         * soft-fp/negsf2.c: Likewise.
14155         * soft-fp/negtf2.c: Likewise.
14156         * soft-fp/op-1.h: Likewise.
14157         * soft-fp/op-2.h: Likewise.
14158         * soft-fp/op-4.h: Likewise.
14159         * soft-fp/op-8.h: Likewise.
14160         * soft-fp/op-common.h: Likewise.
14161         * soft-fp/quad.h: Likewise.
14162         * soft-fp/single.h: Likewise.
14163         * soft-fp/soft-fp.h: Likewise.
14164         * soft-fp/sqrtdf2.c: Likewise.
14165         * soft-fp/sqrtsf2.c: Likewise.
14166         * soft-fp/sqrttf2.c: Likewise.
14167         * soft-fp/subdf3.c: Likewise.
14168         * soft-fp/subsf3.c: Likewise.
14169         * soft-fp/subtf3.c: Likewise.
14170         * soft-fp/truncdfsf2.c: Likewise.
14171         * soft-fp/trunctfdf2.c: Likewise.
14172         * soft-fp/trunctfsf2.c: Likewise.
14173         * soft-fp/trunctfxf2.c: Likewise.
14174         * soft-fp/unorddf2.c: Likewise.
14175         * soft-fp/unordsf2.c: Likewise.
14176         * soft-fp/unordtf2.c: Likewise.
14177
14178 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14179
14180         [BZ #15672]
14181         * misc/error.c (error_tail): Fix possible buffer overflow.
14182
14183 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14184
14185         [BZ #13028]
14186         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14187         address.
14188
14189 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14190
14191         [BZ #832]
14192         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14193         testing pipefail option.
14194
14195 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14196
14197         * soft-fp/double.h: Indent preprocessor directives inside #if.
14198         * soft-fp/extended.h: Likewise.
14199         * soft-fp/op-2.h: Likewise.
14200         * soft-fp/op-4.h: Likewise.
14201         * soft-fp/op-common.h: Likewise.
14202         * soft-fp/quad.h: Likewise.
14203         * soft-fp/single.h: Likewise.
14204         * soft-fp/soft-fp.h: Likewise.
14205
14206 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14207
14208         * iconv/iconv_prog.c: Fix typos.
14209         * stdio-common/psiginfo-data.h: Likewise.
14210
14211 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14212
14213         [BZ #15764]
14214         * locale/setlocale.c: Fix typo.
14215
14216 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14217
14218         [BZ #16036]
14219         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14220         signaling NaN arguments.
14221         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14222         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14223
14224         [BZ #14910]
14225         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14226         unordered operands.
14227         * soft-fp/gesf2.c (__gesf2): Likewise.
14228         * soft-fp/getf2.c (__getf2): Likewise.
14229         * soft-fp/ledf2.c (__ledf2): Likewise.
14230         * soft-fp/lesf2.c (__lesf2): Likewise.
14231         * soft-fp/letf2.c (__letf2): Likewise.
14232
14233         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14234         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14235         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14236         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14237         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14238         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14239         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14240         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14241         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14242         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14243         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14244         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14245         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14246         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14247         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14248         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14249         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14250         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14251         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14252         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14253         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14254         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14255         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14256         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14257         * soft-fp/floattidf.c (__floattidf): Likewise.
14258         * soft-fp/floattisf.c (__floattisf): Likewise.
14259         * soft-fp/floattitf.c (__floattitf): Likewise.
14260         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14261         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14262         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14263         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14264         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14265         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14266         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14267         * soft-fp/gesf2.c (__gesf2): Likewise.
14268         * soft-fp/getf2.c (__getf2): Likewise.
14269         * soft-fp/ledf2.c (__ledf2): Likewise.
14270         * soft-fp/lesf2.c (__lesf2): Likewise.
14271         * soft-fp/letf2.c (__letf2): Likewise.
14272
14273         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14274         Undefine and redefine.
14275         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14276         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14277         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14278         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14279         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14280         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14281         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14282         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14283         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14284         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14285         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14286         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14287         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14288         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14289         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14290
14291         [BZ #16032]
14292         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14293         without decrementing exponent if mantissa >= that for the
14294         denominator, not >.
14295         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14296         denominator, not >.  Decrement exponent in < case instead of
14297         incrementing in >= case.
14298         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14299         without decrementing exponent if mantissa >= that for the
14300         denominator, not >.
14301
14302         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14303         computing saturated result for unsigned overflow.
14304
14305 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14306             Jeff Law  <law@redhat.com>
14307
14308         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14309         (atan2Mp): Add systemtap probe marker.
14310         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14311         (__ieee754_log): Add systemtap probe marker.
14312         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14313         (atanMp): Add systemtap probe marker.
14314         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14315         (tanMp): Add systemtap probe marker.
14316         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14317         (__slowexp): Add systemtap probe marker.
14318         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14319         (__slowpow): Add systemtap probe marker.
14320         * manual/probes.texi: Document probes.
14321
14322 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14323
14324         [BZ #15362]
14325         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14326         written.
14327         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14328         written.
14329         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14330         written to buffer but not flushed.
14331         * libio/iofwrite_u.c:  Likewise.
14332         * libio/iopadn.c:  Return bytes returned even if EOF was
14333         encountered.
14334         * libio/iowpadn.c:  Likewise.
14335         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14336         if _IO_padn does not write the whole buffer.
14337         [!COMPILE_WPRINTF] (PAD): Likewise.
14338
14339 2013-10-10  David S. Miller  <davem@davemloft.net>
14340
14341         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14342         directory block.
14343
14344 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14345
14346         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14347         instead of FSF address.
14348         * soft-fp/fixdfti.c: Likewise.
14349         * soft-fp/fixsfti.c: Likewise.
14350         * soft-fp/fixtfti.c: Likewise.
14351         * soft-fp/fixunsdfti.c: Likewise.
14352         * soft-fp/fixunssfti.c: Likewise.
14353         * soft-fp/fixunstfti.c: Likewise.
14354         * soft-fp/floattidf.c: Likewise.
14355         * soft-fp/floattisf.c: Likewise.
14356         * soft-fp/floattitf.c: Likewise.
14357         * soft-fp/floatuntidf.c: Likewise.
14358         * soft-fp/floatuntisf.c: Likewise.
14359         * soft-fp/floatuntitf.c: Likewise.
14360         * soft-fp/trunctfxf2.c: Likewise.
14361
14362         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14363         * soft-fp/fixdfti.c: Likewise.
14364         * soft-fp/fixsfti.c: Likewise.
14365         * soft-fp/fixtfti.c: Likewise.
14366         * soft-fp/fixunsdfti.c: Likewise.
14367         * soft-fp/fixunssfti.c: Likewise.
14368         * soft-fp/fixunstfti.c: Likewise.
14369         * soft-fp/floattidf.c: Likewise.
14370         * soft-fp/floattisf.c: Likewise.
14371         * soft-fp/floattitf.c: Likewise.
14372         * soft-fp/floatuntidf.c: Likewise.
14373         * soft-fp/floatuntisf.c: Likewise.
14374         * soft-fp/floatuntitf.c: Likewise.
14375         * soft-fp/trunctfxf2.c: Likewise.
14376
14377 2013-10-10  David S. Miller  <davem@davemloft.net>
14378
14379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14380
14381 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14382
14383         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14384         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14385         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14386         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14387         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14388         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14389         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14390
14391         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14392         for NaNs before doing comparisons on argument.
14393         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14394         Likewise.
14395
14396 2013-10-10  Will Newton  <will.newton@linaro.org>
14397
14398         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14399         passed to _int_memalign does not overflow.
14400
14401 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14402
14403         * scripts/bench.pl: Add include-sources directive.
14404         * benchtests/README: Update documentation.
14405
14406 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14407
14408         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14409         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14410         instead of FP_INIT_ROUNDMODE.
14411         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14412         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14413
14414         [BZ #16034]
14415         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14416         copy class of input value.
14417         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14418         not handle exceptions.
14419         * soft-fp/negsf2.c (__negsf2): Likewise.
14420         * soft-fp/negtf2.c (__negtf2): Likewise.
14421         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14422
14423 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14424
14425         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14426         semicolon.  From Linux kernel.
14427
14428 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14429
14430         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14431
14432 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14433
14434         [BZ #156]
14435         * manual/socket.texi: Added statement about buffer
14436         for gethostbyname2_r.
14437
14438 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14439
14440         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14441         Use .p2align directive instead, throughout.
14442         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14443         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14444         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14445         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14446         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14447         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14448         * sysdeps/x86_64/strchr.S: Likewise.
14449         * sysdeps/x86_64/strrchr.S: Likewise.
14450
14451 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14452
14453         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14454
14455         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14456
14457         * sysdeps/generic/math_private.h (__mpsin1): Remove
14458         declaration.
14459         (__mpcos1): Likewise.
14460         (__mpsin): New argument __range_reduce.
14461         (__mpcos): Likewise.
14462         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14463         (slow): Use __mpsin and __mpcos.
14464         (slow1): Likewise.
14465         (slow2): Likewise.
14466         (sloww): Likewise.
14467         (sloww1): Likewise.
14468         (sloww2): Likewise.
14469         (bsloww): Likewise.
14470         (bsloww1): Likewise.
14471         (bsloww2): Likewise.
14472         (cslow2): Likewise.
14473         (csloww): Likewise.
14474         (csloww1): Likewise.
14475         (csloww2): Likewise.
14476         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14477         range_reduce.  Merge in __mpsin1.
14478         (__mpcos): Likewise.
14479         (__mpsin1): Remove.
14480         (__mpcos1): Likewise.
14481
14482 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14483
14484         * locale/loadlocale.c (_nl_intern_locale_data): Use
14485         LOCFILE_ALIGNED_P.
14486         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14487         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14488         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14489         obstack data is appropriately aligned.
14490         (obstack_int32_grow_fast): Likewise.
14491         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14492         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14493         (add_locale_uint32_array): Likewise.
14494
14495 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14496
14497         * benchtests/Makefile: Remove ARGLIST and RET variables.
14498         ($(objpfx)bench-%.c): Pass only function name to the script.
14499         * benchtests/README: Update documentation.
14500         * benchtests/acos-inputs: Add new directives.
14501         * benchtests/acosh-inputs: Likewise.
14502         * benchtests/asin-inputs: Likewise.
14503         * benchtests/asinh-inputs: Likewise.
14504         * benchtests/atan-inputs: Likewise.
14505         * benchtests/atanh-inputs: Likewise.
14506         * benchtests/cos-inputs: Likewise.
14507         * benchtests/cosh-inputs: Likewise.
14508         * benchtests/exp-inputs: Likewise.
14509         * benchtests/log-inputs: Likewise.
14510         * benchtests/pow-inputs: Likewise.
14511         * benchtests/rint-inputs: Likewise.
14512         * benchtests/sin-inputs: Likewise.
14513         * benchtests/sinh-inputs: Likewise.
14514         * benchtests/tan-inputs: Likewise.
14515         * benchtests/tanh-inputs: Likewise.
14516         * scripts/bench.pl: Add support for new directives.
14517
14518 2013-10-07  Alan Modra  <amodra@gmail.com>
14519
14520         * README: Fix careless merge.
14521
14522 2013-10-05  Alan Modra  <amodra@gmail.com>
14523
14524         * NEWS: Mention powerpc64le support and bugs fixed.
14525         * README: Both big-endian and little-endian powerpc64 supported.
14526
14527 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14528
14529         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14530         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14531         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14532         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14533
14534 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14535
14536         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14537         match prototype.
14538
14539 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14540
14541         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14542         Move -mhard-float appending from
14543         ports/sysdeps/powerpc/powerpc32/Makefile.
14544         [$(with-fp) = yes] (ASFLAGS): Likewise.
14545         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14546         * sysdeps/powerpc/nofpu: Move directory from
14547         ports/sysdeps/powerpc/nofpu.
14548         * sysdeps/powerpc/soft-fp: Move directory from
14549         ports/sysdeps/powerpc/soft-fp.
14550         * sysdeps/powerpc/powerpc32/405: Move directory from
14551         ports/sysdeps/powerpc/powerpc32/405.
14552         * sysdeps/powerpc/powerpc32/440: Move directory from
14553         ports/sysdeps/powerpc/powerpc32/440.
14554         * sysdeps/powerpc/powerpc32/464: Move directory from
14555         ports/sysdeps/powerpc/powerpc32/464.
14556         * sysdeps/powerpc/powerpc32/476: Move directory from
14557         ports/sysdeps/powerpc/powerpc32/476.
14558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14559         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14561         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14563         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14565         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14567         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14568         * README: Update for powerpc-*-linux-gnu software floating point
14569         support in libc.
14570
14571         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14572         case to powerpc/powerpc32*.
14573         * sysdeps/unix/sysv/linux/configure: Regenerated.
14574
14575         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14576         (_FPU_MASK_OM): Define as 0x04.
14577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14579         0x00c10080.
14580         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14581         0x0000003c.
14582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14583
14584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14585         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14586         getcontext_e500.
14587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14588         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14589         setcontext_e500.
14590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14591         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14592         and setcontext_e500.
14593
14594 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14595
14596         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14597
14598 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14599
14600         * manual/threads.texi (Default Thread Attributes): Fix typo.
14601
14602 2013-10-04  Will Newton  <will.newton@linaro.org>
14603
14604         * malloc/Makefile: Add tst-memalign.
14605         * malloc/tst-memalign.c: New file.
14606
14607         * malloc/tst-posix_memalign.c: Add comments.
14608         (do_test): Add comments and call free on all potentially
14609         allocated pointers. Add space after cast.
14610
14611         * malloc/tst-pvalloc.c: Add comments.
14612         (do_test): Add comments and call free on all potentially
14613         allocated pointers. Remove duplicate check for NULL pointer.
14614         Add space after cast.
14615
14616         * malloc/tst-valloc.c: Add comments.
14617         (do_test): Add comments and call free on all potentially
14618         allocated pointers. Remove duplicate check for NULL pointer.
14619         Add space after cast.
14620
14621 2013-10-04  Alan Modra  <amodra@gmail.com>
14622
14623         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14624         Use stdint types in rather than __attribute__((mode())).
14625         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14626
14627 2013-10-04  Alan Modra  <amodra@gmail.com>
14628
14629         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14630         Correct handling of unaligned relocs for little-endian.
14631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14632
14633 2013-10-04  Alan Modra  <amodra@gmail.com>
14634
14635         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14636         * configure: Regenerate.
14637         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14638         * shlib-versions: Likewise.
14639
14640 2013-10-04  Alan Modra  <amodra@gmail.com>
14641
14642         * string/tester.c (test_memrchr): Increment reported test cycle.
14643
14644 2013-10-04  Alan Modra  <amodra@gmail.com>
14645
14646         * string/test-memcpy.c (do_one_test): When reporting errors, print
14647         string address and don't overrun end of string.
14648
14649 2013-10-04  Alan Modra  <amodra@gmail.com>
14650
14651         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14652         insrdi.  Make better use of reg selection to speed exit slightly.
14653         Schedule entry path a little better.  Remove useless "are we done"
14654         checks on entry to main loop.  Handle wrapping around zero address.
14655         Correct main loop count.  Handle single left-over word from main
14656         loop inline rather than by using loop_small.  Remove extra word
14657         case in loop_small caused by wrong loop count.  Add little-endian
14658         support.
14659         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14660         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14661         cache hint.
14662         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14663         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14664         support.  Avoid rlwimi.
14665         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14666
14667 2013-10-04  Alan Modra  <amodra@gmail.com>
14668
14669         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14670         insrdi.  Formatting.
14671         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14672         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14673         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14674         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14675         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14676         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14677
14678 2013-10-04  Alan Modra  <amodra@gmail.com>
14679
14680         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14681         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14682         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14683         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14684         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14685         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14686         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14687         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14688         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14689         use of regs.  Use power7 mtocrf.  Tidy function tails.
14690
14691 2013-10-04  Alan Modra  <amodra@gmail.com>
14692
14693         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14694         Formatting.  Consistently use rXXX register defines or rN defines.
14695         Use early exit labels that avoid restoring unused non-volatile regs.
14696         Make cr field use more consistent with rWORDn compares.  Rename
14697         regs used as shift registers for unaligned loop, using rN defines
14698         for short lifetime/multiple use regs.
14699         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14700         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14701         addi 1,1,64 to pop stack frame.  Simplify return value code.
14702         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14703
14704 2013-10-04  Alan Modra  <amodra@gmail.com>
14705
14706         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14707         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14708         rather than rlwimi.
14709         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14710         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14711         little-endian support.  Correct typos.
14712         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14713         rather than rlwimi.
14714         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14715         in loop and entry code to keep "and." results.
14716         (strchr): Add little-endian support.  Comment.  Move cntlzd
14717         earlier in tail.
14718         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14719
14720 2013-10-04  Alan Modra  <amodra@gmail.com>
14721
14722         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14723         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14724         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14725         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14726
14727 2013-10-04  Alan Modra  <amodra@gmail.com>
14728
14729         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14730         (rTMP): Define as r11.
14731         (strcmp): Add little-endian support.  Optimise tail.
14732         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14733         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14734         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14735         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14736         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14737         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14738         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14739
14740 2013-10-04  Alan Modra  <amodra@gmail.com>
14741
14742         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14743         little-endian support.  Remove unnecessary "are we done" tests.
14744         Handle "s" wrapping around zero and extremely large "size".
14745         Correct main loop count.  Handle single left-over word from main
14746         loop inline rather than by using small_loop.  Correct comments.
14747         Delete "zero" tail, use "end_max" instead.
14748         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14749
14750 2013-10-04  Alan Modra  <amodra@gmail.com>
14751
14752         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14753         support.  Don't branch over align.
14754         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14755         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14756         support.  Rearrange tmp reg use to suit.  Comment.
14757         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14758
14759 2013-10-04  Alan Modra  <amodra@gmail.com>
14760
14761         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14762
14763 2013-10-04  Alan Modra  <amodra@gmail.com>
14764
14765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14766         conditional form of branch and link when obtaining pc.
14767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14768
14769 2013-10-04  Alan Modra  <amodra@gmail.com>
14770
14771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14772         HIWORD/LOWORD.
14773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14775
14776 2013-10-04  Alan Modra  <amodra@gmail.com>
14777
14778         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14779         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14780         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14781         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14782         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14783         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14784         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14785         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14786         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14787         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14788
14789 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14790             Alistair Popple <alistair@ozlabs.au.ibm.com>
14791             Alan Modra <amodra@gmail.com>
14792
14793         [BZ #15723]
14794         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14795         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14796         _dl_hwcap access for little-endian.
14797         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14798         destroy vmx regs when saving unaligned.
14799         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14800         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14801         destroy vmx regs when saving unaligned.
14802
14803 2013-10-04  Alan Modra  <amodra@gmail.com>
14804
14805         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14806         Don't use a union to pack hi/low value.
14807
14808 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14809
14810         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14811         for little-endian.
14812         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14813         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14814         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14815         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14816         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14817
14818 2013-10-04  Alan Modra  <amodra@gmail.com>
14819
14820         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14821         constants to usual value for .cst8 section, and remove redundant
14822         high address load.
14823         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14824         constant for 0x1p52.  Load little-endian words of double from
14825         correct stack offsets.
14826
14827 2013-10-04  Alan Modra  <amodra@gmail.com>
14828
14829         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14830         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14831         words of double from correct stack offsets.
14832         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14833         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14834         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14835         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14836         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14837         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14838         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14839         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14840         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14841         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14842         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14843         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14844         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14845         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14846         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14847         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14848         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14849
14850 2013-10-04  Alan Modra  <amodra@gmail.com>
14851
14852         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14853         64-bit int/double union.
14854         (_FPU_SETCW): Likewise.
14855         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14856         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14857
14858 2013-10-04  Alan Modra  <amodra@gmail.com>
14859
14860         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14861         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14862
14863 2013-10-04  Alan Modra  <amodra@gmail.com>
14864
14865         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14866         use vector int constants.
14867         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14868
14869 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14870
14871         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14872         array with long long.
14873         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14874         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14875         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14876         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14877         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14878         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14879         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14880         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14881         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14882         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14883         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14884         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14885         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14886
14887 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14888
14889         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14890         (__signbit): Likewise.  Correct for little-endian.
14891         (__signbitl): Call __signbit.
14892         (lrint): Correct for little-endian.
14893         (lrintf): Call lrint.
14894
14895 2013-10-04  Alan Modra  <amodra@gmail.com>
14896
14897         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14898         union 32-bit int array member with 64-bit int array.
14899         (t515, tm256): Double rather than long double.
14900         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14901
14902 2013-10-04  Alan Modra  <amodra@gmail.com>
14903
14904         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14905         Delete.
14906         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14907         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14908         version of math_ldbl.h.
14909
14910 2013-10-04  Alan Modra  <amodra@gmail.com>
14911
14912         [BZ #15734], [BZ #15735]
14913         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14914         all uses of ieee875 long double macros and unions.  Simplify test
14915         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14916         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14917         normalize after ldbl_extract_mantissa, and don't add hidden bit
14918         already handled.  Don't treat low word of ieee854 mantissa like
14919         low word of IBM long double and mask off bit when testing for
14920         zero.
14921         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14922         all uses of ieee875 long double macros and unions.  Simplify tests
14923         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14924         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14925         two1022, instead use their values.  Recognise that tests for large
14926         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14927         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14928         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14929         test for 0.0L and nan.  Correct negation.
14930         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14931         ieee875 long double macros and unions.  Correct output for large
14932         magnitude x.  Correct absolute value calculation.
14933         (__erfcl): Likewise.
14934         * math/libm-test.inc: Add tests for errors discovered in IBM long
14935         double versions of fmodl, remainderl, erfl and erfcl.
14936
14937 2013-10-04  Alan Modra  <amodra@gmail.com>
14938
14939         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14940         all uses of ieee854 long double macros and unions.  Simplify tests
14941         for long doubles that are fully specified by the high double.
14942         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14943         Likewise.
14944         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14945         Remove dead code too.
14946         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14947         (__ieee754_ynl): Likewise.
14948         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14949         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14950         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14951         Remove dead code too.
14952         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14953         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14954         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14955         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14956         Simplify.
14957         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14958         Simplify.
14959         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14960         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14961         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14962         Comment on variable precision.
14963         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14964         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14965         Likewise.
14966         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14967         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14968         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14969         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14970         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14971
14972 2013-10-04  Alan Modra  <amodra@gmail.com>
14973
14974         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14975         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14976         all uses of ieee854 long double macros and unions.
14977         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14978         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14979         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14980         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14981         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14982         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14983         Likewise.
14984         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14985         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14986         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14987         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14988         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14989         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14990         Simplify sign and nan test too.
14991         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14992         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14993         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14994         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14995         Likewise.
14996         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14997         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14998         Likewise.
14999         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15000         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15001         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15002         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15003         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15004         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15005
15006 2013-10-04  Alan Modra  <amodra@gmail.com>
15007
15008         * stdio-common/printf_size.c (__printf_size): Don't use
15009         union ieee854_long_double in fpnum union.
15010         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15011         signbit macro to retrieve sign from long double.
15012         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15013         retrieve sign from long double.
15014         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15015         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15016         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15017         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15018         * math/test-misc.c (main): Don't use union ieee854_long_double.
15019
15020 2013-10-04  Alan Modra  <amodra@gmail.com>
15021
15022         [BZ #15680]
15023         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15024         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15025         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15026         calculation.  Remove unnecessary test for denormal exponent.
15027         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15028         Correct handling of denormals.  Avoid undefined shift behaviour.
15029         Correct normalisation of low mantissa when low double is denormal.
15030         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15031         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15032         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15033         Correct normalisation of low mantissa.  Test for overflow of high
15034         mantissa and normalise.
15035         (ldbl_nearbyint): Use more readable constant for two52.
15036         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15037         (__mpn_construct_long_double): Fix test for overflow of high
15038         mantissa and correct normalisation.  Avoid undefined shift.
15039
15040 2013-10-04  Alan Modra  <amodra@gmail.com>
15041
15042         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15043         (union ibm_extended_long_double): Define as an array of ieee754_double.
15044         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15045         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15046         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15047         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15048         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15049         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15050         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15051         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15052         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15053         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15054         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15055
15056 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15057
15058         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15059         page size instead of calling getpagesize.
15060
15061         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15062         (LOCFILE_ALIGN_MASK): Likewise.
15063         (LOCFILE_ALIGN_UP): Likewise.
15064         (LOCFILE_ALIGNED_P): Likewise.
15065         * locale/programs/ld-collate.c (collate_output): Use the new
15066         macros instead of __alignof__ (int32_t).
15067         * locale/weight.h (findidx): Likewise.
15068
15069 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15070
15071         [BZ #431]
15072         * manual/string.texi: Fix strncat and wcsncat.
15073
15074 2013-10-03  Brooks Moses  <bmoses@google.com>
15075
15076         [BZ #15915]
15077         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15078         * Makerules: ...here, and adjust associated comments.
15079
15080 2013-10-02  Will Newton  <will.newton@linaro.org>
15081
15082         * malloc/Makefile: Add tst-pvalloc.
15083         * malloc/tst-pvalloc.c: New file.
15084
15085 2013-10-02  Will Newton  <will.newton@linaro.org>
15086
15087         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15088         improve test coverage.
15089
15090 2013-10-02  Will Newton  <will.newton@linaro.org>
15091
15092         * malloc/Makefile: Add tst-posix_memalign.
15093         * malloc/tst-posix_memalign.c: New file.
15094
15095 2013-10-01  Eric Blake  <eblake@redhat.com>
15096
15097         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15098         Use __THROWNL rather than __THROW on static functions.
15099
15100 2013-09-30  Petr Machata  <pmachata@redhat.com>
15101
15102         * elf/elf.h (R_AARCH64_ABS16): New macro.
15103         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15104         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15105         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15106         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15107         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15108         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15109         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15110         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15111         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15112         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15113         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15114         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15115         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15116         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15117         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15118         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15119         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15120         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15121         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15122         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15123         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15124         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15125         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15126         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15127         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15128         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15129         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15130         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15131         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15132         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15133         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15134         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15135         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15136         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15137         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15138         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15139         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15140         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15141         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15142         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15143         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15144         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15145         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15146         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15147         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15148         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15149         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15150         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15151         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15152         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15153         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15154         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15155         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15156         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15157         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15158         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15159         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15160         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15161         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15162         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15163         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15164         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15165         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15166         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15167         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15168         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15169         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15170         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15171         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15172         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15173         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15174         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15175         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15176         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15177         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15178         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15179         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15180         (R_AARCH64_TLSDESC_LDR): Likewise.
15181         (R_AARCH64_TLSDESC_ADD): Likewise.
15182         (R_AARCH64_TLSDESC_CALL): Likewise.
15183
15184 2013-09-30  Andreas Schwab  <schwab@suse.de>
15185
15186         [BZ #15048]
15187         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15188         the nss database lookup.
15189         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15191
15192 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15193
15194         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15195
15196 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15197
15198         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15199         ${Bash-specific parameter/pattern/string} parameter expansion.
15200         * sysdeps/unix/make-syscalls.sh: Likewise.
15201
15202 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15203
15204         * sysdeps/sh/stackguard-macros.h: New file.
15205
15206 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15207
15208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15209         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15210         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15211         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15212         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15213         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15214
15215 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15216
15217         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15218         Fix thread ID register.
15219
15220 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15221
15222         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15223         [POSIX || UNIX98]: Require rather than permitting all symbols from
15224         <time.h>.
15225         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15226         element of struct sched_param.
15227         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15228         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15229         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15230         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15231         constant.
15232
15233 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15234
15235         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15236         argument calculation.
15237
15238 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15239
15240         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15241         Expect macro.
15242         [POSIX] (pthread_attr_t): Do not require type.
15243         [POSIX] (pthread_cond_t): Likewise.
15244         [POSIX] (pthread_condattr_t): Likewise.
15245         [POSIX] (pthread_key_t): Likewise.
15246         [POSIX] (pthread_mutex_t): Likewise.
15247         [POSIX] (pthread_mutexattr_t): Likewise.
15248         [POSIX] (pthread_once_t): Likewise.
15249         [POSIX] (pthread_t): Likewise.
15250         [POSIX-based standards] (pthread_atfork): Expect function.
15251
15252 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15253             Richard Sandiford  <richard@codesourcery.com>
15254
15255         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15256         (swap_endianness_p): New extern variable.
15257         (set_big_endian): New inline function.
15258         (maybe_swap_uint32): Likewise.
15259         (maybe_swap_uint32_array): Likewise.
15260         (maybe_swap_uint32_obstack): Likewise.
15261         * locale/programs/locfile.c: Include <stdbool.h>.
15262         (swap_endianness_p): New variable.
15263         (add_locale_uint32): Call maybe_swap_uint32.
15264         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15265         (write_locale_data): Call maybe_swap_uint32_array.
15266         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15267         maybe_swap_uint32.
15268         (obstack_int32_grow_fast): Likewise.
15269         (output_weightwc): Call maybe_swap_uint32_obstack.
15270         (collate_output): Likewise.
15271         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15272         (OPT_LITTLE_ENDIAN): Likewise.
15273         (options): Add --little-endian and --big-endian options.
15274         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15275         * locale/programs/locarchive.c: Include "locfile.h".
15276         (GET): New macro.
15277         (SET): Likewise.
15278         (INC): Likewise.
15279         (create_archive): Use the new macros to access fields of
15280         structures directly mapped from or written to locale archives.
15281         (oldlocrecentcmp): Likewise.
15282         (enlarge_archive): Likewise.
15283         (insert_name): Likewise.
15284         (add_alias): Likewise.
15285         (add_locale): Likewise.
15286         (delete_locales_from_archive): Likewise.
15287         (show_archive_content): Likewise.
15288         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15289         locale data.
15290
15291 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15292
15293         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15294         http://www.gnu.org/doc/freemanuals.texi.
15295         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15296
15297 2013-09-24  Will Newton  <will.newton@linaro.org>
15298
15299         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15300         macro.
15301
15302 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15303
15304         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15305         unsigned char.
15306
15307 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15308
15309         * manual/threads.texi (POSIX Threads): Fix a typo.
15310
15311 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15312
15313         [BZ #14547]
15314         * string/tst-strcoll-overflow.c: New test case.
15315         * string/Makefile (xtests): Add tst-strcoll-overflow.
15316         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15317         cache if string sizes may cause integer overflow.
15318
15319         [BZ #14547]
15320         * string/strcoll_l.c (coll_seq): New members rule, idx,
15321         save_idx and back_us.
15322         (get_next_seq_nocache): New function.
15323         (do_compare_nocache): New function.
15324         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15325         when malloc fails.
15326
15327 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15328
15329         [BZ #15754]
15330         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15331         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15332         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15333
15334         [BZ #15754]
15335         * elf/Makefile (tests): Add tst-ptrguard1.
15336         (tests-static): Add tst-ptrguard1-static.
15337         (tst-ptrguard1-ARGS): Define.
15338         (tst-ptrguard1-static-ARGS): Define.
15339         * elf/tst-ptrguard1.c: New file.
15340         * elf/tst-ptrguard1-static.c: New file.
15341         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15342         * sysdeps/i386/stackguard-macros.h: Likewise.
15343         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15344         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15345         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15346         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15347         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15348         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15349
15350 2013-09-23  Hector Marco  <hecmargi@upv.es>
15351             Ismael Ripoll  <iripoll@disca.upv.es>
15352             Carlos O'Donell  <carlos@redhat.com>
15353
15354         [BZ #15754]
15355         * sysdeps/generic/stackguard-macros.h: Define
15356         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15357         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15358         Define __pointer_chk_guard_local.
15359         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15360         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15361
15362 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15363
15364         [BZ #15859]
15365         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15366
15367 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15368
15369         * include/string.h (__ffs): Declare as hidden.
15370         * string/ffs.c (__ffs): Define as hidden.
15371         * sysdeps/i386/ffs.c (__ffs): Likewise.
15372         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15373         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15374         * sysdeps/s390/ffs.c (__ffs): Likewise.
15375         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15376
15377 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15378
15379         * NEWS: Mention malloc probes.
15380
15381         * malloc/arena.c (new_heap): New memory_heap_new probe.
15382         (grow_heap): New memory_heap_more probe.
15383         (shrink_heap): New memory_heap_less probe.
15384         (heap_trim): New memory_heap_free probe.
15385         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15386         (systrim): New memory_sbrk_less probe.
15387         * manual/probes.texi: Document them.
15388
15389         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15390         * manual/probes.texi: Document it.
15391
15392         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15393         (__libc_realloc): Add memory_realloc_retry probe.
15394         (__libc_memalign): Add memory_memalign_retry probe.
15395         (__libc_valloc): Add memory_valloc_retry probe.
15396         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15397         (__libc_calloc): Add memory_calloc_retry probe.
15398         * manual/probes.texi: Document them.
15399
15400         * malloc/arena.c (get_free_list): Add probe
15401         memory_arena_reuse_free_list.
15402         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15403         and memory_arena_reuse.
15404         (arena_get2) [!PER_THREAD]: Likewise.
15405         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15406         memory_arena_reuse_realloc.
15407         * manual/probes.texi: Document them.
15408
15409         * malloc/malloc.c (__libc_free): Add
15410         memory_mallopt_free_dyn_thresholds probe.
15411         (__libc_mallopt): Add multiple memory_mallopt probes.
15412         * manual/probes.texi: Document them.
15413
15414         * malloc/malloc.c: Include stap-probe.h.
15415         (__libc_mallopt): Add memory_mallopt probe.
15416         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15417         * manual/probes.texi: New.
15418         * manual/Makefile (chapters): Add probes.
15419         * manual/threads.texi: Set next node.
15420
15421 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15422
15423         [BZ #15963, #13985]
15424         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15425         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15426         Add `Chinese' to `nan' entry name.
15427
15428 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15429
15430         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15431         (POLYNOMIAL): Likewise.
15432         (TAYLOR_SINCOS): Likewise.
15433         (TAYLOR_SLOW): Likewise.
15434         (__sin): Use TAYLOR_SINCOS.
15435         (__cos): Likewise.
15436         (slow): Use TAYLOR_SLOW.
15437         (sloww): Likewise.
15438         (bsloww): Likewise.
15439         (csloww): Likewise.
15440
15441 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15442
15443         * stdlib/strtod_l.c: Fix buffer overrun.
15444
15445 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15446
15447         * benchtests/Makefile (bench): Add sincos.
15448         * benchtests/bench-sincos.c: New file.
15449
15450         * math/libm-test.inc (cos_test_data): New test inputs.
15451         (sin_test_data): Likewise.
15452
15453         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15454         macro.
15455         (__sin): Use it.
15456         (__cos): Likewise.
15457         (slow1): Likewise.
15458         (slow2): Likewise.
15459         (sloww1): Likewise.
15460         (sloww2): Likewise.
15461         (bsloww1): Likewise.
15462         (bsloww2): Likewise.
15463         (cslow2): Likewise.
15464         (csloww1): Likewise.
15465         (csloww2): Likewise.
15466
15467         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15468         function.
15469         (__sin): Use it.
15470         (__cos): Likewise.
15471
15472         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15473         gotos.
15474         (__cos): Likewise.
15475
15476 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15477
15478         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15479         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15480         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15481         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15482         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15483         * elf/cache.c (print_entry): Handle the new cache flags.
15484
15485 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15486             Aldy Hernandez  <aldyh@redhat.com>
15487
15488         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15489         Change condition to [_SOFT_FLOAT].
15490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15497         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15498         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15501         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15502         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15503         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15505         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15506         declaration.
15507
15508 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15509
15510         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15511         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15512         (__longjmp): Use LOAD_GP to load saved GPRs.
15513         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15514         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15515         (__sigsetjmp): Use SAVE_GP to save GPRs.
15516
15517         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15518         Do not append -msoft-float.
15519         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15520
15521 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15522
15523         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15524
15525 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15526
15527         [BZ #15966]
15528         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15529         (_FPU_GETCW): Use initial "__" on variable and field names but not
15530         on macro parameter name.
15531         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15532         parentheses around reference to macro parameter.
15533
15534 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15535
15536         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15537         prototype.
15538         (ctype_startup): Use uint32_t in cast and sizeof for
15539         ctype->charnames.
15540
15541 2013-09-11  Jia Liu  <proljc@gmail.com>
15542
15543         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15544         __daddr_t_defined.
15545         [__FreeBSD__]: Likewise.
15546
15547 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15548
15549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15550         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15551         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15552         (strchr): Remove __strchr_sse42 ifunc selection.
15553         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15554         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15555
15556 2013-09-11  Will Newton  <will.newton@linaro.org>
15557
15558         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15559         parameter to RES. Remove hardcoded 1000 value.
15560         * benchtests/bench-skeleton.c (main): Pass RES parameter
15561         to TIMING_INIT and multiply result by 1000.
15562
15563 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15564
15565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15566
15567 2013-09-11  Andreas Schwab  <schwab@suse.de>
15568
15569         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15570         if not defined.
15571         (O_TMPFILE) [__USE_GNU]: Define.
15572         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15573         Define.
15574
15575 2013-09-11  Will Newton  <will.newton@linaro.org>
15576
15577         [BZ #15857]
15578         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15579         does not overflow.
15580
15581 2013-09-11  Will Newton  <will.newton@linaro.org>
15582
15583         [BZ #15856]
15584         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15585         does not overflow.
15586
15587 2013-09-11  Will Newton  <will.newton@linaro.org>
15588
15589         [BZ #15855]
15590         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15591         does not overflow.
15592
15593 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15594
15595         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15596         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15597         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15598         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15599         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15600
15601 2013-09-10  Allan McRae  <allan@archlinux.org>
15602
15603         [BZ #15748]
15604         * manual/arith.texi (Parsing of Floats): Clarify
15605         cross-reference.
15606
15607         [BZ #15849]
15608         * manual/install.texi (Running make install): Mention
15609         --enable-pt-chown.
15610         * INSTALL: Regenerated.
15611
15612 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15613
15614         * csu/init-first.c (_init): Remove the !SHARED condition around
15615         FPU control word initialization.
15616         * elf/dl-support.c (_dl_fpu_control): New variable.
15617         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15618         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15619         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15620         * math/test-fpucw-static.c: New file.
15621         * math/test-fpucw-ieee.c: New file.
15622         * math/test-fpucw-ieee-static.c: New file.
15623         * math/Makefile (tests): Add `test-fpucw-ieee' and
15624         `$(tests-static)'.
15625         (tests-static): New variable.
15626         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15627         dependency to...
15628         [($(build-shared),yes)]
15629         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15630         ... this.
15631         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15632         New dependency.
15633
15634 2013-09-09  Allan McRae  <allan@archlinux.org>
15635
15636         [BZ #15939]
15637         * manual/string.texi (Collation Functions): Fix typo in
15638         strcoll example.
15639         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15640
15641         [BZ #15893]
15642         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15643
15644         [BZ #15892]
15645         * libio/memstream.c (open_memstream): Fix memory leak.
15646         * libio/wmemstream.c (open_wmemstream): Likewise.
15647
15648         [BZ #15895]
15649         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15650
15651 2013-09-09  Will Newton  <will.newton@linaro.org>
15652
15653         * malloc/Makefile: Add tst-realloc to tests.
15654         * malloc/tst-realloc.c: New file.
15655
15656 2013-09-09  Allan McRae  <allan@archlinux.org>
15657
15658         [BZ #15844]
15659         * COPYING: Update from GNU website to fix FSF address.
15660         * COPYING.LIB: Likewise.
15661
15662 2013-09-06  David S. Miller  <davem@davemloft.net>
15663
15664         * po/zh_TW.po: Update Chinese (traditional) translation from
15665         translation project.
15666
15667 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15668             Joseph Myers  <joseph@codesourcery.com>
15669
15670         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15671         "localeinfo.h".
15672         (obstack_chunk_alloc): New macro.
15673         (obstack_chunk_free): Likewise.
15674         (record_offset): New function.
15675         (init_locale_data): Likewise.
15676         (align_locale_data): Likewise.
15677         (add_locale_empty): Likewise.
15678         (add_locale_raw_data): Likewise.
15679         (add_locale_raw_obstack): Likewise.
15680         (add_locale_string): Likewise.
15681         (add_locale_wstring): Likewise.
15682         (add_locale_uint32): Likewise.
15683         (add_locale_uint32_array): Likewise.
15684         (add_locale_char): Likewise.
15685         (start_locale_structure): Likewise.
15686         (end_locale_structure): Likewise.
15687         (start_locale_prelude): Likewise.
15688         (end_locale_prelude): Likewise.
15689         (write_locale_data): Take locale_file structure rather than an
15690         iovec.
15691         * locale/programs/locfile.h: Include "obstack.h".
15692         (struct locale_file): Change to store locale file contents instead
15693         of header.
15694         (init_locale_data): New prototype.
15695         (align_locale_data): Likewise.
15696         (add_locale_empty): Likewise.
15697         (add_locale_raw_data): Likewise.
15698         (add_locale_raw_obstack): Likewise.
15699         (add_locale_string): Likewise.
15700         (add_locale_wstring): Likewise.
15701         (add_locale_uint32): Likewise.
15702         (add_locale_uint32_array): Likewise.
15703         (add_locale_char): Likewise.
15704         (start_locale_structure): Likewise.
15705         (end_locale_structure): Likewise.
15706         (start_locale_prelude): Likewise.
15707         (end_locale_prelude): Likewise.
15708         (write_locale_data): Update prototype.
15709         * locale/programs/3level.h (struct TABLE): Remove result field.
15710         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15711         Use new locale_file interface.
15712         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15713         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15714         * locale/programs/ld-address.c (address_output): Use new
15715         locale_file interface.
15716         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15717         NO_ADD_LOCALE.
15718         (collate_finish): Don't call collseq_table_finalize.
15719         (collate_output): Use new locale_file interface.
15720         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15721         in file.
15722         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15723         (TABLE): Move defines earlier in file.
15724         (ELEMENT): Likewise.
15725         (DEFAULT): Likewise.
15726         (wctrans_table_add): Move macro and inline function earlier in
15727         file.
15728         (struct wctype_table): Move type earlier in file.
15729         (add_locale_wctype_table): New static prototype.
15730         (struct locale_ctype_t): Use logical types instead of struct iovec
15731         pointers for members.
15732         (ctype_output): Use new locale_file interface.
15733         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15734         new locale_file interface.
15735         (allocate_arrays): Update for use of new locale_file interface.
15736         * locale/programs/ld-identification.c (identification_output): Use
15737         new locale_file interface.
15738         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15739         * locale/programs/ld-messages.c (messages_output): Likewise.
15740         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15741         * locale/programs/ld-name.c (name_output): Likewise.
15742         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15743         * locale/programs/ld-paper.c (paper_output): Likewise.
15744         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15745         * locale/programs/ld-time.c (time_output): Likewise.
15746
15747 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15748
15749         * benchtests/Makefile: Add memrchr benchmark.
15750         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15751         benchmark as memrchr.
15752         * benchtests/bench-memrchr-ifunc.c: New file.
15753         * benchtests/bench-memrchr.c: New file.
15754
15755 2013-09-06   Will Newton  <will.newton@linaro.org>
15756
15757         * benchtests/Makefile (string-bench): Add memcpy.
15758
15759 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15760             Cong Wang  <amwang@redhat.com>
15761
15762         [BZ #15850]
15763         * sysdeps/unix/sysv/linux/bits/in.h
15764         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15765         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15766         before __USE_KERNEL_IPV6_DEFS uses.
15767         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15768         IPPROTO_BEETPH.
15769         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15770         sockaddr_in6, or ipv6_mreq.
15771
15772 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15773
15774         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15775         memory access for final bytes in some large inputs.
15776         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15777
15778 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15779
15780         * string/test-memrchr.c: New file.
15781         * string/test-memrchr-ifunc.c: New file.
15782         * string/Makefile: Add new memrchr testcase.
15783
15784 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15785
15786         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15787         fanotify_init returns EPERM.
15788
15789 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15790
15791         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15792         errors.
15793         (top level): Treat second token from macro or constant entries for
15794         allowed headers as allowed.
15795         * include/complex.h: Condition internal declarations on
15796         [!_ISOMAC].
15797         * include/fenv.h: Condition include of <stdbool.h> and internal
15798         declarations on [!_ISOMAC].
15799
15800 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15801
15802         [BZ #15923]
15803         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15804
15805 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15806
15807         * configure.in (--enable-versioning): Remove configure option.
15808         (libc_cv_asm_symver_directive): Remove configure test.
15809         (libc_cv_ld_version_script_option): Likewise.
15810         (VERSIONING): Remove variable and AC_SUBST.
15811         (DO_VERSIONING): Remove AC_DEFINE.
15812         * configure: Regenerated.
15813         * config.h.in (DO_VERSIONING): Remove macro.
15814         * Makerules [$(versioning) = yes]: Change conditionals to
15815         [$(build-shared) = yes].
15816         * config.make.in (versioning): Remove variable.
15817         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15818         [$(build-shared) = yes].
15819         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15820         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15821         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15822         [$(build-shared) = yes].
15823         * extra-lib.mk [$(versioning) = yes]: Likewise.
15824         * hurd/Makefile [$(versioning) = yes]: Likewise.
15825         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15826         [SHARED].
15827         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15828         [SHARED].
15829         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15830         [SHARED && !NO_HIDDEN].
15831         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15832         [SHARED].
15833         [SHARED && DO_VERSIONING]: Likewise..
15834         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15835         [$(build-shared) = yes].
15836         * manual/install.texi (--disable-versioning): Remove
15837         documentation.
15838         * INSTALL: Regenerated.
15839         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15840         to [SHARED].
15841         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15842         [$(build-shared) = yes].
15843         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15844         * sysdeps/i386/i686/multiarch/strstr-c.c
15845         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15846         [SHARED && !NO_HIDDEN].
15847         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15848         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15849         * sysdeps/powerpc/powerpc32/dl-machine.c
15850         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15851         * sysdeps/powerpc/powerpc32/sysdep.h
15852         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15853         to [SHARED && PIC && !NO_HIDDEN].
15854         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15855         conditional to [SHARED].
15856
15857 2013-09-04   Will Newton  <will.newton@linaro.org>
15858
15859         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15860         * benchtests/bench-string.h: Include bench-timing.h instead
15861         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15862         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15863         call to HP_TIMING_DIFF_INIT.
15864         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15865         instead of hp-timing.h macros.
15866         * benchtests/bench-memchr.c: Likewise.
15867         * benchtests/bench-memcmp.c: Likewise.
15868         * benchtests/bench-memcpy.c: Likewise.
15869         * benchtests/bench-memmem.c: Likewise.
15870         * benchtests/bench-memmove.c: Likewise.
15871         * benchtests/bench-memset.c: Likewise.
15872         * benchtests/bench-rawmemchr.c: Likewise.
15873         * benchtests/bench-strcasecmp.c: Likewise.
15874         * benchtests/bench-strcasestr.c: Likewise.
15875         * benchtests/bench-strcat.c: Likewise.
15876         * benchtests/bench-strchr.c: Likewise.
15877         * benchtests/bench-strcmp.c: Likewise.
15878         * benchtests/bench-strcpy.c: Likewise.
15879         * benchtests/bench-strcpy_chk.c: Likewise.
15880         * benchtests/bench-strlen.c: Likewise.
15881         * benchtests/bench-strncasecmp.c: Likewise.
15882         * benchtests/bench-strncat.c: Likewise.
15883         * benchtests/bench-strncmp.c: Likewise.
15884         * benchtests/bench-strncpy.c: Likewise.
15885         * benchtests/bench-strnlen.c: Likewise.
15886         * benchtests/bench-strpbrk.c: Likewise.
15887         * benchtests/bench-strrchr.c: Likewise.
15888         * benchtests/bench-strspn.c: Likewise.
15889         * benchtests/bench-strstr.c: Likewise.
15890
15891 2013-09-04  Will Newton  <will.newton@linaro.org>
15892
15893         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15894
15895 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15896
15897         [BZ #15427]
15898         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15899         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15900         * math/libm-test.inc (lgamma_test_data): Add more tests.
15901         * sysdeps/i386/fpu/libm-test-ulps: Update.
15902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15903
15904 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15905
15906         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15908         Add ifunc.
15909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15910         Add strcmp-sse2-unaligned
15911         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15912
15913 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15914
15915         * Versions.def (libc): Add GLIBC_2.19.
15916
15917 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15918
15919         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15920         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15921
15922 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15923
15924         [BZ #14155]
15925         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15926         intermediate calculations in recurrence.
15927         (__ieee754_ynf): Likewise.
15928         * math/libm-test.inc (jn_test_data): Do not allow spurious
15929         underflow exception.  Add more tests.
15930         (yn_test_data): Add more tests.
15931         * sysdeps/i386/fpu/libm-test-ulps: Update.
15932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15933
15934 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15935
15936         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15937
15938 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15939
15940         * csu/init-first.c: Fix then/than typos.
15941         * locale/programs/ld-collate.c: Likewise.
15942         * locale/programs/linereader.h: Likewise.
15943         * manual/charset.texi: Likewise.
15944         * manual/filesys.texi: Likewise.
15945         * manual/stdio.texi: Likewise.
15946         * manual/string.texi: Likewise.
15947         * stdlib/fmtmsg.c: Likewise.
15948         * sysdeps/i386/stpncpy.S: Likewise.
15949         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15950         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15951         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15952         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15953
15954 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15955
15956         * elf/dl-open.c: Fix typos.
15957         * iconvdata/gbbig5.c: Likewise.
15958         * iconvdata/iso-2022-jp.c: Likewise.
15959         * iconv/gconv_int.h: Likewise.
15960         * iconv/loop.c: Likewise.
15961         * nis/rpcsvc/nis.h: Likewise.
15962         * resolv/ns_name.c: Likewise.
15963         * stdio-common/vfscanf.c: Likewise.
15964         * streams/stropts.h: Likewise.
15965         * sunrpc/rpc_thread.c: Likewise.
15966         * sysdeps/i386/strpbrk.S: Likewise.
15967         * sysdeps/ieee754/k_standard.c: Likewise.
15968         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15969         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15970         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15971         * sysdeps/mach/hurd/profil.c: Likewise.
15972         * sysdeps/s390/dl-procinfo.h: Likewise.
15973         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15974         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15975         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15976         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15977         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15978
15979 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15980
15981         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15982         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15983
15984 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15985
15986         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15987         aix specific files.
15988         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15989         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15990         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15991         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15992         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15993         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15994         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15995         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15996
15997 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15998             Roland McGrath  <roland@hack.frob.com>
15999
16000         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16001         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16002
16003 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16004
16005         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16006         __executable_start symbol instead of _start.
16007
16008 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16009
16010         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16011         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16012         Move macros to...
16013         * sysdeps/gnu/ldsodefs.h: ... this new file.
16014
16015         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16016         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16017         instead of ELFOSABI_LINUX.
16018
16019         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16020         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16021         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16022         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16023         Likewise.
16024         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16025         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16026         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16027         Likewise.
16028         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16029         (ibm_extended_long_double): Add ieee_nan member.
16030         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16031         (do_test): New function.
16032
16033         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16034         TEST_TRUNC.
16035         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16036         functions, renamed from truncdfsf_test, trunctfsf_test,
16037         trunctfdf_test.
16038         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16039         functions.
16040         (do_test): Run all these.
16041
16042 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16043
16044         * argp/argp-help.c: Fix typos.
16045         * argp/argp-parse.c: Likewise.
16046         * debug/backtracesyms.c: Likewise.
16047         * elf/elf.h: Likewise.
16048         * malloc/malloc.c: Likewise.
16049         * nis/nis_print.c: Likewise.
16050         * resolv/res_comp.c: Likewise.
16051         * stdlib/stdlib.h: Likewise.
16052         * sunrpc/clnt_tcp.c: Likewise.
16053         * sunrpc/clnt_udp.c: Likewise.
16054         * sunrpc/clnt_unix.c: Likewise.
16055         * sysdeps/unix/bsd/ptsname.c: Likewise.
16056         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16057         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16059         Likewise.
16060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16061         Likewise.
16062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16063         Likewise.
16064         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16065
16066 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16067
16068         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16069         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16070
16071 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16072
16073         [BZ #15897]
16074         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16075         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16076         ($(objpfx)bug-dl-leaf): New rule.
16077         ($(objpfx)bug-dl-leaf.so): Likewise.
16078         ($(objpfx)bug-dl-leaf.out): Likewise.
16079         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16080         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16081         * dlfcn/bug-dl-leaf.c: New test.
16082         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16083         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16084         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16085         (dlclose): Likewise.
16086         (dlmopen): Likewise.
16087
16088 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16089
16090         * include/netdb.h [!_ISOMAC]:
16091         Don't include <tls.h>.
16092         (h_errno, __libc_h_errno): Move declaration and macros out of
16093         [_LIBC_REENTRANT].
16094
16095         * include/resolv.h [_RESOLV_H_]:
16096         Don't include <tls.h>.
16097         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16098         * resolv/res_libc.c: Don't include <tls.h>.
16099         (_res): Use __attribute__ ((nocommon)) in place of
16100         __attribute__ ((section (".bss"))).
16101
16102         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16103         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16104
16105         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16106
16107         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16108         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16109
16110         * resolv/res_mkquery.c: Include <sys/time.h>.
16111
16112         * inet/ifreq.c: Moved to ...
16113         * sysdeps/unix/ifreq.c: ... here.
16114         * inet/ifreq.c: New file, true stub version.
16115
16116         * socket/sa_len.c: New file.
16117         * socket/Makefile (aux): Add it.
16118         * sysdeps/unix/sysv/linux/Makefile
16119         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16120         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16121         and #include <socket/sa_len.c>.
16122         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16123         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16124
16125         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16126         * bits/socket.h: ... here.
16127
16128         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16129         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16130         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16131
16132 2013-08-27  Andreas Schwab  <schwab@suse.de>
16133
16134         [BZ #15736]
16135         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16136         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16137         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16138         * string/test-strcasecmp.c (test_main): Run tests in several
16139         locales.
16140         * string/test-strncasecmp.c (test_main): Likewise.
16141
16142         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16143         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16144         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16145         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16146         (__strncasecmp_ssse3) [PIC]: Likewise.
16147
16148 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16149
16150         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16151
16152         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16153         instead of explicitly declaring xdecrypt.
16154         * nis/nss_nis/nis-publickey.c: Likewise.
16155
16156 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16157
16158         [BZ #15890]
16159         * nscd/aicache.c: Include res_hconf.h.
16160         (addhstaiX): Initialize res_hconf.
16161
16162 2013-08-26  Andreas Schwab  <schwab@suse.de>
16163
16164         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16165         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16166
16167 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16168
16169         * nscd/aicache.c (addhstaiX): Fix indentation.
16170
16171 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16172
16173         * configure.ac: Quote $build_pt_chown test.
16174         * configure: Regenerated.
16175
16176 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16177
16178         [BZ #15532]
16179         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16180         * math/s_cexpf.c (__cexpf): Likewise.
16181         * math/s_cexpl.c (__cexpl): Likewise.
16182         * math/libm-test.inc (cexp_test_data): Correct expected return
16183         value for NaN + i0.  Add another test.
16184
16185 2013-08-22  David S. Miller  <davem@davemloft.net>
16186
16187         * po/ca.po: Update Catalan translation from translation project.
16188         * po/uk.po: Add Ukrainian translations from translation project.
16189
16190 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16191
16192         [BZ #15797]
16193         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16194         is infinite, not alongside NaN test.
16195         * math/s_fdimf.c (__fdimf): Likewise.
16196         * math/s_fdiml.c (__fdiml): Likewise.
16197         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16198         errno is unchanged.
16199
16200 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16201
16202         * argp/argp-help.c: Fix typos.
16203         * crypt/speeds.c: Likewise.
16204         * csu/check_fds.c: Likewise.
16205         * elf/dl-load.c: Likewise.
16206         * elf/dl-open.c: Likewise.
16207         * elf/reldep3.c: Likewise.
16208         * elf/reldep.c: Likewise.
16209         * elf/sprof.c: Likewise.
16210         * iconv/iconv_charmap.c: Likewise.
16211         * iconv/skeleton.c: Likewise.
16212         * iconv/strtab.c: Likewise.
16213         * io/lockf64.c: Likewise.
16214         * libio/libioP.h: Likewise.
16215         * resolv/gai_notify.c: Likewise.
16216         * resolv/ns_name.c: Likewise.
16217         * resolv/ns_samedomain.c: Likewise.
16218         * resolv/res_send.c: Likewise.
16219         * stdlib/random.c: Likewise.
16220         * sunrpc/rpc/xdr.h: Likewise.
16221         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16222         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16223         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16224         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16225         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16226         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16227         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16228         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16229         * sysdeps/mach/hurd/check_fds.c: Likewise.
16230         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16231         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16232         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16233         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16234         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16235         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16236         * sysdeps/pthread/aio_notify.c: Likewise.
16237         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16238         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16239         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16240         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16241         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16242
16243 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16244
16245         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16246         version if bit_Slow_SSE4_2 is set.
16247         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16248         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16249
16250 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16251
16252         [BZ #15867]
16253         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16254         trampoline stack frame information.
16255         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16256         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16257         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16258         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16259         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16260         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16261         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16262         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16263         sa_flags value.
16264         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16265         interrupting a syscall and set with option SA_SIGINFO.
16266
16267 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16268
16269         [BZ #15531]
16270         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16271         argument is infinite.
16272         * math/s_cprojf.c (__cprojf): Likewise.
16273         * math/s_cprojl.c (__cprojl): Likewise.
16274         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16275         * math/libm-test.inc (cproj_test_data): Add more tests.
16276
16277         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16278
16279         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16280         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16281         size.  Use __ffs to determine corresponding shift.
16282
16283 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16284             Roland McGrath  <roland@hack.frob.com>
16285
16286         * Makefile (INSTALL): Remove trailing blank lines from output of
16287         makeinfo.
16288
16289 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16290
16291         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16292         Align 32 bit compat elf_greg to 8 bytes.
16293
16294 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16295
16296         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16297
16298 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16299
16300         * string/strcoll_l.c (coll_seq): New structure.
16301         (get_next_seq_cached): New function.
16302         (get_next_seq): New function.
16303         (do_compare): New function.
16304         (STRCOLL): Use GNU style definition.  Simplify implementation
16305         by using get_next_seq, get_next_seq_cached and do_compare.
16306
16307 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16308
16309         [BZ #14699]
16310         CVE-2013-4237
16311         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16312         member.
16313         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16314         member.
16315         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16316         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16317         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16318         conditional.
16319         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16320         GETDENTS_64BIT_ALIGNED.
16321         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16322         * manual/filesys.texi (Reading/Closing Directory): Document
16323         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16324         strongly.
16325         * manual/conf.texi (Limits for Files): Add portability note to
16326         NAME_MAX, PATH_MAX.
16327         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16328
16329 2013-08-13  Andreas Schwab  <schwab@suse.de>
16330
16331         [BZ #15749]
16332         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16333         of fabs.
16334         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16335         LDBL_MAX_EXP >= 16384]: Add tests for it.
16336
16337 2013-08-12  David S. Miller  <davem@davemloft.net>
16338
16339         * version.h (RELEASE): Set to "development".
16340         (VERSION): Set to "2.18.90".
16341         * NEWS: Add 2.19 section.
16342
16343 2013-08-03  David S. Miller  <davem@davemloft.net>
16344
16345         * po/ko.po: Update Korean translation from translation project.
16346
16347 2013-08-01  David S. Miller  <davem@davemloft.net>
16348
16349         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16350         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16351         Bilka.
16352
16353 2013-07-30  David S. Miller  <davem@davemloft.net>
16354
16355         * po/fr.po: Update French translation from translation project.
16356
16357 2013-07-28  David S. Miller  <davem@davemloft.net>
16358
16359         * po/cs.po: Update Czech translation from translation project.
16360
16361         * po/sv.po: Update Swedish translation from translation project.
16362
16363 2013-07-27  David S. Miller  <davem@davemloft.net>
16364
16365         * po/eo.po: Update Esperanto translation from translation project.
16366
16367         * po/vi.po: Update Vietnamese translation from translation project.
16368
16369         * po/de.po: Update German translation from translation project.
16370
16371 2013-07-26  David S. Miller  <davem@davemloft.net>
16372
16373         * po/bg.po: Update Bulgarian translation from translation project.
16374
16375         * po/nl.po: Update Dutch translation from translation project.
16376         * po/pl.po: Update Polish translation from translation project.
16377         * po/ru.po: Update Russian translation from translation project.
16378
16379 2013-07-24  David S. Miller  <davem@davemloft.net>
16380
16381         * po/libc.pot: Update.
16382
16383 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16384
16385         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16386         variable page size.
16387         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16388         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16389         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16390
16391 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16392
16393         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16394
16395 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16396             Andreas Schwab  <schwab@suse.de>
16397             Roland McGrath  <roland@hack.frob.com>
16398             Joseph Myers  <joseph@codesourcery.com>
16399             Carlos O'Donell  <carlos@redhat.com>
16400
16401         [BZ #15755]
16402         * config.h.in: Define HAVE_PT_CHOWN.
16403         * config.make.in (build-pt-chown): New variable.
16404         * configure.in (--enable-pt_chown): New configure option.
16405         * configure: Regenerate.
16406         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16407         build-pt-chown is enabled.
16408         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16409         pt_chown to fix pty ownership.
16410         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16411         CLOSE_ALL_FDS.
16412         * manual/install.texi (Configuring and compiling): Mention
16413         --enable-pt_chown. Add @findex for grantpt.
16414         * INSTALL: Regenerate.
16415
16416 2013-07-20  David S. Miller  <davem@davemloft.net>
16417
16418         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16419         difference between 32-bit and 64-bit.
16420
16421 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16422
16423         [BZ #15711]
16424         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16425         Avoid system header dependency with -ffreestanding.
16426         ($(objpfx)bits/syscall%d): Likewise.
16427
16428 2013-07-13  David S. Miller  <davem@davemloft.net>
16429
16430         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16431         underflows from atanl/atan2l due to bug 15319.
16432         (casinh_test_data): Likewise.
16433
16434 2013-07-07  David S. Miller  <davem@davemloft.net>
16435
16436         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16437
16438 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16439
16440         * sysdeps/i386/fpu/libm-test-ulps: Update.
16441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16442
16443 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16444
16445         * configure.in (--enable-lock-elision): Fix message text.
16446         * INSTALL: Regenerate.
16447         * configure: Regenerate.
16448
16449 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16450
16451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16452
16453 2013-07-03  Andreas Jaeger  <aj@suse.de>
16454
16455         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16456         define.
16457         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16458         (ptrace_peeksiginfo_args): Add.
16459         (__ptrace_peeksiginfo_flags): Add.
16460         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16461         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16462         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16463
16464 2013-07-03  Allan McRae  <allan@archlinux.org>
16465
16466         * sysdeps/i386/fpu/libm-test-ulps: Update.
16467
16468 2013-07-02  David S. Miller  <davem@davemloft.net>
16469
16470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16471
16472 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16473
16474         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16475
16476 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16477
16478         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16480
16481 2013-07-02  Andi Kleen <ak@linux.intel.com>
16482
16483         * config.h.in (ENABLE_LOCK_ELISION): Add.
16484         * configure.in (--enable-lock-elision): Add option.
16485         * manual/install.texi: Document --enable lock elision.
16486         * configure: Regenerate
16487         * INSTALL: Regenerate.
16488
16489 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16490
16491         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16492         SSE4.2 strcasecmp for libc.a.
16493         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16494
16495 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16496
16497         [BZ #13304]
16498         * soft-fp/op-common.h (_FP_FMA): New macro.
16499         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16500         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16501         (_FP_MUL_MEAT_1_imm): ... here.
16502         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16503         (_FP_MUL_MEAT_1_wide): ... here.
16504         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16505         (_FP_MUL_MEAT_1_hard): ... here.
16506         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16507         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16508         (_FP_MUL_MEAT_2_wide): ... here.
16509         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16510         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16511         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16512         (_FP_MUL_MEAT_2_gmp): ... here.
16513         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16514         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16515         (_FP_MUL_MEAT_4_wide): ... here.
16516         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16517         (_FP_MUL_MEAT_4_gmp): ... here.
16518         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16519         (_FP_WFRACBITS_DW_S): Likewise.
16520         (_FP_WFRACXBITS_DW_S): Likewise.
16521         (_FP_HIGHBIT_DW_S): Likewise.
16522         (FP_FMA_S): Likewise.
16523         (_FP_FRAC_HIGH_DW_S): Likewise.
16524         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16525         (_FP_WFRACBITS_DW_D): Likewise.
16526         (_FP_WFRACXBITS_DW_D): Likewise.
16527         (_FP_HIGHBIT_DW_D): Likewise.
16528         (FP_FMA_D): Likewise.
16529         (_FP_FRAC_HIGH_DW_D): Likewise.
16530         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16531         (_FP_WFRACBITS_DW_E): Likewise.
16532         (_FP_WFRACXBITS_DW_E): Likewise.
16533         (_FP_HIGHBIT_DW_E): Likewise.
16534         (FP_FMA_E): Likewise.
16535         (_FP_FRAC_HIGH_DW_E): Likewise.
16536         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16537         (_FP_WFRACBITS_DW_Q): Likewise.
16538         (_FP_WFRACXBITS_DW_Q): Likewise.
16539         (_FP_HIGHBIT_DW_Q): Likewise.
16540         (FP_FMA_Q): Likewise.
16541         (_FP_FRAC_HIGH_DW_Q): Likewise.
16542         * soft-fp/fmasf4.c: New file.
16543         * soft-fp/fmadf4.c: Likewise.
16544         * soft-fp/fmatf4.c: Likewise.
16545
16546 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16547
16548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16549         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16550         Silvermont.
16551         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16552         macro.
16553         (index_Slow_SSE4_2): Likewise.
16554         (index_Prefer_PMINUB_for_stringop): Likewise.
16555         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16556         bit_Slow_SSE4_2 is set.
16557         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16558         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16559
16560 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16561
16562         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16563         rtld_global._dl_hwcap2.
16564         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16565         POWER8.
16566         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16567         POWER8 feature descriptions defined in _dl_hwcap2.
16568         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16569         string handling for POWER8 feature bits.
16570         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16571         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16572         _dl_powerpc_cap_flags.
16573         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16574         * sysdeps/powerpc/rtld-global-offsets.sym
16575         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16576         _dl_hwcap2 in the rtld_global_ro structure.
16577
16578 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16579
16580         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16581         hardware capabilities in support of AT_HWCAP2.
16582         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16583         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16584         GLRO(dl_hwcap2).
16585         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16586         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16587         explicitly the unknown a_type display mechanism is used.
16588         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16589         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16590         struct member.
16591         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16592         to macro prototype for AT_HWCAP2 support.
16593         * sysdeps/i386/dl-procinfo.h: Likewise.
16594         * sysdeps/s390/dl-procinfo.h: Likewise.
16595         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16596         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16597         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16598         return -1 for unknown a_type display fallback.
16599         * sysdeps/sparc/dl-procinfo.h: Likewise.
16600         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16601         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16602
16603 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16604
16605         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16606         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16607
16608 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16609
16610         [BZ #12492]
16611         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16612         mprotect making __stack_prot writable.
16613
16614 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16615             Joseph Myers  <joseph@codesourcery.com>
16616
16617         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16618         as being properly aligned.
16619
16620 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16621
16622         * dlfcn/modstatic5.c: New file.
16623         * dlfcn/tststatic5.c: New file.
16624         * dlfcn/Makefile (tests): Add tststatic5.
16625         (tests-static): Likewise.
16626         (modules-names): Add modstatic5.
16627         (tststatic5-ENV): New variable.
16628         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16629
16630         [BZ #15022]
16631         * elf/dl-support.c (_dl_main_map): New variable.
16632         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16633         (_dl_nns, _dl_load_adds): Set to 1.
16634         (_dl_initial_searchlist): Refer to _dl_main_map.
16635         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16636         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16637         call to _dl_get_origin.
16638         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16639         around call_map.
16640         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16641         * dlfcn/modstatic3.c: New file.
16642         * dlfcn/tststatic3.c: New file.
16643         * dlfcn/tststatic4.c: New file.
16644         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16645         (tests-static): Likewise.
16646         (modules-names): Add modstatic3.
16647         (tststatic3-ENV, tststatic4-ENV): New variables.
16648         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16649         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16650
16651 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16652
16653         * configure.in (CC): Require GCC version 4.4 or later.
16654         * configure: Regenerated.
16655         * manual/install.texi (Tools for Compilation): Update GCC version
16656         requirement.
16657         * INSTALL: Regenerated.
16658
16659 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16660
16661         [BZ #15674]
16662         * string/test-memcmp.c (check2): New.
16663         (main): Call check2.
16664
16665         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16666
16667 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16668
16669         [BZ #15022]
16670         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16671         over to...
16672         (dl_open_worker) [!SHARED]: ... here.
16673
16674 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16675
16676         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16677
16678 2013-06-25  Richard Henderson  <rth@redhat.com>
16679
16680         * locale/programs/locarchive.c: Include <libc-internal.h>
16681
16682 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16683
16684         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16685         trailing whitespace removed.
16686
16687 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16688
16689         [BZ #10283]
16690         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16691         * locale/programs/locarchive.c: Include libc-mmap.h.
16692         (prepare_address_space): Take two new outputs (the mmap base and len).
16693         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16694         values.
16695         (create_archive): Declare new mmap base and len values for
16696         prepare_address_space, and store the result in ah.
16697         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16698         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16699         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16700         Declare new mmap base and len values for
16701         prepare_address_space, and store the result in new_ah.
16702         (open_archive): Declare new mmap base and len values for
16703         prepare_address_space, and store the result in ah.
16704         (close_archive): If ah->mmap_base is not NULL, use that and
16705         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16706         * sysdeps/generic/libc-mmap.h: New file.
16707
16708 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16709
16710         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16711         (ALIGN_UP): Likewise.
16712         (PTR_ALIGN_DOWN): Likewise.
16713         (PTR_ALIGN_UP): Likewise.
16714
16715 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16716
16717         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16718         entry mapped to PPC_PLATFORM_POWER8.
16719         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16720         POWER8.
16721         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16722         (_dl_string_platform): Add case for exporting platform position for
16723         POWER8.
16724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16725         search path to sysdeps/powerpc/powerpc32/power8 directory.
16726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16727         search path to sysdeps/powerpc/powerpc64/power8 directory.
16728         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16729         power7 directories.
16730         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16731         power7 directories.
16732
16733 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16734
16735         * INSTALL: Regenerate.
16736
16737         * nscd/connections.c (nscd_init): Fix comment.
16738
16739 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16740
16741         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16742
16743         [BZ #15667]
16744         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16745         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16746
16747 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16748
16749         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16750         DL_DST_REQ_STATIC.
16751         (DL_DST_REQ_STATIC): Remove macro.
16752
16753 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16754
16755         [BZ #7006]
16756         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16757         with a shift of 0 bits.
16758
16759 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16760
16761         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16762         $(tststatic-ENV).
16763
16764 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16765
16766         [BZ #15655]
16767         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16768
16769 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16770
16771         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16772         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16773         accepts -fno-tree-loop-distribute-patterns.
16774         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16775         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16776         recursive call.
16777         * string/memset.c (memset): Likewise.
16778         * string/test-memmove.c (simple_memmove): Disable loop transformation
16779         to library calls.
16780         * string/test-memset.c (simple_memset): Likewise.
16781         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16782         * benchtests/bench-memset.c (simple_memset): Likewise.
16783         * configure: Regenerated.
16784
16785 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16786
16787         * math/test-misc.c (main): Ignore fesetround failure when failures
16788         of subsequent rounding tests would be ignored.
16789
16790         [BZ #15654]
16791         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16792         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16793         * math/fegetenv.c (__fegetenv): Return 0.
16794         * math/fegetexcept.c (fegetexcept): Return 0.
16795         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16796         FE_TONEAREST.
16797         * math/feholdexcpt.c (feholdexcept): Return 0.
16798         * math/fesetenv.c (__fesetenv): Return 0.
16799         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16800         argument FE_TONEAREST.
16801         * math/feupdateenv.c (__feupdateenv): Return 0.
16802         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16803
16804 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16805
16806         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16807         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16808         ($(objpfx)rtld-%.os rules): Use them.
16809
16810 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16811
16812         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16813         fields.
16814
16815 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16816
16817         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16818         length of target pattern, then descending length of dependency pattern.
16819         * configure.in (AWK): Require gawk 3.1.2 or newer.
16820         * manual/install.texi (Tools for Compilation): Say that we do.
16821         * configure: Regenerated.
16822
16823         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16824         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16825         * scripts/sysd-rules.awk: ... this new script.
16826         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16827         than a glob-style pattern.
16828
16829 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16830
16831         * math/test-misc.c (main): Do not treat incorrectly rounded
16832         conversions as failure unless ROUNDING_TESTS passes.
16833
16834 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16835
16836         [BZ #15631]
16837         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16838         restore exception state around main square root computation, then
16839         check for inexactness explicitly.
16840
16841         * math/libm-test.inc (fma_test_data): Add another test.
16842
16843 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16844
16845         * manual/threads.texi (Non-POSIX Extensions): New document
16846         node.  Document pthread_getattr_default_np and
16847         pthread_setattr_default_np.
16848
16849         * Versions.def (libpthread): Add GLIBC_2.18.
16850         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16852         Likewise.
16853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16854         Likewise.
16855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16856         Likewise.
16857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16858         Likewise.
16859         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16860         Likewise.
16861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16862         Likewise.
16863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16864         Likewise.
16865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16866         Likewise.
16867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16868         Likewise.
16869
16870 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16871
16872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16873         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16874
16875 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16876             H.J. Lu  <hjl.tools@gmail.com>
16877
16878         [BZ #15627]
16879         * sysdeps/x86_64/rtld-memset.c: Remove file.
16880         * sysdeps/x86_64/rtld-memset.S: New file.
16881
16882 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16883
16884         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16885         (test_in_one_mode): Take arguments for whether the rounding mode
16886         is supported for each floating-point type.
16887         (do_test): Pass new arguments to test_in_one_mode using
16888         ROUNDING_TESTS.
16889
16890 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16891
16892         * posix/tst-waitid.c (do_test): Distinguish different instances of
16893         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16894         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16895         before entering the kernel for waitpid.
16896
16897 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16898
16899         * NEWS: Fix note on clock function precision.  Text by Roland
16900         McGrath.
16901
16902 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16903
16904         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16905         it into place only when and if the sanity check passes.
16906
16907 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16908
16909         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16910         output for whether conversion result is exact.  Take argument
16911         indicating whether type is IBM long double.
16912         (round_for_all): Change need_exact field to ibm_ld.
16913         * stdlib/tst-strtod-round.c (struct exactness): New type.
16914         (struct test): Change bool ld_ok field to struct exactness exact.
16915         (TEST): Update all definitions for change to field.
16916         (tests): Regenerate array contents.
16917         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16918         field value.  Check for IBM long double here.
16919         (do_test): Update calls to test_in_one_mode.
16920
16921 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16922
16923         [BZ #12515]
16924         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16925         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16926
16927 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16928
16929         [BZ #15605]
16930         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16931         generated by the compiler on loop optimizations.
16932         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16933         general definitions.
16934
16935 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16936
16937         * math/bug-nextafter.c: Include <math-tests.h>.
16938         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16939         the relevant type.
16940         * math/bug-nexttoward.c: Include <math-tests.h>.
16941         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16942         the relevant type.
16943         * math/test-misc.c: Include <math-tests.h>.
16944         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16945         the relevant type.
16946
16947 2013-06-12  Andreas Jaeger  <aj@suse.de>
16948
16949         * po/ia.po: Update Interlingua translation from translation
16950         project.
16951
16952 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16953
16954         * include/fenv.h: Include stdbool.h.
16955         (struct rm_ctx): New structure.
16956         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16957         Define macro.
16958         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16959         (SET_RESTORE_ROUNDF): Likewise.
16960         (SET_RESTORE_ROUNDL): Likewise.
16961         (SET_RESTORE_ROUND_NOEX): Likewise.
16962         (SET_RESTORE_ROUND_NOEXF): Likewise.
16963         (SET_RESTORE_ROUND_NOEXL): Likewise.
16964         (SET_RESTORE_ROUND_53BIT): Likewise.
16965         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16966         (libc_feresetround_noexf_ctx): Likewise.
16967         (libc_feresetround_noexl_ctx): Likewise.
16968         (libc_feholdsetround_53bit_ctx): Likewise.
16969         (libc_feresetround_53bit_ctx): Likewise.
16970         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16971         (libc_feholdexcept_setround_sse_ctx): New function.
16972         (libc_fesetenv_sse_ctx): Likewise.
16973         (libc_feupdateenv_sse_ctx): Likewise.
16974         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16975         (libc_feholdexcept_setround_387_ctx): Likewise.
16976         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16977         (libc_feholdsetround_387_prec_ctx): Likewise.
16978         (libc_feholdsetround_387_ctx): Likewise.
16979         (libc_feholdsetround_387_53bit_ctx): Likewise.
16980         (libc_feholdsetround_sse_ctx): Likewise.
16981         (libc_feresetround_sse_ctx): Likewise.
16982         (libc_feresetround_387_ctx): Likewise.
16983         (libc_feupdateenv_387_ctx): Likewise.
16984         (libc_feholdexcept_setroundf_ctx): Define macro.
16985         (libc_fesetenvf_ctx): Likewise.
16986         (libc_feupdateenvf_ctx): Likewise.
16987         (libc_feholdsetroundf_ctx): Likewise.
16988         (libc_feresetroundf_ctx): Likewise.
16989         (libc_feholdexcept_setround_ctx): Likewise.
16990         (libc_fesetenv_ctx): Likewise.
16991         (libc_feupdateenv_ctx): Likewise.
16992         (libc_feholdsetround_ctx): Likewise.
16993         (libc_feresetround_ctx): Likewise.
16994         (libc_feholdexcept_setroundl_ctx): Likewise.
16995         (libc_feupdateenvl_ctx): Likewise.
16996         (libc_feholdsetroundl_ctx): Likewise.
16997         (libc_feresetroundl_ctx): Likewise.
16998         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16999         (libc_feresetround_53bit_ctx): Likewise.
17000
17001 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17002
17003         * locale/iso-639.def: Convert to UTF-8.
17004
17005 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17006
17007         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17008         (EXCEPTION_TESTS_double): Likewise.
17009         (EXCEPTION_TESTS_long_double): Likewise.
17010         (EXCEPTION_TESTS): Likewise.
17011         * math/libm-test.inc (test_exceptions): Only test exceptions if
17012         EXCEPTION_TESTS (FLOAT).
17013
17014 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17015
17016         * benchtests/Makefile (string-bench): Add strcpy_chk and
17017         stpcpy_chk.
17018         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17019         * benchtests/bench-stpcpy_chk.c: New file.
17020         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17021         * benchtests/bench-strcpy_chk.c: New file.
17022         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17023         code.
17024         (do_test): Likewise.
17025
17026 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17027
17028         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17029         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17030         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17031         with tabs where appropriate.
17032         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17033         dl-procinfo.h.
17034         [PPC_PLATFORM_PPC440]: Likewise.
17035         [PPC_PLATFORM_PPC464]: Likewise.
17036         [PPC_PLATFORM_PPC476]: Likewise.
17037         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17038         ppc464, and ppc476 platform strings merging from ports/
17039         dl-procinfo.h.
17040
17041 2013-06-11  Andreas Schwab  <schwab@suse.de>
17042
17043         [BZ #14991]
17044         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17045         (from_ucs4_idx): Regenerate.
17046         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17047         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17048         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17049         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17050         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17051         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17052         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17053         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17054         from FROM_LOOP and TO_LOOP specific macros.
17055         (BODY): Handle combining characters.
17056         * iconvdata/BIG5HKSCS.irreversible: Update.
17057         * iconvdata/BIG5HKSCS.precomposed: New file.
17058         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17059         characters.
17060         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17061
17062 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17063
17064         * include/sys/time.h: Fix indentation and add copyright header.
17065
17066         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17067         (do_test): Likewise.
17068         * string/test-memchr.c (do_one_test): Likewise.
17069         (do_test): Likewise.
17070         * string/test-memcmp.c (do_one_test): Likewise.
17071         (do_test): Likewise.
17072         * string/test-memcpy.c (do_one_test): Likewise.
17073         (do_test): Likewise.
17074         * string/test-memmem.c (do_one_test): Likewise.
17075         (do_test): Likewise.
17076         (do_random_tests): Likewise.
17077         * string/test-memmove.c (do_one_test): Likewise.
17078         (do_test): Likewise.
17079         * string/test-memset.c (do_one_test): Likewise.
17080         (do_test): Likewise.
17081         * string/test-rawmemchr.c (do_one_test): Likewise.
17082         (do_test): Likewise.
17083         * string/test-strcasecmp.c (do_one_test): Likewise.
17084         (do_test): Likewise.
17085         * string/test-strcasestr.c (do_one_test): Likewise.
17086         (do_test): Likewise.
17087         * string/test-strcat.c (do_one_test): Likewise.
17088         (do_test): Likewise.
17089         * string/test-strchr.c (do_one_test): Likewise.
17090         (do_test): Likewise.
17091         * string/test-strcmp.c (do_one_test): Likewise.
17092         (do_test): Likewise.
17093         * string/test-strcpy.c (do_one_test): Likewise.
17094         (do_test): Likewise.
17095         * string/test-string.h: Likewise.
17096         (test_init): Likewise.
17097         * string/test-strlen.c (do_one_test): Likewise.
17098         (do_test): Likewise.
17099         * string/test-strncasecmp.c (do_one_test): Likewise.
17100         (do_test): Likewise.
17101         * string/test-strncat.c (do_one_test): Likewise.
17102         (do_test): Likewise.
17103         * string/test-strncmp.c (do_one_test): Likewise.
17104         (do_test_limit): Likewise.
17105         (do_test): Likewise.
17106         * string/test-strncpy.c (do_one_test): Likewise.
17107         (do_test): Likewise.
17108         * string/test-strnlen.c (do_one_test): Likewise.
17109         (do_test): Likewise.
17110         * string/test-strpbrk.c (do_one_test): Likewise.
17111         (do_test): Likewise.
17112         * string/test-strrchr.c (do_one_test): Likewise.
17113         (do_test): Likewise.
17114         * string/test-strspn.c (do_one_test): Likewise.
17115         (do_test): Likewise.
17116         * string/test-strstr.c (do_one_test): Likewise.
17117         (do_test): Likewise.
17118
17119         * benchtests/Makefile (string-bench): Add string benchmarks.
17120         * benchtests/bench-bcopy-ifunc.c: New file.
17121         * benchtests/bench-bcopy.c: New file.
17122         * benchtests/bench-bzero-ifunc.c: New file.
17123         * benchtests/bench-bzero.c: New file.
17124         * benchtests/bench-memccpy-ifunc.c: New file.
17125         * benchtests/bench-memccpy.c: New file.
17126         * benchtests/bench-memchr-ifunc.c: New file.
17127         * benchtests/bench-memchr.c: New file.
17128         * benchtests/bench-memcmp-ifunc.c: New file.
17129         * benchtests/bench-memcmp.c: New file.
17130         * benchtests/bench-memmem-ifunc.c: New file.
17131         * benchtests/bench-memmem.c: New file.
17132         * benchtests/bench-memmove-ifunc.c: New file.
17133         * benchtests/bench-memmove.c: New file.
17134         * benchtests/bench-mempcpy-ifunc.c: New file.
17135         * benchtests/bench-mempcpy.c: New file.
17136         * benchtests/bench-memset-ifunc.c: New file.
17137         * benchtests/bench-memset.c: New file.
17138         * benchtests/bench-rawmemchr-ifunc.c: New file.
17139         * benchtests/bench-rawmemchr.c: New file.
17140         * benchtests/bench-stpcpy-ifunc.c: New file.
17141         * benchtests/bench-stpcpy.c: New file.
17142         * benchtests/bench-stpncpy-ifunc.c: New file.
17143         * benchtests/bench-stpncpy.c: New file.
17144         * benchtests/bench-strcasecmp-ifunc.c: New file.
17145         * benchtests/bench-strcasecmp.c: New file.
17146         * benchtests/bench-strcasestr-ifunc.c: New file.
17147         * benchtests/bench-strcasestr.c: New file.
17148         * benchtests/bench-strcat-ifunc.c: New file.
17149         * benchtests/bench-strcat.c: New file.
17150         * benchtests/bench-strchr-ifunc.c: New file.
17151         * benchtests/bench-strchr.c: New file.
17152         * benchtests/bench-strchrnul-ifunc.c: New file.
17153         * benchtests/bench-strchrnul.c: New file.
17154         * benchtests/bench-strcmp-ifunc.c: New file.
17155         * benchtests/bench-strcmp.c: New file.
17156         * benchtests/bench-strcpy-ifunc.c: New file.
17157         * benchtests/bench-strcpy.c: New file.
17158         * benchtests/bench-strcspn-ifunc.c: New file.
17159         * benchtests/bench-strcspn.c: New file.
17160         * benchtests/bench-strlen-ifunc.c: New file.
17161         * benchtests/bench-strlen.c: New file.
17162         * benchtests/bench-strncasecmp-ifunc.c: New file.
17163         * benchtests/bench-strncasecmp.c: New file.
17164         * benchtests/bench-strncat-ifunc.c: New file.
17165         * benchtests/bench-strncat.c: New file.
17166         * benchtests/bench-strncmp-ifunc.c: New file.
17167         * benchtests/bench-strncmp.c: New file.
17168         * benchtests/bench-strncpy-ifunc.c: New file.
17169         * benchtests/bench-strncpy.c: New file.
17170         * benchtests/bench-strnlen-ifunc.c: New file.
17171         * benchtests/bench-strnlen.c: New file.
17172         * benchtests/bench-strpbrk-ifunc.c: New file.
17173         * benchtests/bench-strpbrk.c: New file.
17174         * benchtests/bench-strrchr-ifunc.c: New file.
17175         * benchtests/bench-strrchr.c: New file.
17176         * benchtests/bench-strspn-ifunc.c: New file.
17177         * benchtests/bench-strspn.c: New file.
17178         * benchtests/bench-strstr-ifunc.c: New file.
17179         * benchtests/bench-strstr.c: New file.
17180
17181         * benchtests/Makefile: Disable parallel execution of targets.
17182         (string-bench): Add memcpy.
17183         (benchset): New variable to store a list of benchmark sets.
17184         (bench-func): Renamed from bench.
17185         (bench-set): New target.
17186         (bench): Depend on bench-func and bench-set.
17187         * benchtests/README: Add section on benchmark sets.
17188         * benchtests/bench-memcpy-ifunc.c: New file.
17189         * benchtests/bench-memcpy.c: New file.
17190         * benchtests/bench-string.h: New file.
17191
17192 2013-06-11  Andreas Schwab  <schwab@suse.de>
17193
17194         [BZ #15577]
17195         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17196         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17197         values in the triple.
17198         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17199         terminator in the group key.
17200
17201 2013-06-11  Andreas Jaeger  <aj@suse.de>
17202
17203         * po/zh_TW.po: Update Chinese (traditional) translation from
17204         translation project.
17205
17206 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17207
17208         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17209         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17210         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17211         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17212         (clock_getcpuclockid): Likewise.
17213         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17214         Add weak_alias and libc_hidden_def.
17215         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17216         * rt/clock_gettime.c (clock_gettime): Rename to
17217         __clock_gettime.  Add weak_alias and libc_hidden_def.
17218         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17219         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17220         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17221         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17222         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17223         Likewise.
17224         * rt/clock_settime.c (clock_settime): Rename to
17225         __clock_settime.  Add weak_alias and libc_hidden_def.
17226         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17227
17228 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17229
17230         * mach/err_boot.sub: Remove trailing whitespace.
17231         * mach/err_ipc.sub: Likewise.
17232         * mach/err_mach.sub: Likewise.
17233
17234         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17235         (ROUNDING_TESTS_double): Likewise.
17236         (ROUNDING_TESTS_long_double): Likewise.
17237         (ROUNDING_TESTS): Likewise.
17238         * math/libm-test.inc: Include <math-tests.h>.
17239         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17240         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17241         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17242         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17243
17244 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17245
17246         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17247         of assigning.
17248
17249 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17250
17251         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17252         otherwise empty TRANS lines.
17253         * sysdeps/gnu/errlist.c: Regenerated.
17254
17255         * catgets/gencat.c (error_print): Use (void) in function
17256         definition.
17257         * crypt/crypt_util.c (__init_des): Likewise.
17258         * crypt/speeds.c (Stop): Likewise.
17259         (main): Likewise.
17260         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17261         * inet/ruserpass.c (token): Likewise.
17262         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17263         * intl/localealias.c (extend_alias_table): Likewise.
17264         * intl/plural-exp.c (init_germanic_plural): Likewise.
17265         * libio/fcloseall.c (__fcloseall): Likewise.
17266         * libio/genops.c (_IO_flush_all): Likewise.
17267         (_IO_flush_all_linebuffered): Likewise.
17268         (_IO_cleanup): Likewise.
17269         (_IO_iter_begin): Likewise.
17270         (_IO_iter_end): Likewise.
17271         (_IO_list_lock): Likewise.
17272         (_IO_list_unlock): Likewise.
17273         (_IO_list_resetlock): Likewise.
17274         * libio/getchar.c (getchar): Likewise.
17275         * libio/getchar_u.c (getchar_unlocked): Likewise.
17276         * libio/getwchar.c (getwchar): Likewise.
17277         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17278         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17279         * login/getpt.c (__getpt): Likewise.
17280         * login/tst-utmp.c (main): Likewise.
17281         * malloc/hooks.c (__malloc_check_init): Likewise.
17282         * malloc/malloc.c (__malloc_stats): Likewise.
17283         * malloc/mtrace.c (tr_break): Likewise.
17284         (mtrace): Likewise.
17285         (muntrace): Likewise.
17286         * misc/fstab.c (endfsent): Likewise.
17287         * misc/getclktck.c (__getclktck): Likewise.
17288         * misc/getdtsz.c (__getdtablesize): Likewise.
17289         * misc/gethostid.c (gethostid): Likewise.
17290         * misc/getpagesize.c (__getpagesize): Likewise.
17291         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17292         (__get_nprocs): Likewise.
17293         (__get_phys_pages): Likewise.
17294         (__get_avphys_pages): Likewise.
17295         * misc/getttyent.c (getttyent): Likewise.
17296         (setttyent): Likewise.
17297         (endttyent): Likewise.
17298         * misc/getusershell.c (getusershell): Likewise.
17299         (endusershell): Likewise.
17300         (setusershell): Likewise.
17301         (initshells): Likewise.
17302         * misc/hsearch.c (__hdestroy): Likewise.
17303         * misc/sync.c (sync): Likewise.
17304         * misc/syslog.c (closelog_internal): Likewise.
17305         (closelog): Likewise.
17306         * misc/ttyslot.c (ttyslot): Likewise.
17307         * misc/vhangup.c (vhangup): Likewise.
17308         * posix/fork.c (__fork): Likewise.
17309         * posix/getegid.c (__getegid): Likewise.
17310         * posix/geteuid.c (__geteuid): Likewise.
17311         * posix/getgid.c (__getgid): Likewise.
17312         * posix/getpid.c (__getpid): Likewise.
17313         * posix/getppid.c (__getppid): Likewise.
17314         * posix/getuid.c (__getuid): Likewise.
17315         * posix/pause.c (pause): Likewise.
17316         * posix/setpgrp.c (setpgrp): Likewise.
17317         * posix/setsid.c (__setsid): Likewise.
17318         * posix/test-vfork.c (noop): Likewise.
17319         * resolv/gethnamaddr.c (_endhtent): Likewise.
17320         (_gethtent): Likewise.
17321         (ht_endhostent): Likewise.
17322         (gethostent): Likewise.
17323         (dns_service): Likewise.
17324         * stdlib/drand48.c (drand48): Likewise.
17325         * stdlib/lrand48.c (lrand48): Likewise.
17326         * stdlib/mrand48.c (mrand48): Likewise.
17327         * stdlib/rand.c (rand): Likewise.
17328         * stdlib/random.c (__random): Likewise.
17329         * stdlib/setenv.c (clearenv): Likewise.
17330         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17331         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17332         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17333         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17334         (__get_nprocs): Likewise.
17335         (__get_phys_pages): Likewise.
17336         (__get_avphys_pages): Likewise.
17337         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17338         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17339         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17340         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17341         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17342         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17343         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17344         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17345         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17346         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17347         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17348         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17349         * sysdeps/posix/clock.c (clock): Likewise.
17350         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17351         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17352         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17353         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17354         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17355         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17356         (__get_nprocs_conf): Likewise.
17357         (__get_phys_pages): Likewise.
17358         (__get_avphys_pages): Likewise.
17359         * time/clock.c (clock): Likewise.
17360         * time/tzset.c (__tzname_max): Likewise.
17361
17362 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17363
17364         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17365         (__bswap_32): Do not use "register".
17366         * crypt/crypt.c (_ufc_doit_r): Likewise.
17367         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17368         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17369         * gmon/gmon.c (__monstartup): Likewise.
17370         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17371         * hurd/hurdmalloc.c (more_memory): Likewise.
17372         (malloc): Likewise.
17373         (free): Likewise.
17374         (realloc): Likewise.
17375         (malloc_fork_prepare): Likewise.
17376         (malloc_fork_parent): Likewise.
17377         (malloc_fork_child): Likewise.
17378         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17379         (_svcauth_des): Likewise.
17380         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17381         * inet/inet_net.c (inet_network): Likewise.
17382         * inet/inet_netof.c (inet_netof): Likewise.
17383         * inet/rcmd.c (__validuser2_sa): Likewise.
17384         * io/fts.c (fts_open): Likewise.
17385         (fts_load): Likewise.
17386         (fts_close): Likewise.
17387         (fts_read): Likewise.
17388         (fts_children): Likewise.
17389         (fts_build): Likewise.
17390         (fts_stat): Likewise.
17391         (fts_sort): Likewise.
17392         (fts_alloc): Likewise.
17393         (fts_lfree): Likewise.
17394         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17395         (_IO_file_xsgetn): Likewise.
17396         (_IO_file_xsgetn_mmap): Likewise.
17397         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17398         (_IO_cookie_write): Likewise.
17399         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17400         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17401         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17402         * malloc/obstack.c (_obstack_begin): Likewise.
17403         (_obstack_begin_1): Likewise.
17404         (_obstack_newchunk): Likewise.
17405         (_obstack_allocated_p): Likewise.
17406         (obstack_free): Likewise.
17407         (_obstack_memory_used): Likewise.
17408         * misc/getttyent.c (getttynam): Likewise.
17409         (getttyent): Likewise.
17410         (skip): Likewise.
17411         (value): Likewise.
17412         * misc/getusershell.c (initshells): Likewise.
17413         * misc/syslog.c (__vsyslog_chk): Likewise.
17414         * misc/ttyslot.c (ttyslot): Likewise.
17415         * nis/nis_hash.c (__nis_hash): Likewise.
17416         * posix/fnmatch_loop.c (FCT): Likewise.
17417         * posix/getconf.c (print_all): Likewise.
17418         (main): Likewise.
17419         * posix/getopt.c (exchange): Likewise.
17420         * posix/glob.c (globfree): Likewise.
17421         (prefix_array): Likewise.
17422         (__glob_pattern_type): Likewise.
17423         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17424         (NS_GET32): Likewise.
17425         (NS_PUT16): Likewise.
17426         (NS_PUT32): Likewise.
17427         * resolv/gethnamaddr.c (getanswer): Likewise.
17428         (gethostbyname2): Likewise.
17429         (gethostbyaddr): Likewise.
17430         (_gethtent): Likewise.
17431         (_gethtbyname2): Likewise.
17432         (_gethtbyaddr): Likewise.
17433         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17434         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17435         * resolv/res_init.c (__res_vinit): Likewise.
17436         (net_mask): Likewise.
17437         * resolv/res_mkquery.c (outchar): Likewise.
17438         (PRINT): Likewise.
17439         * stdio-common/printf_fp.c (outchar): Likewise.
17440         (PRINT): Likewise.
17441         * stdio-common/printf_fphex.c (outchar): Likewise.
17442         (PRINT): Likewise.
17443         * stdio-common/printf_size.c (outchar): Likewise.
17444         (PRINT): Likewise.
17445         * stdio-common/test_rdwr.c (main): Likewise.
17446         * stdio-common/tfformat.c (matches): Likewise.
17447         * stdio-common/vfprintf.c (outchar): Likewise.
17448         (printf_unknown): Likewise.
17449         (buffered_vfprintf): Likewise.
17450         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17451         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17452         (ReadFile): Likewise.
17453         * stdlib/qsort.c (SWAP): Likewise.
17454         (_quicksort): Likewise.
17455         * stdlib/setenv.c (__add_to_environ): Likewise.
17456         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17457         * stdlib/strtol_l.c (__strtol_l): Likewise.
17458         * stdlib/tst-strtod.c (main): Likewise.
17459         * stdlib/tst-strtol.c (main): Likewise.
17460         * stdlib/tst-strtoll.c (main): Likewise.
17461         * string/bits/string2.h (__strcmp_cc): Likewise.
17462         (__strcmp_cg): Likewise.
17463         (__strcspn_c1): Likewise.
17464         (__strcspn_c2): Likewise.
17465         (__strcspn_c3): Likewise.
17466         (__strspn_c1): Likewise.
17467         (__strspn_c2): Likewise.
17468         (__strspn_c3): Likewise.
17469         (__strsep_1c): Likewise.
17470         (__strsep_2c): Likewise.
17471         (__strsep_3c): Likewise.
17472         * string/memccpy.c (__memccpy): Likewise.
17473         * string/stpcpy.c (__stpcpy): Likewise.
17474         * string/strcmp.c (strcmp): Likewise.
17475         * string/strrchr.c (strrchr): Likewise.
17476         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17477         Likewise.
17478         * sysdeps/mach/hurd/getcwd.c
17479         (_hurd_canonicalize_directory_name_internal): Likewise.
17480         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17481         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17482         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17483         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17484         Likewise, in both definitions.
17485         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17486         definitions.
17487         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17488         64] (__bswap_64): Likewise.
17489         * time/test_time.c (main): Likewise.
17490         * time/tzfile.c (__tzfile_read): Likewise.
17491         (__tzfile_compute): Likewise.
17492         * time/tzset.c (__tzset_parse_tz): Likewise.
17493         (tzset_internal): Likewise.
17494         (compute_change): Likewise.
17495         * wcsmbs/wcscat.c (__wcscat): Likewise.
17496         * wcsmbs/wcschr.c (wcschr): Likewise.
17497         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17498         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17499         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17500         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17501         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17502         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17503         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17504         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17505         * wcsmbs/wmemset.c (wmemset): Likewise.
17506
17507 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17508
17509         * scripts/config.guess: Update to version 2013-05-16.
17510         * scripts/config.sub: Update to version 2013-04-24.
17511         * scripts/install-sh: Update to version 2011-11-20.07.
17512         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17513         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17514
17515 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17516
17517         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17518         * elf/sln.c: Likewise.
17519         * hurd/hurd/ioctl.h: Likewise.
17520         * hurd/hurdmalloc.c: Likewise.
17521         * hurd/xattr.c: Likewise.
17522         * include/shlib-compat.h: Likewise.
17523         * inet/ruserpass.c: Likewise.
17524         * libio/iofgets_u.c: Likewise.
17525         * libio/iofgetws_u.c: Likewise.
17526         * locale/programs/ld-identification.c: Likewise.
17527         * locale/programs/ld-time.c: Likewise.
17528         * mach/msg-destroy.c: Likewise.
17529         * nss/nss_files/files-netgrp.c: Likewise.
17530         * resolv/res_data.c: Likewise.
17531         * soft-fp/op-1.h: Likewise.
17532         * soft-fp/op-2.h: Likewise.
17533         * soft-fp/op-4.h: Likewise.
17534         * soft-fp/op-common.h: Likewise.
17535         * stdio-common/printf_fphex.c: Likewise.
17536         * stdlib/strtod_l.c: Likewise.
17537         * sunrpc/rpc/clnt.h: Likewise.
17538         * sysdeps/generic/framestate.c: Likewise.
17539         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17540         * sysdeps/i386/bsd-setjmp.S: Likewise.
17541         * sysdeps/i386/__longjmp.S: Likewise.
17542         * sysdeps/i386/setjmp.S: Likewise.
17543         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17544         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17545         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17546         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17547         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17548         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17549         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17550         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17551         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17552         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17553         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17554         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17555         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17556         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17557         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17558         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17559         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17560         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17561         * sysdeps/ieee754/support.c: Likewise.
17562         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17563         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17564         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17565         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17566         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17567         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17568         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17569         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17570         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17571         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17572         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17573         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17574         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17575         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17576         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17577         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17578         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17580
17581 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17582
17583         * posix/transbug.c: Remove executable mode.
17584
17585 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17586
17587         * crypt/speeds.c: Remove trailing whitespace.
17588         * dlfcn/default.c: Likewise.
17589         * elf/ifuncdep2.c: Likewise.
17590         * elf/ifuncmain1.c: Likewise.
17591         * elf/ifuncmain1vis.c: Likewise.
17592         * elf/testobj.h: Likewise.
17593         * elf/tst-stackguard1.c: Likewise.
17594         * gmon/sys/gmon.h: Likewise.
17595         * hurd/hurdmsg.c: Likewise.
17596         * hurd/new-fd.c: Likewise.
17597         * hurd/ports-get.c: Likewise.
17598         * iconvdata/ibm1008_420.c: Likewise.
17599         * inet/tst-getni1.c: Likewise.
17600         * inet/tst-getni2.c: Likewise.
17601         * libio/ioungetc.c: Likewise.
17602         * libio/wfiledoalloc.c: Likewise.
17603         * manual/libm-err-tab.pl: Likewise.
17604         * math/w_dremf.c: Likewise.
17605         * misc/ftruncate.c: Likewise.
17606         * posix/bug-glob2.c: Likewise.
17607         * posix/tst-pcre.c: Likewise.
17608         * posix/wait4.c: Likewise.
17609         * resolv/README: Likewise.
17610         * resolv/res_debug.h: Likewise.
17611         * resolv/tst-inet_ntop.c: Likewise.
17612         * setjmp/bug269-setjmp.c: Likewise.
17613         * soft-fp/extended.h: Likewise.
17614         * soft-fp/op-1.h: Likewise.
17615         * soft-fp/op-2.h: Likewise.
17616         * soft-fp/op-4.h: Likewise.
17617         * soft-fp/op-8.h: Likewise.
17618         * soft-fp/testit.c: Likewise.
17619         * stdio-common/bug16.c: Likewise.
17620         * stdlib/random.c: Likewise.
17621         * sunrpc/rpcsvc/rquota.x: Likewise.
17622         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17623         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17624         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17625         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17626         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17627         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17628         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17629         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17630         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17631         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17632         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17633         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17634         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17635         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17636         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17637         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17638         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17639         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17640         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17641         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17642         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17643         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17644         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17645         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17646         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17647         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17648         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17649         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17650         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17651         * sysdeps/ieee754/s_lib_version.c: Likewise.
17652         * sysdeps/mach/hurd/check_fds.c: Likewise.
17653         * sysdeps/mach/hurd/getsockname.c: Likewise.
17654         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17655         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17656         * sysdeps/powerpc/bits/link.h: Likewise.
17657         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17658         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17659         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17660         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17661         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17662         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17663         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17664         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17665         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17666         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17667         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17668         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17669         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17670         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17671         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17672         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17673         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17674         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17675         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17676         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17677         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17678         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17679         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17680         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17681         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17682         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17683         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17684         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17685         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17686         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17687         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17688         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17689         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17690         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17691         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17692         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17693         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17694         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17695         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17696         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17697         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17698         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17699         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17700         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17701         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17702         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17703         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17704         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17705         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17706         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17707         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17708         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17709         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17710         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17711         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17712         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17713         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17714         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17715         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17716         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17717         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17718         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17719         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17720         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17721         * sysdeps/powerpc/sysdep.h: Likewise.
17722         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17723         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17724         * sysdeps/sh/dl-trampoline.S: Likewise.
17725         * sysdeps/sh/memset.S: Likewise.
17726         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17727         * sysdeps/sh/strlen.S: Likewise.
17728         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17729         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17730         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17731         * sysdeps/sparc/sparc32/rem.S: Likewise.
17732         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17733         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17734         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17735         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17736         * sysdeps/sparc/sparc32/urem.S: Likewise.
17737         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17738         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17739         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17740         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17741         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17742         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17743         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17744         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17745         * sysdeps/unix/bsd/times.c: Likewise.
17746         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17747         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17751         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17752         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17753         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17754         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17755         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17756         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17757         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17758         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17759         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17760         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17761         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17762         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17763         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17764         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17765         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17766         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17767         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17768         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17769         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17770         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17771         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17772         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17773         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17774         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17775         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17776         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17777         * sysdeps/x86_64/strcspn.S: Likewise.
17778
17779 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17780
17781         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17782         generated file.  Regenerate properly from gen-translit.pl.
17783         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17784         locale/C-translit.h.
17785
17786 2013-06-05  Andreas Schwab  <schwab@suse.de>
17787
17788         [BZ #15100]
17789         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17790         week as 6 instead of -1.
17791         * time/tst-strptime.c (day_tests): Add test case.
17792
17793 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17794
17795         * sysdeps/generic/math_private.h
17796         (libc_feholdexcept_setround_53bit): Replace with
17797         libc_feholdsetround_53bit.
17798         (libc_feupdateenv_53bit): Replace with
17799         libc_feresetround_53bit.
17800         (SET_RESTORE_ROUND_53BIT): Adjust.
17801
17802 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17803
17804         * string/test-strchrnul.c: Add copyright header.
17805
17806         * posix/tst-getaddrinfo4.c: Increase test timeout.
17807
17808 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17809
17810         [BZ #15536]
17811         * math/libm-test.inc (MAX_EXP): Remove
17812         (MIN_EXP): Define.
17813         (ulp): Use MIN_EXP - MANT_DIG.
17814         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17815
17816 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17817
17818         * po/be.po: Revert last change.
17819         * po/zh_CN.po: Likewise.
17820         * po/header.pot: Likewise.
17821
17822 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17823
17824         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17825         link-libc-deps to empty as target-specific variable.
17826         * Makerules (link-libc-args): New variable.
17827         (libc-for-link): Likewise.
17828         (link-libc-deps): Likewise.
17829         (lib%.so): Depend on $(link-libc-deps).  Link with
17830         $(link-libc-args).
17831         (build-module): Link with $(link-libc-args).
17832         (build-module-asneeded): Likewise.
17833         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17834         list of objects.
17835         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17836         target-specific variable.
17837         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17838         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17839         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17840         libc.
17841         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17842         libc and ld.so.
17843         ($(objpfx)libpcprofile.so): Likewise.
17844         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17845         libc_nonshared.a.
17846         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17847         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17848         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17849         $(link-libc-deps).
17850         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17851         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17852         * login/Makefile ($(objpfx)libutil.so): Likewise.
17853         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17854         * math/Makefile ($(objpfx)libm.so): Likewise.
17855         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17856         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17857         variable instead of depending directly on libc.
17858         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17859         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17860         $(link-libc-deps).
17861         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17862         libc.
17863         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17864         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17865         ($(objpfx)libanl.so): Likewise.
17866         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17867         ld.so.
17868         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17869         $(link-libc-deps).
17870         * sysdeps/i386/fpu/Makefile: Remove file.
17871         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17872         ($(objpfx)libm.so): Remove dependency on ld.so.
17873
17874 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17875
17876         [BZ # 15553]
17877         * nis/yp_xdr.c (XDRMAXNAME): Define.
17878         (XDRMAXRECORD): Define.
17879         (xdr_domainname): Use XDRMAXNAME.
17880         (xdr_mapname): Likewise.
17881         (xdr_peername): Likewise.
17882         (xdr_keydat): Use XDRMAXRECORD.
17883         (xdr_valdat): Likewise.
17884
17885 2013-05-30  Jeff Law  <law@redhat.com>
17886
17887         [BZ #14256]
17888         * manual/errno.texi (ESTALE): Update to account for more than
17889         just NFS file systems.
17890         * sysdeps/gnu/errlist.c: Regenerated.
17891
17892 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17893
17894         [BZ #15465]
17895         * elf/Makefile (tests): Add tst-null-argv.
17896         (modules-names):  Add tst-null-argv-lib.
17897         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17898         (tst-null-argv-ENV): Set environment for tst-null-argv.
17899         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17900         (RTLD_PROGNAME): New macro.
17901         * elf/tst-null-argv.c: New test case.
17902         * elf/tst-null-argv-lib.c: Library for test case.
17903         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17904         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17905         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17906         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17907         * elf/dl-init.c (call_init): Likewise.
17908         (_dl_init): Likewise.
17909         * elf/dl-load.c (print_search_path): Likewise.
17910         (_dl_map_object): Likewise.
17911         * elf/dl-lookup.c (do_lookup_x): Likewise.
17912         (add_dependency): Likewise.
17913         (_dl_lookup_symbol_x): Likewise.
17914         (_dl_debug_bindings): Likewise.
17915         * elf/dl-open.c (_dl_show_scope): Likewise.
17916         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17917         * elf/dl-version.c (match_symbol): Likewise.
17918         (_dl_check_map_versions): Likewise.
17919         * elf/rtld.c (dl_main): Likewise.
17920         (print_unresolved): Use RTLD_PROGNAME.
17921         (print_missing_version): Likewise.
17922         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17923         (elf_machine_rela): Likewise.
17924         * sysdeps/powerpc/powerpc32/dl-machine.c
17925         (__process_machine_rela): Likewise.
17926         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17927         Likewise.
17928         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17929         Likewise.
17930         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17931         Likewise.
17932         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17933         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17934         Likewise.
17935         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17936         Likewise.
17937         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17938
17939 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17940
17941         * po/be.po: Add descriptive title.
17942         * po/zh_CN.po: Likewise.
17943         * po/header.pot: Likewise.
17944
17945 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17946
17947         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17948         error message.
17949         (enlarge_archive): Likewise.
17950
17951 2013-05-28  Ben North  <ben@redfrontdoor.org>
17952
17953         * manual/arith.texi (frexp): It is the magnitude of the return
17954         value which lies in [0.5, 1), not the return value itself.
17955
17956 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17957
17958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17959
17960 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17961
17962         * stdio-common/bug26.c (main): Correct fscanf template.
17963
17964         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17965         declare _dl_skip_args.
17966
17967         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17968         Don't declare.
17969
17970         * manual/platform.texi: Add missing @end deftypefun.
17971
17972 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17973
17974         [BZ #15529]
17975         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17976         bit of mantissa of 2^16382.
17977         * math/libm-test.inc (hypot_test_data): Add more tests.
17978
17979         * math/libm-test.inc: Add drem and pow10 to list of tested
17980         functions.
17981         (pow10_test): New function.
17982         (drem_test): Likewise.
17983         (drem_test_tonearest): Likewise.
17984         (drem_test_towardzero): Likewise.
17985         (drem_test_downward): Likewise.
17986         (drem_test_upward): Likewise.
17987         (main): Call the new functions.
17988
17989         * math/libm-test.inc (finite_test_data): Remove.
17990         (finite_test): Run tests from isfinite_test_data.
17991         (gamma_test_data): Remove.
17992         (gamma_test): Run tests from lgamma_test_data.
17993         * sysdeps/i386/fpu/libm-test-ulps: Update.
17994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17995
17996 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17997
17998         * manual/platform.texi: Add PowerPC PPR function set documentation.
17999         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18000         implementation.
18001
18002 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18003
18004         * math/libm-test.inc (MAX_EXP): Define.
18005         (ULPDIFF): Define.
18006         (ulp): New function.
18007         (check_float_internal): Use ULPDIFF.
18008         (cpow_test): Disable failing test.
18009         (check_ulp): Test ulp() implemetnation.
18010         (main): Call check_ulp before starting tests.
18011
18012 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18013
18014         * math/gen-libm-test.pl (generate_testfile): Do not handle
18015         START_DATA and END_DATA.
18016         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18017         END_DATA.
18018         (acos_tonearest_test_data): Likewise.
18019         (acos_towardzero_test_data): Likewise.
18020         (acos_downward_test_data): Likewise.
18021         (acos_upward_test_data): Likewise.
18022         (acosh_test_data): Likewise.
18023         (asin_test_data): Likewise.
18024         (asin_tonearest_test_data): Likewise.
18025         (asin_towardzero_test_data): Likewise.
18026         (asin_downward_test_data): Likewise.
18027         (asin_upward_test_data): Likewise.
18028         (asinh_test_data): Likewise.
18029         (atan_test_data): Likewise.
18030         (atanh_test_data): Likewise.
18031         (atan2_test_data): Likewise.
18032         (cabs_test_data): Likewise.
18033         (cacos_test_data): Likewise.
18034         (cacosh_test_data): Likewise.
18035         (carg_test_data): Likewise.
18036         (casin_test_data): Likewise.
18037         (casinh_test_data): Likewise.
18038         (catan_test_data): Likewise.
18039         (catanh_test_data): Likewise.
18040         (cbrt_test_data): Likewise.
18041         (ccos_test_data): Likewise.
18042         (ccosh_test_data): Likewise.
18043         (ceil_test_data): Likewise.
18044         (cexp_test_data): Likewise.
18045         (cimag_test_data): Likewise.
18046         (clog_test_data): Likewise.
18047         (clog10_test_data): Likewise.
18048         (conj_test_data): Likewise.
18049         (copysign_test_data): Likewise.
18050         (cos_test_data): Likewise.
18051         (cos_tonearest_test_data): Likewise.
18052         (cos_towardzero_test_data): Likewise.
18053         (cos_downward_test_data): Likewise.
18054         (cos_upward_test_data): Likewise.
18055         (cosh_test_data): Likewise.
18056         (cosh_tonearest_test_data): Likewise.
18057         (cosh_towardzero_test_data): Likewise.
18058         (cosh_downward_test_data): Likewise.
18059         (cosh_upward_test_data): Likewise.
18060         (cpow_test_data): Likewise.
18061         (cproj_test_data): Likewise.
18062         (creal_test_data): Likewise.
18063         (csin_test_data): Likewise.
18064         (csinh_test_data): Likewise.
18065         (csqrt_test_data): Likewise.
18066         (ctan_test_data): Likewise.
18067         (ctan_tonearest_test_data): Likewise.
18068         (ctan_towardzero_test_data): Likewise.
18069         (ctan_downward_test_data): Likewise.
18070         (ctan_upward_test_data): Likewise.
18071         (ctanh_test_data): Likewise.
18072         (ctanh_tonearest_test_data): Likewise.
18073         (ctanh_towardzero_test_data): Likewise.
18074         (ctanh_downward_test_data): Likewise.
18075         (ctanh_upward_test_data): Likewise.
18076         (erf_test_data): Likewise.
18077         (erfc_test_data): Likewise.
18078         (exp_test_data): Likewise.
18079         (exp_tonearest_test_data): Likewise.
18080         (exp_towardzero_test_data): Likewise.
18081         (exp_downward_test_data): Likewise.
18082         (exp_upward_test_data): Likewise.
18083         (exp10_test_data): Likewise.
18084         (exp2_test_data): Likewise.
18085         (expm1_test_data): Likewise.
18086         (fabs_test_data): Likewise.
18087         (fdim_test_data): Likewise.
18088         (finite_test_data): Likewise.
18089         (floor_test_data): Likewise.
18090         (fma_test_data): Likewise.
18091         (fma_towardzero_test_data): Likewise.
18092         (fma_downward_test_data): Likewise.
18093         (fma_upward_test_data): Likewise.
18094         (fmax_test_data): Likewise.
18095         (fmin_test_data): Likewise.
18096         (fmod_test_data): Likewise.
18097         (fpclassify_test_data): Likewise.
18098         (frexp_test_data): Likewise.
18099         (gamma_test_data): Likewise.
18100         (hypot_test_data): Likewise.
18101         (ilogb_test_data): Likewise.
18102         (isfinite_test_data): Likewise.
18103         (isgreater_test_data): Likewise.
18104         (isgreaterequal_test_data): Likewise.
18105         (isinf_test_data): Likewise.
18106         (isless_test_data): Likewise.
18107         (islessequal_test_data): Likewise.
18108         (islessgreater_test_data): Likewise.
18109         (isnan_test_data): Likewise.
18110         (isnormal_test_data): Likewise.
18111         (issignaling_test_data): Likewise.
18112         (isunordered_test_data): Likewise.
18113         (j0_test_data): Likewise.
18114         (j1_test_data): Likewise.
18115         (jn_test_data): Likewise.
18116         (ldexp_test_data): Likewise.
18117         (lgamma_test_data): Likewise.
18118         (lrint_test_data): Likewise.
18119         (lrint_tonearest_test_data): Likewise.
18120         (lrint_towardzero_test_data): Likewise.
18121         (lrint_downward_test_data): Likewise.
18122         (lrint_upward_test_data): Likewise.
18123         (llrint_test_data): Likewise.
18124         (llrint_tonearest_test_data): Likewise.
18125         (llrint_towardzero_test_data): Likewise.
18126         (llrint_downward_test_data): Likewise.
18127         (llrint_upward_test_data): Likewise.
18128         (log_test_data): Likewise.
18129         (log10_test_data): Likewise.
18130         (log1p_test_data): Likewise.
18131         (log2_test_data): Likewise.
18132         (logb_test_data): Likewise.
18133         (logb_downward_test_data): Likewise.
18134         (lround_test_data): Likewise.
18135         (llround_test_data): Likewise.
18136         (modf_test_data): Likewise.
18137         (nearbyint_test_data): Likewise.
18138         (nextafter_test_data): Likewise.
18139         (nexttoward_test_data): Likewise.
18140         (pow_test_data): Likewise.
18141         (pow_tonearest_test_data): Likewise.
18142         (pow_towardzero_test_data): Likewise.
18143         (pow_downward_test_data): Likewise.
18144         (pow_upward_test_data): Likewise.
18145         (remainder_test_data): Likewise.
18146         (remainder_tonearest_test_data): Likewise.
18147         (remainder_towardzero_test_data): Likewise.
18148         (remainder_downward_test_data): Likewise.
18149         (remainder_upward_test_data): Likewise.
18150         (remquo_test_data): Likewise.
18151         (rint_test_data): Likewise.
18152         (rint_tonearest_test_data): Likewise.
18153         (rint_towardzero_test_data): Likewise.
18154         (rint_downward_test_data): Likewise.
18155         (rint_upward_test_data): Likewise.
18156         (round_test_data): Likewise.
18157         (scalb_test_data): Likewise.
18158         (scalbn_test_data): Likewise.
18159         (scalbln_test_data): Likewise.
18160         (signbit_test_data): Likewise.
18161         (sin_test_data): Likewise.
18162         (sin_tonearest_test_data): Likewise.
18163         (sin_towardzero_test_data): Likewise.
18164         (sin_downward_test_data): Likewise.
18165         (sin_upward_test_data): Likewise.
18166         (sincos_test_data): Likewise.
18167         (sinh_test_data): Likewise.
18168         (sinh_tonearest_test_data): Likewise.
18169         (sinh_towardzero_test_data): Likewise.
18170         (sinh_downward_test_data): Likewise.
18171         (sinh_upward_test_data): Likewise.
18172         (sqrt_test_data): Likewise.
18173         (tan_test_data): Likewise.
18174         (tan_tonearest_test_data): Likewise.
18175         (tan_towardzero_test_data): Likewise.
18176         (tan_downward_test_data): Likewise.
18177         (tan_upward_test_data): Likewise.
18178         (tanh_test_data): Likewise.
18179         (tgamma_test_data): Likewise.
18180         (trunc_test_data): Likewise.
18181         (y0_test_data): Likewise.
18182         (y1_test_data): Likewise.
18183         (yn_test_data): Likewise.
18184         (significand_test_data): Likewise.
18185
18186         * math/gen-libm-test.pl (@functions): Remove variable.
18187         (generate_testfile): Don't handle START and END lines.
18188         * math/libm-test.inc (START): New macro.
18189         (END): Likewise.
18190         (END_COMPLEX): Likewise.
18191         (acos_test): Use END macro without arguments.
18192         (acos_test_tonearest): Likewise.
18193         (acos_test_towardzero): Likewise.
18194         (acos_test_downward): Likewise.
18195         (acos_test_upward): Likewise.
18196         (acosh_test): Likewise.
18197         (asin_test): Likewise.
18198         (asin_test_tonearest): Likewise.
18199         (asin_test_towardzero): Likewise.
18200         (asin_test_downward): Likewise.
18201         (asin_test_upward): Likewise.
18202         (asinh_test): Likewise.
18203         (atan_test): Likewise.
18204         (atanh_test): Likewise.
18205         (atan2_test): Likewise.
18206         (cabs_test): Likewise.
18207         (cacos_test): Use END_COMPLEX macro without arguments.
18208         (cacosh_test): Likewise.
18209         (carg_test): Use END macro without arguments.
18210         (casin_test): Use END_COMPLEX macro without arguments.
18211         (casinh_test): Likewise.
18212         (catan_test): Likewise.
18213         (catanh_test): Likewise.
18214         (cbrt_test): Use END macro without arguments.
18215         (ccos_test): Use END_COMPLEX macro without arguments.
18216         (ccosh_test): Likewise.
18217         (ceil_test): Use END macro without arguments.
18218         (cexp_test): Use END_COMPLEX macro without arguments.
18219         (cimag_test): Use END macro without arguments.
18220         (clog_test): Use END_COMPLEX macro without arguments.
18221         (clog10_test): Likewise.
18222         (conj_test): Likewise.
18223         (copysign_test): Use END macro without arguments.
18224         (cos_test): Likewise.
18225         (cos_test_tonearest): Likewise.
18226         (cos_test_towardzero): Likewise.
18227         (cos_test_downward): Likewise.
18228         (cos_test_upward): Likewise.
18229         (cosh_test): Likewise.
18230         (cosh_test_tonearest): Likewise.
18231         (cosh_test_towardzero): Likewise.
18232         (cosh_test_downward): Likewise.
18233         (cosh_test_upward): Likewise.
18234         (cpow_test): Use END_COMPLEX macro without arguments.
18235         (cproj_test): Likewise.
18236         (creal_test): Use END macro without arguments.
18237         (csin_test): Use END_COMPLEX macro without arguments.
18238         (csinh_test): Likewise.
18239         (csqrt_test): Likewise.
18240         (ctan_test): Likewise.
18241         (ctan_test_tonearest): Likewise.
18242         (ctan_test_towardzero): Likewise.
18243         (ctan_test_downward): Likewise.
18244         (ctan_test_upward): Likewise.
18245         (ctanh_test): Likewise.
18246         (ctanh_test_tonearest): Likewise.
18247         (ctanh_test_towardzero): Likewise.
18248         (ctanh_test_downward): Likewise.
18249         (ctanh_test_upward): Likewise.
18250         (erf_test): Use END macro without arguments.
18251         (erfc_test): Likewise.
18252         (exp_test): Likewise.
18253         (exp_test_tonearest): Likewise.
18254         (exp_test_towardzero): Likewise.
18255         (exp_test_downward): Likewise.
18256         (exp_test_upward): Likewise.
18257         (exp10_test): Likewise.
18258         (exp2_test): Likewise.
18259         (expm1_test): Likewise.
18260         (fabs_test): Likewise.
18261         (fdim_test): Likewise.
18262         (finite_test): Likewise.
18263         (floor_test): Likewise.
18264         (fma_test): Likewise.
18265         (fma_test_towardzero): Likewise.
18266         (fma_test_downward): Likewise.
18267         (fma_test_upward): Likewise.
18268         (fmax_test): Likewise.
18269         (fmin_test): Likewise.
18270         (fmod_test): Likewise.
18271         (fpclassify_test): Likewise.
18272         (frexp_test): Likewise.
18273         (gamma_test): Likewise.
18274         (hypot_test): Likewise.
18275         (ilogb_test): Likewise.
18276         (isfinite_test): Likewise.
18277         (isgreater_test): Likewise.
18278         (isgreaterequal_test): Likewise.
18279         (isinf_test): Likewise.
18280         (isless_test): Likewise.
18281         (islessequal_test): Likewise.
18282         (islessgreater_test): Likewise.
18283         (isnan_test): Likewise.
18284         (isnormal_test): Likewise.
18285         (issignaling_test): Likewise.
18286         (isunordered_test): Likewise.
18287         (j0_test): Likewise.
18288         (j1_test): Likewise.
18289         (jn_test): Likewise.
18290         (ldexp_test): Likewise.
18291         (lgamma_test): Likewise.
18292         (lrint_test): Likewise.
18293         (lrint_test_tonearest): Likewise.
18294         (lrint_test_towardzero): Likewise.
18295         (lrint_test_downward): Likewise.
18296         (lrint_test_upward): Likewise.
18297         (llrint_test): Likewise.
18298         (llrint_test_tonearest): Likewise.
18299         (llrint_test_towardzero): Likewise.
18300         (llrint_test_downward): Likewise.
18301         (llrint_test_upward): Likewise.
18302         (log_test): Likewise.
18303         (log10_test): Likewise.
18304         (log1p_test): Likewise.
18305         (log2_test): Likewise.
18306         (logb_test): Likewise.
18307         (logb_test_downward): Likewise.
18308         (lround_test): Likewise.
18309         (llround_test): Likewise.
18310         (modf_test): Likewise.
18311         (nearbyint_test): Likewise.
18312         (nextafter_test): Likewise.
18313         (nexttoward_test): Likewise.
18314         (pow_test): Likewise.
18315         (pow_test_tonearest): Likewise.
18316         (pow_test_towardzero): Likewise.
18317         (pow_test_downward): Likewise.
18318         (pow_test_upward): Likewise.
18319         (remainder_test): Likewise.
18320         (remainder_test_tonearest): Likewise.
18321         (remainder_test_towardzero): Likewise.
18322         (remainder_test_downward): Likewise.
18323         (remainder_test_upward): Likewise.
18324         (remquo_test): Likewise.
18325         (rint_test): Likewise.
18326         (rint_test_tonearest): Likewise.
18327         (rint_test_towardzero): Likewise.
18328         (rint_test_downward): Likewise.
18329         (rint_test_upward): Likewise.
18330         (round_test): Likewise.
18331         (scalb_test): Likewise.
18332         (scalbn_test): Likewise.
18333         (scalbln_test): Likewise.
18334         (signbit_test): Likewise.
18335         (sin_test): Likewise.
18336         (sin_test_tonearest): Likewise.
18337         (sin_test_towardzero): Likewise.
18338         (sin_test_downward): Likewise.
18339         (sin_test_upward): Likewise.
18340         (sincos_test): Likewise.
18341         (sinh_test): Likewise.
18342         (sinh_test_tonearest): Likewise.
18343         (sinh_test_towardzero): Likewise.
18344         (sinh_test_downward): Likewise.
18345         (sinh_test_upward): Likewise.
18346         (sqrt_test): Likewise.
18347         (tan_test): Likewise.
18348         (tan_test_tonearest): Likewise.
18349         (tan_test_towardzero): Likewise.
18350         (tan_test_downward): Likewise.
18351         (tan_test_upward): Likewise.
18352         (tanh_test): Likewise.
18353         (tgamma_test): Likewise.
18354         (trunc_test): Likewise.
18355         (y0_test): Likewise.
18356         (y1_test): Likewise.
18357         (yn_test): Likewise.
18358         (significand_test): Likewise.
18359
18360 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18361
18362         [BZ #15381]
18363         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18364
18365 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18366
18367         [BZ #14894]
18368         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18369         __ppc_mdoio and __ppc_mdoom.
18370         * manual/platform.texi: Document new functions __ppc_yield,
18371         __ppc_mdoio and __ppc_mdoom.
18372
18373 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18374
18375         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18376         (main): Mention "tls" pseudo-hwcap is legacy.
18377         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18378
18379 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18380
18381         * math/gen-libm-test.pl (parse_args): Output only string of
18382         arguments as text for test name, not full call or descriptions of
18383         tests for extra outputs.
18384         (generate_testfile): Do not pass function name to parse_args.
18385         Generate this_func variable from START.
18386         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18387         field to arg_str.
18388         (struct test_ff_f_data): Likewise.
18389         (test_ff_f_data_nexttoward): Likewise.
18390         (struct test_fi_f_data): Likewise.
18391         (struct test_fl_f_data): Likewise.
18392         (struct test_if_f_data): Likewise.
18393         (struct test_fff_f_data): Likewise.
18394         (struct test_c_f_data): Likewise.
18395         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18396         (struct test_fF_f1_data): Likewise.
18397         (struct test_ffI_f1_data): Likewise.
18398         (struct test_c_c_data): Rename test_name field to arg_str.
18399         (struct test_cc_c_data): Likewise.
18400         (struct test_f_i_data): Likewise.
18401         (struct test_ff_i_data): Likewise.
18402         (struct test_f_l_data): Likewise.
18403         (struct test_f_L_data): Likewise.
18404         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18405         and extra2_name.
18406         (COMMON_TEST_SETUP): New macro.
18407         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18408         (COMMON_TEST_CLEANUP): Likewise.
18409         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18410         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18411         macros.
18412         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18413         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18414         macros.
18415         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18416         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18417         cleanup macros.
18418         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18419         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18420         macros.
18421         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18422         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18423         macros.
18424         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18425         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18426         cleanup macros.
18427         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18428         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18429         cleanup macros.
18430         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18431         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18432         cleanup macros.
18433         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18434         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18435         macros.
18436         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18437         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18438         macros.
18439         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18440         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18441         macros.
18442         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18443         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18444         cleanup macros.
18445         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18446         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18447         cleanup macros.
18448         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18449         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18450         macros.
18451         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18452         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18453         cleanup macros.
18454         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18455         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18456         macros.
18457         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18458         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18459         macros.
18460         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18461         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18462         cleanup macros.
18463         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18464
18465 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18466
18467         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18468         to _sifields.sigfault.
18469         (si_addr_lsb): Define new macro.
18470         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18471         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18472         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18473
18474 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18475
18476         [BZ #15441]
18477         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18478         returns -1.
18479         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18480         null return -1.
18481         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18482         loading the domain.
18483
18484 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18485
18486         * math/gen-libm-test.pl (parse_args): Do not include expected
18487         result in test name.
18488         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18489         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18490         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18491         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18492         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18494
18495 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18496
18497         * benchtests/Makefile: Sort function entries.
18498
18499         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18500         tanh, asinh, acosh, atanh.
18501         * benchtests/acos-inputs: New file.
18502         * benchtests/acosh-inputs: New file.
18503         * benchtests/asin-inputs: New file.
18504         * benchtests/asinh-inputs: New file.
18505         * benchtests/atanh-inputs: New file.
18506         * benchtests/cosh-inputs: New file.
18507         * benchtests/log-inputs: New file.
18508         * benchtests/sinh-inputs: New file.
18509         * benchtests/tanh-inputs: New file.
18510
18511 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18512
18513         [BZ #15339]
18514         * posix/tst-getaddrinfo4.c: New test.
18515         * posix/Makefile (tests): Add it.
18516
18517 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18518
18519         [BZ #15339]
18520         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18521         when no services were used.
18522         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18523         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18524
18525 2013-05-21  Andreas Schwab  <schwab@suse.de>
18526
18527         [BZ #15014]
18528         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18529         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18530         successful.
18531         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18532         redundant variable declarations and reallocation of buffer when
18533         parsing as IPv6 address.  Always set NSS status when called from
18534         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18535         buffer too small.  Correct computation of needed size.
18536         * nss/Makefile (tests): Add test-digits-dots.
18537         * nss/test-digits-dots.c: New test.
18538
18539 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18540
18541         * benchtests/Makefile: Remove instructions for adding
18542         benchmark tests.
18543         * benchtests/README: New file to explain how to execute and
18544         enhance the benchmark tests.
18545
18546 2013-05-21  Andreas Schwab  <schwab@suse.de>
18547
18548         [BZ #15493]
18549         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18550         * setjmp/tst-sigsetjmp.c: New test.
18551
18552 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18553
18554         * sysdeps/x86_64/memset.S (memset): New implementation.
18555         (__bzero): Likewise.
18556         (__memset_tail): New function.
18557
18558 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18559
18560         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18561         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18562         __memcpy_sse2_unaligned ifunc selection.
18563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18564         Add memcpy-sse2-unaligned.S.
18565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18566         Add: __memcpy_sse2_unaligned.
18567
18568 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18569
18570         [BZ #15490]
18571         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18572         math_force_eval before restoring floating-point envrionment.
18573         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18574         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18575         Likewise.
18576         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18577         <math_private.h>.
18578         (__nearbyintl): Use math_force_eval before restoring
18579         floating-point environment.
18580         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18581
18582         * math/gen-libm-test.pl (special_functions): Remove.
18583         (parse_args): Don't handle TEST_extra.  Handle functions with no
18584         return value.
18585         * math/libm-test.inc (struct test_sincos_data): Replace with
18586         struct test_fFF_11_data.
18587         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18588         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18589         (sincos_test_data): Change element type to struct
18590         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18591         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18592         RUN_TEST_LOOP_sincos.
18593         * math/README.libm-test: Don't mention special handling of
18594         individual functions.
18595         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18596         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18597         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18598         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18599         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18601
18602         * math/gen-libm-test.pl (get_variable): Remove function.
18603         (parse_args): Don't show pointer parameters to call in test
18604         names.  Use "extra output N" in test names for extra outputs
18605         rather than naming variables.
18606
18607 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18608
18609         [BZ #15488]
18610         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18611         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18612         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18613         double tests.
18614         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18615         disable.
18616         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18617         check_long_double.
18618
18619         * math/gen-libm-test.pl (@tests): Remove variable.
18620         ($count): Likewise.
18621         (new_test): Remove function.
18622         (show_exceptions): New function.
18623         (special_functions): Use show_exceptions instead of new_test.
18624         (parse_args): Likewise.
18625         (generate_testfile): Pass only function name in generated call to
18626         print_max_error or print_complex_max_error.
18627         (get_ulps): Do not handle complex tests specially.
18628         (output_test): Rename to ...
18629         (get_all_ulps_for_test): ... this.  Return a string rather than
18630         printing to a file.  Require ulps to be present.
18631         (output_ulps): Generate arrays rather than #defines.
18632         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18633         (struct ulp_data): New type.
18634         (BUILD_COMPLEX_ULP): Remove macro.
18635         (compare_ulp_data): New function.
18636         (find_ulps): Likewise.
18637         (find_test_ulps): Likewise.
18638         (find_function_ulps): Likewise.
18639         (find_complex_function_ulps): Likewise.
18640         (print_max_error): Determine allowed ulps using
18641         find_function_ulps.
18642         (print_complex_max_error): Determine allowed ulps using
18643         find_complex_function_ulps.
18644         (check_float_internal): Determine max ulps using find_test_ulps.
18645         (check_float): Do not take max_ulp parameter.  Update call to
18646         check_float_internal.
18647         (check_complex): Likewise.
18648         (check_int): Do not take max_ulp parameter.
18649         (check_long): Likewise.
18650         (check_bool): Likewise.
18651         (check_longlong): Likewise.
18652         (struct test_f_f_data): Remove max_ulp field.
18653         (struct test_ff_f_data): Likewise.
18654         (struct test_ff_f_data_nexttoward): Likewise.
18655         (struct test_fi_f_data): Likewise.
18656         (struct test_fl_f_data): Likewise.
18657         (struct test_if_f_data): Likewise.
18658         (struct test_fff_f_data): Likewise.
18659         (struct test_c_f_data): Likewise.
18660         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18661         (struct test_fF_f1_data): Likewise.
18662         (struct test_ffI_f1_data): Likewise.
18663         (struct test_c_c_data): Remove max_ulp field.
18664         (struct test_cc_c_data): Likewise.
18665         (struct test_f_i_data): Likewise.
18666         (struct test_ff_i_data): Likewise.
18667         (struct test_f_l_data): Likewise.
18668         (struct test_f_L_data): Likewise.
18669         (struct test_sincos_data): Likewise.
18670         (RUN_TEST_f_f): Do not handle ulps.
18671         (RUN_TEST_LOOP_f_f): Likewise.
18672         (RUN_TEST_2_f): Likewise.
18673         (RUN_TEST_LOOP_2_f): Likewise.
18674         (RUN_TEST_fff_f): Likewise.
18675         (RUN_TEST_LOOP_fff_f): Likewise.
18676         (RUN_TEST_c_f): Likewise.
18677         (RUN_TEST_LOOP_c_f): Likewise.
18678         (RUN_TEST_f_f1): Likewise.
18679         (RUN_TEST_LOOP_f_f1): Likewise.
18680         (RUN_TEST_fF_f1): Likewise.
18681         (RUN_TEST_LOOP_fF_f1): Likewise.
18682         (RUN_TEST_fI_f1): Likewise.
18683         (RUN_TEST_LOOP_fI_f1): Likewise.
18684         (RUN_TEST_ffI_f1): Likewise.
18685         (RUN_TEST_LOOP_ffI_f1): Likewise.
18686         (RUN_TEST_c_c): Likewise.
18687         (RUN_TEST_LOOP_c_c): Likewise.
18688         (RUN_TEST_cc_c): Likewise.
18689         (RUN_TEST_LOOP_cc_c): Likewise.
18690         (RUN_TEST_f_i): Likewise.
18691         (RUN_TEST_LOOP_f_i): Likewise.
18692         (RUN_TEST_f_i_tg): Likewise.
18693         (RUN_TEST_LOOP_f_i_tg): Likewise.
18694         (RUN_TEST_ff_i_tg): Likewise.
18695         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18696         (RUN_TEST_f_b): Likewise.
18697         (RUN_TEST_LOOP_f_b): Likewise.
18698         (RUN_TEST_f_b_tg): Likewise.
18699         (RUN_TEST_LOOP_f_b_tg): Likewise.
18700         (RUN_TEST_f_l): Likewise.
18701         (RUN_TEST_LOOP_f_l): Likewise.
18702         (RUN_TEST_f_L): Likewise.
18703         (RUN_TEST_LOOP_f_L): Likewise.
18704         (RUN_TEST_sincos): Likewise.
18705         (RUN_TEST_LOOP_sincos): Likewise.
18706
18707 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18708
18709         [BZ #15480]
18710         [BZ #15485]
18711         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18712         main case of finite arguments, set rounding mode to FE_TONEAREST
18713         and discard exceptions.
18714         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18715         exceptions.
18716         (remainder_tonearest_test_data): New variable.
18717         (remainder_test_tonearest): New function.
18718         (remainder_towardzero_test_data): New variable.
18719         (remainder_test_towardzero): New function.
18720         (remainder_downward_test_data): New variable.
18721         (remainder_test_downward): New function.
18722         (remainder_upward_test_data): New variable.
18723         (remainder_test_upward): New function.
18724         (main): Call the new test functions.
18725
18726         * math/libm-test.inc (struct test_f_f1_data): Remove field
18727         extra_init.
18728         (struct test_fF_f1_data): Likewise.
18729         (struct test_ffI_f1_data): Likewise.
18730         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18731         based on value of EXTRA_EXPECTED.
18732         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18733         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18734         EXTRA_VAR based on value of EXTRA_EXPECTED.
18735         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18736         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18737         EXTRA_VAR based on value of EXTRA_EXPECTED.
18738         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18739         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18740         EXTRA_VAR based on value of EXTRA_EXPECTED.
18741         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18742         * math/gen-libm-test.pl (parse_args): Don't output initializers
18743         for extra output values.
18744
18745         * math/libm-test.inc (check_int): Expect result to be exactly
18746         equal to expected value and do not handle ulps.
18747         (check_long): Likewise.
18748         (check_longlong): Likewise.
18749
18750         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18751         exceptions.
18752         (cimag_test_data): Likewise.
18753         (conj_test_data): Likewise.
18754         (copysign_test_data): Likewise.
18755         (cproj_test_data): Likewise.
18756         (creal_test_data): Likewise.
18757         (fabs_test_data): Likewise.
18758         (fdim_test_data): Likewise.
18759         (finite_test_data): Likewise.
18760         (floor_test_data): Likewise.
18761         (fmax_test_data): Likewise.
18762         (fmin_test_data): Likewise.
18763         (fmod_test_data): Likewise.
18764         (fpclassify_test_data): Likewise.
18765         (frexp_test_data): Likewise.
18766         (ilogb_test_data): Likewise.
18767         (isfinite_test_data): Likewise.
18768         (isgreater_test_data): Likewise.
18769         (isgreaterequal_test_data): Likewise.
18770         (isinf_test_data): Likewise.
18771         (isless_test_data): Likewise.
18772         (islessequal_test_data): Likewise.
18773         (islessgreater_test_data): Likewise.
18774         (isnan_test_data): Likewise.
18775         (isnormal_test_data): Likewise.
18776         (issignaling_test_data): Likewise.
18777         (isunordered_test_data): Likewise.
18778         (ldexp_test_data): Likewise.
18779         (lrint_test_data): Likewise.
18780         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18781         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18782         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18783         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18784         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18785         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18786         test input.
18787         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18788         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18789         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18790         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18791         that test input.
18792         (lrint_downward_test_data): Test for "inexact" exceptions.
18793         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18794         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18795         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18796         test input.
18797         (lrint_upward_test_data): Test for "inexact" exceptions.
18798         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18799         test input.
18800         (llrint_test_data): Test for "inexact" exceptions.
18801         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18802         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18803         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18804         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18805         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18806         (llrint_downward_test_data): Test for "inexact" exceptions.
18807         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18808         (llrint_upward_test_data): Test for "inexact" exceptions.
18809         (logb_test_data): Likewise.
18810         (logb_downward_test_data): Likewise.
18811         (nextafter_test_data): Likewise.
18812         (nexttoward_test_data): Likewise.
18813         (remainder_test_data): Likewise.
18814         (remquo_test_data): Likewise.
18815         (scalbn_test_data): Likewise.
18816         (scalbln_test_data): Likewise.
18817         (signbit_test_data): Likewise.
18818         (sqrt_test_data): Likewise.
18819         (significand_test_data): Likewise.
18820
18821 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18822
18823         [BZ #15424]
18824         * benchtests/bench-modf.c (struct args): Mark arg0 as
18825         volatile.
18826         * scripts/bench.pl: Mark members of struct args as volatile.
18827
18828 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18829
18830         [BZ # 15497]
18831         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18832         negative infinity on POWER6 or lower.
18833         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18834
18835 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18836
18837         [BZ #15442]
18838         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18839         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18840         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18841         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18842         (_FP_SETQNAN): New macro.
18843         (_FP_SETQNAN_SEMIRAW): Likewise.
18844         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18845         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18846         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18847         (FP_EXTEND): Use _FP_FRAC_SNANP.
18848         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18849         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18850         into account.
18851         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18852         New macro.
18853         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18854         Likewise.
18855
18856 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18857
18858         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18859         with DIVIDE_BY_ZERO_EXCEPTION.
18860         (gamma_test_data): Likewise.
18861         (lgamma_test_data): Likewise.
18862         (log_test_data): Likewise.
18863         (log10_test_data): Likewise.
18864         (log2_test_data): Likewise.
18865         (tgamma_test_data): Likewise.
18866
18867         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18868         (acos_test_tonearest): Likewise.
18869         (acos_test_towardzero): Likewise.
18870         (acos_test_downward): Likewise.
18871         (acos_test_upward): Likewise.
18872         (acosh_test): Likewise.
18873         (asin_test): Likewise.
18874         (asin_test_tonearest): Likewise.
18875         (asin_test_towardzero): Likewise.
18876         (asin_test_downward): Likewise.
18877         (asin_test_upward): Likewise.
18878         (asinh_test): Likewise.
18879         (atan_test): Likewise.
18880         (atanh_test): Likewise.
18881         (atan2_test): Likewise.
18882         (cabs_test): Likewise.
18883         (cacos_test): Likewise.
18884         (cacosh_test): Likewise.
18885         (casin_test): Likewise.
18886         (casinh_test): Likewise.
18887         (catan_test): Likewise.
18888         (catanh_test): Likewise.
18889         (cbrt_test): Likewise.
18890         (ccos_test): Likewise.
18891         (ccosh_test): Likewise.
18892         (cexp_test): Likewise.
18893         (clog_test): Likewise.
18894         (clog10_test): Likewise.
18895         (cos_test): Likewise.
18896         (cos_test_tonearest): Likewise.
18897         (cos_test_towardzero): Likewise.
18898         (cos_test_downward): Likewise.
18899         (cos_test_upward): Likewise.
18900         (cosh_test): Likewise.
18901         (cosh_test_tonearest): Likewise.
18902         (cosh_test_towardzero): Likewise.
18903         (cosh_test_downward): Likewise.
18904         (cosh_test_upward): Likewise.
18905         (cpow_test): Likewise.
18906         (csin_test): Likewise.
18907         (csinh_test): Likewise.
18908         (csqrt_test): Likewise.
18909         (ctan_test): Likewise.
18910         (ctan_test_tonearest): Likewise.
18911         (ctan_test_towardzero): Likewise.
18912         (ctan_test_downward): Likewise.
18913         (ctan_test_upward): Likewise.
18914         (ctanh_test): Likewise.
18915         (ctanh_test_tonearest): Likewise.
18916         (ctanh_test_towardzero): Likewise.
18917         (ctanh_test_downward): Likewise.
18918         (ctanh_test_upward): Likewise.
18919         (erf_test): Likewise.
18920         (erfc_test): Likewise.
18921         (exp_test): Likewise.
18922         (exp_test_tonearest): Likewise.
18923         (exp_test_towardzero): Likewise.
18924         (exp_test_downward): Likewise.
18925         (exp_test_upward): Likewise.
18926         (exp10_test): Likewise.
18927         (exp2_test): Likewise.
18928         (expm1_test): Likewise.
18929         (fmod_test): Likewise.
18930         (gamma_test): Likewise.
18931         (hypot_test): Likewise.
18932         (j0_test): Likewise.
18933         (j1_test): Likewise.
18934         (jn_test): Likewise.
18935         (lgamma_test): Likewise.
18936         (log_test): Likewise.
18937         (log10_test): Likewise.
18938         (log1p_test): Likewise.
18939         (log2_test): Likewise.
18940         (logb_test_downward): Likewise.
18941         (pow_test): Likewise.
18942         (pow_test_tonearest): Likewise.
18943         (pow_test_towardzero): Likewise.
18944         (pow_test_downward): Likewise.
18945         (pow_test_upward): Likewise.
18946         (remainder_test): Likewise.
18947         (remquo_test): Likewise.
18948         (sin_test): Likewise.
18949         (sin_test_tonearest): Likewise.
18950         (sin_test_towardzero): Likewise.
18951         (sin_test_downward): Likewise.
18952         (sin_test_upward): Likewise.
18953         (sincos_test): Likewise.
18954         (sinh_test): Likewise.
18955         (sinh_test_tonearest): Likewise.
18956         (sinh_test_towardzero): Likewise.
18957         (sinh_test_downward): Likewise.
18958         (sinh_test_upward): Likewise.
18959         (sqrt_test): Likewise.
18960         (tan_test): Likewise.
18961         (tan_test_tonearest): Likewise.
18962         (tan_test_towardzero): Likewise.
18963         (tan_test_downward): Likewise.
18964         (tan_test_upward): Likewise.
18965         (tanh_test): Likewise.
18966         (tgamma_test): Likewise.
18967         (y0_test): Likewise.
18968         (y1_test): Likewise.
18969         (yn_test): Likewise.
18970
18971         * math/gen-libm-test.pl (adjust_arg): Remove function.
18972         (special_function): Remove argument $in_func.  Only handle
18973         generating output for tables of tests, not inside functions.
18974         (parse_args): Likewise.
18975         (generate_testfile): Remove variable $in_func.  Update call to
18976         parse_args.
18977         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18978         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18979         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18980         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18981         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18982         (MAX_VALUE_INIT): Rename macro to max_value.
18983         (MIN_VALUE_INIT): Rename macro to min_value.
18984         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18985         (plus_zero): Remove variable.
18986         (minus_zero): Likewise.
18987         (plus_infty): Likewise.
18988         (minus_infty): Likewise.
18989         (qnan_value): Likewise.
18990         (max_value): Likewise.
18991         (min_value): Likewise.
18992         (min_subnorm_value): Likewise.
18993
18994 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18995
18996         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18997         uint64_t or uint32_t usage.
18998         * crypt/sha256-block.c: Likewise.
18999         * crypt/sha256-crypt.c: Likewise.
19000         * crypt/sha256.c: Likewise.
19001         * crypt/sha512-block.c: Likewise.
19002         * crypt/sha512-crypt.c: Likewise.
19003         * crypt/sha512.c: Likewise.
19004         * debug/backtrace-tst.c: Likewise.
19005         * debug/pcprofiledump.c: Likewise.
19006         * elf/cache.c: Likewise.
19007         * elf/dl-cache.c: Likewise.
19008         * elf/dl-misc.c: Likewise.
19009         * elf/dl-profile.c: Likewise.
19010         * elf/dl-support.c: Likewise.
19011         * elf/ldconfig.c: Likewise.
19012         * elf/sprof.c: Likewise.
19013         * iconv/dummy-repertoire.c: Likewise.
19014         * iconv/iconv_charmap.c: Likewise.
19015         * iconv/skeleton.c: Likewise.
19016         * iconvdata/8bit-generic.c: Likewise.
19017         * iconvdata/cp737.h: Likewise.
19018         * iconvdata/cp775.h: Likewise.
19019         * iconvdata/ibm1008.h: Likewise.
19020         * iconvdata/ibm1025.h: Likewise.
19021         * iconvdata/ibm1046.h: Likewise.
19022         * iconvdata/ibm1097.h: Likewise.
19023         * iconvdata/ibm1112.h: Likewise.
19024         * iconvdata/ibm1122.h: Likewise.
19025         * iconvdata/ibm1123.h: Likewise.
19026         * iconvdata/ibm1124.h: Likewise.
19027         * iconvdata/ibm1129.h: Likewise.
19028         * iconvdata/ibm1130.h: Likewise.
19029         * iconvdata/ibm1132.h: Likewise.
19030         * iconvdata/ibm1133.h: Likewise.
19031         * iconvdata/ibm1137.h: Likewise.
19032         * iconvdata/ibm1140.h: Likewise.
19033         * iconvdata/ibm1141.h: Likewise.
19034         * iconvdata/ibm1142.h: Likewise.
19035         * iconvdata/ibm1143.h: Likewise.
19036         * iconvdata/ibm1144.h: Likewise.
19037         * iconvdata/ibm1145.h: Likewise.
19038         * iconvdata/ibm1146.h: Likewise.
19039         * iconvdata/ibm1147.h: Likewise.
19040         * iconvdata/ibm1148.h: Likewise.
19041         * iconvdata/ibm1149.h: Likewise.
19042         * iconvdata/ibm1153.h: Likewise.
19043         * iconvdata/ibm1154.h: Likewise.
19044         * iconvdata/ibm1155.h: Likewise.
19045         * iconvdata/ibm1156.h: Likewise.
19046         * iconvdata/ibm1157.h: Likewise.
19047         * iconvdata/ibm1158.h: Likewise.
19048         * iconvdata/ibm1160.h: Likewise.
19049         * iconvdata/ibm1161.h: Likewise.
19050         * iconvdata/ibm1162.h: Likewise.
19051         * iconvdata/ibm1163.h: Likewise.
19052         * iconvdata/ibm1164.h: Likewise.
19053         * iconvdata/ibm1166.h: Likewise.
19054         * iconvdata/ibm1167.h: Likewise.
19055         * iconvdata/ibm12712.h: Likewise.
19056         * iconvdata/ibm1390.h: Likewise.
19057         * iconvdata/ibm1399.h: Likewise.
19058         * iconvdata/ibm16804.h: Likewise.
19059         * iconvdata/ibm4517.h: Likewise.
19060         * iconvdata/ibm4899.h: Likewise.
19061         * iconvdata/ibm4909.h: Likewise.
19062         * iconvdata/ibm4971.h: Likewise.
19063         * iconvdata/ibm5347.h: Likewise.
19064         * iconvdata/ibm803.h: Likewise.
19065         * iconvdata/ibm856.h: Likewise.
19066         * iconvdata/ibm901.h: Likewise.
19067         * iconvdata/ibm902.h: Likewise.
19068         * iconvdata/ibm9030.h: Likewise.
19069         * iconvdata/ibm9066.h: Likewise.
19070         * iconvdata/ibm921.h: Likewise.
19071         * iconvdata/ibm922.h: Likewise.
19072         * iconvdata/ibm9448.h: Likewise.
19073         * iconvdata/isiri-3342.h: Likewise.
19074         * iconvdata/jis0201.h: Likewise.
19075         * include/link.h: Likewise.
19076         * include/netdb.h: Likewise.
19077         * inet/check_native.c: Likewise.
19078         * inet/check_pf.c: Likewise.
19079         * inet/getipv4sourcefilter.c: Likewise.
19080         * inet/getnameinfo.c: Likewise.
19081         * inet/getsourcefilter.c: Likewise.
19082         * inet/htonl.c: Likewise.
19083         * inet/setipv4sourcefilter.c: Likewise.
19084         * inet/setsourcefilter.c: Likewise.
19085         * inet/test-inet6_opt.c: Likewise.
19086         * inet/tst-network.c: Likewise.
19087         * locale/C-collate.c: Likewise.
19088         * locale/C-ctype.c: Likewise.
19089         * locale/C-time.c: Likewise.
19090         * locale/C-translit.h: Likewise.
19091         * locale/loadarchive.c: Likewise.
19092         * locale/programs/3level.h: Likewise.
19093         * locale/programs/charmap.c: Likewise.
19094         * locale/programs/charmap.h: Likewise.
19095         * locale/programs/ld-address.c: Likewise.
19096         * locale/programs/ld-collate.c: Likewise.
19097         * locale/programs/ld-ctype.c: Likewise.
19098         * locale/programs/ld-identification.c: Likewise.
19099         * locale/programs/ld-measurement.c: Likewise.
19100         * locale/programs/ld-messages.c: Likewise.
19101         * locale/programs/ld-monetary.c: Likewise.
19102         * locale/programs/ld-name.c: Likewise.
19103         * locale/programs/ld-numeric.c: Likewise.
19104         * locale/programs/ld-paper.c: Likewise.
19105         * locale/programs/ld-telephone.c: Likewise.
19106         * locale/programs/ld-time.c: Likewise.
19107         * locale/programs/linereader.c: Likewise.
19108         * locale/programs/locale.c: Likewise.
19109         * locale/programs/locarchive.c: Likewise.
19110         * locale/programs/locfile.h: Likewise.
19111         * locale/programs/repertoire.c: Likewise.
19112         * locale/programs/simple-hash.c: Likewise.
19113         * locale/programs/simple-hash.h: Likewise.
19114         * malloc/memusage.c: Likewise.
19115         * malloc/memusagestat.c: Likewise.
19116         * nis/nis_defaults.c: Likewise.
19117         * nis/nis_hash.c: Likewise.
19118         * nis/nis_print.c: Likewise.
19119         * nis/nis_xdr.c: Likewise.
19120         * nscd/connections.c: Likewise.
19121         * nscd/hstcache.c: Likewise.
19122         * nscd/nscd_gethst_r.c: Likewise.
19123         * nscd/nscd_getserv_r.c: Likewise.
19124         * nscd/nscd_helper.c: Likewise.
19125         * nscd/servicescache.c: Likewise.
19126         * nss/makedb.c: Likewise.
19127         * nss/nss_db/db-XXX.c: Likewise.
19128         * nss/nss_db/db-initgroups.c: Likewise.
19129         * nss/nss_db/db-netgrp.c: Likewise.
19130         * nss/nss_files/files-network.c: Likewise.
19131         * nss/nss_files/files-parse.c: Likewise.
19132         * posix/bug-regex5.c: Likewise.
19133         * posix/fnmatch_loop.c: Likewise.
19134         * posix/regcomp.c: Likewise.
19135         * posix/regexec.c: Likewise.
19136         * posix/tst-rfc3484-2.c: Likewise.
19137         * posix/tst-rfc3484-3.c: Likewise.
19138         * posix/tst-rfc3484.c: Likewise.
19139         * resolv/nss_dns/dns-canon.c: Likewise.
19140         * resolv/nss_dns/dns-network.c: Likewise.
19141         * resolv/res_init.c: Likewise.
19142         * resolv/res_mkquery.c: Likewise.
19143         * resolv/tst-aton.c: Likewise.
19144         * stdlib/cxa_atexit.c: Likewise.
19145         * stdlib/cxa_finalize.c: Likewise.
19146         * stdlib/gen-fpioconst.c: Likewise.
19147         * stdlib/strtol_l.c: Likewise.
19148         * string/tst-endian.c: Likewise.
19149         * sunrpc/auth_des.c: Likewise.
19150         * sunrpc/clnt_udp.c: Likewise.
19151         * sunrpc/rtime.c: Likewise.
19152         * sunrpc/svcauth_des.c: Likewise.
19153         * sunrpc/xdr.c: Likewise.
19154         * sunrpc/xdr_intXX_t.c: Likewise.
19155         * sunrpc/xdr_rec.c: Likewise.
19156         * sysdeps/generic/ldconfig.h: Likewise.
19157         * sysdeps/generic/ldsodefs.h: Likewise.
19158         * sysdeps/generic/memusage.h: Likewise.
19159         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19160         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19161         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19162         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19163         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19164         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19165         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19166         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19167         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19168         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19169         * sysdeps/posix/getaddrinfo.c: Likewise.
19170         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19171         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19172         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19173         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19174         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19175         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19176         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19177         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19178         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19179         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19180         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19181         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19182         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19183         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19184         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19185         * sysdeps/x86_64/dl-tls.h: Likewise.
19186         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19187         * time/alt_digit.c: Likewise.
19188         * time/era.c: Likewise.
19189         * wcsmbs/tst-c16c32-1.c: Likewise.
19190
19191 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19192
19193         * math/libm-test.inc (struct test_sincos_data): New type.
19194         (RUN_TEST_LOOP_sincos): New macro.
19195         (sincos_test_data): New variable.
19196         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19197
19198 2013-05-16  Richard Henderson  <rth@redhat.com>
19199
19200         * math/atest-exp2.c (LIMB64): New macro.
19201         (CONSTSZ): New macro.
19202         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19203         (hexdig): Move ...
19204         (print_mpn_fp): ... to function scope.
19205         (read_mpn_hex): Remove.
19206         (get_log2): Remove.
19207         (exp2_mpn): Use mp_log2.
19208         (main): Use mp_exp1.
19209
19210 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19211
19212         * math/libm-test.inc: Remove comment about not testing "inexact"
19213         exceptions.
19214         (INEXACT_EXCEPTION): New macro.
19215         (NO_INEXACT_EXCEPTION): Likewise.
19216         (INVALID_EXCEPTION_OK): Update value.
19217         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19218         (OVERFLOW_EXCEPTION_OK): Likewise.
19219         (UNDERFLOW_EXCEPTION_OK): Likewise.
19220         (IGNORE_ZERO_INF_SIGN): Likewise.
19221         (ERRNO_UNCHANGED): Likewise.
19222         (ERRNO_EDOM): Likewise.
19223         (ERRNO_ERANGE): Likewise.
19224         (test_exceptions): Handle testing "inexact" exceptions.
19225         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19226         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19227         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19228         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19229         INEXACT_EXCEPTION.
19230         (rint_towardzero_test_data): Likewise.
19231         (rint_downward_test_data): Likewise.
19232         (rint_upward_test_data): Likewise.
19233
19234         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19235         with OVERFLOW_EXCEPTION.
19236         (exp10_test_data): Likewise.
19237         (exp2_test_data): Likewise.
19238         (expm1_test_data): Likewise.
19239         (lgamma_test_data): Likewise.
19240         (pow_test_data): Likewise.
19241         (tgamma_test_data): Likewise.
19242         (yn_test_data): Remove duplicate test of overflow.
19243
19244         * math/libm-test.inc (struct test_cc_c_data): New type.
19245         (RUN_TEST_LOOP_cc_c): New macro.
19246         (cpow_test_data): New variable.
19247         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19248
19249         * math/libm-test.inc (struct test_f_L_data): New type.
19250         (RUN_TEST_LOOP_f_L): New macro.
19251         (llrint_test_data): New variable.
19252         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19253         (llrint_tonearest_test_data): New variable.
19254         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19255         (llrint_towardzero_test_data): New variable.
19256         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19257         (llrint_downward_test_data): New variable.
19258         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19259         (llrint_upward_test_data): New variable.
19260         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19261         (llround_test_data): New variable.
19262         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19263
19264 2013-05-13  Peter Collingbourne  <pcc@google.com>
19265
19266         * math/atest-exp2.c (get_log2): Remove const attribute.
19267
19268 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19269
19270         * math/libm-test.inc (struct test_f_l_data): New type.
19271         (RUN_TEST_LOOP_f_l): New macro.
19272         (lrint_test_data): New variable.
19273         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19274         (lrint_tonearest_test_data): New variable.
19275         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19276         (lrint_towardzero_test_data): New variable.
19277         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19278         (lrint_downward_test_data): New variable.
19279         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19280         (lrint_upward_test_data): New variable.
19281         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19282         (lround_test_data): New variable.
19283         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19284
19285 2013-05-15  Peter Collingbourne  <pcc@google.com>
19286
19287         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19288         (EXTRACT_WORDS64) Use where appropriate.
19289         (INSERT_WORDS64) Likewise.
19290
19291         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19292         constraints with x constraints.
19293         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19294
19295         * malloc/obstack.c (_obstack_compat): Add initializer.
19296
19297 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19298
19299         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19300         si_trapno and add si_addr_lsb to _sifields.sigfault.
19301         (si_trapno): Remove macro.
19302         (si_addr_lsb): Define new macro.
19303         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19304
19305 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19306
19307         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19308         instead of TEST_f_l.
19309         (llrint_test_tonearest): Likewise.
19310         (llrint_test_towardzero): Likewise.
19311         (llrint_test_downward): Likewise.
19312         (llrint_test_upward): Likewise.
19313         (llround_test): Likewise.
19314
19315         * math/libm-test.inc (struct test_f_i_data): Add comment.
19316         (RUN_TEST_LOOP_f_b): New macro.
19317         (RUN_TEST_LOOP_f_b_tg): Likewise.
19318         (finite_test_data): New variable.
19319         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19320         (isfinite_test_data): New variable.
19321         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19322         (isinf_test_data): New variable.
19323         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19324         (isnan_test_data): New variable.
19325         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19326         (isnormal_test_data): New variable.
19327         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19328         (issignaling_test_data): New variable.
19329         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19330         (signbit_test_data): New variable.
19331         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19332
19333         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19334         with INVALID_EXCEPTION.
19335         (acosh_test_data): Likewise.
19336         (asin_test_data): Likewise.
19337         (atanh_test_data): Likewise.
19338         (fmod_test_data): Likewise.
19339         (log_test_data): Likewise.
19340         (log10_test_data): Likewise.
19341         (log2_test_data): Likewise.
19342         (pow_test_data): Likewise.
19343         (sqrt_test_data): Likewise.
19344         (y0_test_data): Likewise.
19345         (y1_test_data): Likewise.
19346         (yn_test_data): Likewise.
19347
19348         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19349         function contents.
19350
19351         * math/libm-test.inc (struct test_ff_i_data): New type.
19352         (RUN_TEST_LOOP_ff_i_tg): New macro.
19353         (isgreater_test_data): New variable.
19354         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19355         (isgreaterequal_test_data): New variable.
19356         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19357         (isless_test_data): New variable.
19358         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19359         (islessequal_test_data): New variable.
19360         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19361         (islessgreater_test_data): New variable.
19362         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19363         (isunordered_test_data): New variable.
19364         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19365
19366 2013-05-14  David S. Miller  <davem@davemloft.net>
19367
19368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19369
19370 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19371
19372         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19373
19374         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19375         extra_test to int.
19376         (struct test_f_i_data): Change type of max_ulp to int.
19377
19378         * math/libm-test.inc (test_ffI_f1_data): New type.
19379         (RUN_TEST_LOOP_ffI_f1): New macro.
19380         (remquo_test_data): New variable.
19381         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19382
19383         * setjmp/tst-setjmp-fp.c: New file.
19384         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19385         (link-libm): New variable.
19386         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19387
19388         * math/libm-test.inc (struct test_f_i_data): New type.
19389         (RUN_TEST_LOOP_f_i): New macro.
19390         (RUN_TEST_LOOP_f_i_tg): Likewise.
19391         (fpclassify_test_data): New variable.
19392         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19393         (ilogb_test_data): New variable.
19394         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19395
19396         * math/libm-test.inc (scalbln_test): Correct function name in END
19397         call.
19398
19399         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19400         (RUN_TEST_LOOP_fI_f1): New macro.
19401         (frexp_test_data): New variable.
19402         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19403
19404         * math/libm-test.inc (struct test_fF_f1_data): New type.
19405         (RUN_TEST_LOOP_fF_f1): New macro.
19406         (modf_test_data): New variable.
19407         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19408
19409         * math/libm-test.inc (struct test_f_f1_data): New type.
19410         (RUN_TEST_LOOP_f_f1): New macro.
19411         (gamma_test_data): New variable.
19412         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19413         (lgamma_test_data): New variable.
19414         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19415
19416 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19417
19418         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19419         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19420         (main): Comment "tls" pseudo-hwcap.
19421
19422 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19423
19424         * math/libm-test.inc (struct test_fl_f_data): New type.
19425         (RUN_TEST_LOOP_fl_f): New variable.
19426         (scalbln_test_data): New variable.
19427         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19428
19429         * math/libm-test.inc (struct test_fi_f_data): New type.
19430         (RUN_TEST_LOOP_fi_f): New macro.
19431         (ldexp_test_data): New variable.
19432         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19433         (scalbn_test_data): New variable.
19434         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19435
19436         * math/libm-test.inc (struct test_c_f_data): New type.
19437         (RUN_TEST_LOOP_c_f): New macro.
19438         (cabs_test_data): New variable.
19439         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19440         (carg_test_data): New variable.
19441         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19442         (cimag_test_data): New variable.
19443         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19444         (creal_test_data): New variable.
19445         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19446
19447         * math/libm-test.inc (struct test_if_f_data): New type.
19448         (RUN_TEST_LOOP_if_f): New macro.
19449         (jn_test_data): New variable.
19450         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19451         (yn_test_data): New variable.
19452         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19453
19454         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19455
19456 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19457
19458         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19459         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19460
19461 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19462
19463         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19464         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19465         (bench-deps): Add bench-timing.h.
19466         * benchtests-bench-skeleton.c: Include bench-timing.h.
19467         (main): Use TIMING_* macros instead of clock_gettime.
19468         * benchtests/bench-timing.h: New file.
19469
19470         [BZ #14582]
19471         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19472         Renamed from _LIB_VERSION.
19473         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19474
19475 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19476
19477         * math/libm-test.inc (struct test_fff_f_data): New type.
19478         (RUN_TEST_LOOP_fff_f): New macro.
19479         (fma_test_data): New variable.
19480         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19481         (fma_towardzero_test_data): New variable.
19482         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19483         (fma_downward_test_data): New variable.
19484         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19485         (fma_upward_test_data): New variable.
19486         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19487
19488         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19489         (struct test_c_c_data): New type.
19490         (RUN_TEST_LOOP_c_c): New macro.
19491         (cacos_test_data): New variable.
19492         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19493         (cacosh_test_data): New variable.
19494         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19495         (casin_test_data): New variable.
19496         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19497         (casinh_test_data): New variable.
19498         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19499         (catan_test_data): New variable.
19500         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19501         (catanh_test_data): New variable.
19502         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19503         (ccos_test_data): New variable.
19504         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19505         (ccosh_test_data): New variable.
19506         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19507         (cexp_test_data): New variable.
19508         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19509         (clog_test_data): New variable.
19510         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19511         (clog10_test_data): New variable.
19512         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19513         (conj_test_data): New variable.
19514         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19515         (cproj_test_data): New variable.
19516         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19517         (csin_test_data): New variable.
19518         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19519         (csinh_test_data): New variable.
19520         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19521         (csqrt_test_data): New variable.
19522         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19523         (ctan_test_data): New variable.
19524         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19525         (ctan_tonearest_test_data): New variable.
19526         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19527         (ctan_towardzero_test_data): New variable.
19528         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19529         (ctan_downward_test_data): New variable.
19530         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19531         (ctan_upward_test_data): New variable.
19532         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19533         (ctanh_test_data): New variable.
19534         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19535         (ctanh_tonearest_test_data): New variable.
19536         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19537         (ctanh_towardzero_test_data): New variable.
19538         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19539         (ctanh_downward_test_data): New variable.
19540         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19541         (ctanh_upward_test_data): New variable.
19542         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19543         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19544         of BUILD_COMPLEX.
19545
19546         * math/libm-test.inc (struct test_ff_f_data): New type.
19547         (struct test_ff_f_data_nexttoward): Likewise.
19548         (RUN_TEST_LOOP_2_f): New macro.
19549         (RUN_TEST_LOOP_ff_f): Likewise.
19550         (atan2_test_data): New variable.
19551         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19552         (copysign_test_data): New variable.
19553         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19554         (fdim_test_data): New variable.
19555         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19556         (fmax_test_data): New variable.
19557         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19558         (fmin_test_data): New variable.
19559         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19560         (fmod_test_data): New variable.
19561         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19562         (hypot_test_data): New variable.
19563         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19564         (nextafter_test_data): New variable.
19565         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19566         (nexttoward_test_data): New variable.
19567         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19568         (pow_test_data): New variable.
19569         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19570         (pow_tonearest_test_data): New variable.
19571         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19572         (pow_towardzero_test_data): New variable.
19573         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19574         (pow_downward_test_data): New variable.
19575         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19576         (pow_upward_test_data): New variable.
19577         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19578         (remainder_test_data): New variable.
19579         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19580         (scalb_test_data): New variable.
19581         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19582         * sysdeps/i386/fpu/libm-test-ulps: Update.
19583
19584 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19585
19586         * math/libm-test.inc (fma_test): Use max_value instead of local
19587         variable fltmax.
19588         (nextafter_test): Likewise.
19589
19590         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19591         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19592         (acos_downward_test_data): New variable.
19593         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19594         (acos_upward_test_data): New variable.
19595         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19596         (acosh_test_data): New variable.
19597         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19598         (asin_test_data): New variable.
19599         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19600         (asin_tonearest_test_data): New variable.
19601         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19602         (asin_towardzero_test_data): New variable.
19603         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19604         (asin_downward_test_data): New variable.
19605         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19606         (asin_upward_test_data): New variable.
19607         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19608         (asinh_test_data): New variable.
19609         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19610         (atan_test_data): New variable.
19611         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19612         (atanh_test_data): New variable.
19613         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19614         (cbrt_test_data): New variable.
19615         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19616         (ceil_test_data): New variable.
19617         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19618         (cos_test_data): New variable.
19619         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19620         (cos_tonearest_test_data): New variable.
19621         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19622         (cos_towardzero_test_data): New variable.
19623         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19624         (cos_downward_test_data): New variable.
19625         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19626         (cos_upward_test_data): New variable.
19627         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19628         (cosh_test_data): New variable.
19629         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19630         (cosh_tonearest_test_data): New variable.
19631         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19632         (cosh_towardzero_test_data): New variable.
19633         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19634         (cosh_downward_test_data): New variable.
19635         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19636         (cosh_upward_test_data): New variable.
19637         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19638         (erf_test_data): New variable.
19639         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19640         (erfc_test_data): New variable.
19641         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19642         (exp_test_data): New variable.
19643         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19644         (exp_tonearest_test_data): New variable.
19645         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19646         (exp_towardzero_test_data): New variable.
19647         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19648         (exp_downward_test_data): New variable.
19649         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19650         (exp_upward_test_data): New variable.
19651         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19652         (exp10_test_data): New variable.
19653         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19654         (exp2_test_data): New variable.
19655         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19656         (expm1_test_data): New variable.
19657         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19658         (fabs_test_data): New variable.
19659         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19660         (floor_test_data): New variable.
19661         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19662         (j0_test_data): New variable.
19663         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19664         (j1_test_data): New variable.
19665         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19666         (log_test_data): New variable.
19667         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19668         (log10_test_data): New variable.
19669         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19670         (log1p_test_data): New variable.
19671         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19672         (log2_test_data): New variable.
19673         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19674         (logb_test_data): New variable.
19675         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19676         (logb_downward_test_data): New variable.
19677         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19678         (nearbyint_test_data): New variable.
19679         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19680         (rint_test_data): New variable.
19681         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19682         (rint_tonearest_test_data): New variable.
19683         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19684         (rint_towardzero_test_data): New variable.
19685         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19686         (rint_downward_test_data): New variable.
19687         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19688         (rint_upward_test_data): New variable.
19689         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19690         (round_test_data): New variable.
19691         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19692         (sin_test_data): New variable.
19693         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19694         (sin_tonearest_test_data): New variable.
19695         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19696         (sin_towardzero_test_data): New variable.
19697         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19698         (sin_downward_test_data): New variable.
19699         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19700         (sin_upward_test_data): New variable.
19701         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19702         (sinh_test_data): New variable.
19703         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19704         (sinh_tonearest_test_data): New variable.
19705         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19706         (sinh_towardzero_test_data): New variable.
19707         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19708         (sinh_downward_test_data): New variable.
19709         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19710         (sinh_upward_test_data): New variable.
19711         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19712         (sqrt_test_data): New variable.
19713         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19714         (tan_test_data): New variable.
19715         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19716         (tan_tonearest_test_data): New variable.
19717         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19718         (tan_towardzero_test_data): New variable.
19719         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19720         (tan_downward_test_data): New variable.
19721         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19722         (tan_upward_test_data): New variable.
19723         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19724         (tanh_test_data): New variable.
19725         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19726         (tgamma_test_data): New variable.
19727         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19728         (trunc_test_data): New variable.
19729         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19730         (y0_test_data): New variable.
19731         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19732         (y1_test_data): New variable.
19733         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19734         (significand_test_data): New variable.
19735         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19736
19737 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19738
19739         [BZ #12387]
19740         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19741
19742 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19743
19744         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19745
19746 2013-05-10  Andreas Jaeger  <aj@suse.de>
19747
19748         [BZ #15448]
19749         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19750         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19751
19752 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19753
19754         * math/gen-libm-test.pl (adjust_arg): New function.
19755         (special_functions): Handle generating output in both functions
19756         and arrays.
19757         (parse_args): Likewise.
19758         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19759         $in_func argument to parse_args.
19760         * math/libm-test.inc (struct test_f_f_data): New type.
19761         (IF_ROUND_INIT_): New macro.
19762         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19763         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19764         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19765         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19766         (ROUND_RESTORE_): Likewise.
19767         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19768         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19769         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19770         (ROUND_RESTORE_FE_UPWARD): Likewise.
19771         (RUN_TEST_LOOP_f_f): New macro.
19772         (acos_test_data): New variable.
19773         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19774         (acos_tonearest_test_data): New variable.
19775         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19776
19777 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19778
19779         * benchtests/bench-skeleton.c (startup): Fix coding style.
19780
19781 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19782
19783         [BZ #6809]
19784         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19785         negative infinity argument.
19786         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19787         negative infinity argument.
19788         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19789         negative infinity argument.
19790         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19791         domain errors.
19792
19793 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19794
19795         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19796         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19797         * iconv/iconv_prog.c (main): Likewise.
19798         * locale/programs/charmap-dir.c (charmap_readdir)
19799         (fopen_uncompressed): Likewise.
19800         * locale/programs/locfile.c (siblings_uncached)
19801         (write_locale_data): Use lstat64 instead of lstat.
19802         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19803         stat.
19804
19805 2013-05-10  Andreas Jaeger  <aj@suse.de>
19806
19807         [BZ #15395]
19808         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19809         localization.
19810         Include <locale.h>.
19811
19812 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19813
19814         * elf/dl-close.c (_dl_close_worker): Add comments.
19815
19816 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19817
19818         [BZ #15359]
19819         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19820         high part of pi/2.
19821         (__ieee754_rem_pio2l): Update comments.
19822
19823         [BZ #15429]
19824         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19825         high part of pi/2.
19826         (__ieee754_rem_pio2l): Update comments.
19827
19828         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19829         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19830
19831         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19832         M_PI_4l.
19833
19834         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19835         (M_PI_34_LOG10El): Likewise.
19836         (M_PI2_LOG10El): Likewise.
19837         (M_PI4_LOG10El): Likewise.
19838         (M_PI_LOG10El): Likewise.
19839
19840 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19841
19842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19843
19844 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19845
19846         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19847         (MINUS_ZERO_INIT): Likewise.
19848         (PLUS_INFTY_INIT): Likewise.
19849         (MINUS_INFTY_INIT): Likewise.
19850         (QNAN_VALUE_INIT): Likewise.
19851         (MAX_VALUE_INIT): Likewise.
19852         (MIN_VALUE_INIT): Likewise.
19853         (MIN_SUBNORM_VALUE_INIT): Likewise.
19854         (plus_zero): Initialize with PLUS_ZERO_INIT.
19855         (minus_zero): Initialize with MINUS_ZERO_INIT.
19856         (plus_infty): Initialize with PLUS_INFTY_INIT.
19857         (minus_infty): Initialize with MINUS_INFTY_INIT.
19858         (qnan_value): Initialize with QNAN_VALUE_INIT.
19859         (max_value): Initialize with MAX_VALUE_INIT.
19860         (min_value): Initialize with MIN_VALUE_INIT.
19861         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19862
19863         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19864         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19865         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19866         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19867
19868         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19869         (RUN_TEST_2_f): Likewise.
19870         (RUN_TEST_ff_f): Likewise.
19871         (RUN_TEST_fi_f): Likewise.
19872         (RUN_TEST_fl_f): Likewise.
19873         (RUN_TEST_fff_f): Likewise.
19874         (RUN_TEST_c_f): Likewise.
19875         (RUN_TEST_f_f1): Likewise.
19876         (RUN_TEST_fF_f1): Likewise.
19877         (RUN_TEST_fI_f1): Likewise.
19878         (RUN_TEST_ffI_f1): Likewise.
19879         (RUN_TEST_c_c): Likewise.
19880         (RUN_TEST_cc_c): Likewise.
19881         (RUN_TEST_f_i): Likewise.
19882         (RUN_TEST_f_i_tg): Likewise.
19883         (RUN_TEST_ff_i_tg): Likewise.
19884         (RUN_TEST_f_b): Likewise.
19885         (RUN_TEST_f_b_tg): Likewise.
19886         (RUN_TEST_f_l): Likewise.
19887         (RUN_TEST_f_L): Likewise.
19888         (RUN_TEST_sincos): Likewise.
19889         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19890         whether to show exceptions.  Do not include ");\n" in return
19891         value.
19892         (special_functions): Output call to RUN_TEST_sincos instead of
19893         check_float calls.  Update calls to new_test.
19894         (parse_args): Output call to single RUN_TEST_* macro instead of
19895         check_* calls and other assignments.  Update calls to new_test.
19896
19897         [BZ #2546]
19898         [BZ #2560]
19899         [BZ #5159]
19900         [BZ #15426]
19901         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19902         input to result for tgamma overflow.
19903         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19904         (gamma_coeff): New variable.
19905         (NCOEFF): New macro.
19906         (gamma_positive): New function.
19907         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19908         underflow here.  Use gamma_positive instead of exp (lgamma) for
19909         other arguments.
19910         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19911         (gamma_coeff): New variable.
19912         (NCOEFF): New macro.
19913         (gammaf_positive): New function.
19914         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19915         underflow here.  Use gamma_positive instead of exp (lgamma) for
19916         other arguments.
19917         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19918         (gamma_coeff): New variable.
19919         (NCOEFF): New macro.
19920         (gammal_positive): New function.
19921         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19922         underflow here.  Use gamma_positive instead of exp (lgamma) for
19923         other arguments.
19924         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19925         (gamma_coeff): New variable.
19926         (NCOEFF): New macro.
19927         (gammal_positive): New function.
19928         (__ieee754_gammal_r): Handle positive infinity, overflow and
19929         underflow here.  Handle NaN the same as positive infinity.  Remove
19930         check x < 0xffffffff for negative integers.  Use gamma_positive
19931         instead of exp (lgamma) for other arguments.
19932         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19933         (gamma_coeff): New variable.
19934         (NCOEFF): New macro.
19935         (gammal_positive): New function.
19936         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19937         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19938         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19939         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19940         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19941         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19942         * sysdeps/generic/math_private.h (__gamma_productf): New
19943         prototype.
19944         (__gamma_product): Likewise.
19945         (__gamma_productl): Likewise.
19946         * math/Makefile (libm-calls): Add gamma_product.
19947         * math/libm-test.inc (tgamma_test): Add more tests.
19948         * sysdeps/i386/fpu/libm-test-ulps: Update.
19949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19950
19951 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19952
19953         * benchtests/bench-skeleton.c (main): Preheat CPU.
19954
19955 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19956
19957         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19958
19959 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19960
19961         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19962         and _dl_skip_args_internal.
19963
19964 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19965
19966         * manual/message.texi (Message Translation): Talk about users.
19967         Message to key mapping impacts design.
19968
19969 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19970
19971         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19972
19973         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19974
19975         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19976         * sysdeps/wordsize-64/glob64.c: ... here.
19977
19978         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19979         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19980         New macros.
19981
19982         * debug/getlogin_r_chk.c: Moved to ...
19983         * login/getlogin_r_chk.c: ... here.
19984         * debug/Makefile (routines): Move getlogin_r_chk to ...
19985         * login/Makefile (routines): ... here.
19986         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19987         * login/Versions (libc: GLIBC_2.4): ... here.
19988
19989         * io/poll.c (__poll): Renamed from poll.
19990         Add libc_hidden_def.
19991         (poll): Define as weak alias.
19992
19993         * debug/ptsname_r_chk.c: Moved to ...
19994         * login/ptsname_r_chk.c: ... here.
19995         * debug/Makefile (routines): Move ptsname_r_chk to ...
19996         * login/Makefile (routines): ... here.
19997         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19998         * login/Versions (libc: GLIBC_2.4): ... here.
19999
20000         * posix/getlogin.c: Moved to ...
20001         * login/getlogin.c: ... here.
20002         * posix/getlogin_r.c: Moved to ...
20003         * login/getlogin_r.c: ... here.
20004         * posix/getlogin_r.c: Moved to ...
20005         * login/getlogin_r.c: ... here.
20006         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20007         * login/Makefile (routines): ... here.
20008         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20009         * login/Versions (libc: GLIBC_2.0): ... here.
20010
20011         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20012         (setrlimit): Define as weak alias.
20013
20014         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20015         Call __ names for open, ftruncate, and close.
20016         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20017         (truncate): Define as weak alias.
20018
20019 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20020
20021         * math/gen-libm-test.pl (parse_args): Initialize x before each
20022         test of frexp, modf and remquo.
20023
20024         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20025         test signgam value.
20026
20027 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20028
20029         [BZ #15418]
20030         [BZ #15419]
20031         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20032         internal tests.
20033         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20034
20035 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20036
20037         * elf/dl-writev.h: New file.
20038         * elf/dl-misc.c: Include it.
20039         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20040         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20041
20042 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20043
20044         * math/libm-test.inc (noXFails): Remove variable.
20045         (noXPasses): Likewise.
20046         (BUILD_COMPLEX_INT): Remove macro.
20047         (print_screen): Remove xfail argument.
20048         (print_screen_max_error): Likewise.
20049         (update_stats): Likewise.
20050         (print_max_error): Likewise.  Update calls to other affected
20051         functions.
20052         (print_complex_max_error): Likewise.
20053         (test_single_exception): Update calls to print_screen.
20054         (test_single_errno): Likewise.
20055         (check_float_internal): Remove xfail argument.  Update calls to
20056         other affected functions.
20057         (check_float): Likewise.
20058         (check_complex): Likewise.
20059         (check_int): Likewise.
20060         (check_long): Likewise.
20061         (check_bool): Likewise.
20062         (check_longlong): Likewise.
20063         (main): Don't print noXFails and noXPasses.
20064         * math/gen-libm-test.pl (top level): Don't mention expected
20065         failure handling in comment.
20066         (new_test): Don't handle expected failures.
20067         (parse_args): Don't mention expected failure handling in comment.
20068         (generate_testfile): Don't handle expected failures.
20069         (parse_ulps): Likewise.
20070         (print_ulps_file): Likewise.
20071         (get_failure): Remove function.
20072         (output_test): Don't handle expected failures.
20073         * make/README.libm-test: Don't mention expected failure handling.
20074
20075         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20076         (minus_zero): Likewise.
20077         (plus_infty): Likewise.
20078         (minus_infty): Likewise.
20079         (qnan_value): Likewise.
20080         (max_value): Likewise.
20081         (min_value): Likewise.
20082         (min_subnorm_value): Likewise.
20083         (initialize): Do not initialize those variables dynamically.
20084
20085 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20086
20087         * io/open.c (__open_2): Moved to ...
20088         * io/open_2.c: ... this new file.
20089         * io/open64.c (__open64_2): Moved to ...
20090         * io/open64_2.c: ... this new file.
20091         * io/openat.c (__openat_2): Moved to ...
20092         * io/openat_2.c: ... this new file.
20093         * io/openat64.c (__openat64_2): Moved to ...
20094         * io/openat64_2.c: ... this new file.
20095         * io/Makefile (routines): Add them.
20096         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20097         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20098         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20099         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20100         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20101         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20102         (__openat64): Add hidden_ver.
20103         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20104         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20105
20106         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20107         Separately conditionalize setting of GLRO(dl_sysinfo) so
20108         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20109         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20110
20111 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20112
20113         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20114         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20115         definition.
20116         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20117         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20118         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20119         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20120         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20121
20122 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20123
20124         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20125         test signgam value.
20126
20127         * math/libm-test.inc (hypot_test): Do not use
20128         IGNORE_ZERO_INF_SIGN.
20129
20130 2013-05-03  Andreas Jaeger  <aj@suse.de>
20131
20132         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20133         Linux 3.9.
20134         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20135         (PF_MAX): Adjust for VSOCK change.
20136
20137 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20138
20139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20140
20141 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20142
20143         [BZ #15264]
20144         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20145         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20146         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20147
20148 2013-05-02  David S. Miller  <davem@davemloft.net>
20149
20150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20151
20152 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20153
20154         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20155
20156 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20157
20158         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20159
20160 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20161
20162         [BZ #14952]
20163         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20164         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20165         Use __attribute__ ((__gnu_inline__)).
20166         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20167         Don't use __attribute__ ((__gnu_inline__)).
20168
20169 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20170
20171         [BZ #15423]
20172         * math/s_catan.c (__catan): Handle small real or imaginary part of
20173         input specially to avoid spurious underflow.
20174         * math/s_catanf.c (__catanf): Likewise.
20175         * math/s_catanh.c (__catanh): Likewise.
20176         * math/s_catanhf.c (__catanhf): Likewise.
20177         * math/s_catanhl.c (__catanhl): Likewise.
20178         * math/s_catanl.c (__catanl): Likewise.
20179         * math/libm-test.inc (catan_test): Add more tests.
20180         (catanh_test): Likewise.
20181         * sysdeps/i386/fpu/libm-test-ulps: Update.
20182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20183
20184 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20185
20186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20187
20188 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20189
20190         [BZ #15416]
20191         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20192         accurately for denominator in atan2.
20193         * math/s_catanf.c (__catanf): Likewise.
20194         * math/s_catanh.c (__catanh): Likewise.
20195         * math/s_catanhf.c (__catanhf): Likewise.
20196         * math/s_catanhl.c (__catanhl): Likewise.
20197         * math/s_catanl.c (__catanl): Likewise.
20198         * math/libm-test.inc (catan_test): Add more tests.
20199         (catanh_test): Likewise.
20200         * sysdeps/i386/fpu/libm-test-ulps: Update.
20201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20202
20203 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20204
20205         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20206
20207         * benchtests/Makefile (bench): Remove slow benchmarks.
20208         * benchtests/atan-inputs: Add slow benchmark inputs.
20209         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20210         (BENCH_FUNC): Accept variant offset.
20211         (VARIANT): Define.
20212         * benchtests/bench-skeleton.c (main): Run benchmark for each
20213         variant.
20214         * benchtests/cos-inputs: Add slow benchmark inputs.
20215         * benchtests/exp-inputs: Likewise.
20216         * benchtests/pow-inputs: Likewise.
20217         * benchtests/sin-inputs: Likewise.
20218         * benchtests/slowatan-inputs: Remove.
20219         * benchtests/slowatan.c: Remove.
20220         * benchtests/slowcos-inputs: Remove.
20221         * benchtests/slowcos.c: Remove.
20222         * benchtests/slowexp-inputs: Remove.
20223         * benchtests/slowexp.c: Remove.
20224         * benchtests/slowpow-inputs: Remove.
20225         * benchtests/slowpow.c: Remove.
20226         * benchtests/slowsin-inputs: Remove.
20227         * benchtests/slowsin.c: Remove.
20228         * benchtests/slowtan-inputs: Remove.
20229         * benchtests/slowtan.c: Remove.
20230         * benchtests/tan-inputs: Add slow benchmark inputs.
20231         * scripts/bench.pl: Parse comments and directives.
20232
20233         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20234         in CPPFLAGS.
20235         ($(objpfx)bench-%.c): Remove *-ITER.
20236         * benchtests/bench-modf.c: Remove definition of ITER.
20237         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20238         (main): Loop for DURATION seconds instead of fixed number of
20239         iterations.
20240         * scripts/bench.pl: Don't expect iterations in parameters.
20241
20242 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20243
20244         * io/fchdir.c (__fchdir): Renamed from fchdir.
20245         (fchdir): Define as weak alias.
20246
20247 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20248
20249         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20250         (ERRNO_EDOM): Likewise.
20251         (ERRNO_ERANGE): Likewise.
20252         (noErrnoTests): New variable.
20253         (init_max_error): Set errno to 0.
20254         (test_single_errno): New function.
20255         (test_errno): Likewise.
20256         (check_float_internal): Call test_errno.  Set errno to 0.
20257         (check_complex): Refer to errno tests in comment.
20258         (check_int): Call test_errno.  Set errno to 0.
20259         (check_long): Likewise.
20260         (check_bool): Likewise.
20261         (check_longlong): Likewise.
20262         (cos_test): Use ERRNO_* flags for errno tests instead of
20263         check_int.
20264         (expm1_test): Likewise.
20265         (fmod_test): Likewise.
20266         (ilogb_test): Likewise.
20267         (lgamma_test): Likewise.
20268         (pow_test): Likewise.
20269         (remainder_test): Likewise.
20270         (sin_test): Likewise.
20271         (tan_test): Likewise.
20272         (yn_test): Likewise.
20273         (initialize): Set errno to 0.
20274         (main): Print number of errno tests.
20275         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20276
20277 2013-04-29  Andreas Jaeger  <aj@suse.de>
20278
20279         [BZ #15084]
20280         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20281         and RES_USEVC.
20282
20283         [BZ #15085]
20284         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20285         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20286         unimplemented.
20287
20288         [BZ #15380]
20289         * stdlib/random.c (__initstate): Return NULL if
20290         __initstate fails.
20291
20292         [BZ #15086]
20293         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20294         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20295         RES_SNGLKUPREOP.
20296
20297 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20298
20299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20300
20301 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20302
20303         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20304         of individual tests.
20305         (casin_test): Likewise.
20306         (casinh_test): Likewise.
20307
20308 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20309
20310         [BZ #15409]
20311         * math/s_catan.c (__catan): Handle arguments with large real or
20312         imaginary part separately without squaring.
20313         * math/s_catanf.c (__catanf): Likewise.
20314         * math/s_catanh.c (__catanh): Likewise.
20315         * math/s_catanhf.c (__catanhf): Likewise.
20316         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20317         and redefine.
20318         (__catanhl): Handle arguments with large real or imaginary part
20319         separately without squaring.
20320         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20321         and redefine.
20322         (__catanl): Handle arguments with large real or imaginary part
20323         separately without squaring.
20324         * math/libm-test.inc (catan_test): Add more tests.
20325         (catanh_test): Likewise.
20326         * sysdeps/i386/fpu/libm-test-ulps: Update.
20327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20328
20329 2013-04-27  Andreas Jaeger  <aj@suse.de>
20330
20331         [BZ #15007]
20332         * stdlib/stdlib.h: Update guards for qecvt.
20333         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20334         <stdlib.h>.
20335
20336 2013-04-27  Allan McRae  <allan@archlinux.org>
20337
20338         * sysdeps/i386/fpu/libm-test-ulps: Update.
20339
20340 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20341
20342         [BZ #15406]
20343         * math/s_catan.c: Include <float.h>.
20344         (__catan): Ensure underflow exception occurs for underflowed
20345         result.
20346         * math/s_catanf.c: Include <float.h>.
20347         (__catanf): Ensure underflow exception occurs for underflowed
20348         result.
20349         * math/s_catanh.c: Include <float.h>.
20350         (__catanh): Ensure underflow exception occurs for underflowed
20351         result.
20352         * math/s_catanhf.c: Include <float.h>.
20353         (__catanhf): Ensure underflow exception occurs for underflowed
20354         result.
20355         * math/s_catanhl.c: Include <float.h>.
20356         (__catanhl): Ensure underflow exception occurs for underflowed
20357         result.
20358         * math/s_catanl.c: Include <float.h>.
20359         (__catanl): Ensure underflow exception occurs for underflowed
20360         result.
20361         * math/libm-test.inc (catan_test): Add more tests.
20362         (catanh_test): Likewise.
20363
20364         [BZ #15405]
20365         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20366         underflowed result.
20367         * math/s_ccoshf.c (__ccoshf): Likewise.
20368         * math/s_ccoshl.c (__ccoshl): Likewise.
20369         * math/s_csin.c (__csin): Likewise.
20370         * math/s_csinf.c (__csinf): Likewise.
20371         * math/s_csinh.c (__csinh): Likewise.
20372         * math/s_csinhf.c (__csinhf): Likewise.
20373         * math/s_csinhl.c (__csinhl): Likewise.
20374         * math/s_csinl.c (__csinl): Likewise.
20375         * math/libm-test.inc (ccos_test): Add more tests.
20376         (ccosh_test): Likewise.
20377         (csin_test): Likewise.
20378         (csinh_test): Likewise.
20379
20380 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20381
20382         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20383         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20384         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20385         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20386         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20387         powerpc/power5+/fpu folders.
20388         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20389
20390
20391 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20392
20393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20394
20395 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20396
20397         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20398         additions to variable.
20399         [$(config-machine) = x86_64] (modules-names): Likewise.
20400         ($(objpfx)tst-audit3): Remove dependency.
20401         ($(objpfx)tst-audit3.out): Likewise.
20402         ($(objpfx)tst-audit4): Likewise.
20403         ($(objpfx)tst-audit4.out): Likewise.
20404         ($(objpfx)tst-audit5): Likewise.
20405         ($(objpfx)tst-audit5.out): Likewise.
20406         ($(objpfx)tst-audit6): Likewise.
20407         ($(objpfx)tst-audit6.out): Likewise.
20408         ($(objpfx)tst-audit7): Likewise.
20409         ($(objpfx)tst-audit7.out): Likewise.
20410         (tst-audit3-ENV): Remove variable.
20411         (tst-audit4-ENV): Likewise.
20412         (tst-audit5-ENV): Likewise.
20413         (tst-audit6-ENV): Likewise.
20414         (tst-audit7-ENV): Likewise.
20415         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20416         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20417         addition to variable.
20418         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20419         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20420         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20421         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20422         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20423         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20424         tst-audit3, tst-audit4 and tst-audit5.
20425         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20426         tst-audit6 and tst-audit7.
20427         [$(subdir) = elf] (modules-names): Add audit modules for those
20428         tests.
20429         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20430         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20431         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20432         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20433         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20434         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20435         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20436         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20437         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20438         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20439         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20440         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20441         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20442         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20443         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20444         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20445         Likewise.
20446         [$(subdir) = elf && $(config-cflags-avx) = yes]
20447         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20448         [$(subdir) = elf && $(config-cflags-avx) = yes]
20449         (CFLAGS-tst-auditmod4a.c): Likewise.
20450         [$(subdir) = elf && $(config-cflags-avx) = yes]
20451         (CFLAGS-tst-auditmod4b.c): Likewise.
20452         [$(subdir) = elf && $(config-cflags-avx) = yes]
20453         (CFLAGS-tst-auditmod6b.c): Likewise.
20454         [$(subdir) = elf && $(config-cflags-avx) = yes]
20455         (CFLAGS-tst-auditmod6c.c): Likewise.
20456         [$(subdir) = elf && $(config-cflags-avx) = yes]
20457         (CFLAGS-tst-auditmod7b.c): Likewise.
20458         * elf/tst-audit3.c: Move to ...
20459         * sysdeps/x86_64/tst-audit3.c: ... here.
20460         * elf/tst-audit4.c: Move to ...
20461         * sysdeps/x86_64/tst-audit4.c: ... here.
20462         * elf/tst-audit5.c: Move to ...
20463         * sysdeps/x86_64/tst-audit5.c: ... here.
20464         * elf/tst-audit6.c: Move to ...
20465         * sysdeps/x86_64/tst-audit6.c: ... here.
20466         * elf/tst-audit7.c: Move to ...
20467         * sysdeps/x86_64/tst-audit7.c: ... here.
20468         * elf/tst-auditmod3a.c: Move to ...
20469         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20470         * elf/tst-auditmod3b.c: Move to ...
20471         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20472         * elf/tst-auditmod4a.c: Move to ...
20473         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20474         * elf/tst-auditmod4b.c: Move to ...
20475         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20476         * elf/tst-auditmod5a.c: Move to ...
20477         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20478         * elf/tst-auditmod5b.c: Move to ...
20479         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20480         * elf/tst-auditmod6a.c: Move to ...
20481         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20482         * elf/tst-auditmod6b.c: Move to ...
20483         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20484         * elf/tst-auditmod6c.c: Move to ...
20485         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20486         * elf/tst-auditmod7a.c: Move to ...
20487         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20488         * elf/tst-auditmod7b.c: Move to ...
20489         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20490
20491 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20492
20493         [BZ #15366]
20494         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20495         define unconditionally.
20496         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20497         define unconditionally.
20498         (INT8_C, INT16_C, etc.): Likewise.
20499
20500 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20501
20502         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20503         __ehdr_start with hidden visibility.
20504
20505         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20506
20507 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20508
20509         * math/libm-test.inc (cos_test): Use accurate hex constants.
20510         (sincost_test): Likewise.
20511
20512 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20513
20514         * math/libm-test.inc (catan_test): Add more tests.
20515         (catanh_test): Likewise.
20516
20517         * math/s_catanf.c (__catanf): Use suffixed floating-point
20518         constants.
20519         * math/s_catanhf.c (__catanhf): Likewise.
20520         * math/s_catanhl.c (__catanhl): Likewise.
20521         * math/s_catanl.c (__catanl): Likewise.
20522
20523         [BZ #15394]
20524         * math/s_catan.c (__catan): Calculate imaginary part of result
20525         with log1p not log unless computing log of number close to 0.
20526         * math/s_catanf.c (__catanf): Likewise.
20527         * math/s_catanl.c (__catanl): Likewise.
20528         * math/s_catanh.c (__catanh): Calculate real part of result with
20529         log1p not log unless computing log of number close to 0.
20530         * math/s_catanhf.c (__catanhf): Likewise.
20531         * math/s_catanhl.c (__catanhl): Likewise.
20532         * math/libm-test.inc (catan_test): Add more tests.
20533         (catanh_test): Likewise.
20534         * sysdeps/i386/fpu/libm-test-ulps: Update.
20535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20536
20537 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20538
20539         * benchtests/Makefile: Mention files in which fast and slow
20540         paths of math functions are implemented.
20541
20542 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20543
20544         * sysdeps/posix/timespec_get.c: New file.
20545
20546 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20547
20548         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20549         POWER.
20550         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20551         for POWER.
20552         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20553         powerpc/power5/fpu folders.
20554         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20555         * benchtests/Makefile: Add modf testcase.
20556         * benchtests/bench-modf.c: New file: Benchmark test for mo
20557
20558 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20559
20560         [BZ #14888]
20561         * time/Makefile (tests): Add tst-strptime-whitespace.
20562         * time/strptime_l.c (get_number): Use ISSPACE.
20563         (__strptime_internal): Likewise.
20564         * time/tst-strptime-whitespace.c: New test case.
20565
20566 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20567
20568         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20569         member.
20570         (_nss_files_init): Set it here.
20571
20572 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20573
20574         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20575         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20576         unsigned.
20577
20578 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20579
20580         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20581
20582 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20583
20584         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20585         size just once.
20586
20587 2013-04-21  David S. Miller  <davem@davemloft.net>
20588
20589         * po/ru.po: Update Russion translation from translation project.
20590
20591 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20592
20593         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20594         and setfsgid.
20595
20596 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20597
20598         * configure.in: Remove i386 configure warning. Remove i386 case.
20599         * configure: Regenerate.
20600         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20601         Add example to error message.
20602         * sysdeps/i386/configure: Regenerate.
20603
20604 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20605
20606         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20607         slowtan.
20608         * benchtests/cos-inputs: New file.
20609         * benchtests/slowcos-inputs: New file.
20610         * benchtests/slowcos.c: New file.
20611         * benchtests/slowtan-inputs: New file.
20612         * benchtests/slowtan.c: New file.
20613         * benchtests/tan-inputs: New file.
20614
20615 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20616
20617         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20618         considered kosher.
20619
20620 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20621
20622         * benchtests/Makefile: Include cppflags-iterator.mk to add
20623         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20624
20625         * Makefile.in (bench-clean): New target.
20626         * benchtests/Makefile (bench-clean): Likewise.
20627
20628 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20629
20630         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20631
20632 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20633
20634         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20635
20636 2013-04-15  Andreas Schwab  <schwab@suse.de>
20637
20638         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20639         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20640         * nscd/pwdcache.c (cache_addpw): Likewise.
20641         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20642         more than recsize.
20643
20644 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20645
20646         * benchtests/Makefile (bench): Write all output to
20647         bench-out.tmp together.
20648
20649 2013-04-15  Andreas Schwab  <schwab@suse.de>
20650
20651         * nscd/nscd.c (main): Don't fork again after closing files.
20652
20653 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20654
20655         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20656
20657         * benchtests/Rules (bench-deps): Collect dependencies into a
20658         single variable.  Add Makefile to dependencies.
20659         ($(objpfx)bench-%.c): Depend on bench-deps.
20660
20661 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20662             Xavier Roche  <roche+kml2@exalead.com>
20663
20664         [BZ #15361]
20665         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20666         just that it's a file descriptor.
20667         * manual/llio.texi (Synchronizing AIO Operations): Update description
20668         for EBADF error from aio_fsync.
20669
20670 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20671
20672         * Rules (bench): Move target definition...
20673         * benchtests/Makefile: ... here.
20674
20675 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20676
20677         * math/libm-test.inc (cos_test): Fix PI/2 test.
20678         (sincos_test): Likewise.
20679         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20680         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20681
20682 2013-04-11  Andreas Schwab  <schwab@suse.de>
20683
20684         [BZ #13988]
20685         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20686         accept exponent character only when digits were seen.
20687         * stdio-common/Makefile (tests): Add bug26.
20688         * stdio-common/bug26.c: New file.
20689
20690         [BZ #14293]
20691         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20692         non-freeable.
20693
20694 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20695
20696         * Makeconfig (rtld-prefix): Define built linker prefix.
20697         * Rules (run-bench): Use it.
20698         * math/Makefile (run-regen-ulps): Likewise.
20699
20700         * Rules (bench): Remove eval.
20701
20702 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20703             Roland McGrath  <roland@hack.frob.com>
20704             Ondrej Bilka  <neleai@seznam.cz>
20705
20706         [BZ #15346]
20707         * time/getdate.c: Include ctype.h and alloca.h.
20708         (__getdate_r): Trim leading and trailing spaces of input.
20709         * time/tst-getdate.c (tests): Add tests with leading and
20710         trailing spaces.
20711
20712 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20713
20714         [BZ #14280]
20715         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20716         when computing value.
20717
20718 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20719
20720         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20721         Use testrun.sh to run libm tests.
20722
20723         [BZ #15309]
20724         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20725
20726 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20727
20728         [BZ #15264]
20729         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20730
20731 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20732
20733         * Makefile.in (regen-ulps): New target.
20734         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20735         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20736         [ifneq (no,$(PERL)] (regen-ulps): New target.
20737         [ifeq (no,$(PERL)] (regen-ulps): New target.
20738         * math/libm-test.inc (ulps_file_name): Define.
20739         (output_dir): New variable.
20740         (options): Add "output-dir" option.
20741         (parse_opt): Handle 'o' case.
20742         (main): If output_dir is non-NULL use it as a prefix
20743         otherwise use "".
20744         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20745
20746 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20747
20748         [BZ #10060, #10062]
20749         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20750         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20751         fail configure if __sync_val_compare_and_swap is not inlined.
20752         * sysdeps/i386/configure: Regenerate.
20753         * configure.in: Build for i686 when configured for i386.
20754         * configure: Regenerate.
20755         * README: Remove i386 reference.
20756
20757 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20758
20759         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20760         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20761
20762 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20763
20764         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20765         (lmsnanval): New variables.
20766         (F): Add conversion tests.
20767         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20768         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20769
20770         * stdio-common/tstdiomisc.c (F): Properly collect individual
20771         tests' results.
20772
20773         [BZ #14686, #15336]
20774         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20775         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20776         Instead, use input NaN values or generate a qNaN by arithmetic
20777         operation.  Also fix bugs to comply with the standard.
20778         * math/libm-test.inc (remainder_test): Add more tests.
20779
20780         [BZ #15335, #15342]
20781         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20782         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20783         input NaN values or generate a qNaN by arithmetic operation.
20784
20785         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20786         unreachable code.
20787
20788         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20789         definitions.
20790
20791 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20792
20793         [BZ #14478]
20794         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20795         underflowed result.
20796         * math/s_cexpf.c (__cexpf): Likewise.
20797         * math/s_cexpl.c (__cexpl): Likewise.
20798         * math/libm-test.inc (cexp_test): Add more tests.
20799
20800 2013-04-03  Andreas Schwab  <schwab@suse.de>
20801
20802         [BZ #15330]
20803         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20804         order arrays from heap if bigger than alloca cutoff.
20805
20806 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20807
20808         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20809         (SNAN_TESTS_double): Refer to GCC PR56831.
20810         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20811         GCC PR56828.
20812
20813 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20814
20815         * Rules (bench): Move bench.out after the run is complete.
20816
20817         * Rules (bench): Echo currently running benchmark.
20818
20819         * benchtests/Makefile (bench): Add atan and slowatan.
20820         * benchtests/atan-inputs: New file.
20821         * benchtests/slowatan-inputs: New file.
20822         * benchtests/slowatan.c: New file.
20823
20824         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20825         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20826         its value.
20827
20828         [BZ #15305]
20829         * sysdeps/unix/sysv/linux/kernel-features.h
20830         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20831         __ASSUME_XFS_RESTRICTED_CHOWN.
20832         * sysdeps/unix/sysv/linux/pathconf.c
20833         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20834         Save and restore errno.
20835
20836 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20837
20838         [BZ #15327]
20839         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20840         arguments using __kernel_casinh.
20841         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20842         arguments using __kernel_casinhf.
20843         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20844         arguments using __kernel_casinhl.
20845         * math/libm-test.inc (cacosh_test): Add more tests.
20846         * sysdeps/i386/fpu/libm-test-ulps: Update.
20847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20848
20849 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20850
20851         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20852         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20853
20854         * bench/Makefile (bench): Add sin and slowsin.
20855         * benchtests/sin-inputs: New file.
20856         * benchtests/slowsin-inputs: New file.
20857         * benchtests/slowsin.c: New file.
20858
20859         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20860         (bench): Add slowexp and slowpow.
20861         (exp-ITER): Increase iterations.
20862         (pow-ITER): Likewise.
20863         * benchtests/exp-inputs: Change input.
20864         * benchtests/pow-inputs: Likewise.
20865         * benchtests/slowexp-inputs: New file.
20866         * benchtests/slowexp.c: New file.
20867         * benchtests/slowpow-inputs: New file.
20868         * benchtests/slowpow.c: New file.
20869
20870 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20871
20872         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20873         instructions.
20874         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20875         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20876         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20877         * benchtests/Makefile: Add rint benchtest.
20878         * benchtests/rint-inputs: Input for rint benchtest.
20879
20880 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20881
20882         * Versions.def (libm): Add GLIBC_2.18.
20883         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20884         hidden libm prototypes.
20885         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20886         * math/Makefile (libm-calls): Add s_issignaling.
20887         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20888         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20889         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20890         declaration.
20891         * math/math.h [__USE_GNU] (issignaling): New macro.
20892         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20893         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20894         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20895         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20896         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20897         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20898         * manual/arith.texi (issignaling): New section.
20899         * manual/libm-err-tab.pl (@all_functions): Update comment.
20900         * math/gen-libm-test.pl (parse_args): Apply special handling for
20901         issignaling.
20902         * math/libm-test.inc (print_float, issignaling_test): New
20903         functions.
20904         (check_float_internal): Add issignaling checks.
20905         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20906         default definition.
20907         * sysdeps/powerpc/math-tests.h: New file.
20908         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20909         tests.
20910         * math/test-snan.c (TEST_FUNC): Likewise.
20911
20912 2013-03-30  David S. Miller  <davem@davemloft.net>
20913
20914         * po/de.po: Update from translation team.
20915
20916 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20917
20918         [BZ #10357]
20919         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20920         imaginary part less than 1.0 and real part less than 0.5
20921         specially.
20922         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20923         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20924         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20925         (cacos_test): Add more tests.
20926         (casin_test): Likewise.
20927         (casinh_test): Likewise.
20928         * sysdeps/i386/fpu/libm-test-ulps: Update.
20929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20930
20931 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20932
20933         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20934         ONE with its value.
20935
20936         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20937         (__pow_mp): Replace ONE and MONE with their values.
20938         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20939         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20940         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20941         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20942         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20943         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20944
20945         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20946
20947         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20948         (__pow_mp): Replace ZERO and MZERO with their values.
20949         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20950         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20951         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20952         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20953         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20954         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20955         (__sqr): Likewise.
20956
20957         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20958
20959         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20960
20961 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20962
20963         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20964         Declare with __attribute__ ((weak)).
20965         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20966         Call __call_tls_dtors only if it's not NULL.
20967
20968 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20969
20970         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20971         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20972         magic __ehdr_start linker symbol if it's defined.
20973         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20974         them up here if it was already done.
20975
20976         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20977         (_dl_aux_init): Use const in cast when setting it.
20978         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20979         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20980         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20981
20982         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20983         Declare them here.
20984         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20985         * csu/libc-tls.c: Nor here.
20986         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20987
20988         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20989         (__libc_message): Never call vsyslog.
20990
20991 2013-03-28  Alan Modra  <amodra@gmail.com>
20992
20993         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20994         Define as empty.
20995         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20996         Likewise.
20997
20998 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20999
21000         [BZ #15214]
21001         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21002         underflow.
21003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21004
21005 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21006
21007         [BZ #15304]
21008         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21009         Don't add gid passed as argument.
21010
21011         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21012
21013 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21014
21015         [BZ #15307]
21016         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21017         imaginary part between 1.0 and 1.5 and real part less than 0.5
21018         specially.
21019         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21020         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21021         * math/libm-test.inc (cacos_test): Add more tests.
21022         (casin_test): Likewise.
21023         (casinh_test): Likewise.
21024         * sysdeps/i386/fpu/libm-test-ulps: Update.
21025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21026
21027 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21028
21029         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21030         constants.
21031         (norm): Likewise.
21032         (denorm): Likewise.
21033         (__dbl_mp): Likewise.
21034         (add_magnitudes): Likewise.
21035         (sub_magnitudes): Likewise.
21036         (__add): Likewise.
21037         (__sub): Likewise.
21038         (__mul): Likewise.
21039         (__sqr): Likewise.
21040         (__inv): Likewise.
21041         (__dvd): Likewise.
21042
21043         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21044         commented code.
21045         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21046         (__dubcos): Likewise.
21047         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21048         (__ieee754_acos): Likewise.
21049         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21050         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21051         (__exp1): Likewise.
21052         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21053         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21054         (log1): Likewise.
21055         (my_log2): Likewise.
21056         (checkint): Likewise.
21057         * sysdeps/ieee754/dbl-64/e_remainder.c
21058         (__ieee754_remainder): Likewise.
21059         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21060         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21061         (bsloww): Likewise.
21062         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21063
21064         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21065         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21066         MANTISSA_STORE_T to store computations on mantissa.  Use
21067         macros for rounding and division.
21068         (denorm): Likewise.
21069         (__dbl_mp): Likewise.
21070         (add_magnitudes): Likewise.
21071         (sub_magnitudes): Likewise.
21072         (__mul): Likewise.
21073         (__sqr): Likewise.
21074         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21075         powers of two in terms of TWOPOW macro.
21076         (mp_no): Make type of mantissa as MANTISSA_T.
21077         [!RADIXI]: Define RADIXI.
21078         [!TWO52]: Define TWO52.
21079         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21080
21081 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21082
21083         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21084         llroundl symbol when building for PPC32.
21085
21086 2013-03-24  Mark H Weaver  <mhw@netris.org>
21087
21088         * manual/arith.texi (Normalization Functions): Fix prototypes for
21089         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21090
21091 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21092
21093         [BZ #13889]
21094         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21095         high value to check if expl overflow.
21096         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21097         to check for underflow and overflow.
21098         * math/libm-test.inc: Add exp test.
21099
21100 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21101
21102         [BZ #11120]
21103         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21104         with NOT_IN_libc.
21105
21106 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21107
21108         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21109         symbol.
21110
21111 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21112
21113         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21114         wrap blocks consisting of several statements.
21115
21116         * sysdeps/generic/math-tests.h: New file.
21117         * sysdeps/i386/fpu/math-tests.h: Likewise.
21118         * math/test-snan.c: Include it.
21119         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21120
21121 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21122
21123         [BZ #15285]
21124         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21125         (__ieee754_j0l): Do not improve calculations using cos of twice
21126         input for inputs above LDBL_MAX / 2.0L.
21127         (__ieee754_y0l): Likewise.
21128         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21129         (__ieee754_j1l): Do not improve calculations using cos of twice
21130         input for inputs above LDBL_MAX / 2.0L.
21131         (__ieee754_y1l): Likewise.
21132         * math/libm-test.inc (j0_test): Add another test.
21133         (j1_test): Likewise.
21134         (y0_test): Likewise.
21135         (y1_test): Likewise.
21136         * sysdeps/i386/fpu/libm-test-ulps: Update.
21137
21138 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21139
21140         * Rules ($(objpfx)bench-%.c): Include code from a C source
21141         file.
21142
21143 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21144
21145         [BZ #15287]
21146         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21147         imaginary part 1.0 and real part less than 0.5 specially.
21148         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21149         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21150         * math/libm-test.inc (cacos_test): Add more tests.
21151         (casin_test): Likewise.
21152         (casinh_test): Likewise.
21153         * sysdeps/i386/fpu/libm-test-ulps: Update.
21154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21155
21156 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21157
21158         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21159         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21160
21161 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21162
21163         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21164         * config.make.in (config-cflags-sse4): Remove variable.
21165         (config-cflags-avx): Likewise.
21166         (config-cflags-sse2avx): Likewise.
21167         (config-cflags-novzeroupper): Likewise.
21168         (config-asflags-i686): Likewise.
21169         (have-mfma4): Likewise.
21170         (have-as-vis3): Likewise.
21171         (MIG): Likewise.
21172         * configure.in (MIG): Do not AC_SUBST.
21173         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21174         (libc_cv_cc_sse4): Do not AC_SUBST.
21175         (libc_cv_cc_avx): Likewise.
21176         (libc_cv_cc_sse2avx): Likewise.
21177         (libc_cv_cc_novzeroupper): Likewise.
21178         (libc_cv_cc_fma4): Likewise.
21179         (libc_cv_as_i686): Likewise.
21180         (libc_cv_sparc_as_vis3): Likewise.
21181         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21182         LIBC_CONFIG_VAR.
21183         (config-asflags-i686): Likewise.
21184         (config-cflags-avx): Likewise.
21185         (config-cflags-sse2avx): Likewise.
21186         (have-mfma4): Likewise.
21187         (config-cflags-novzeroupper): Likewise.
21188         * sysdeps/mach/configure.in (MIG): Likewise.
21189         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21190         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21191         LIBC_CONFIG_VAR.
21192         (config-cflags-avx): Likewise.
21193         (config-cflags-sse2avx): Likewise.
21194         (have-mfma4): Likewise.
21195         (config-cflags-novzeroupper): Likewise.
21196         * configure: Regenerated.
21197         * sysdeps/i386/configure: Likewise.
21198         * sysdeps/mach/configure: Likewise.
21199         * sysdeps/sparc/configure: Likewise.
21200         * sysdeps/x86_64/configure: Likewise.
21201
21202 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21203
21204         [BZ #14812]
21205         * locale/programs/localedef.c (options): Put N_ translation marker
21206         on argument names, not just descriptions.
21207
21208 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21209
21210         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21211
21212 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21213
21214         [BZ #14176]
21215         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21216
21217 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21218
21219         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21220         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21221         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21222         [!BEFORE_ABORT] (before_abort): New function.
21223         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21224         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21225         (writev_for_fatal): New function.
21226         (WRITEV_FOR_FATAL): New macro; call that.
21227         (backtrace_and_maps): New function.
21228         (BEFORE_ABORT): New macro; call that.
21229         (struct str_list): Type removed.
21230         (__libc_message, __libc_fatal): Functions removed.
21231         Include <sysdeps/posix/libc_fatal.c> instead.
21232
21233 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21234
21235         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21236         constants.
21237         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21238         double constants.
21239
21240 2013-03-19  Andreas Schwab  <schwab@suse.de>
21241
21242         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21243         * sysdeps/gnu/configure: Regenerate.
21244
21245         * configure.in: Substitute libc_cv_rtlddir.
21246         * configure: Regenerate.
21247         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21248         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21249         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21250         * elf/Makefile (install-others, CFLAGS-interp.c)
21251         (ldso_install, common-ldd-rewrite): Likewise.
21252         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21253         $(inst_slibdir)/$(rtld-installed-name).
21254         * scripts/rellns-sh: Add -p option.
21255         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21256         for source.
21257
21258 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21259
21260         * manual/nptl.texi: Renamed to ...
21261         * manual/threads.texi: ... this.
21262         * manual/Makefile (chapters): Update.
21263
21264 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21265
21266         [BZ #14812]
21267         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21268         on argument names, not just descriptions.
21269         * malloc/memusagestat.c (options): Likewise.
21270         * nss/getent.c (options): Likewise.
21271
21272 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21273
21274         [BZ #14812]
21275         * iconv/iconv_prog.c (options): Put N_ translation marker
21276         on argument names, not just descriptions.
21277         * iconv/iconvconfig.c (options): Likewise.
21278
21279 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21280
21281         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21282         implementation which is faster on all x86_64 architectures.
21283         Tested on AMD, Intel Nehalem, SNB, IVB.
21284         * sysdeps/x86_64/strnlen.S: Likewise.
21285
21286         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21287         Remove all multiarch strlen and strnlen versions.
21288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21289         Remove strlen and strnlen related parts.
21290
21291         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21292         Inline strlen part.
21293         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21294
21295         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21296         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21297         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21298         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21299         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21300         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21301
21302 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21303
21304         * manual/memory.texi (Malloc Tunable Parameters):
21305         Sort parameters alphabetically. Add comments for missing entries.
21306
21307 2013-03-17  David S. Miller  <davem@davemloft.net>
21308
21309         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21310
21311 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21312
21313         [BZ #15283]
21314         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21315         for arguments at most half maximum finite value.
21316         * math/libm-test.inc (j0_test): Add more tests.
21317         (j1_test): Likewise.
21318         (y0_test): Likewise.
21319         (y1_test): Likewise.
21320         * sysdeps/i386/fpu/libm-test-ulps: Update.
21321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21322
21323         [BZ #14155]
21324         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21325         1 / x and functions P and Q for arguments above 0x1p256L.
21326         (__ieee754_y0l): Likewise.
21327         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21328         (__ieee754_y1l): Likewise.
21329         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21330         (j1_test): Likewise.
21331         (y0_test): Likewise.
21332         (y1_test): Likewise.
21333
21334 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21335
21336         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21337         variable.
21338
21339 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21340
21341         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21342         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21343         zero since it's initialized to EXEC_PAGESIZE.
21344
21345         * sysdeps/unix/sysv/linux/ldsodefs.h
21346         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21347         * sysdeps/generic/ldsodefs.h: ... here.
21348
21349 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21350
21351         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21352
21353         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21354         math/test-snan.c.
21355         * math/test-snan.c: Renamed from
21356         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21357         * math/Makefile (tests): Add test-snan.
21358         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21359         test-powerpc-snan.
21360
21361         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21362         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21363         functions.
21364         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21365         __builtin_nan family of functions.
21366         * math/libm-test.inc (initialize): Initialize qnan_value with
21367         __builtin_nan family of functions.
21368         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21369         Remove variables.
21370         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21371         Remove functions.
21372         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21373         storage class.  Initialize qNaN_var and sNaN_var with
21374         __builtin_nan and __builtin_nans families of functions,
21375         respectively.
21376
21377         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21378         (sqrt_test): Remove duplicate test with qNaN input.
21379         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21380         (round_test, signbit_test, significand_test): Note missing +/-Inf
21381         as well as qNaN tests.
21382
21383         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21384         qNaN_var.  Fix a few strings, too.
21385         * math/libm-test.inc (nan_value): Rename to qnan_value.
21386         * math/gen-libm-test.pl (%beautify): Adjust to that.
21387         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21388         * math/test-misc.c (main): Likewise.
21389         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21390         to __qnan_bytes, and __qnan_union, respectively.
21391         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21392         Likewise.
21393         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21394         and lqnanval, respectively.
21395         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21396         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21397         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21398         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21399
21400         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21401         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21402         doubles.
21403
21404         * math/test-misc.c (main): Fix copy'n'pastos.
21405         * misc/tst-efgcvt.c (special): Likewise.
21406
21407         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21408         Remove declarations.
21409
21410 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21411
21412         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21413         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21414         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21415         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21416
21417 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21418
21419         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21420         macro to return vdso values correctly in IFUNC implementations.
21421         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21422         Optimization by using IFUNC.
21423
21424 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21425             Richard Henderson  <rth@redhat.com>
21426             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21427
21428         * Makefile.in (bench): New target.
21429         * NEWS: Mention the benchmark framework.
21430         * Rules (bench): Likewise.
21431         (binaries-bench): Generate binaries for functions to
21432         benchmark.
21433         * benchtests/Makefile: New makefile for benchmark tests.
21434         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21435         programs.
21436         * benchtests/exp-inputs: New input file for EXP function.
21437         * benchtests/pow-inputs: New input file for POW function.
21438         * scripts/bench.pl: New script to generate source files for
21439         benchmark programs.
21440
21441 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21442
21443         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21444         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21445         computations on mantissa.  Use macros for rounding and
21446         division.
21447         (denorm): Likewise.
21448         (__dbl_mp): Likewise.
21449         (add_magnitudes): Likewise.
21450         (sub_magnitudes): Likewise.
21451         (__mul): Likewise.
21452         (__sqr): Likewise.
21453         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21454         powers of two in terms of TWOPOW macro.
21455         (mp_no): Make type of mantissa as MANTISSA_T.
21456         [!RADIXI]: Define RADIXI.
21457         [!TWO52]: Define TWO52.
21458         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21459
21460         * manual/nptl.texi (cindex): Modify threads to pthreads.
21461
21462 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21463
21464         * sysdeps/x86_64/preconfigure: Regenerated.
21465
21466 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21467
21468         [BZ #14155]
21469         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21470         0x1p28 and above.
21471         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21472         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21473         0x1p28 and above.
21474         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21475         * math/libm-test.inc (j0_test): Do not allow one spurious
21476         underflow exception.
21477         (y1_test): Likewise.
21478
21479 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21480
21481         * manual/Makefile (chapters): Add nptl.
21482         * manual/debug.texi (Debugging Support): Add link to Threads
21483         chapter.
21484         * manual/nptl.texi: New file.
21485
21486         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21487
21488 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21489
21490         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21491         for non-NULL pointer before the memory validity test. Pointed
21492         out by Holger Brunck <holger.brunck@keymile.com>.
21493
21494 2013-03-13  Andreas Schwab  <schwab@suse.de>
21495
21496         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21497         instead of .os.
21498
21499 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21500
21501         * timezone/zic.c: Update from tzcode 2013b.
21502
21503 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21504
21505         * manual/install.texi (Configuring and compiling):
21506         Mention i686 and i586.
21507         * INSTALL: Regenerate.
21508
21509 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21510
21511         * sysdeps/init_array/elf-init.c: New file.
21512         * csu/elf-init.c
21513         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21514         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21515
21516         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21517         __gmon_start__ as global, but as static with a .preinit_array pointer.
21518         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21519         * sysdeps/init_array/crti.S: New file, empty except for comments.
21520         * sysdeps/init_array/crtn.S: Likewise.
21521
21522 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21523
21524         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21525         definining bcopy.
21526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21527         Remove Prefer_SSE_for_memop.
21528         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21529         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21530         HAS_PREFER_SSE_FOR_MEMOP.
21531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21532         memset-x86-64.
21533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21534         Remove bzero, memset ifunc support.
21535         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21536         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21537         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21538         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21539
21540 2013-03-11  Andreas Schwab  <schwab@suse.de>
21541
21542         [BZ #15234]
21543         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21544         by SHLIB_COMPAT.
21545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21546         (GLIBC_2.16): Remove pthread_atfork.
21547
21548 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21549
21550         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21551         (ptestcases.h): Likewise.
21552
21553 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21554
21555         * Makeconfig ($(common-objpfx)config.status): Depend on
21556         sysdeps/*/preconfigure{,.in} too.
21557
21558 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21559
21560         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21561         (__free_hook): Use void * instead of __malloc_ptr_t.
21562         (__malloc_hook): Likewise.
21563         (__realloc_hook): Likewise.
21564         (__memalign_hook): Likewise.
21565         (__after_morecore_hook): Likewise.
21566         * malloc/arena.c (save_malloc_hook): Likewise.
21567         (save_free_hook): Likewise.
21568         * malloc/hooks.c (malloc_hook_ini): Likewise.
21569         (realloc_hook_ini): Likewise.
21570         (memalign_hook_ini): Likewise.
21571         * malloc/malloc.c (malloc_hook_ini): Likewise.
21572         (realloc_hook_ini): Likewise.
21573         (memalign_hook_ini): Likewise.
21574         (__free_hook): Likewise.
21575         (__malloc_hook): Likewise.
21576         (__realloc_hook): Likewise.
21577         (__memalign_hook): Likewise.
21578         (__libc_malloc): Likewise.
21579         (__libc_free): Likewise.
21580         (__libc_realloc): Likewise.
21581         (__libc_memalign): Likewise.
21582         (__libc_valloc): Likewise.
21583         (__libc_pvalloc): Likewise.
21584         (__libc_calloc): Likewise.
21585         (__posix_memalign): Likewise.
21586         * malloc/morecore.c (__sbrk): Likewise.
21587         (__default_morecore): Likewise.
21588
21589         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21590
21591         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21592         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21593         __malloc_ptrdiff_t.
21594
21595         * malloc/malloc.h (__malloc_size_t): Remove macro.
21596         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21597         __malloc_size_t.
21598         (old_memalign_hook): Likewise.
21599         (old_realloc_hook): Likewise.
21600         (struct hdr): Likewise.
21601         (flood): Likewise.
21602         (mallochook): Likewise.
21603         (memalignhook): Likewise.
21604         (reallochook): Likewise.
21605         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21606         (tr_old_realloc_hook): Likewise.
21607         (tr_old_memalign_hook): Likewise.
21608         (tr_mallochook): Likewise.
21609         (tr_reallochook): Likewise.
21610         (tr_memalignhook): Likewise.
21611
21612 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21613
21614         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21615         default_ldbl_pack and using as default implementation.
21616         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21617         implementation.
21618         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21619         redundant definition.
21620         (ldbl_insert_mantissa): Likewise.
21621         (ldbl_canonicalize): Likewise.
21622         (ldbl_nearbyint): Likewise.
21623         (ldbl_pack): Rename to ldbl_pack_ppc.
21624         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21625         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21626         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21627
21628 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21629
21630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21631         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21632         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21633         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21635         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21636         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21637         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21638
21639 2013-03-07  Andreas Jaeger  <aj@suse.de>
21640
21641         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21642         bits/mman-linux.h.
21643
21644 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21645
21646         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21647         Include mpa.h and declare __MPEXP.
21648         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21649         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21650         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21651         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21652         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21653         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21654         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21655
21656         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21657         (__slowpow): Use long double EXPL and LOGL functions to
21658         compute POW.
21659         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21660         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21661         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21662         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21663         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21664         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21665
21666         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21667         intermediate variable to calculate exponent.
21668         (__sqr): Likewise.
21669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21670         Likewise.
21671         (__sqr): Likewise.
21672
21673         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21674         [!NO__SQR]: Define __sqr.
21675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21676         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21677         sysdeps/ieee754/dbl-64/mpa.c.
21678         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21679
21680         [BZ #12723]
21681         * posix/Makefile (tests): Add tst-pathconf.
21682         * posix/tst-pathconf.c: New test case.
21683         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21684         _PC_PIPE_BUF.
21685         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21686
21687 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21688
21689         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21690
21691 2013-03-06  Andreas Jaeger  <aj@suse.de>
21692
21693         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21694         definition via __MAP_ANONYMOUS.
21695
21696         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21697         it's not part of Linux headers.
21698
21699         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21700         (MAP_HUGE_MASK): Define.
21701
21702         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21703         Define.
21704         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21705         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21706         Define.
21707         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21708         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21709         Define.
21710         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21711         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21712         Define.
21713         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21714
21715         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21716         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21717         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21718         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21719         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21720         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21721
21722         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21723         Handle f2fs.
21724
21725         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21726         Handle f2fs and efivarfs.
21727
21728         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21729         f2fs.
21730
21731         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21732         (EFIVARFS_MAGIC): Add.
21733         (F2FS_LINK_MAX): Add.
21734
21735 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21736
21737         * stdio-common/vfprintf.c: Replace __builtin_expect with
21738         __glibc_unlikely.
21739
21740 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21741
21742         [BZ #13550]
21743         * sysdeps/generic/bp-sym.h: Remove file.
21744         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21745         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21746         <bp-sym.h> and <bp-asm.h>.
21747         (__longjmp): Don't use BP_SYM.
21748         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21749         and <bp-asm.h>.
21750         (memcpy): Don't use BP_SYM.
21751         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21752         <bp-sym.h> and <bp-asm.h>.
21753         (memcpy): Don't use BP_SYM.
21754         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21755         <bp-asm.h>.
21756         (memcpy): Don't use BP_SYM.
21757         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21758         <bp-asm.h>.
21759         (memset): Don't use BP_SYM.
21760         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21761         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21762         (__bzero): Don't use BP_SYM.
21763         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21764         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21765         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21766         <bp-sym.h> and <bp-asm.h>.
21767         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21768         pointers.
21769         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21770         <bp-sym.h> and <bp-asm.h>.
21771         (memcpy): Don't use BP_SYM.
21772         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21773         <bp-sym.h> and <bp-asm.h>.
21774         (memset): Don't use BP_SYM.
21775         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21776         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21777         (__bzero): Don't use BP_SYM.
21778         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21779         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21780         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21781         <bp-sym.h> and <bp-asm.h>.
21782         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21783         pointers.
21784         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21785         <bp-sym.h> and <bp-asm.h>.
21786         (memcpy): Don't use BP_SYM.
21787         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21788         <bp-sym.h> and <bp-asm.h>.
21789         (memset): Don't use BP_SYM.
21790         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21791         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21792         (__bzero): Don't use BP_SYM.
21793         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21794         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21795         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21796         <bp-sym.h> and <bp-asm.h>.
21797         (__memchr): Don't use BP_SYM.
21798         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21799         <bp-sym.h> and <bp-asm.h>.
21800         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21801         pointers.
21802         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21803         <bp-sym.h> and <bp-asm.h>.
21804         (memcpy): Don't use BP_SYM.
21805         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21806         <bp-sym.h> and <bp-asm.h>.
21807         (__mempcpy): Don't use BP_SYM.
21808         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21809         <bp-sym.h> and <bp-asm.h>.
21810         (__memrchr): Don't use BP_SYM.
21811         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21812         <bp-sym.h> and <bp-asm.h>.
21813         (memset): Don't use BP_SYM.
21814         (__bzero): Likewise.
21815         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21816         <bp-sym.h> and <bp-asm.h>.
21817         (__rawmemchr): Don't use BP_SYM.
21818         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21819         <bp-sym.h> and <bp-asm.h>.
21820         (__STRCMP): Don't use BP_SYM.
21821         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21822         <bp-sym.h> and <bp-asm.h>.
21823         (strchr): Don't use BP_SYM.
21824         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21825         <bp-sym.h> and <bp-asm.h>.
21826         (__strchrnul): Don't use BP_SYM.
21827         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21828         <bp-sym.h> and <bp-asm.h>.
21829         (strlen): Don't use BP_SYM.
21830         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21831         <bp-sym.h> and <bp-asm.h>.
21832         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21833         pointers.
21834         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21835         <bp-sym.h> and <bp-asm.h>.
21836         (__strnlen): Don't use BP_SYM.
21837         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21838         <bp-sym.h> and <bp-asm.h>.
21839         (__GI__setjmp): Don't use BP_SYM.
21840         (_setjmp): Likewise.
21841         (__sigsetjmp): Likewise.
21842         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21843         (L(start_addresses)): Don't use BP_SYM.
21844         (_start): Likewise.
21845         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21846         <bp-asm.h>.
21847         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21848         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21849         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21850         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21851         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21852         <bp-asm.h>.
21853         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21854         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21855         about bounded pointers.
21856         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21857         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21858         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21859         <bp-asm.h>.
21860         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21861         about bounded pointers.  Remove GKM FIXME comments.
21862         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21863         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21864         <bp-asm.h>.
21865         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21866         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21867         Remove GKM FIXME comments.
21868         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21869         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21870         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21871         <bp-asm.h>.
21872         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21873         about bounded pointers.  Remove GKM FIXME comment.
21874         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21875         and <bp-asm.h>.
21876         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21877         pointers.
21878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21879         <bp-sym.h> and <bp-asm.h>.
21880         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21882         <bp-sym.h> and <bp-asm.h>.
21883         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21884         comment.
21885
21886 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21887
21888         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21889         call free(NULL).
21890
21891 2013-03-05  David S. Miller  <davem@davemloft.net>
21892
21893         * po/es.po: Update from translation team.
21894
21895 2013-03-05  Andreas Jaeger  <aj@suse.de>
21896
21897         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21898         <bits/mman-linux.h>.
21899         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21900         is fine.
21901         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21902         <bits/mman-linux.h> to end of file.
21903         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21904         is fine.
21905         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21906         <bits/mman-linux.h> to end of file.
21907         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21908         is fine.
21909         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21910         <bits/mman-linux.h> to end of file.
21911
21912         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21913         (MCL_CURRENT, MCL_FUTURE): Define here.
21914
21915 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21916
21917         [BZ #15232]
21918         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21919         attribute_hidden.
21920         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21921
21922 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21923
21924         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21925         fourth parameter needed for rt_sigprocmask syscall.
21926         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21927         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21928         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21929         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21930         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21931         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21932
21933 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21934
21935         [BZ #13550]
21936         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21937         comment about bounded pointers.
21938         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21939         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21940
21941 2013-03-04  Andreas Jaeger  <aj@suse.de>
21942
21943         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21944         common definitions.
21945
21946         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21947         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21948         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21949         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21950         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21951         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21952
21953 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21954
21955         [BZ #15055]
21956         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21957         __ieee754_sqrl instead of __sqrl.
21958
21959 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21960
21961         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21962         * sysdeps/powerpc/fpu_control.h: ... here.
21963         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21964         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21965         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21966         * sysdeps/powerpc/bits/mathinline.h: ... here.
21967
21968 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21969
21970         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21971         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21972         to just [NEED_DL_SYSINFO_DSO].
21973         * elf/dl-support.c: Likewise.
21974         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21975         * elf/rtld.c (dl_main): Likewise.
21976         * elf/setup-vdso.h (setup_vdso): Likewise.
21977         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21978         * sysdeps/unix/sysv/linux/dl-sysdep.c
21979         (_dl_discover_osversion): Likewise.
21980
21981 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21982
21983         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21984         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21985
21986 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21987
21988         * NEWS: Mention libm performance improvements and non-x86 PI
21989         futex support.
21990
21991         * csu/libc-start.c (__pthread_initialize_minimal): Change
21992         function arguments.
21993         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21994
21995 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21996
21997         [BZ #13550]
21998         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21999         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22000         <bp-sym.h> and <bp-asm.h>.
22001         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22002         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22003         and <bp-asm.h>.
22004         (memcpy): Don't use BP_SYM.
22005         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22006         <bp-asm.h>.
22007         (__mpn_add_n): Don't use BP_SYM.
22008         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22009         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22010         and <bp-asm.h>.
22011         (__mpn_addmul_1): Don't use BP_SYM.
22012         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22013         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22014         <bp-sym.h>.
22015         (_setjmp): Don't use BP_SYM.
22016         (__novmx_setjmp): Likewise.
22017         (__GI__setjmp): Likewise.
22018         (__vmx_setjmp): Likewise.
22019         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22020         <bp-sym.h>.
22021         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22022         (__bzero): Don't use BP_SYM.
22023         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22024         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22025         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22026         <bp-sym.h> and <bp-asm.h>.
22027         (memcpy): Don't use BP_SYM.
22028         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22029         <bp-sym.h> and <bp-asm.h>.
22030         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22031         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22032         <bp-sym.h> and <bp-asm.h>.
22033         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22034         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22035         <bp-asm.h>.
22036         (__mpn_lshift): Don't use BP_SYM.
22037         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22038         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22039         <bp-asm.h>.
22040         (memset): Don't use BP_SYM.
22041         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22042         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22043         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22044         <bp-asm.h>.
22045         (__mpn_mul_1): Don't use BP_SYM.
22046         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22047         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22048         <bp-sym.h> and <bp-asm.h>.
22049         (memcmp): Don't use BP_SYM.
22050         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22051         <bp-sym.h> and <bp-asm.h>.
22052         (memcpy): Don't use BP_SYM.
22053         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22054         <bp-sym.h> and <bp-asm.h>.
22055         (memset): Don't use BP_SYM.
22056         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22057         <bp-sym.h> and <bp-asm.h>.
22058         (strncmp): Don't use BP_SYM.
22059         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22060         <bp-sym.h> and <bp-asm.h>.
22061         (memcpy): Don't use BP_SYM.
22062         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22063         <bp-sym.h> and <bp-asm.h>.
22064         (memset): Don't use BP_SYM.
22065         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22066         <bp-sym.h> and <bp-asm.h>.
22067         (__memchr): Don't use BP_SYM.
22068         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22069         <bp-sym.h> and <bp-asm.h>.
22070         (memcmp): Don't use BP_SYM.
22071         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22072         <bp-sym.h> and <bp-asm.h>.
22073         (memcpy): Don't use BP_SYM.
22074         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22075         <bp-sym.h> and <bp-asm.h>.
22076         (__mempcpy): Don't use BP_SYM.
22077         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22078         <bp-sym.h> and <bp-asm.h>.
22079         (__memrchr): Don't use BP_SYM.
22080         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22081         <bp-sym.h> and <bp-asm.h>.
22082         (memset): Don't use BP_SYM.
22083         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22084         <bp-sym.h> and <bp-asm.h>.
22085         (__rawmemchr): Don't use BP_SYM.
22086         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22087         <bp-sym.h> and <bp-asm.h>.
22088         (__STRCMP): Don't use BP_SYM.
22089         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22090         <bp-sym.h> and <bp-asm.h>.
22091         (strchr): Don't use BP_SYM.
22092         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22093         <bp-sym.h> and <bp-asm.h>.
22094         (__strchrnul): Don't use BP_SYM.
22095         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22096         <bp-sym.h> and <bp-asm.h>.
22097         (strlen): Don't use BP_SYM.
22098         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22099         <bp-sym.h> and <bp-asm.h>.
22100         (strncmp): Don't use BP_SYM.
22101         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22102         <bp-sym.h> and <bp-asm.h>.
22103         (__strnlen): Don't use BP_SYM.
22104         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22105         <bp-asm.h>.
22106         (__mpn_rshift): Don't use BP_SYM.
22107         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22108         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22109         <bp-sym.h> and <bp-asm.h>.
22110         (__sigsetjmp): Don't use BP_SYM.
22111         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22112         (L(start_addresses)): Don't use BP_SYM.
22113         (_start): Likewise.
22114         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22115         <bp-asm.h>.
22116         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22117         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22118         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22119         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22120         <bp-asm.h>.
22121         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22122         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22123         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22124         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22125         <bp-asm.h>.
22126         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22127         comments.
22128         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22129         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22130         <bp-asm.h>.
22131         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22132         FIXME comments.
22133         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22134         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22135         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22136         <bp-asm.h>.
22137         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22138         comment.
22139         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22140         and <bp-asm.h>.
22141         (strncmp): Don't use BP_SYM,
22142         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22143         <bp-asm.h>.
22144         (__mpn_sub_n): Don't use BP_SYM.
22145         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22146         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22147         and <bp-asm.h>.
22148         (__mpn_submul_1): Don't use BP_SYM.
22149         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22151         <bp-sym.h> and <bp-asm.h>.
22152         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22154         <bp-sym.h> and <bp-asm.h>.
22155         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22156         comment.
22157
22158 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22159
22160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22161         Use ZK to minimize writes to Z.
22162         (sub_magnitudes): Simplify code a bit.
22163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22164         Use ZK to minimize writes to Z.
22165         (sub_magnitudes): Simplify code a bit.
22166
22167 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22168
22169         * csu/gmon-start.c: Add special exception to license text.
22170
22171 2013-02-27  Richard Henderson  <rth@redhat.com>
22172
22173         * scripts/config.guess: Update from config.git.
22174         * scripts/config.sub: Likewise.
22175
22176 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22177
22178         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22179
22180         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22181
22182         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22183
22184         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22185
22186         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22187
22188 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22189
22190         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22191         [$(build-shared = yes].
22192
22193 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22194
22195         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22196         (__mul): Reduce iterations for calculating mantissa.
22197
22198         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22199         MPTWO.
22200         (__mpranred): Likewise.
22201
22202         [BZ #15160]
22203         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22204         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22205
22206 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22207
22208         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22209         Define __attribute__.
22210
22211 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22212
22213         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22214         unused.
22215         * posix/regex_internal.h (__attribute): Remove.
22216         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22217         (re_string_context_at): Likewise.
22218         (bitset_not): Use __attribute__ and mark function as possibly
22219         unused.
22220         (bitset_merge): Likewise.
22221         (bitset_mask): Likewise.
22222         (re_string_char_size_at): Likewise.
22223         (re_string_wchar_at): Likewise.
22224         (re_string_elem_size_at): Likewise.
22225
22226 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22227
22228         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22229         code.
22230         (cc32): Likewise.
22231
22232         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22233         (__acr): Likewise.
22234         (__cpy): Likewise.
22235         (norm): Likewise.
22236         (denorm): Likewise.
22237         (__dbl_mp): Likewise.
22238         (add_magnitudes): Likewise.
22239         (sub_magnitudes): Likewise.
22240         (__mul): Likewise.
22241         (__inv): Likewise.
22242
22243         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22244         style.
22245
22246         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22247         style.
22248
22249         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22250         code.
22251
22252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22253         up changes with default code.
22254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22255         Likewise.
22256
22257 2013-02-24  Allan McRae  <allan@archlinux.org>
22258
22259         * manual/socket.texi (The Internet Namespace): Order menu items
22260         to match that in the file.
22261
22262         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22263         node listing of the info page menu.
22264
22265 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22266
22267         [BZ #13550]
22268         * sysdeps/i386/bp-asm.h: Remove file.
22269         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22270         (PARMS): Do not use macros from bp-asm.h.
22271         (S1): Likewise.
22272         (S2): Likewise.
22273         (SIZE): Likewise.
22274         (__mpn_add_n): Do not use BP_SYM
22275         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22276         "bp-asm.h".
22277         (PARMS): Do not use macros from bp-asm.h.
22278         (S1): Likewise.
22279         (SIZE): Likewise.
22280         (__mpn_addmul_1): Do not use BP_SYM
22281         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22282         "bp-asm.h".
22283         (PARMS): Do not use macros from bp-asm.h.
22284         (SIGMSK): Likewise.
22285         (_setjmp): Likewise.  Do not use BP_SYM.
22286         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22287         "bp-asm.h".
22288         (PARMS): Do not use macros from bp-asm.h.
22289         (SIGMSK): Likewise.
22290         (setjmp): Likewise.  Do not use BP_SYM.
22291         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22292         "bp-asm.h".
22293         (PARMS): Do not use macros from bp-asm.h.
22294         (__frexp): Do not use BP_SYM.
22295         (frexp): Likewise.
22296         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22297         "bp-asm.h".
22298         (PARMS): Do not use macros from bp-asm.h.
22299         (__frexpf): Do not use BP_SYM.
22300         (frexpf): Likewise.
22301         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22302         "bp-asm.h".
22303         (PARMS): Do not use macros from bp-asm.h.
22304         (__frexpl): Do not use BP_SYM.
22305         (frexpl): Likewise.
22306         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22307         "bp-asm.h".
22308         (PARMS): Do not use macros from bp-asm.h.
22309         (__remquo): Do not use BP_SYM.
22310         (remquo): Likewise.
22311         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22312         "bp-asm.h".
22313         (PARMS): Do not use macros from bp-asm.h.
22314         (__remquof): Do not use BP_SYM.
22315         (remquof): Likewise.
22316         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22317         "bp-asm.h".
22318         (PARMS): Do not use macros from bp-asm.h.
22319         (__remquol): Do not use BP_SYM.
22320         (remquol): Likewise.
22321         * sysdeps/i386/i486/strcat.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         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22327         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22328         "bp-asm.h".
22329         (PARMS): Do not use macros from bp-asm.h.
22330         (strlen): Do not use BP_SYM.
22331         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22332         "bp-asm.h".
22333         (PARMS): Do not use macros from bp-asm.h.
22334         (S1): Likewise.
22335         (S2): Likewise.
22336         (SIZE): Likewise.
22337         (__mpn_add_n): Do not use BP_SYM.
22338         * sysdeps/i386/i586/addmul_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_addmul_1): Do not use BP_SYM.
22344         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22345         weak_alias.
22346         (bzero): Likewise.
22347         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22348         "bp-asm.h".
22349         (PARMS): Do not use macros from bp-asm.h.
22350         (S): Likewise.
22351         (SIZE): Likewise.
22352         (__mpn_lshift): Do not use BP_SYM.
22353         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22354         "bp-asm.h".
22355         (PARMS): Do not use macros from bp-asm.h.
22356         (DEST): Likewise.
22357         (SRC): Likewise.
22358         (LEN): Likewise.
22359         (memcpy): Likewise.  Do not use BP_SYM.
22360         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22361         libc_hidden_def and weak_alias.
22362         (mempcpy): Do not use BP_SYM in weak_alias.
22363         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22364         "bp-asm.h".
22365         (PARMS): Do not use macros from bp-asm.h.
22366         (DEST): Likewise.
22367         (LEN): Likewise.
22368         [!BZERO_P] (CHR): Likewise.
22369         (memset): Likewise.  Do not use BP_SYM.
22370         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22371         "bp-asm.h".
22372         (PARMS): Do not use macros from bp-asm.h.
22373         (S1): Likewise.
22374         (SIZE): Likewise.
22375         (__mpn_mul_1): Do not use BP_SYM.
22376         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22377         "bp-asm.h".
22378         (PARMS): Do not use macros from bp-asm.h.
22379         (S): Likewise.
22380         (SIZE): Likewise.
22381         (__mpn_rshift): Do not use BP_SYM.
22382         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22383         "bp-asm.h".
22384         (PARMS): Do not use macros from bp-asm.h.
22385         (STR): Likewise.
22386         (CHR): Likewise.
22387         (strchr): Likewise.  Do not use BP_SYM.
22388         (index): Do not use BP_SYM in weak_alias.
22389         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22390         "bp-asm.h".
22391         (PARMS): Do not use macros from bp-asm.h.
22392         (DEST): Likewise.
22393         (SRC): Likewise.
22394         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22395         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22396         "bp-asm.h".
22397         (PARMS): Do not use macros from bp-asm.h.
22398         (strlen): Do not use BP_SYM.
22399         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22400         "bp-asm.h".
22401         (PARMS): Do not use macros from bp-asm.h.
22402         (S1): Likewise.
22403         (S2): Likewise.
22404         (SIZE): Likewise.
22405         (__mpn_sub_n): Do not use BP_SYM.
22406         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22407         "bp-asm.h".
22408         (PARMS): Do not use macros from bp-asm.h.
22409         (S1): Likewise.
22410         (SIZE): Likewise.
22411         (__mpn_submul_1): Do not use BP_SYM.
22412         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22413         "bp-asm.h".
22414         (PARMS): Do not use macros from bp-asm.h.
22415         (S1): Likewise.
22416         (S2): Likewise.
22417         (SIZE): Likewise.
22418         (__mpn_add_n): Do not use BP_SYM.
22419         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22420         weak_alias.
22421         (bzero): Likewise.
22422         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22423         "bp-asm.h".
22424         (PARMS): Do not use macros from bp-asm.h.
22425         (BLK2): Likewise.
22426         (LEN): Likewise.
22427         (memcmp): Do not use BP_SYM.
22428         (bcmp): Do not use BP_SYM in weak_alias.
22429         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22430         "bp-asm.h".
22431         (PARMS): Do not use macros from bp-asm.h.
22432         (DEST): Likewise.
22433         (SRC): Likewise.
22434         (LEN): Likewise.
22435         (memcpy): Likewise.  Do not use BP_SYM.
22436         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22437         "bp-asm.h".
22438         (PARMS): Do not use macros from bp-asm.h.
22439         (DEST): Likewise.
22440         (SRC): Likewise.
22441         (LEN): Likewise.
22442         (memmove): Likewise.  Do not use BP_SYM.
22443         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22444         "bp-asm.h".
22445         (PARMS): Do not use macros from bp-asm.h.
22446         (DEST): Likewise.
22447         (SRC): Likewise.
22448         (LEN): Likewise.
22449         (__mempcpy): Likewise.  Do not use BP_SYM.
22450         (mempcpy): Do not use BP_SYM in weak_alias.
22451         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22452         "bp-asm.h".
22453         (PARMS): Do not use macros from bp-asm.h.
22454         (DEST): Likewise.
22455         (LEN): Likewise.
22456         [!BZERO_P] (CHR): Likewise.
22457         (memset): Likewise.  Do not use BP_SYM.
22458         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22459         "bp-asm.h".
22460         (PARMS): Do not use macros from bp-asm.h.
22461         (STR2): Likewise.
22462         (strcmp): Do not use BP_SYM.
22463         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22464         "bp-asm.h".
22465         (PARMS): Do not use macros from bp-asm.h.
22466         (STR): Likewise.
22467         (DELIM): Likewise.
22468         [USE_AS_STRTOK_R] (SAVE): Likewise.
22469         (FUNCTION): Likewise.  Do not use BP_SYM.
22470         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22471         aliases.
22472         (strtok_r): Likewise.
22473         (__GI___strtok_r): Likewise.
22474         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22475         (PARMS): Do not use macros from bp-asm.h.
22476         (S): Likewise.
22477         (SIZE): Likewise.
22478         (__mpn_lshift): Do not use BP_SYM.
22479         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22480         (PARMS): Do not use macros from bp-asm.h.
22481         (STR): Likewise.
22482         (CHR): Likewise.
22483         (__memchr): Do not use BP_SYM.
22484         (memchr): Do not use BP_SYM in weak_alias.
22485         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22486         (PARMS): Do not use macros from bp-asm.h.
22487         (BLK2): Likewise.
22488         (LEN): Likewise.
22489         (memcmp): Do not use BP_SYM.
22490         (bcmp): Do not use BP_SYM in weak_alias.
22491         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22492         (PARMS): Do not use macros from bp-asm.h.
22493         (S1): Likewise.
22494         (SIZE): Likewise.
22495         (__mpn_mul_1): Do not use BP_SYM.
22496         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22497         "bp-asm.h".
22498         (PARMS): Do not use macros from bp-asm.h.
22499         (STR): Likewise.
22500         (CHR): Likewise.
22501         (__rawmemchr): Do not use BP_SYM.
22502         (rawmemchr): Do not use BP_SYM in weak_alias.
22503         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22504         (PARMS): Do not use macros from bp-asm.h.
22505         (S): Likewise.
22506         (SIZE): Likewise.
22507         (__mpn_rshift): Do not use BP_SYM.
22508         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22509         (PARMS): Do not use macros from bp-asm.h.
22510         (SIGMSK): Likewise.
22511         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22512         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22513         (_start): Do not use BP_SYM.
22514         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22515         (PARMS): Do not use macros from bp-asm.h.
22516         (DEST): Likewise.
22517         (SRC): Likewise.
22518         (__stpcpy): Likewise.  Do not use BP_SYM.
22519         (stpcpy): Do not use BP_SYM in weak_alias.
22520         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22521         "bp-asm.h".
22522         (PARMS): Do not use macros from bp-asm.h.
22523         (DEST): Likewise.
22524         (SRC): Likewise.
22525         (LEN): Likewise.
22526         (__stpncpy): Likewise.  Do not use BP_SYM.
22527         (stpncpy): Do not use BP_SYM in weak_alias.
22528         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22529         (PARMS): Do not use macros from bp-asm.h.
22530         (STR): Likewise.
22531         (CHR): Likewise.
22532         (strchr): Likewise.  Do not use BP_SYM.
22533         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22534         "bp-asm.h".
22535         (PARMS): Do not use macros from bp-asm.h.
22536         (STR): Likewise.
22537         (CHR): Likewise.
22538         (__strchrnul): Likewise.  Do not use BP_SYM.
22539         (strchrnul): Do not use BP_SYM in weak_alias.
22540         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22541         "bp-asm.h".
22542         (PARMS): Do not use macros from bp-asm.h.
22543         (STOP): Likewise.
22544         (strcspn): Do not use BP_SYM.
22545         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22546         "bp-asm.h".
22547         (PARMS): Do not use macros from bp-asm.h.
22548         (STR): Likewise.
22549         (STOP): Likewise.
22550         (strpbrk): Likewise.  Do not use BP_SYM.
22551         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22552         "bp-asm.h".
22553         (PARMS): Do not use macros from bp-asm.h.
22554         (STR): Likewise.
22555         (CHR): Likewise.
22556         (strrchr): Likewise.  Do not use BP_SYM.
22557         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22558         (PARMS): Do not use macros from bp-asm.h.
22559         (SKIP): Likewise.
22560         (strspn): Do not use BP_SYM.
22561         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22562         (PARMS): Do not use macros from bp-asm.h.
22563         (STR): Likewise.
22564         (DELIM): Likewise.
22565         (SAVE): Likewise.
22566         (FUNCTION): Likewise.  Do not use BP_SYM.
22567         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22568         aliases.
22569         (strtok_r): Likewise.
22570         (__GI___strtok_r): Likewise.
22571         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22572         (PARMS): Do not use macros from bp-asm.h.
22573         (S1): Likewise.
22574         (S2): Likewise.
22575         (SIZE): Likewise.
22576         (__mpn_sub_n): Do not use BP_SYM.
22577         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22578         "bp-asm.h".
22579         (PARMS): Do not use macros from bp-asm.h.
22580         (S1): Likewise.
22581         (SIZE): Likewise.
22582         (__mpn_submul_1): Do not use BP_SYM.
22583         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22584         <bp-sym.h>.
22585         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22586         and <bp-asm.h>.
22587         (PARMS): Do not use macros from bp-asm.h.
22588         (FLAGS): Likewise.
22589         (PTID): Likewise.
22590         (TLS): Likewise.
22591         (CTID): Likewise.
22592         (__clone): Do not use BP_SYM.
22593         (clone): Do not use BP_SYM in weak_alias.
22594         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22595         and <bp-asm.h>.
22596         (PARMS): Do not use macros from bp-asm.h.
22597         (LEN): Likewise.
22598         (__mmap64): Do not use BP_SYM.
22599         (mmap64): Do not use BP_SYM in weak_alias.
22600         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22601         <bp-sym.h> and <bp-asm.h>.
22602         (PARMS): Do not use macros from bp-asm.h.
22603         (__posix_fadvise64_l64): Do not use BP_SYM.
22604         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22605         (PARMS): Do not use macros from bp-asm.h.
22606         (NSOPS): Likewise.
22607         (semtimedop): Do not use BP_SYM.
22608         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22609         and <bp-asm.h>.
22610
22611 2013-02-21  Allan McRae  <allan@archlinux.org>
22612
22613         * manual/message.texi (Charset conversion in gettext):
22614         Move @end statement to beginning of line.
22615
22616 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22617
22618         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22619         static.
22620         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22621         Likewise.
22622
22623         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22624         (denorm): Likewise.
22625         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22627
22628 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22629
22630         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22631         tail-call to the resolved function if pltexit isn't needed.
22632
22633 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22634
22635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22636         or Y being zero as being unlikely.
22637         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22638         Likewise.
22639
22640 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22641
22642         * manual/nss.texi (System Databases and Name Service Switch):
22643         Remove frobnicate @pxref.
22644
22645 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22646
22647         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22648         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22649
22650 2013-02-20  Petr Machata  <pmachata@redhat.com>
22651
22652         * elf/elf.h (R_ARM_TARGET1): New macro.
22653         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22654         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22655         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22656         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22657         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22658         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22659         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22660         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22661         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22662         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22663         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22664         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22665         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22666         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22667         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22668         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22669         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22670         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22671         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22672         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22673         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22674         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22675         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22676         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22677         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22678         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22679         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22680         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22681         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22682         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22683         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22684         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22685         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22686         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22687         (R_ARM_THM_GOT_BREL12): Likewise.
22688         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22689         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22690         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22691         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22692         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22693         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22694         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22695         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22696         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22697
22698 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22699
22700         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22701         __attribute_used__ to __attribute__ ((unused)).
22702
22703 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22704
22705         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22706         powerpc mpa.c.
22707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22708         comment formatting.
22709         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22710
22711 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22712
22713         [BZ #13550]
22714         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22715         Remove macro.
22716         (ENTER): Remove both macro definitions.
22717         (LEAVE): Likewise.
22718         (CHECK_BOUNDS_LOW): Likewise.
22719         (CHECK_BOUNDS_HIGH): Likewise.
22720         (CHECK_BOUNDS_BOTH): Likewise.
22721         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22722         (RETURN_BOUNDED_POINTER): Likewise.
22723         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22724         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22725         (POP_ERRNO_LOCATION_RETURN): Likewise.
22726         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22727         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22728         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22729         macros.
22730         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22731         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22732         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22733         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22734         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22735         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22736         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22737         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22738         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22739         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22740         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22741         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22742         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22743         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22744         removed macros.
22745         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22746         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22747         macros.
22748         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22749         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22750         * sysdeps/i386/i586/memset.S (memset): Likewise.
22751         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22752         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22753         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22754         macros.
22755         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22756         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22757         Change uses of L(2) to L(out).
22758         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22759         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22760         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22761         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22762         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22763         removed macros.
22764         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22765         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22766         macros.
22767         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22768         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22769         (RETURN): Do not use macro LEAVE.
22770         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22771         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22772         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22773         * sysdeps/i386/i686/memset.S (memset): Likewise.
22774         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22775         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22776         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22777         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22778         Likewise.
22779         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22780         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22781         L(1_2) and L(1_3) into L(1).
22782         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22783         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22784         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22785         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22786         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22787         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22788         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22789         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22790         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22791         macros.
22792         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22793         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22794         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22795         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22796         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22797         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22798         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22799         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22800         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22801         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22802         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22803         * sysdeps/i386/strspn.S (strspn): Likewise.
22804         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22805         conditional code.
22806         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22807         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22808         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22809         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22810         L(1_3) into L(1_1).
22811         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22812         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22813         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22814         macros.
22815         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22816
22817 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22818
22819         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22820         macro.
22821
22822 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22823
22824         * math/atest-exp.c (exp_mpn): Remove ROUND.
22825         * math/atest-exp2.c (exp_mpn): Likewise.
22826         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22827
22828         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22829         * stdlib/tst-tls-atexit-lib.c: Likewise.
22830         * stdlib/tst-tls-atexit.c: Likewise.
22831
22832 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22833
22834         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22835         and __attribute_alloc_size__.
22836
22837 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22838
22839         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22840         __attribute_alloc_size__.
22841         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22842         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22843
22844 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22845
22846         * include/programs/xmalloc.h: New file.
22847         * catgets/gencat.c: Include it.
22848         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22849         * elf/pldd.c: Likewise.
22850         * iconv/iconv_charmap.c: Likewise.
22851         * iconv/iconvconfig.c: Likewise.
22852         * iconv/strtab.c: Likewise.
22853         * locale/programs/locale.c: Likewise.
22854         * locale/programs/localedef.h: Likewise.
22855         * locale/programs/simple-hash.c: Likewise.
22856         * nscd/nscd.h: Likewise.
22857         * nss/makedb.c: Likewise.
22858         * sysdeps/generic/ldconfig.h: Likewise.
22859
22860 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22861
22862         * Versions.def: Add GLIBC_2.18.
22863         * include/link.h (struct link_map): New member l_tls_dtor_count.
22864         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22865         (__call_tls_dtors): Likewise.
22866         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22867         __cxa_thread_atexit_impl.
22868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22869         Likewise.
22870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22871         Likewise.
22872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22873         Likewise.
22874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22875         Likewise.
22876         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22878         Likewise.
22879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22880         Likewise.
22881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22883         Likewise.
22884         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22885         (tests): Add test case tst-tls-atexit.
22886         (modules-names): Add shared library for tst-tls-atexit.
22887         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22888         (GLIBC_PRIVATE): Add __call_tls_dtors.
22889         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22890         for libstdc++.
22891         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22892         * stdlib/tst-tls-atexit.c: New test case.
22893         * stdlib/tst-tls-atexit-lib.c: New test case.
22894
22895         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22896
22897         * elf/Versions (ld): Add _dl_find_dso_for_object.
22898         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22899         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22900         (dl_open_worker): Use _dl_find_dso_for_object.
22901         * elf/dl-sym.c (do_sym): Likewise.
22902         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22903
22904 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22905
22906         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22907         Syntactic changes only.
22908         (_dl_runtime_profile): Do a tail-call to the resolved function.
22909
22910 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22911
22912         [BZ #13550]
22913         * sysdeps/x86_64/bp-asm.h: Remove file.
22914         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22915         <bp-sym.h> and <bp-asm.h>.
22916         (__clone): Do not use BP_SYM.
22917         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22918         <bp-sym.h> and <bp-asm.h>.
22919         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22920         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22921         "bp-asm.h".
22922         (_setjmp): Do not use BP_SYM.
22923         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22924         "bp-asm.h".
22925         (setjmp): Do not use BP_SYM.
22926         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22927         libc_hidden_def.
22928         (mempcpy): Do not use BP_SYM in weak_alias.
22929         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22930         "bp-asm.h".
22931         (strchr): Do not use BP_SYM.
22932         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22933         "bp-asm.h".
22934         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22935         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22936         (_start): Do not use BP_SYM.
22937         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22938         "bp-asm.h".
22939         (strcat): Do not use BP_SYM.
22940         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22941         "bp-asm.h".
22942         (STRCMP): Do not use BP_SYM.
22943         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22944         "bp-asm.h".
22945         (STRCPY): Do not use BP_SYM.
22946         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22947         "bp-asm.h".
22948         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22949         "bp-asm.h".
22950         (FUNCTION): Do not use BP_SYM.
22951         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22952         weak_alias.
22953         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22954
22955 2013-02-17  Andreas Jaeger  <aj@suse.de>
22956
22957         * time/Versions: Sort entries.
22958         * string/Versions: Likewise.
22959         * resolv/Versions: Likewise.
22960         * posix/Versions: Likewise.
22961         * iconv/Versions: Likewise.
22962         * elf/Versions: Likewise.
22963         * wcsmbs/Versions: Likewise.
22964
22965 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22966
22967         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22968         loop termination condition.
22969
22970         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22971         variable to calculate EZ.
22972         (__sqr): Likewise.
22973
22974         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22975         the lower precision input.
22976
22977 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22978
22979         [BZ #13550]
22980         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22981         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22982         (run-via-rtld-prefix): Do not handle %-bp tests.
22983         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22984         (all-object-suffixes): Remove .ob.
22985         (bppfx): Remove variable.
22986         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22987         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22988         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22989         [$(build-bounded) = yes] (libtype.ob): Likewise.
22990         * Makerules (elide-routines.ob): Remove variable.
22991         (do-tests-clean): Do not handle *-bp.out.
22992         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22993         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22994         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22995         (tests): Do not include $(tests-bp.out).
22996         (xtests): Do not include $(xtests-bp.out).
22997         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22998         [$(build-bounded) = yes] ($(addprefix
22999         $(objpfx),$(binaries-bounded))): Remove rule.
23000         ($(objpfx)%-bp.out): Remove rule.
23001         * config.make.in (build-bounded): Remove variable.
23002         * crypt/Makefile [$(build-bounded) = yes]
23003         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23004         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23005         append to variable.
23006         [$(build-bounded) = yes] (install-lib): Likewise.
23007         [$(build-bounded) = yes] (generated): Likewise.
23008         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23009         Remove rule.
23010         * intl/Makefile [$(build-bounded) = yes]
23011         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23012         * math/Makefile [$(build-bounded) = yes]
23013         ($(tests:%=$(objpfx)%-bp): Likewise.
23014         * misc/Makefile [$(build-bounded) = yes]
23015         ($(objpfx)tst-tsearch-bp): Likewise.
23016         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23017         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23018         Remove dependency.
23019         * string/Makefile (o-objects.ob): Remove variable.
23020         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23021         (CFLAGS-.ob): Remove variable.
23022         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23023         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23024         both definitions of variable.
23025         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23026         (ASFLAGS-.ob): Remove variable.
23027
23028 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23029
23030         [BZ #13550]
23031         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23032         Remove __BOUNDED_POINTERS__ from condition.
23033         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23034         * string/bits/string2.h [!__NO_STRING_INLINES &&
23035         !__BOUNDED_POINTERS__]: Likewise.
23036         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23037         Likewise.
23038         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23039         Remove conditional code.
23040         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23041         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23042         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23043         condition.
23044
23045         [BZ #13550]
23046         * csu/libc-start.c: Do not include <bp-sym.h>.
23047         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23048         * elf/dl-open.c: Do not include <bp-sym.h>.
23049         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23050         * math/fegetenv.c: Do not include <bp-sym.h>.
23051         (fegetenv): Do not use BP_SYM in versioned symbols.
23052         * nptl/sysdeps/pthread/bits/libc-lockP.h
23053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23054         <bp-sym.h>.
23055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23056         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23058         (__pthread_mutex_destroy): Likewise.
23059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23060         (__pthread_mutex_lock): Likewise.
23061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23062         (__pthread_mutex_trylock): Likewise.
23063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23064         (__pthread_mutex_unlock): Likewise.
23065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23066         (__pthread_mutexattr_init): Likewise.
23067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23068         (__pthread_mutexattr_destroy): Likewise.
23069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23070         (__pthread_mutexattr_settype): Likewise.
23071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23072         (__pthread_rwlock_init): Likewise.
23073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23074         (__pthread_rwlock_destroy): Likewise.
23075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23076         (__pthread_rwlock_rdlock): Likewise.
23077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23078         (__pthread_rwlock_tryrdlock): Likewise.
23079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23080         (__pthread_rwlock_wrlock): Likewise.
23081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23082         (__pthread_rwlock_trywrlock): Likewise.
23083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23084         (__pthread_rwlock_unlock): Likewise.
23085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23086         (__pthread_key_create): Likewise.
23087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23088         (__pthread_setspecific): Likewise.
23089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23090         (__pthread_getspecific): Likewise.
23091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23092         Likewise.
23093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23094         (_pthread_cleanup_push_defer): Likewise.
23095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23096         (_pthread_cleanup_pop_restore): Likewise.
23097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23098         (pthread_setcancelstate): Likewise.
23099         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23100         <bp-sym.h>.
23101         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23102         (memchr): Do not use BP_SYM in weak_alias.
23103         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23104         (fegetenv): Do not use BP_SYM in versioned symbols.
23105         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23106         (fesetenv): Do not use BP_SYM in versioned symbols.
23107         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23108         (feupdateenv): Do not use BP_SYM in versioned symbols.
23109         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23110         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23111         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23112         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23113         (open64): Do not use BP_SYM in weak_alias.
23114         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23115         (fegetenv): Do not use BP_SYM in versioned symbols.
23116         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23117         (fesetenv): Do not use BP_SYM in versioned symbols.
23118         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23119         (feupdateenv): Do not use BP_SYM in versioned symbols.
23120         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23121         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23122         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23123         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23124         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23125         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23126         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23127         <bp-sym.h>.
23128         (__libc_start_main): Do not use BP_SYM.
23129
23130 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23131
23132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23133         redundant return line.
23134         (norm): Likewise.
23135         (denorm): Likewise.
23136         (dbl_mp): Likewise.
23137         (sub_magnitudes): Likewise.
23138         (__add): Likewise.
23139         (__sub): Likewise.
23140         (__mul): Likewise.
23141         (__inv): Likewise.
23142         (__dvd): Likewise.
23143         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23144         (norm): Likewise.
23145         (denorm): Likewise.
23146         (dbl_mp): Likewise.
23147         (sub_magnitudes): Likewise.
23148         (__add): Likewise.
23149         (__sub): Likewise.
23150         (__mul): Likewise.
23151         (__inv): Likewise.
23152         (__dvd): Likewise.
23153
23154         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23155         instead of __mul.
23156         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23157         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23158         (cc32): Likewise.
23159
23160         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23161         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23162         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23163         of __mul for squares.
23164         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23165         function
23166         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23167         Likewise.
23168         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23169         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23170
23171 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23172
23173         [BZ #13550]
23174         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23175         code.
23176         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23177         prototype or function definition.  Rename ubp_* variables and
23178         parameters.  Remove argv definitions conditional on
23179         [__BOUNDED_POINTERS__].
23180         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23181         * elf/dl-runtime.c (_dl_fixup): Likewise.
23182         * include/set-hooks.h (RUN_HOOK): Likewise.
23183         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23184         definition.
23185         * string/strcpy.c (strcpy): Do not use __unbounded.
23186         * sysdeps/generic/frame.h (struct layout): Likewise.
23187         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23188         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23189         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23190         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23191         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23192         (__backtrace): Likewise.
23193         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23194         use __ptrvalue.
23195         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23196         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23197         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23198         Likewise.
23199         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23200         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23201         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23202         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23203         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23204         Do not use __unbounded.
23205         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23206         Rename __unboundedrlimits parameter to rlimits in prototype.
23207         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23208         Do not use __unbounded.
23209         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23210         not use __ptrvalue.
23211         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23212         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23213         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23214         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23215         __ptrvalue or __unbounded.
23216         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23217         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23218         use __unbounded.
23219         (__new_msgctl): Do not use __ptrvalue.
23220         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23221         __unbounded.
23222         (__libc_msgrcv): Do not use __ptrvalue.
23223         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23224         startup_info): Do not use __unbounded.
23225         (__libc_start_main): Likewise.  Rename ubp_* variables and
23226         parameters.  Remove argv definitions conditional on
23227         [__BOUNDED_POINTERS__].
23228         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23229         __ptrvalue.
23230         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23231         use __unbounded.
23232         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23233         or __ptrvalue.
23234         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23235         use __unbounded.
23236         (__new_shmctl): Do not use __ptrvalue.
23237         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23238         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23239         Likewise.
23240         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23241         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23242         (__libc_sigaction): Likewise.
23243         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23244         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23245         Likewise.
23246         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23247
23248 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23249
23250         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23251
23252         * string/mempcpy.c: Implement by calling memcpy.
23253
23254 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23255
23256         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23257
23258         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23259         evaluation.
23260
23261         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23262         values in the mantissa.
23263
23264         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23265         minimize writes to Z.
23266         (sub_magnitudes): Simplify code a bit.
23267
23268 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23269
23270         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23271         from the message.  The linker prefixes all warnings with that already.
23272
23273 2013-02-12  Andreas Schwab  <schwab@suse.de>
23274
23275         [BZ #15078]
23276         * posix/regexec.c (extend_buffers): Add parameter min_len.
23277         (check_matching): Pass minimum needed length.
23278         (clean_state_log_if_needed): Likewise.
23279         (get_subexp): Likewise.
23280         * posix/Makefile (tests): Add bug-regex34.
23281         (bug-regex34-ENV): Define.
23282         * posix/bug-regex34.c: New file.
23283
23284         [BZ #11561]
23285         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23286         elements compare against the byte sequence of it, not its name.
23287         * posix/Makefile (tests): Add bug-regex35.
23288         (bug-regex35-ENV): Define.
23289         * posix/bug-regex35.c: New file.
23290
23291 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23292
23293         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23294         comment.
23295         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23296         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23297         (CHECK_EOL): Add undef.
23298
23299 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23300
23301         * bits/stdlib-bsearch.h: New file.
23302         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23303         * stdlib/stdlib.h: Likewise.
23304
23305 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23306
23307         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23308         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23309         declaration.
23310         * manual/search.texi (Array Search Function): Add missing const in
23311         lfind prototype.
23312         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23313         declaration to use rlim_t.
23314         (Basic Scheduling Functions): Remove erroneous const from
23315         sched_getparam prototype.  Remove erroneous * from
23316         sched_get_priority_max and sched_get_priority_min prototypes.
23317         (Resource Usage): Fix summary @comment on vtimes to refer to
23318         sys/vtimes.h rather than vtimes.h.
23319         Add missing *s in vtimes prototype.
23320         (Limits on Resources): Fix ulimit prototype to return long int.
23321         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23322         prototypes to use long int rather than double.
23323         (BSD Random): Fix initstate and setstate to use char *, not void *.
23324         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23325         prototype to make second argument 'struct aiocb64 *const[]'.
23326         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23327         (Status of AIO Operations): Remove erroneous const in aio_return and
23328         aio_return64 prototypes.
23329         (Synchronizing I/O): Fix sync prototype to return void.
23330         * manual/startup.texi (Suboptions): Remove an erroneous const in
23331         getsubopt prototype.
23332         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23333         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23334         use size_t rather than int.
23335         (Scanning All Users): Likewise for getpwent_r.
23336         (Setting Groups): Add missing const to setgroups prototype.
23337         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23338         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23339         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23340         'const void *' rather than 'const char *'.
23341         (Host Address Functions): Likewise for inet_ntop.
23342         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23343         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23344         ssize_t for return value.
23345         (Sending Data): Likewise for send, sendto, sendmsg.
23346         (Socket Option Functions): Add a missing const in setsockopt prototype.
23347         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23348         use wchar_t for the argument.
23349         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23350         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23351         take no arguments.
23352         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23353         double/float/long double for second argument.
23354         Fix return types of significand, significandf, significandl.
23355         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23356         argument in fchmod prototype.
23357         (File Owner): Use uid_t and gid_t in fchown prototype.
23358         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23359         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23360         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23361         use 'const struct dirent **' as argument types to CMP function pointer
23362         argument.
23363         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23364         (File Times): Fix summary magic @comment for struct utimbuf and utime
23365         to refer to utime.h, not time.h.
23366         * manual/string.texi (Argz Functions): Add missing const in
23367         argz_extract and argz_next prototypes.
23368         (Finding Tokens in a String): Likewise for basename.
23369         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23370         (Copying and Concatenation): Fix typo in wmemmove prototype.
23371         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23372         (Signal Stack): Remove erroneous const in sigstack prototype.
23373         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23374         prototype.
23375         (Simple Calendar Time): Likewise for stime.
23376         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23377         prototype.
23378         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23379         say sys/sysctl.h instead.
23380         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23381         and vsyslog prototypes.
23382
23383 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23384
23385         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23386         Remove.
23387
23388 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23389
23390         * misc/sys/mman.h: Fix typo in mremap comment.
23391
23392 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23393
23394         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23395         the '\0' terminator.
23396
23397 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23398
23399         [BZ #13550]
23400         * debug/segfault.c: Don't include <bp-checks.h>.
23401         * sysdeps/generic/bp-checks.h: Remove file.
23402         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23403         (__GETDENTS): Don't use CHECK_N.
23404         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23405         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23406         (__getgroups): Don't use CHECK_N.
23407         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23408         (setgroups): Don't use CHECK_N.
23409         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23410         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23411         (__libc_msgrcv): Don't use CHECK_N.
23412         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23413         (__libc_msgsnd): Don't use CHECK_N.
23414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23415         <bp-checks.h>.
23416         (__libc_pread): Don't use CHECK_N.
23417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23418         include <bp-checks.h>.
23419         (__libc_pread64): Don't use CHECK_N.
23420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23421         include <bp-checks.h>.
23422         (__libc_pwrite): Don't use CHECK_N.
23423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23424         include <bp-checks.h>.
23425         (__libc_pwrite64): Don't use CHECK_N.
23426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23427         <bp-checks.h>.
23428         (__libc_pread): Don't use CHECK_N.
23429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23430         include <bp-checks.h>.
23431         (__libc_pread64): Don't use CHECK_N.
23432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23433         include <bp-checks.h>.
23434         (__libc_pwrite): Don't use CHECK_N.
23435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23436         include <bp-checks.h>.
23437         (__libc_pwrite64): Don't use CHECK_N.
23438         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23439         (do_pread): Don't use CHECK_N.
23440         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23441         (do_pread64): Don't use CHECK_N.
23442         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23443         (do_pwrite): Don't use CHECK_N.
23444         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23445         (do_pwrite64): Don't use CHECK_N.
23446         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23447         (__libc_readv): Don't use CHECK_N.
23448         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23449         (semop): Don't use CHECK_N.
23450         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23451         <bp-checks.h>.
23452         (semtimedop): Don't use CHECK_N.
23453         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23454         (__libc_pread): Don't use CHECK_N.
23455         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23456         <bp-checks.h>.
23457         (__libc_pread64): Don't use CHECK_N.
23458         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23459         <bp-checks.h>.
23460         (__libc_pwrite): Don't use CHECK_N.
23461         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23462         <bp-checks.h>.
23463         (__libc_pwrite64): Don't use CHECK_N.
23464         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23465         <bp-checks.h>.
23466         (__libc_msgrcv): Don't use CHECK_N.
23467         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23468         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23469         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23470         (__libc_writev): Don't use CHECK_N.
23471
23472 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23473
23474         * string/strcpy.c: Removed unused variable.
23475
23476         * Makeconfig (+sysdep-includes): Define with := rather than =.
23477         Use an existing include/ subdir of each sysdeps dir before it.
23478
23479 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23480
23481         * nscd/connection.c (register_traced_file): Comment function.
23482         [HAVE_INOTIFY] (union __inev): Define.
23483         [HAVE_INOTIFY] (inotify_check_files): New function.
23484         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23485         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23486         clear_db_cache.
23487         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23488
23489 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23490
23491         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23492         loaded if not already and that a failure is permanent.
23493
23494 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23495
23496         [BZ #15006]
23497         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23498         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23499
23500 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23501
23502         [BZ #13550]
23503         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23504         (CHECK_1_NULL_OK): Likewise.
23505         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23506         (__fxstat): Do not use CHECK_1.
23507         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23508         <bp-checks.h>.
23509         (___fxstat64): Do not use CHECK_1.
23510         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23511         <bp-checks.h>.
23512         (__fxstatat): Do not use CHECK_1.
23513         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23514         <bp-checks.h>.
23515         (__fxstatat64): Do not use CHECK_1.
23516         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23517         <bp-checks.h>.
23518         (__fxstat): Do not use CHECK_1.
23519         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23520         <bp-checks.h>.
23521         (__fxstatat): Do not use CHECK_1.
23522         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23523         <bp-checks.h>.
23524         (__getresgid): Do not use CHECK_1.
23525         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23526         <bp-checks.h>.
23527         (__getresuid): Do not use CHECK_1.
23528         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23529         <bp-checks.h>.
23530         (__lxstat): Do not use CHECK_1.
23531         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23532         <bp-checks.h>.
23533         (__old_msgctl): Do not use CHECK_1.
23534         (__new_msgctl): Likewise.
23535         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23536         <bp-checks.h>.
23537         (__new_setrlimit): Do not use CHECK_1.
23538         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23539         <bp-checks.h>.
23540         (__old_shmctl): Do not use CHECK_1.
23541         (__new_shmctl): Likewise.
23542         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23543         <bp-checks.h>.
23544         (__xstat): Do not use CHECK_1.
23545         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23546         (__lxstat): Do not use CHECK_1.
23547         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23548         <bp-checks.h>.
23549         (___lxstat64): Do not use CHECK_1.
23550         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23551         (__old_msgctl): Do not use CHECK_1.
23552         (__new_msgctl): Likewise.
23553         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23554         <bp-checks.h>.
23555         (__gettimeofday): Do not use CHECK_1.
23556         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23557         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23558         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23559         <bp-checks.h>.
23560         (__gettimeofday): Do not use CHECK_1.
23561         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23562         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23563         (__new_shmctl): Do not use CHECK_1.
23564         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23565         <bp-checks.h>.
23566         (do_sigtimedwait): Do not use CHECK_1.
23567         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23568         <bp-checks.h>.
23569         (do_sigwaitinfo): Do not use CHECK_1.
23570         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23571         <bp-checks.h>.
23572         (msgctl): Do not use CHECK_1.
23573         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23574         <bp-checks.h>.
23575         (shmctl): Do not use CHECK_1.
23576         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23577         (ustat): Do not use CHECK_1.
23578         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23579         <bp-checks.h>.
23580         (__fxstat): Do not use CHECK_1.
23581         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23582         <bp-checks.h>.
23583         (__fxstatat): Do not use CHECK_1.
23584         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23585         <bp-checks.h>.
23586         (__lxstat): Do not use CHECK_1.
23587         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23588         <bp-checks.h>.
23589         (__xstat): Do not use CHECK_1.
23590         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23591         (__xstat): Do not use CHECK_1.
23592         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23593         (___xstat64): Do not use CHECK_1.
23594
23595         [BZ #13550]
23596         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23597         definitions.
23598         (CHECK_BOUNDS_HIGH): Likewise.
23599         * string/strcpy.c: Do not include <bp-checks.h>.
23600         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23601
23602 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23603
23604         * nscd/nscd-client.h (__nscd_drop_map_ref):
23605         Add __attribute__ ((unused)).
23606         * nis/nss-nisplus.h (niserr2nss): Likewise.
23607
23608         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23609         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23610
23611         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23612         Remove inline keyword.
23613         * include/rounding-mode.h (round_away): Likewise.
23614         * libio/wfileops.c (adjust_wide_data): Likewise.
23615         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23616         (__m128i_strloadu_tolower): Likewise.
23617         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23618         (__m128i_strloadu_tolower): Likewise.
23619         * time/mktime.c (ydhms_diff): Likewise.
23620         * locale/elem-hash.h (elem_hash): Likewise.
23621         * locale/setlocale.c (setdata): Likewise.
23622         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23623         (re_string_wchar_at): Likewise.
23624         (bitset_not, bitset_merge, bitset_mask): Likewise.
23625         [!(__GNUC__ > 3)] (inline): Remove macro.
23626         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23627         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23628         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23629         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23630         * string/memcmp.c (memcmp_bytes): Likewise.
23631         * locale/programs/locarchive.c (compute_hashval): Likewise.
23632         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23633         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23634         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23635         * nss/getent.c (print_rpc, print_protocols): Likewise.
23636         (print_passwd, print_group, print_aliases): Likewise.
23637         * nis/nss-nisplus.h (niserr2nss): Likewise.
23638         * nscd/connections.c (restart_p): Likewise.
23639         Change return type to bool.
23640
23641 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23642
23643         * Makeconfig (all-Depend-files): Add existing
23644         $(sorted-subdirs:=/Depend) files.
23645         (all-subdirs): Remove nss.
23646         * sysdeps/unix/inet/Subdirs: Add it here instead.
23647         * hesiod/Depend: New file.
23648
23649         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23650         instead of calling alloca.
23651
23652         * io/lseek.c (__lseek): Rename to __libc_lseek.
23653         Define __lseek as an alias.
23654
23655         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23656
23657 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23658
23659         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23660         else clause and remove check for non-standard endianness.
23661
23662 2013-02-04  David S. Miller  <davem@davemloft.net>
23663
23664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23665
23666 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23667
23668         [BZ #13550]
23669         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23670         (__ubp_memchr): Remove prototype.
23671         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23672         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23673         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23674         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23675         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23676         Remove alias.
23677         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23678         (__ubp_memchr): Likewise.
23679         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23680         (__ubp_memchr): Likewise.
23681         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23682         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23683         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23684         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23685         CHECK_STRING.
23686         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23687         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23688         (__getcwd): Do not use CHECK_STRING.
23689         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23690         <bp-checks.h>.
23691         (__real_chown): Do not use CHECK_STRING.
23692         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23693         <bp-checks.h>.
23694         (fchownat): Do not use CHECK_STRING.
23695         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23696         CHECK_STRING.
23697         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23698         <bp-checks.h>.
23699         (__lchown): Do not use CHECK_STRING.
23700         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23701         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23702         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23703         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23705         include <bp-checks.h>.
23706         (truncate64): Do not use CHECK_STRING.
23707         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23708         <bp-checks.h>.
23709         (__real_chown): Do not use CHECK_STRING.
23710         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23711         <bp-checks.h>.
23712         (__lchown): Do not use CHECK_STRING.
23713         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23714         <bp-checks.h>.
23715         (__chown): Do not use CHECK_STRING.
23716         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23717         <bp-checks.h>.
23718         (truncate64): Do not use CHECK_STRING.
23719         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23720         Likewise.
23721         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23722         (__xmknod): Do not use CHECK_STRING.
23723         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23724         <bp-checks.h>.
23725         (__xmknodat): Do not use CHECK_STRING.
23726         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23727         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23728
23729 2013-02-04  Andreas Schwab  <schwab@suse.de>
23730
23731         [BZ #14142]
23732         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23733         * include/netdb.h: Likewise for h_errno.
23734         * elf/tst-stackguard1.c: Include <tls.h>.
23735
23736 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23737
23738         * elf/link.h (struct link_map): Extend the l_addr comment.
23739         * include/link.h (struct link_map): Likewise.
23740
23741 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23742
23743         [BZ #13550]
23744         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23745         (BOUNDED_1): Remove macro.
23746         * debug/backtrace.c: Don't include <bp-checks.h>.
23747         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23748         (__backtrace): Likewise.
23749         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23750         <bp-checks.h>.
23751         (__backtrace): Don't use BOUNDED_1.
23752         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23753         <bp-checks.h>.
23754         (__backtrace): Don't use BOUNDED_1.
23755         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23756         (__backtrace): Don't use BOUNDED_1.
23757         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23758         (shmat): Don't use BOUNDED_N.
23759
23760 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23761
23762         [BZ #13550]
23763         * sysdeps/generic/bp-start.h: Remove file.
23764         * csu/libc-start.c: Don't include <bp-start.h>.
23765         (LIBC_START_MAIN): Set up __environ directly instead of using
23766         INIT_ARGV_and_ENVIRON.
23767         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23768         <bp-start.h>.
23769
23770         [BZ #13550]
23771         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23772         definitions.
23773         (CHECK_FCNTL): Likewise.
23774         (CHECK_N_PAGES): Likewise.
23775
23776         [BZ #13550]
23777         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23778         definitions.
23779         (CHECK_SIGSET_NULL_OK): Likewise.
23780         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23781         <bp-checks.h>.
23782         (sigpending): Don't use CHECK_SIGSET.
23783         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23784         <bp-checks.h>.
23785         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23786         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23787         <bp-checks.h>.
23788         (do_sigsuspend): Don't use CHECK_SIGSET.
23789         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23790         use CHECK_SIGSET.
23791         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23792         (do_sigwait): Don't use CHECK_SIGSET.
23793         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23794         use CHECK_SIGSET.
23795         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23796         include <bp-checks.h>.
23797         (sigpending): Don't use CHECK_SIGSET.
23798         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23799         include <bp-checks.h>.
23800         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23801         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23802         <bp-checks.h>.
23803         (sigpending): Don't use CHECK_SIGSET.
23804         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23805         <bp-checks.h>.
23806         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23807
23808         [BZ #13550]
23809         * sysdeps/generic/bp-semctl.h: Remove file.
23810         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23811         <bp-checks.h> and <bp-semctl.h>.
23812         (__old_semctl): Don't use CHECK_SEMCTL.
23813         (__new_semctl): Likewise.
23814         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23815         and <bp-semctl.h>.
23816         (__old_semctl): Don't use CHECK_SEMCTL.
23817         (__new_semctl): Likewise.
23818         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23819         <bp-checks.h> and <bp-semctl.h>.
23820         (__old_semctl): Don't use CHECK_SEMCTL.
23821         (__new_semctl): Likewise.
23822         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23823         <bp-checks.h> and <bp-semctl.h>.
23824         (semctl): Don't use CHECK_SEMCTL.
23825
23826         [BZ #13550]
23827         * Makerules (elide-bp-thunks): Remove variable.
23828         (elide-routines.oS): Don't use $(elide-bp-thunks).
23829         (elide-routines.os): Likewise.
23830         (elide-routines.o): Likewise.
23831         (elide-routines.op): Likewise.
23832         (elide-routines.og): Likewise.
23833         (objects): Don't use $(bp-thunks).
23834         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23835         include.
23836         (common-generated): Do not add s-proto-bp.d.
23837         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23838         (int): Likewise.
23839         (typ): Likewise.
23840         Do not generate makefile rules for bounded-pointer thunks.
23841         * sysdeps/generic/bp-thunks.h: Remove file.
23842         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23843         * sysdeps/unix/s-proto-bp.S: Likewise.
23844
23845         [BZ #15062]
23846         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23847         parts of result separately when argument is not close to line from
23848         -i to i and one part of argument is small.
23849         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23850         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23851         * math/libm-test.inc (cacos_test): Add more tests.
23852         (casin_test): Likewise.
23853         (casinh_test): Likewise.
23854         * sysdeps/i386/fpu/libm-test-ulps: Update.
23855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23856
23857 2013-01-31  David S. Miller  <davem@davemloft.net>
23858
23859         * po/de.po: Update from translation team.
23860
23861 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23862
23863         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23864
23865 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23866
23867         * configure.in (_AC_PROG_CC_C89): New definition.
23868         * configure: Regenerate.
23869
23870         * configure.in (AC_PROG_CPP): New definition.
23871         * configure: Regenerate.
23872
23873 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23874
23875         * debug/tst-backtrace.h: New file.
23876         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23877         (ret): Remove variable.
23878         (x): Likewise.
23879         (FAIL): Remove macro.
23880         (NO_INLINE): Likewise.
23881         (fn1): Use match function instead of strstr.
23882         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23883         (ret): Remove variable.
23884         (x): Likewise.
23885         (FAIL): Remove macro.
23886         (NO_INLINE): Likewise.
23887         (fn): Use match function instead of strstr.
23888         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23889         (ret): Remove variable.
23890         (x): Likewise.
23891         (FAIL): Remove macro.
23892         (NO_INLINE): Likewise.
23893         (handle_signal): Use match function instead of strstr.
23894         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23895         (ret): Remove variable.
23896         (x): Likewise.
23897         (FAIL): Remove macro.
23898         (NO_INLINE): Likewise.
23899         (handle_signal): Use match function instead of strstr.
23900
23901 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23902
23903         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23904
23905 2013-01-23  David S. Miller  <davem@davemloft.net>
23906
23907         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23908         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23909         argument of CAS if possible.
23910         * sysdeps/sparc/sparc64/bits/atomic.h
23911         (__arch_compare_and_exchange_val_32_acq): Likewise.
23912         (__arch_compare_and_exchange_val_64_acq): Likewise.
23913
23914 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23915
23916         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23917         * sysdeps/posix/ulimit.c: ... this.
23918         Include <limits.h>.
23919         * sysdeps/unix/bsd/ulimit.c: Remove file.
23920
23921 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23922
23923         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23924         (LDFLAGS-tst-array5): Likewise.
23925
23926 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23927
23928         [BZ #15036]
23929         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23930         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23931         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23932         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23933
23934 2013-01-21  David S. Miller  <davem@davemloft.net>
23935
23936         * sysdeps/sparc/backtrace.c: New file.
23937         * sysdeps/sparc/sparc32/backtrace.h: New file.
23938         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23939         * sysdeps/sparc/sparc64/backtrace.h: New file.
23940         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23941         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23942         -funwind-tables.
23943
23944 2013-01-21  Andreas Schwab  <schwab@suse.de>
23945
23946         [BZ #15020]
23947         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23948         closed its stdout.
23949
23950 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23951
23952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23953         "mpa2.h".
23954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23955
23956 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23957             Mark Mitchell  <mark@codesourcery.com>
23958             Tom de Vries  <tom@codesourcery.com>
23959             Paul Pluzhnikov  <ppluzhnikov@google.com>
23960
23961         * debug/tst-backtrace2.c: New file.
23962         * debug/tst-backtrace3.c: Likewise.
23963         * debug/tst-backtrace4.c: Likewise.
23964         * debug/tst-backtrace5.c: Likewise.
23965         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23966         (CFLAGS-tst-backtrace3.c): Likewise.
23967         (CFLAGS-tst-backtrace4.c): Likewise.
23968         (CFLAGS-tst-backtrace5.c): Likewise.
23969         (LDFLAGS-tst-backtrace2): Likewise.
23970         (LDFLAGS-tst-backtrace3): Likewise.
23971         (LDFLAGS-tst-backtrace4): Likewise.
23972         (LDFLAGS-tst-backtrace5): Likewise.
23973         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23974         tst-backtrace4 and tst-backtrace5.
23975
23976 2013-01-18  Anton Blanchard  <anton@samba.org>
23977             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23978
23979         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23980         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23981         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23982         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23984         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23985         "+r" and remove output regs list as redundant.  Add explicit inline
23986         asm to specify register of return val to work around compiler codegen
23987         bug.  Remove (int) cast on return value.  Add return type parameter to
23988         use in macro so that this macro does not truncate return value for
23989         64-bit values.
23990         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23991         pass to INTERNAL_VSYSCALL_NCS.
23992         (INLINE_VSYSCALL): Add 'long int' as return type to
23993         INTERNAL_VSYSCALL_NCS macro invocation.
23994         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23995         INTERNAL_VSYSCALL_NCS macro invocation.
23996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23997
23998 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23999
24000         [BZ #14496]
24001         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24002         Fix application of SIMD FP exception mask.
24003
24004         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24005         mp_no from a power of two.
24006         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24007         __mpexp_twomm1.  Use __pow_mp.
24008
24009         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24010         multiplication.
24011
24012 2013-01-17  David S. Miller  <davem@davemloft.net>
24013
24014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24015
24016 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24017
24018         [BZ #15023]
24019         * include/complex.h: Condition contents on [!_COMPLEX_H].
24020         (__kernel_casinhf): New prototype.
24021         (__kernel_casinh): Likewise.
24022         (__kernel_casinhl): Likewise.
24023         * math/Makefile (libm_calls): Add k_casinh.
24024         * math/k_casinh.c: New file.
24025         * math/k_casinhf.c: Likewise.
24026         * math/k_casinhl.c: Likewise.
24027         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24028         finite nonzero arguments.
24029         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24030         finite nonzero arguments.
24031         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24032         finite nonzero arguments.
24033         * math/s_casinh.c: Do not include <float.h>.
24034         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24035         * math/s_casinhf.c: Do not include <float.h>.
24036         (__casinhf): Move code for finite nonzero arguments to
24037         k_casinhf.c.
24038         * math/s_casinhl.c: Do not include <float.h>.
24039         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24040         redefine.
24041         (__casinhl): Move code for finite nonzero arguments to
24042         k_casinhl.c.
24043         * math/libm-test.inc (cacos_test): Add more tests.
24044         * sysdeps/i386/fpu/libm-test-ulps: Update.
24045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24046
24047 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24048
24049         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24050         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24051         [!HAVE_MREMAP]: Remove [defined linux] case.
24052         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24053
24054 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24055
24056         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24057
24058 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24059
24060         * elf/elf.h (R_386_SIZE32): New relocation.
24061         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24062         R_386_SIZE32.
24063         (elf_machine_rela): Likewise.
24064         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24065         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24066
24067 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24068
24069         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24070         (FP_FAST_FMA): Do not define.
24071         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24072         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24073         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24074         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24075         !_SOFT_FLOAT]: Likewise.
24076         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24077         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24078         value.
24079         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24080         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24081         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24082         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24083         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24084         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24085         file.
24086
24087 2013-01-16  Andreas Schwab  <schwab@suse.de>
24088
24089         [BZ #14327]
24090         * include/stdlib.h (__mktemp): Add declaration.
24091         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24092         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24093
24094 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24095
24096         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24097         definitions.
24098         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24099         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24100         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24101         definitions here.
24102         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24103         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24104         definitions.
24105         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24106         and ONE.
24107         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24108         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24109         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24110         definitions.
24111         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24112         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24113         definitions.
24114         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24115
24116         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24117
24118 2013-01-15  David S. Miller  <davem@davemloft.net>
24119
24120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24121         trunc{,f} to libm-sysdep_routes.
24122         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24124         file.
24125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24127         file.
24128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24129         file.
24130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24132         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24133         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24134         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24135         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24136         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24137         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24138
24139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24140         nearbyint{,f} to libm-sysdep_routes.
24141         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24143         New file.
24144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24145         file.
24146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24147         New file.
24148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24149         file.
24150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24152         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24153         file.
24154         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24155         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24156         file.
24157         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24158         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24159         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24160
24161         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24162         libc_feholdexcept and libc_fesetenv.
24163
24164 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24165
24166         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24167
24168 2013-01-14  David S. Miller  <davem@davemloft.net>
24169
24170         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24171         (SPARC_ASM_VIS2_IFUNC): Likewise.
24172         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24174         use of 'siam' instruction.
24175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24176         Likewise.
24177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24178         Likewise.
24179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24180         Likewise.
24181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24183         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24184         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24186         file.
24187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24188         file.
24189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24190         file.
24191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24192         file.
24193         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24194         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24198         new VIS2 routines.
24199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24202         Likewise.
24203         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24204         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24205         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24206         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24208         routines to libm-sysdep_routines.
24209         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24210
24211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24212         fdim/fdimf to libm-sysdep_routines.
24213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24214         file.
24215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24217         file.
24218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24221         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24222         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24223         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24224         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24225
24226 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24227
24228         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24229         to optimize copies.
24230
24231         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24232         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24234
24235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24236         local variable MPTWO.
24237         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24238         Likewise.
24239
24240 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24241
24242         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24243         GLOB_NOESCAPE.
24244
24245 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24246
24247         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24248
24249 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24250
24251         * manual/pattern.texi (glob_t): Document gl_flags.
24252         (glob64_t): Likewise.
24253
24254 2013-01-11  David S. Miller  <davem@davemloft.net>
24255
24256         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24257         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24258         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24259         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24260         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24261         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24262         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24263         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24264         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24265         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24266         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24267         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24268         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24269
24270         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24271         sparc V9 rather than using V8 code.
24272         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24273         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24274
24275         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24276         Move to...
24277         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24278         Here.
24279
24280 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24281
24282         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24283         not in the main loop.
24284         * configure: Regenerated.
24285
24286 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24287
24288         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24289         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24290         to just #else.
24291         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24292         [!__GLIBC_HAVE_LONG_LONG] case.
24293         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24294         condition to just #else.
24295         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24296         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24297         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24298         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24299         unconditional.
24300         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24301         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24302         #elif condition to just #else.
24303         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24304         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24305         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24306         #elif condition to just #else.
24307
24308 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24309
24310         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24311         (EF_MIPS_ARCH_64): Fix value.
24312         (EF_MIPS_ARCH_32R2): New.
24313         (EF_MIPS_ARCH_64R2): New.
24314
24315 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24316
24317         * Makeconfig (+link-pie-before-libc): New.
24318         (+link-pie-after-libc): Likewise.
24319         (+link-pie-tests): Likewise.
24320         (+link-pie): Rewritten.
24321         (link-before-libc): Remove $(config-LDFLAGS).
24322         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24323         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24324         (config-LDFLAGS): Renamed to ...
24325         (rtld-LDFLAGS): This.
24326         (rtld-tests-LDFLAGS): New macro.
24327         (link-libc-rpath-link): Likewise.
24328         (link-libc-tests-rpath-link): Likewise.
24329         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24330         (link-libc): Prepand $(link-libc-rpath-link).
24331         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24332         (test-program-prefix): New macro.
24333         (test-via-rtld-prefix): Likewise.
24334         (test-program-cmd): Likewise.
24335         (host-test-program-cmd): Likewise.
24336         * Makefile ($(common-objpfx)testrun.sh): Replace
24337         $(run-program-prefix) with $(test-program-prefix).
24338         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24339         $(rtld-LDFLAGS).
24340         ($(common-objpfx)shlib.lds): Likewise.
24341         (build-module-helper): Likewise.
24342         ($(common-objpfx)format.lds): Likewise.
24343         * Rules (binaries-pie-tests): New.
24344         (binaries-pie-notests): Likewise.
24345         (binaries-pie): Rewritten.
24346         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24347         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24348         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24349         (make-test-out): Replace $(host-built-program-cmd) with
24350         $(host-test-program-cmd).
24351         * config.make.in (build-hardcoded-path-in-tests): New variable.
24352         * configure.in (--enable-hardcoded-path-in-tests): New configure
24353         option.
24354         (hardcoded_path_in_tests): New AC_SUBST.
24355         * configure: Regenerated.
24356         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24357         $(built-program-cmd) with $(test-program-cmd).
24358         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24359         (test_program_cmd): This.
24360         * elf/Makefile ($(objpfx)order.out): Run test with
24361         $(test-program-prefix).
24362         ($(objpfx)order2.out): Likewise.
24363         ($(objpfx)tst-initorder.out): Likewise.
24364         ($(objpfx)tst-initorder2.out): Likewise.
24365         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24366         $(test-program-cmd).
24367         ($(objpfx)tst-array1-static.out): Likewise.
24368         ($(objpfx)tst-array2.out): Likewise.
24369         ($(objpfx)tst-array3.out): Likewise.
24370         ($(objpfx)tst-array4.out): Likewise.
24371         ($(objpfx)tst-array5.out): Likewise.
24372         ($(objpfx)tst-array5-static.out): Likewise.
24373         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24374         $(test-program-cmd).
24375         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24376         $(run-program-prefix) with $(test-program-prefix).
24377         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24378         (test_program_prefix): This.
24379         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24380         $(run-program-prefix) with $(test-program-prefix).
24381         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24382         (test_program_prefix): This.
24383         * iconvdata/tst-tables.sh: Likewise.
24384         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24385         $(run-program-prefix) with $(test-program-prefix).
24386         ($(objpfx)tst-translit.out): Likewise.
24387         ($(objpfx)tst-gettext2.out): Likewise.
24388         ($(objpfx)tst-gettext4.out): Likewise.
24389         ($(objpfx)tst-gettext6.out): Likewise.
24390         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24391         (test_program_prefix): This.
24392         * intl/tst-gettext2.sh: Likewise.
24393         * intl/tst-gettext4.sh  Likewise.
24394         * intl/tst-gettext6.sh: Likewise.
24395         * intl/tst-translit.sh: Likewise.
24396         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24397         with $(test-program-cmd).
24398         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24399         $(run-program-prefix) with $(test-program-prefix).
24400         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24401         (test_program_prefix): This.
24402         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24403         $(run-program-prefix) with $(test-program-prefix).
24404         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24405         (test_program_prefix): This.
24406         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24407         * posix/Makefile ($(objpfx)globtest.out): Replace
24408         $(run-via-rtld-prefix) and $(test-wrapper) with
24409         $(test-program-prefix) and $(test-via-rtld-prefix).
24410         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24411         $(test-program-prefix).
24412         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24413         $(host-test-program-cmd).
24414         (tst-spawn-ARGS): Likewise.
24415         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24416         $(test-program-prefix).
24417         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24418         (test_via_rtld_prefix): This.
24419         (test_wrapper): Renamed to ...
24420         (test_program_prefix): This.
24421         (run_program_prefix): Replaced by test_program_prefix.
24422         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24423         (test_program_prefix): This.
24424         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24425         with $(host-test-program-cmd).
24426         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24427         $(run-program-prefix) with $(test-program-prefix).
24428         ($(objpfx)tst-printf.out): Likewise.
24429         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24430         $(test-program-cmd).
24431         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24432         (test_program_prefix): This.
24433         * stdio-common/tst-unbputc.sh: Likewise.
24434         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24435         $(run-program-prefix) with $(test-program-prefix).
24436         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24437         (test_program_prefix): This.
24438         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24439         $(built-program-cmd) with $(test-program-cmd).
24440
24441 2013-01-11  Andreas Jaeger  <aj@suse.de>
24442
24443         [BZ #15003]
24444         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24445         value. Sync with Linux 3.7.
24446
24447 2013-01-10  David S. Miller  <davem@davemloft.net>
24448
24449         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24450         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24451         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24452
24453 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24454
24455         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24456         never set.
24457         * configure: Regenerated.
24458
24459 2013-01-10  David S. Miller  <davem@davemloft.net>
24460
24461         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24462         sparc V9 rather than using V8 code.
24463         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24464         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24465
24466 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24467
24468         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24469         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24470         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24471         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24472         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24473         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24474         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24475         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24476         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24477         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24478         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24479         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24480         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24481         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24482         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24483         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24484         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24485         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24486         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24487         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24488         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24489         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24490         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24491         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24492         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24493         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24494         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24495
24496 2013-01-10  David S. Miller  <davem@davemloft.net>
24497
24498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24499
24500 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24501
24502         * posix/Makefile (tests-static): New variable.
24503         (tests): Add $(tests-static).
24504         (tst-exec-static-ARGS): New variable.
24505         (tst-spawn-static-ARGS): Likewise.
24506         * posix/tst-exec-static.c: New file.
24507         * posix/tst-spawn-static.c: Likewise.
24508         * posix/tst-exec.c: Support run directly.
24509         * posix/tst-spawn.c: Likewise.
24510
24511 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24512
24513         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24514         long.
24515         * math/bits/mathcalls.h (llrint): Likewise.
24516         (llround): Likewise.
24517         * stdlib/stdlib.h (struct drand48_data): Likewise.
24518         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24519         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24520         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24521         Likewise.
24522         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24523         Likewise.
24524         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24525         (elf_greg_t): Likewise.
24526         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24527         (__jmp_buf): Likewise.
24528         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24529         definitions.
24530         (llrint): Likewise, for all definitions.
24531         (llrintl): Likewise.
24532
24533         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24534         Remove [__GNUC__] condition.
24535         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24536         condition to just [__USE_ISOC99].
24537         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24538
24539 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24540
24541         [BZ #14200]
24542         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24543         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24544         defined.
24545         (_POSIX_V6_ILP32_OFF32): Likewise.
24546         (_XBS5_ILP32_OFF32): Likewise.
24547         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24548         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24549
24550 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24551
24552         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24553
24554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24555         doubles __mpexp_twomm1.  Adjust usage.
24556         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24557         Remove.
24558
24559 2013-01-10  Andreas Schwab  <schwab@suse.de>
24560
24561         [BZ #14964]
24562         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24563         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24564
24565 2013-01-09  David S. Miller  <davem@davemloft.net>
24566
24567         [BZ #15003]
24568         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24569         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24570         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24571         (TCP_FASTOPEN): Define.
24572         (tcp_repair_opt): New structure.
24573         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24574         enum values.
24575         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24576         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24577         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24578         (tcp_cookie_transactions): New structure.
24579
24580 2013-01-09  Anton Blanchard  <anton@samba.org>
24581
24582         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24583         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24584         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24585         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24586
24587 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24588
24589         * include/features.h (__USE_ANSI): Remove.
24590
24591 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24592
24593         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24594
24595         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24596
24597 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24598
24599         * sysdeps/s390/fpu/libm-test-ulps: Update.
24600
24601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24602
24603         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24604         (__acr): Likewise.
24605         (__cpy): Likewise.
24606         (norm): Likewise.
24607         (denorm): Likewise.
24608         (__mp_dbl): Likewise.
24609         (__dbl_mp): Likewise.
24610         (add_magnitudes): Likewise.
24611         (sub_magnitudes): Likewise.
24612         (__add): Likewise.
24613         (__sub): Likewise.
24614         (__mul): Likewise.
24615         (__inv): Likewise.
24616         (__dvd): Likewise.
24617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24618         (__acr): Likewise.
24619         (__cpy): Likewise.
24620         (norm): Likewise.
24621         (denorm): Likewise.
24622         (__mp_dbl): Likewise.
24623         (__dbl_mp): Likewise.
24624         (add_magnitudes): Likewise.
24625         (sub_magnitudes): Likewise.
24626         (__add): Likewise.
24627         (__sub): Likewise.
24628         (__mul): Likewise.
24629         (__inv): Likewise.
24630         (__dvd): Likewise.
24631         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24632         (__acr): Likewise.
24633         (__cpy): Likewise.
24634         (norm): Likewise.
24635         (denorm): Likewise.
24636         (__mp_dbl): Likewise.
24637         (__dbl_mp): Likewise.
24638         (add_magnitudes): Likewise.
24639         (sub_magnitudes): Likewise.
24640         (__add): Likewise.
24641         (__sub): Likewise.
24642         (__mul): Likewise.
24643         (__inv): Likewise.
24644         (__dvd): Likewise.
24645
24646 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24647
24648         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24649         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24650         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24651         2 && __USE_EXTERN_INLINES]: Likewise.
24652
24653 2013-01-08  Andreas Jaeger  <aj@suse.de>
24654
24655         [BZ# 14985]
24656         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24657         Remove.
24658         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24659         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24660
24661 2013-01-07  Anton Blanchard  <anton@samba.org>
24662
24663         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24664         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24665         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24666         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24667         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24668         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24669         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24670         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24672         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24673         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24674         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24675         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24676         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24677         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24678         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24679         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24680         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24681         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24682         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24683         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24684         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24685         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24686         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24687         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24688         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24689         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24690         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24691         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24692         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24693         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24695         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24696         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24697         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24698         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24699         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24700         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24701         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24702         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24703         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24704         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24705         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24706
24707 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24708
24709         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24710         (__MALLOC_PMT): Likewise.
24711         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24712         [__GNUC__], only on [_LIBC].
24713         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24714         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24715         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24716         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24717         forward declaration.
24718         (realloc_hook_ini): Likewise.
24719         (memalign_hook_ini): Likewise.
24720         (__libc_memalign): Do not use __MALLOC_PMT in variable
24721         declaration.
24722         (__libc_valloc): Likewise.
24723         (__libc_pvalloc): Likewise.
24724         (__libc_calloc): Likewise.
24725         (__posix_memalign): Likewise.
24726
24727         [BZ #14996]
24728         * math/s_casinh.c: Include <float.h>.
24729         (__casinh): Do not do computation with squaring and square root
24730         for large arguments.
24731         * math/s_casinhf.c: Include <float.h>.
24732         (__casinhf): Do not do computation with squaring and square root
24733         for large arguments.
24734         * math/s_casinhl.c: Include <float.h>.
24735         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24736         (__casinhl): Do not do computation with squaring and square root
24737         for large arguments.
24738         * math/libm-test.inc (casin_test): Add more tests.
24739         (casinh_test): Likewise.
24740         * sysdeps/i386/fpu/libm-test-ulps: Update.
24741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24742
24743 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24744
24745         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24746         (__x86_64_raw_data_cache_size): Likewise.
24747         (__x86_64_data_cache_size_half): Likewise.
24748         (__x86_64_raw_data_cache_size_half): Likewise.
24749         (__x86_64_shared_cache_size): Likewise.
24750         (__x86_64_raw_shared_cache_size): Likewise.
24751         (__x86_64_shared_cache_size_half): Likewise.
24752         (__x86_64_raw_shared_cache_size_half): Likewise.
24753         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24754         to ...
24755         (__x86_data_cache_size): This.
24756         (__x86_64_raw_data_cache_size): Renamed to ...
24757         (__x86_raw_data_cache_size): This.
24758         (__x86_64_data_cache_size_half): Renamed to ...
24759         (__x86_data_cache_size_half): This.
24760         (__x86_64_raw_data_cache_size_half): Renamed to ...
24761         (__x86_raw_data_cache_size_half): This.
24762         (__x86_64_shared_cache_size): Renamed to ...
24763         (__x86_shared_cache_size): This.
24764         (__x86_64_raw_shared_cache_size): Renamed to ...
24765         (__x86_raw_shared_cache_size): This.
24766         (__x86_64_shared_cache_size_half): Renamed to ...
24767         (__x86_shared_cache_size_half): This.
24768         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24769         (__x86_raw_shared_cache_size_half): This.
24770         * sysdeps/x86_64/memcpy.S: Updated.
24771         * sysdeps/x86_64/memset.S: Likewise.
24772         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24773         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24774         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24775
24776 2013-01-04  David S. Miller  <davem@davemloft.net>
24777
24778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24779
24780 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24781
24782         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24783         1 to avoid redefinition warning.
24784         (__USE_GNU): Don't define.
24785         (init_signaling_nan): Protoize.
24786
24787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24788
24789 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24790
24791         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24793         (__cpymn): Likewise.
24794         (norm): Remove commented code.
24795         (denorm): Likewise.
24796         (__mp_dbl): Likewise.
24797         (__inv): Likewise.
24798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24799         (__cpymn): Likewise.
24800         (norm): Remove commented code.
24801         (denorm): Likewise.
24802         (__mp_dbl): Likewise.
24803         (__inv): Likewise.
24804
24805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24806         mp_no value for 1.0 and 2.0.
24807         (norm): Use RADIXI instead of radixi.d.
24808         (denorm): Likewise.
24809         (__mul): Use 0.0 instead of zero.d.
24810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24811         mp_no value for 1.0 and 2.0.
24812         (norm): Use RADIXI instead of radixi.d.
24813         (denorm): Likewise.
24814         (__mul): Use 0.0 instead of zero.d.
24815
24816 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24817
24818         [BZ #14994]
24819         * math/s_casinh.c (__casinh): Reduce finite argument to first
24820         quadrant then set signs of results at the end.
24821         * math/s_casinhf.c (__casinhf): Likewise.
24822         * math/s_casinhl.c (__casinhl): Likewise.
24823         * math/libm-test.inc (casin_test): Add more tests.
24824         (casinh_test): Likewise.
24825         * sysdeps/i386/fpu/libm-test-ulps: Update.
24826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24827
24828 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24829
24830         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24831
24832         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24833
24834         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24835         declarations.
24836         (denorm): Likewise.
24837         (__mp_dbl): Likewise.
24838         (__inv): Likewise.
24839
24840         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24841         and adjust the header comment.
24842
24843         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24844         variable name from declaration.
24845
24846 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24847
24848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24849         Initialize COMMON_CPUID_INDEX_7 element.
24850         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24851         (CPUID_RTM): Likewise.
24852         (HAS_RTM): Likewise.
24853         (COMMON_CPUID_INDEX_7): New enum.
24854
24855 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24856
24857         [BZ #14981]
24858         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24859         size is zero, record memory as freed.
24860
24861 2013-01-03  Andreas Jaeger  <aj@suse.de>
24862
24863         * po/ia.po: Add new Interlingua translation.
24864
24865 2012-01-03  Allan McRae  <allan@archlinux.org>
24866
24867         * locale/programs/localedef.c: Fix description of '--posix' flag.
24868
24869 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24870
24871         * NEWS: Update dates in second copyright notice.
24872         * README: Update copyright dates in example.
24873         * manual/libc.texinfo: Update copyright dates.
24874         * scripts/test-installation.pl: Update copyright date in --version
24875         output.
24876
24877         * hurd/ctty-input.c: Fix copyright notice formatting.
24878         * hurd/ctty-output.c: Likewise.
24879         * hurd/dtable.c: Likewise.
24880         * hurd/hurd-raise.c: Likewise.
24881         * hurd/hurdprio.c: Likewise.
24882         * hurd/msgportdemux.c: Likewise.
24883         * misc/sys/file.h: Likewise.
24884         * misc/sys/ioctl.h: Likewise.
24885         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24886         * sysdeps/mach/hurd/chdir.c: Likewise.
24887         * sysdeps/mach/hurd/fchdir.c: Likewise.
24888         * sysdeps/mach/hurd/rename.c: Likewise.
24889         * sysdeps/mach/hurd/rmdir.c: Likewise.
24890         * sysdeps/mach/hurd/seekdir.c: Likewise.
24891         * sysdeps/mach/hurd/setsid.c: Likewise.
24892         * sysdeps/posix/wait3.c: Likewise.
24893
24894         * All files with FSF copyright notices: Update copyright dates
24895         using scripts/update-copyrights.
24896         * intl/plural.c: Regenerated.
24897         * locale/programs/charmap-kw.h: Likewise.
24898         * locale/programs/locfile-kw.h: Likewise.
24899
24900 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24901
24902         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24903         four values.
24904
24905         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24906         calculation loop and add branch prediction.
24907
24908         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24909         check access beyond bounds of m1np.
24910
24911         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24912         MPTWO.
24913         (__inv): Remove local variable MPTWO to use the global
24914         constant.
24915         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24916         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24917         variable MPTWO.
24918         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24919         MP3HALFS static const.
24920
24921 2013-01-01  David S. Miller  <davem@davemloft.net>
24922
24923         * po/ca.po: Update from translation team.
24924
24925 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24926
24927         * scripts/update-copyrights: New file.
24928         * Makeconfig: Reformat copyright notice.
24929         * ctype/ctype.h: Likewise.
24930         * debug/swprintf_chk.c: Likewise.
24931         * elf/dl-cache.c: Likewise.
24932         * elf/dl-debug.c: Likewise.
24933         * elf/dl-object.c: Likewise.
24934         * grp/initgroups.c: Likewise.
24935         * hurd/Makefile: Likewise.
24936         * hurd/hurd/signal.h: Likewise.
24937         * hurd/hurdfault.c: Likewise.
24938         * hurd/hurdioctl.c: Likewise.
24939         * hurd/hurdlookup.c: Likewise.
24940         * hurd/intr-msg.c: Likewise.
24941         * iconv/gconv_open.c: Likewise.
24942         * libio/swprintf.c: Likewise.
24943         * locale/lc-ctype.c: Likewise.
24944         * locale/nl_langinfo.c: Likewise.
24945         * mach/Machrules: Likewise.
24946         * mach/Makefile: Likewise.
24947         * malloc/obstack.h: Likewise.
24948         * manual/Makefile: Likewise.
24949         * manual/tsort.awk: Likewise.
24950         * misc/bits/stab.def: Likewise.
24951         * nis/nis_print_group_entry.c: Likewise.
24952         * nis/nis_table.c: Likewise.
24953         * nis/nss_compat/compat-pwd.c: Likewise.
24954         * nis/nss_compat/compat-spwd.c: Likewise.
24955         * po/Makefile: Likewise.
24956         * posix/fnmatch.c: Likewise.
24957         * posix/regex.h: Likewise.
24958         * resolv/Makefile: Likewise.
24959         * resolv/nss_dns/dns-network.c: Likewise.
24960         * resolv/res_hconf.c: Likewise.
24961         * scripts/gen-sorted.awk: Likewise.
24962         * soft-fp/soft-fp.h: Likewise.
24963         * stdio-common/printf.h: Likewise.
24964         * stdlib/monetary.h: Likewise.
24965         * stdlib/random.c: Likewise.
24966         * stdlib/random_r.c: Likewise.
24967         * sysdeps/generic/Makefile: Likewise.
24968         * sysdeps/gnu/Makefile: Likewise.
24969         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24970         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24971         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24972         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24973         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24974         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24975         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24976         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24977         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24978         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24979         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24980         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24981         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24982         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24983         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24984         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24985         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24986         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24987         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24988         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24989         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24990         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24991         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24992         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24993         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24994         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24995         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24996         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24997         * sysdeps/mach/hurd/errnos.awk: Likewise.
24998         * sysdeps/mach/hurd/fork.c: Likewise.
24999         * sysdeps/mach/hurd/getcwd.c: Likewise.
25000         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25001         * sysdeps/mach/hurd/mmap.c: Likewise.
25002         * sysdeps/mach/hurd/utimes.c: Likewise.
25003         * sysdeps/mach/hurd/xmknod.c: Likewise.
25004         * sysdeps/posix/profil.c: Likewise.
25005         * sysdeps/posix/readdir_r.c: Likewise.
25006         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25007         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25008         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25009         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25010         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25011         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25012         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25013         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25015         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25016         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25017         * sysdeps/pthread/lio_listio.c: Likewise.
25018         * sysdeps/sparc/dl-procinfo.h: Likewise.
25019         * sysdeps/unix/i386/sysdep.S: Likewise.
25020         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25021         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25022         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25023         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25025         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25026         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25027         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25028         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25029         * sysdeps/wordsize-32/divdi3.c: Likewise.
25030         * time/sys/time.h: Likewise.
25031         * wcsmbs/Makefile: Likewise.
25032
25033 2013-01-01  David S. Miller  <davem@davemloft.net>
25034
25035         * po/fr.po: Update from translation team.
25036
25037         * catgets/gencat.c: Update copyright year.
25038         * csu/version.c: Likewise.
25039         * debug/catchsegv.sh: Likewise.
25040         * debug/pcprofiledump.c: Likewise.
25041         * debug/xtrace.sh: Likewise.
25042         * elf/ldconfig.c: Likewise.
25043         * elf/ldd.bash.in: Likewise.
25044         * elf/pldd.c: Likewise.
25045         * elf/sotruss.ksh: Likewise.
25046         * elf/sprof.c: Likewise.
25047         * iconv/iconv_prog.c: Likewise.
25048         * iconv/iconvconfig.c: Likewise.
25049         * locale/programs/locale.c: Likewise.
25050         * locale/programs/localedef.c: Likewise.
25051         * login/programs/pt_chown.c: Likewise.
25052         * malloc/memusage.sh: Likewise.
25053         * malloc/memusagestat.c: Likewise.
25054         * malloc/mtrace.pl: Likewise.
25055         * nscd/nscd.c: Likewise.
25056         * nss/getent.c: Likewise.
25057         * nss/makedb.c: Likewise.
25058         * posix/getconf.c: Likewise.
25059
25060 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25061
25062         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25063         numbers.
25064
25065 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25066
25067         * math/bits/mathcalls.h (modf): Use __nonnull.
25068
25069 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25070
25071         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25072         (split): Use macro CN instead of the bare value.
25073         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25074         could be used.
25075         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25076         instead of the bare value.
25077         (power1): Likewise.
25078
25079 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25080
25081         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25082         __ATAN_TWOM.
25083         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25084
25085         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25086         their values.
25087         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25088         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25089         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25090         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25091
25092 2012-12-28  Andreas Jaeger  <aj@suse.de>
25093
25094         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25095         values are from Linux 3.7.
25096
25097         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25098         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25099
25100 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25101
25102         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25103         TRUE case.
25104
25105         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25106         (norm): Likewise.
25107         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25108         variables with preprocessor constants.
25109         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25110         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25111         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25112
25113 2012-12-27  Bruno Haible  <bruno@clisp.org>
25114
25115         [BZ #14317]
25116         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25117         only if needed.
25118
25119 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25120
25121         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25122         and use variable directly.
25123         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25124
25125         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25126         MPONE.
25127         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25128         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25129         variable MPONE.
25130         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25131         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25132         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25133         include directive.  Remove local variable MPONE.
25134         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25135         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25136         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25137
25138 2012-12-25  David S. Miller  <davem@davemloft.net>
25139
25140         * version.h (RELEASE): Set to "development".
25141         (VERSION): Set to "2.17.90".
25142         * NEWS: Add 2.18 section.
25143
25144 2012-12-21  David S. Miller  <davem@davemloft.net>
25145
25146         * po/hr.po: Update from translation team.
25147
25148 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25149
25150         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25151
25152 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25153
25154         * NEWS:  Mention new memcpy for MIPS.
25155
25156 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25157
25158         * manual/contrib.texi (Contributors): Spelling correction.
25159
25160 2012-12-15  David S. Miller  <davem@davemloft.net>
25161
25162         * po/ru.po: Update from translation team.
25163
25164 2012-12-13  David S. Miller  <davem@davemloft.net>
25165
25166         * NEWS: Mention IFUNC testsuite enhancements.
25167
25168         * po/pl.po: Update from translation team.
25169         * po/bg.po: Likewise.
25170
25171         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25172         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25173
25174 2012-12-11  David S. Miller  <davem@davemloft.net>
25175
25176         * po/sv.po: Update from translation team.
25177
25178         * po/vi.po: Update from translation team.
25179
25180         * po/cs.po: Update from translation team.
25181
25182         * po/de.po: Update from translation team.
25183         * po/eo.po: Likewise.
25184         * po/nl.po: Likewise.
25185
25186 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25187
25188         [BZ #14246]
25189         * manual/argp.texi (Argp Helper Functions): Move node to follow
25190         Argp Parsing State.
25191
25192         [BZ #14872]
25193         * manual/conf.texi (Limits on File System Capacity): Mention if
25194         terminating null is included in the max size.
25195
25196 2012-12-10  Andreas Jaeger  <aj@suse.de>
25197
25198         * po/cs.po: Update from translation team.
25199
25200 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25201
25202         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25203         void pointer and cast to uintptr_t.
25204         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25205         path.
25206         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25207         * sysdeps/s390/s390-64/memset.S: Likewise.
25208
25209 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25210
25211         [BZ #14833]
25212         * menual/message.texi (Message Translation): Fix typos.
25213         (Helper programs for gettext): Likewise.
25214
25215 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25216
25217         [BZ #14898]
25218         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25219         Change to -1.
25220
25221 2012-12-07  David S. Miller  <davem@davemloft.net>
25222
25223         * po/libc.pot: Update.
25224
25225 2012-12-07  Richard Henderson  <rth@redhat.com>
25226
25227         [BZ #10114]
25228         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25229         normal/normal case to before the switch.
25230         (_FP_DIV): Likewise.
25231
25232 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25233             Mike Frysinger  <vapier@gentoo.org>
25234
25235         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25236         check for __NR_fadvise64_64.
25237
25238 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25239
25240         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25241         0, not just to plain "0" as a statement.
25242         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25243         with cw.
25244
25245 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25246
25247         * NEWS: Use sourceware.org in Bugzilla URL.
25248
25249 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25250
25251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25252         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25253
25254         * stdio-common/tst-put-error.c (do_test): Add newline to the
25255         padded test to ensure flush.
25256
25257 2012-12-05  Jeff Law  <law@redhat.com>
25258
25259         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25260
25261 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25262
25263         * README: Don't refer to ports add-on as distributed separately.
25264         Mention AArch64 in list of systems supported in the ports add-on.
25265
25266         * LICENSES: Add more non-FSF copyright and license notices.
25267
25268         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25269         ((unused)).
25270
25271         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25272
25273         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25274         10000 as width of padded output.
25275
25276 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25277
25278         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25279
25280         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25281         variable LX with __attribute__ ((unused)).
25282         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25283         Likewise.
25284         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25285         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25286         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25287         with __attribute__ ((unused)).
25288
25289 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25290
25291         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25292
25293 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25294
25295         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25296         (CFLAGS-nldbl-acos.c): New variable.
25297         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25298         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25299         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25300         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25301         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25302         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25303         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25304         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25305         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25306         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25307         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25308         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25309         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25310         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25311         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25312         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25313         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25314         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25315         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25316         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25317         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25318         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25319         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25320         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25321         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25322         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25323         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25324         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25325         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25326         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25327         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25328         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25329         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25330         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25331         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25332         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25333         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25334         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25335         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25336         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25337         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25338         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25339         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25340         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25341         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25342         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25343         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25344         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25345         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25346         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25347         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25348         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25349         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25350         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25351         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25352         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25353         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25354         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25355         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25356         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25357         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25358         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25359         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25360         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25361         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25362         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25363         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25364         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25365         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25366         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25367         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25368         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25369         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25370         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25371         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25372         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25373         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25374         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25375         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25376         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25377         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25378         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25379         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25380         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25381         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25382         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25383         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25384         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25385         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25386         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25387         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25388         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25389         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25390         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25391         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25392         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25393         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25394
25395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25396         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25397
25398         [BZ #14914]
25399         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25400         whole low double instead of just low 47 bits when splitting values
25401         into two parts.
25402
25403 2012-12-03  Allan McRae  <allan@archlinux.org>
25404
25405         * manual/stdio.texi (Predefined Printf Handlers): Remove
25406         @hsep and @vsep usage.
25407
25408 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25409
25410         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25411         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25412
25413 2012-12-03  Jeff Law  <law@redhat.com>
25414
25415         * time/sys/time.h (settimeofday): Do not mark TV argument
25416         as __nonnull.
25417
25418 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25419
25420         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25421         when currently writing and seek to current position when not.
25422         * libio/Makefile (tests): Remove bug-fclose1.
25423         * libio/bug-fclose1.c: Delete.
25424
25425 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25426
25427         * manual/arith.texi (feenableexcept): Fix typo.
25428         (fedisableexcept): Likewise.
25429
25430 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25431
25432         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25433         second, differently-typed declaration, rather than a cast.
25434
25435 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25436
25437         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25438         * include/rpc/svc.h: ... here.
25439
25440 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25441
25442         [BZ #13013]
25443         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25444         depending n and resplen2 to catch cases where answer
25445         equals answerp2.
25446
25447 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25448
25449         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25450         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25451
25452 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25453
25454         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25455
25456 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25457
25458         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25459
25460 2012-11-28  Jeff Law  <law@redhat.com>
25461
25462         [BZ #13761]
25463         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25464         dataset_temporary.  Track alloca usage into alloca_used.
25465         If dataset is large allocate and release it via malloc/free.
25466
25467 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25468
25469         [BZ #14197]
25470         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25471
25472 2012-11-28  David S. Miller  <davem@davemloft.net>
25473
25474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25475
25476 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25477
25478         [BZ #14803]
25479         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25480         of pi/2 rounded to nearest to 64 bits.
25481         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25482         nearest to 64 bits.
25483         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25484         bits.
25485
25486 2012-11-28  Jeff Law <law@redhat.com>
25487             Martin Osvald <mosvald@redhat.com>
25488
25489         [BZ #14889]
25490         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25491         * sunrpc/svc.c: Include time.h.
25492         (__svc_accept_failed): New function.
25493         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25494         any reason other than EINTR, call __svc_accept_failed.
25495         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25496         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25497
25498 2012-11-28  Andreas Schwab  <schwab@suse.de>
25499
25500         * scripts/abilist.awk: Also handle indirect functions in .opd
25501         section.
25502
25503 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25504
25505         [BZ #13881]
25506         * sysdeps/x86/fpu/powl_helper.c: New file.
25507         * sysdeps/x86/fpu/Makefile: Likewise.
25508         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25509         (p3): New object.
25510         (__ieee754_powl): Use __powl_helper for finite arguments except
25511         integer exponents below 8.
25512         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25513         (p3): New object.
25514         (__ieee754_powl): Use __powl_helper for finite arguments except
25515         integer exponents below 8.
25516         * math/libm-test.inc (pow_test): Add more tests and enable some
25517         previously disabled tests.
25518         * sysdeps/i386/fpu/libm-test-ulps: Update.
25519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25520
25521 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25522             Carlos O'Donell  <carlos_odonell@mentor.com>
25523
25524         * nss/makedb.c (is_prime): Assert that input is odd and greater
25525         than 4.  Note that fact in a comment too.
25526         (next_prime): Add 4 to input.
25527
25528 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25529
25530         [BZ #11741]
25531         * libio/Makefile (tests): Add test case tst-fwrite-error.
25532         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25533         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25534         * libio/tst-fwrite-error.c: New test case.
25535
25536 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25537
25538         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25539         before casting to void *.
25540         * include/libc-internal.h (__pointer_type): New macro.
25541         (__integer_if_pointer_type_sub): Likewise.
25542         (__integer_if_pointer_type): Likewise.
25543         (cast_to_integer): Likewise.
25544         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25545         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25546         before casting to atomic64_t.
25547         (atomic_exchange_acq): Likewise.
25548         (__arch_exchange_and_add_body): Likewise.
25549         (__arch_add_body): Likewise.
25550         (atomic_add_negative): Likewise.
25551         (atomic_add_zero): Likewise.
25552
25553 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25554
25555         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25556         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25557         (add_fdes): Likewise.
25558         (linear_search_fdes): Likewise.
25559         (binary_search_unencoded_fdes): Likewise.
25560
25561 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25562
25563         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25564
25565 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25566
25567         * configure.in: Autodetect C++ header directories.
25568         * configure: Regenerated.
25569
25570 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25571
25572         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25573
25574 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25575
25576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25577
25578 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25579
25580         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25581         LDBL_MANT_DIG == 106]: Disable some tests.
25582         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25583         Likewise.
25584         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25585         Likewise.
25586
25587         [BZ #14871]
25588         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25589         input for small inputs.  Return +/- pi/2 for large inputs.
25590         * math/libm-test.inc (atan_test): Add more tests.
25591
25592         * sysdeps/generic/unwind-dw2-fde-glibc.c
25593         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25594         __attribute__ ((unused)).
25595
25596         [BZ #14645]
25597         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25598         x * y if x and y are nonzero and z is zero.
25599
25600         [BZ #14811]
25601         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25602         nonzero exponents with absolute value below 0x1p-117 to +/-
25603         0x1p-117.
25604
25605         [BZ #14869]
25606         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25607         up arguments below 2**-450, not just those below 2**-500.
25608         * math/libm-test.inc (hypot_test): Add another test.
25609
25610         [BZ #14868]
25611         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25612         Return a+b for ratio over 2**120, not 2**60.
25613         * math/libm-test.inc (hypot_test): Add another test.
25614
25615         * math/libm-test.inc (clog_test): Use
25616         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25617         (clog10_test): Likewise.
25618
25619         [BZ #6778]
25620         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25621
25622 2012-11-22  Andreas Schwab  <schwab@suse.de>
25623
25624         * sysdeps/i386/fpu/libm-test-ulps: Update.
25625
25626 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25627
25628         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25629         printf output with newline.
25630
25631 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25632
25633         [BZ #14865]
25634         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25635         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25636         -z nodlopen, -z initfirst and -z execstack support.
25637         * configure: Regenerated.
25638
25639         * elf/elf.h (DF_1_NODIRECT): New macro.
25640         (DF_1_IGNMULDEF): Likewise.
25641         (DF_1_NOKSYMS): Likewise.
25642         (DF_1_NOHDR): Likewise.
25643         (DF_1_EDITED): Likewise.
25644         (DF_1_NORELOC): Likewise.
25645         (DF_1_SYMINTPOSE): Likewise.
25646         (DF_1_GLOBAUDIT): Likewise.
25647         (DF_1_SINGLETON): Likewise.
25648         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25649         DT_1_SUPPORTED_MASK bits.
25650         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25651
25652 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25653
25654         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25655
25656 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25657
25658         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25659         macro.
25660
25661         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25662         (sendmmsg): Move declarations...
25663         * socket/sys/socket.h: ... here.
25664         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25665         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25666         include it from...
25667         * socket/recvmmsg.c: ... this new file.
25668         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25669         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25670         definition of __sendmmsg hidden.
25671         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25672         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25673         Move ENOSYS stub into and include it from...
25674         * socket/sendmmsg.c: ... this new file.
25675         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25676         (sysdep_routines): Move recvmmsg and sendmmsg...
25677         * socket/Makefile (routines): ... here.
25678         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25679         (GLIBC_PRIVATE): Add __sendmmsg.
25680         * include/sys/socket.h (__sendmmsg): Add declarations.
25681         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25682         sendmmsg.
25683
25684 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25685
25686         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25687         variable I1 with __attribute__ ((unused)).
25688         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25689
25690 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25691
25692         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25693         DUMMY variables with __attribute__ ((unused)).
25694
25695         * bits/byteswap.h: Include <bits/types.h>.
25696         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25697
25698 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25699
25700         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25701         string_t.  Do not manually set errno.
25702         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25703         length with __strnlen.  Make sure to both set errno and return it on
25704         failure.
25705
25706 2012-11-19  David S. Miller  <davem@davemloft.net>
25707
25708         With help from Joseph Myers.
25709         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25710         very large arguments properly.
25711         * math/libm-test.inc (atan_test): New tests.
25712         (atan2_test): New tests.
25713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25715
25716 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25717
25718         [BZ #14856]
25719         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25720         Define to 3.
25721
25722         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25723         [POSIX] (EADDRNOTAVAIL): Likewise.
25724         [POSIX] (EAFNOSUPPORT): Likewise.
25725         [POSIX] (EALREADY): Likewise.
25726         [POSIX] (ECONNABORTED): Likewise.
25727         [POSIX] (ECONNREFUSED): Likewise.
25728         [POSIX] (ECONNRESET): Likewise.
25729         [POSIX] (EDESTADDRREQ): Likewise.
25730         [POSIX] (EDQUOT): Likewise.
25731         [POSIX] (EHOSTUNREACH): Likewise.
25732         [POSIX] (EIDRM): Likewise.
25733         [POSIX] (EISCONN): Likewise.
25734         [POSIX] (ELOOP): Likewise.
25735         [POSIX] (EMULTIHOP): Likewise.
25736         [POSIX] (ENETDOWN): Likewise.
25737         [POSIX] (ENETUNREACH): Likewise.
25738         [POSIX] (ENOBUFS): Likewise.
25739         [POSIX] (ENODATA): Likewise.
25740         [POSIX] (ENOLINK): Likewise.
25741         [POSIX] (ENOMSG): Likewise.
25742         [POSIX] (ENOPROTOOPT): Likewise.
25743         [POSIX] (ENOSR): Likewise.
25744         [POSIX] (ENOSTR): Likewise.
25745         [POSIX] (ENOTCONN): Likewise.
25746         [POSIX] (ENOTSOCK): Likewise.
25747         [POSIX] (EOPNOTSUPP): Likewise.
25748         [POSIX] (EOVERFLOW): Likewise.
25749         [POSIX] (EPROTO): Likewise.
25750         [POSIX] (EPROTONOSUPPORT): Likewise.
25751         [POSIX] (EPROTOTYPE): Likewise.
25752         [POSIX] (ESTALE): Likewise.
25753         [POSIX] (ETIME): Likewise.
25754         [POSIX] (ETXTBSY): Likewise.
25755         [POSIX] (EWOULDBLOCK): Likewise.
25756         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25757         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25758         [POSIX] (SEEK_CUR): Likewise.
25759         [POSIX] (SEEK_END): Likewise.
25760         [POSIX || UNIX98] (mode_t): Do not require.
25761         [POSIX] (off_t): Likewise.
25762         [POSIX] (pid_t): Likewise.
25763         [POSIX] (sys/stat.h): Do not allow header.
25764         [POSIX] (unistd.h): Likewise.
25765         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25766         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25767         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25768         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25769         require.
25770         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25771         sigevent): Specify elements.
25772         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25773         entry.
25774         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25775         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25776
25777         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25778         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25779         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25780         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25781         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25782         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25783         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25784         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25785         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25786         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25787         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25788         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25789         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25790         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25791         Likewise.
25792         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25793         Likewise.
25794         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25795         Likewise.
25796         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25797         Likewise.
25798         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25799         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25800         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25801         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25802         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25803         Specify lower bound on value.
25804         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25805         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25806         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25807         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25808         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25809         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25810         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25811         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25812         value.
25813         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25814         as optional.
25815         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25816         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25817         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25818         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25819         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25820         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25821         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25822         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25823         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25824         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25825         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25826         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25827         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25828         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25829         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25830         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25831         entry.
25832         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25833         optional.
25834         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25835         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25836         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25837         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25838         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25839         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25840         Likewise.
25841         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25842         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25843         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25844         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25845         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25846         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25847         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25848         as optional.
25849         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25850         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25851         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25852         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25853         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25854         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25855         specify as optional.
25856         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25857         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25858         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25859         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25860         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25861         [XPG3] (NL_LANGMAX): Likewise.
25862         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25863         [POSIX || XPG3] (NL_NMAX): Likewise.
25864         [POSIX || XPG3] (NL_SETMAX): Likewise.
25865         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25866         [XPG3] (NZERO): Likewise.
25867         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25868         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25869         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25870         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25871         (REG_ERANGE): Expect.
25872         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25873         optional-constant.
25874         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25875         Use (void) in prototype.
25876         [POSIX] (*_t): Allow.
25877         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25878         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25879         (WRDE_BADVAL): Expect.
25880
25881         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25882         expect.
25883         [XPG3 || XPG4] (O_RSYNC): Likewise.
25884         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25885         Likewise.
25886         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25887         [XPG3 || XPG4] (sigqueue): Likewise.
25888         [XPG3 || XPG4] (sigtimedwait): Likewise.
25889         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25890         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25891         [XPG3 || XPG4] (vsnprintf): Likewise.
25892         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25893         Likewise.
25894         [XPG3 || XPG4] (blksize_t): Likewise.
25895         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25896         Likewise.
25897         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25898         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25899         [XPG3 || XPG4] (struct itimerspec): Likewise.
25900         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25901         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25902         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25903         [XPG3 || XPG4] (clockid_t): Likewise.
25904         [XPG3 || XPG4] (timer_t): Likewise.
25905         [XPG3 || XPG4] (clock_getres): Likewise.
25906         [XPG3 || XPG4] (clock_gettime): Likewise.
25907         [XPG3 || XPG4] (clock_settime): Likewise.
25908         [XPG3 || XPG4] (nanosleep): Likewise.
25909         [XPG3 || XPG4] (timer_create): Likewise.
25910         [XPG3 || XPG4] (timer_delete): Likewise.
25911         [XPG3 || XPG4] (timer_gettime): Likewise.
25912         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25913         [XPG3 || XPG4] (timer_settime): Likewise.
25914         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25915         [XPG3 || XPG4] (getlogin_r): Likewise.
25916         [XPG3 || XPG4] (pread): Likewise.
25917         [XPG3 || XPG4] (pthread_atfork): Likewise.
25918         [XPG3 || XPG4] (pwrite): Likewise.
25919
25920         [BZ #14835]
25921         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25922         <bits/siginfo.h>.
25923
25924 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25925
25926         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25927         finalizing MALLSTREAM.
25928
25929         * sysdeps/mach/hurd/syncfs.c: New file.
25930
25931 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25932
25933         [BZ #14719]
25934         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25935         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25936         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25937         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25938         (_nss_dns_gethostbyname4_r): Likewise.
25939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25940         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25941
25942 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25943
25944         [BZ #13763]
25945         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25946
25947 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25948
25949         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25950         * elf/cache.c (print_entry): Print ",AArch64" for
25951         FLAG_AARCH64_LIB64
25952
25953         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25954         * elf/cache.c (print_entry): Print ",hard-float" for
25955         FLAG_ARM_LIBHF.
25956
25957 2012-11-18  David S. Miller  <davem@davemloft.net>
25958
25959         With help from Joseph Myers.
25960         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25961         cutoff to 2**-13.
25962         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25963         cutoff to 2**-25.
25964         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25965         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25966         small.
25967         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25968         * math/libm-test.inc (y0_test): New tests.
25969         (y1_test): New tests.
25970         * sysdeps/i386/fpu/libm-test-ulps: Update.
25971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25973
25974 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25975
25976         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25977         64-bit targets.
25978         * configure: Regenerated.
25979
25980 2012-11-17  David S. Miller  <davem@davemloft.net>
25981
25982         [BZ #14811]
25983         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25984         nonzero exponents with absolute value below 0x1p-128 to +/-
25985         0x1p-128.
25986
25987 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25988
25989         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25990
25991         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25992
25993         * posix/getconf-speclist.c: New file.
25994         * posix/posix-envs.def: Likewise.
25995         * posix/confstr.c (START_ENV_GROUP): New macro.
25996         (END_ENV_GROUP): Likewise.
25997         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25998         (KNOWN_PRESENT_ENV_STRING): Likewise.
25999         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26000         (UNKNOWN_ENVIRONMENT): Likewise.
26001         (confstr): Include posix-envs.def instead of handling
26002         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26003         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26004         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26005         (END_ENV_GROUP): Likewise.
26006         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26007         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26008         (UNKNOWN_ENVIRONMENT): Likewise.
26009         (__sysconf): Include posix-envs.def instead of handling associated
26010         cases directly here.
26011         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26012         preprocessing getconf-speclist.c rather than running getconf or
26013         generating empty file.
26014
26015 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26016
26017         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26018
26019 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26020
26021         [BZ #14672]
26022         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26023
26024 2012-11-16  David S. Miller  <davem@davemloft.net>
26025
26026         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26027         smaller than LDBL_EPSILON/2.0L, just return xm1.
26028
26029 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26030
26031         * elf/tst-array1.c (init): Set constructor priority to 1000.
26032         (fini): Set destructor priority to 1000.
26033         * elf/tst-array2dep.c: Likewise.
26034
26035 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26036
26037         [BZ #11741]
26038         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26039         (_IO_new_file_xsputn): Also return EOF if none of the input
26040         data was written when overflow failed.
26041         * libio/iopadn.c (_IO_padn): Likewise.
26042         * libio/iowpadn.c (_IO_wpadn): Likewise.
26043         * stdio-common/tst-put-error.c: Add copyright notice.
26044         (do_test): Add case for printing padded string.
26045         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26046         _IO_padn returned error.
26047         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26048         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26049         return EOF.
26050
26051 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26052
26053         * libio/libioP.h: Add comment note that the references to C++
26054         bits are now obsolete.
26055
26056 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26057
26058         * math/libm-test.inc (check_complex): Use asprintf.
26059
26060 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26061
26062         * debug/pcprofiledump.c (print_version): Update copyright year.
26063         * malloc/memusagestat.c (print_version): Likewise.
26064
26065 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26066
26067         [BZ #14831]
26068         * elf/Makefile (tests): Add tst-audit8.
26069         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26070         ($(objpfx)tst-audit8.out): New target.
26071         (tst-audit8-ENV): New variable.
26072         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26073         audit if l_reloc_result is NULL.
26074         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26075         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26076         * elf/tst-audit8.c: New file.
26077
26078 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26079
26080         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26081         * misc/Makefile (CFLAGS-select.c): Define.
26082         * posix/Makefile (CFLAGS-pause.c): Define.
26083
26084 2012-11-13  David S. Miller  <davem@davemloft.net>
26085
26086         * crypt/Makefile: Move test targets after toplevel Rules
26087         inclusion.  Grab any necessary sysdep routines when linking.
26088         * crypt/md5.c (md5_process_block): Remove define, we will always
26089         name it __md5_process_block.
26090         (md5_finish_ctx): Update md5_process_block call.
26091         (md5_stream): Likewise.
26092         (md5_process_bytes): Likewise.
26093         (md5_process_block): Rename to __md5_process_block and move to ...
26094         * crypt/md5-block.c: ... here.
26095         * crypt/sha256.c (sha256_process_block): Move to ...
26096         * crypt/sha256-block.c: ... here.
26097         * crypt/sha512.c (sha512_process_block): Move to ...
26098         * crypt/sha512-block.c: ... here.
26099         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26100         path.
26101         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26102         * sysdeps/sparc/sparc64/multiarch/Makefile
26103         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26104         crypt subdir.
26105         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26106         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26107         multiarch changes.
26108         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26109         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26110         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26111         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26112         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26113         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26114         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26115         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26116         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26117         file.
26118         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26119         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26120         file.
26121         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26122
26123 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26124
26125         * timezone/tzselect.ksh: Update from tzcode git revision
26126         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26127         * timezone/zdump.c: Likewise.
26128         * timezone/zic.c: Likewise.
26129         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26130         in TZVERSION setting, not $(PKGVERSION).
26131         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26132         REPORT_BUGS_TO settings.
26133
26134         [BZ #14838]
26135         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26136         macro.
26137
26138 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26139
26140         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26141         detection to immediately after _FP_ROUND().
26142         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26143         bits are 0.
26144
26145 2012-11-11  David S. Miller  <davem@davemloft.net>
26146
26147         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26148         inttypes.h
26149         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26150         __close rather than their public counterparts.
26151
26152 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26153
26154         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26155         file.
26156         [UNIX98] (sem_timedwait): Do not expect.
26157         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26158         [XPG4 || UNIX98] (sockatmark): Do not expect.
26159         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26160         (clock_getcpuclockid): Do not expect.
26161         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26162         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26163         Do not expect.
26164         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26165         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26166         [UNIX98] (vwscanf): Likewise.
26167         [UNIX98] (vswscanf): Likewise.
26168
26169 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26170
26171         * timezone/version.h: Remove file.
26172         * timezone/README: Do not refer to version.h.
26173         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26174         $(objpfx)version.h.
26175         ($(objpfx)zdump.o): Likewise.
26176         ($(objpfx)version.h): New target.
26177
26178         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26179         2012i.
26180         * timezone/README: Don't mention modification to tzselect.ksh.
26181         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26182         work on unmodified tzselect.ksh.  Substitute version numbers in
26183         tzselect.ksh.
26184
26185         * Makefile (format-me): Remove.
26186         (INSTALL): Adjust indentation.  Use commands directly instead of
26187         using $(format-me).
26188
26189         * aclocal.m4 (ACX_PKGVERSION): New macro.
26190         (ACX_BUGURL): Likewise.
26191         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26192         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26193         (REPORT_BUGS_TO): Likewise.
26194         * configure: Regenerated.
26195         * config.h.in (PKGVERSION): New macro.
26196         (REPORT_BUGS_TO): Likewise.
26197         * config.make.in (PKGVERSION): New variable.
26198         (PKGVERSION_TEXI): Likewise.
26199         (REPORT_BUGS_TO): Likewise.
26200         (REPORT_BUGS_TEXI): Likewise.
26201         * Makefile (format-me): Use -I$(common-objpfx)manual.
26202         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26203         ($(common-objpfx)manual/%): New target.
26204         (manual/%): Remove target.
26205         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26206         (print_version): Use PKGVERSION.
26207         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26208         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26209         and REPORT_BUGS_TO.
26210         ($(objpfx)xtrace): Likewise.
26211         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26212         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26213         (print_version): Use PKGVERSION.
26214         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26215         (do_version): Use PKGVERSION.
26216         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26217         REPORT_BUGS_TO.
26218         (common-ldd-rewrite): Likewise.
26219         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26220         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26221         (print_version): Use PKGVERSION.
26222         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26223         * elf/pldd.c (argp_program_bug_address): Remove variable.
26224         (more_help): New function.
26225         (argp): Use more_help.
26226         (print_version): Use PKGVERSION.
26227         * elf/sln.c (main): Use PKGVERSION.
26228         (usage): Use REPORT_BUGS_TO.
26229         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26230         (top level): Use PKGVERSION.
26231         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26232         (print_version): Use PKGVERSION.
26233         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26234         (print_version): Use PKGVERSION.
26235         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26236         (print_version): Use PKGVERSION.
26237         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26238         (print_version): Use PKGVERSION.
26239         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26240         (print_version): Use PKGVERSION.
26241         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26242         (print_version): Use PKGVERSION.
26243         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26244         and BUGURL.
26245         ($(objpfx)memusage): Likewise.
26246         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26247         (do_version): Use PKGVERSION.
26248         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26249         (print_version): Use PKGVERSION.
26250         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26251         ($PKGVERSION): New variable.
26252         ($REPORT_BUGS_TO): Likewise.
26253         (usage): Use $REPORT_BUGS_TO.
26254         (top level): Use $PKGVERSION.
26255         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26256         ($(objpfx)pkgvers.texi): New rule.
26257         ($(objpfx)stamp-pkgvers): Likewise.
26258         * manual/install.texi: Include pkgvers.texi.
26259         (--with-pkgversion): Document new configure option.
26260         (--with-bugurl): Likewise.
26261         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26262         than necessarily for this particular distribution.  Use
26263         REPORT_BUGS_TO for where to report bugs.
26264         * INSTALL: Regenerated.
26265         * manual/libc.texinfo: Include pkgvers.texi.
26266         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26267         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26268         (print_version): Use PKGVERSION.
26269         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26270         (print_version): Use PKGVERSION.
26271         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26272         (print_version): Use PKGVERSION.
26273         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26274         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26275         macro.
26276         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26277         (print_version): Use PKGVERSION.
26278         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26279         (print_version): Use PKGVERSION.
26280         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26281         and PKGVERSION.
26282
26283         * timezone/checktab.awk: Update from tzcode 2012i.
26284         * timezone/ialloc.c: Likewise.
26285         * timezone/private.h: Likewise.
26286         * timezone/scheck.c: Likewise.
26287         * timezone/tzfile.h: Likewise.
26288         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26289         (TZVERSION): Hardcode tzcode version number.
26290         * timezone/zdump.c: Update from tzcode 2012i.
26291         * timezone/zic.c: Likewise.
26292         * timezone/version.h: New file.
26293         * timezone/README: Describe version.h.  Update upstream location.
26294
26295         [BZ #14824]
26296         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26297         (mktemp): Enable declaration.
26298         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26299         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26300         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26301         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26302         Likewise.
26303         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26304         Likewise.
26305         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26306         Likewise.
26307         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26308         Likewise.
26309         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26310         Likewise.
26311         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26312         Likewise.
26313
26314         [BZ #14821]
26315         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26316         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26317         for copies of such integer values.
26318         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26319         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26320
26321 2012-11-09  Andreas Jaeger  <aj@suse.de>
26322
26323         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26324         definitions and declarations that are provided by
26325         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26326
26327 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26328
26329         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26330         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26331         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26332         definition.
26333
26334 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26335
26336         * elf/elf.h: Update comment before AArch64 relocations.
26337
26338 2012-11-07  David S. Miller  <davem@davemloft.net>
26339
26340         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26341         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26342         (__start_context): Declare.
26343         (__makecontext_ret): Delete.
26344         (__makecontext): Hook up __start_context instead of
26345         __makecontext_ret.
26346         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26347         (sysdep_routines): Add __start_context when in stdlib.
26348
26349 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26350
26351         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26352         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26353         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26354         hardcoded "nm".
26355         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26356         (READELF): New variable.  Use it instead of hardcoded "readelf".
26357
26358 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26359
26360         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26361         * sysdeps/x86/Makefile: Here.
26362         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26363         * sysdeps/x86/tst-xmmymm.sh: This.
26364
26365 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26366
26367         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26368         expectations.
26369         [UNIX98] (pthread_barrier_t): Do not expect.
26370         [UNIX98] (pthread_barrierattr_t): Likewise.
26371         [UNIX98] (pthread_spinlock_t): Likewise.
26372         [UNIX98] (pthread_barrier_destroy): Likewise.
26373         [UNIX98] (pthread_barrier_init): Likewise.
26374         [UNIX98] (pthread_barrier_wait): Likewise.
26375         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26376         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26377         [UNIX98] (pthread_barrierattr_init): Likewise.
26378         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26379         [UNIX98] (pthread_getcpuclockid): Likewise.
26380         [UNIX98] (pthread_mutex_timedlock): Likewise.
26381         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26382         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26383         [UNIX98] (pthread_sigmask): Likewise.
26384         [UNIX98] (pthread_spin_destroy): Likewise.
26385         [UNIX98] (pthread_spin_init): Likewise.
26386         [UNIX98] (pthread_spin_lock): Likewise.
26387         [UNIX98] (pthread_spin_trylock): Likewise.
26388         [UNIX98] (pthread_spin_unlock): Likewise.
26389         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26390         Do not expect.
26391         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26392         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26393         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26394         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26395         [XPG3 || XPG4] (pthread_key_t): Likewise.
26396         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26397         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26398         [XPG3 || XPG4] (pthread_once_t): Likewise.
26399         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26400         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26401         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26402         [XPG3 || XPG4] (pthread_t): Likewise.
26403
26404         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26405         not expect.
26406         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26407
26408         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26409         Change function return type to int.
26410
26411         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26412         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26413         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26414         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26415         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26416         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26417         [!POSIX] (posix_madvise): Likewise.
26418         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26419         && !UNIX98].
26420         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26421         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26422         (mode_t): Likewise.
26423         (posix_mem_offset): Likewise.
26424         (posix_typed_mem_get_info): Likewise.
26425         (posix_typed_mem_open): Likewise.
26426
26427         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26428         Change condition to [XOPEN2K8].
26429
26430         * conform/conformtest.pl: Preprocess allow-header data with -x c
26431         instead of from stdin.
26432         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26433         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26434         [C99-based standards] (cerfc): Likewise.
26435         [C99-based standards] (cexp2): Likewise.
26436         [C99-based standards] (cexpm1): Likewise.
26437         [C99-based standards] (clog10): Likewise.
26438         [C99-based standards] (clog1p): Likewise.
26439         [C99-based standards] (clog2): Likewise.
26440         [C99-based standards] (clgamma): Likewise.
26441         [C99-based standards] (ctgamma): Likewise.
26442         [C99-based standards] (cerff): Likewise.
26443         [C99-based standards] (cerfcf): Likewise.
26444         [C99-based standards] (cexp2f): Likewise.
26445         [C99-based standards] (cexpm1f): Likewise.
26446         [C99-based standards] (clog10f): Likewise.
26447         [C99-based standards] (clog1pf): Likewise.
26448         [C99-based standards] (clog2f): Likewise.
26449         [C99-based standards] (clgammaf): Likewise.
26450         [C99-based standards] (ctgammaf): Likewise.
26451         [C99-based standards] (cerfl): Likewise.
26452         [C99-based standards] (cerfcl): Likewise.
26453         [C99-based standards] (cexp2l): Likewise.
26454         [C99-based standards] (cexpm1l): Likewise.
26455         [C99-based standards] (clog10l): Likewise.
26456         [C99-based standards] (clog1pl): Likewise.
26457         [C99-based standards] (clog2l): Likewise.
26458         [C99-based standards] (clgammal): Likewise.
26459         [C99-based standards] (ctgammal): Likewise.
26460         * conform/data/inttypes.h-data [C99-based standards]: Include
26461         stdint.h-data.  Remove all expectations for stdint.h contents.
26462         [C99-based standards] (PRI*): Do not allow.
26463         [C99-based standards] (SCN*): Likewise.
26464         [C99-based standards] (*_t): Likewise.
26465         [C99-based-standards] (PRId8): Expect macro.
26466         [C99-based-standards] (PRIi8): Likewise.
26467         [C99-based-standards] (PRIo8): Likewise.
26468         [C99-based-standards] (PRIu8): Likewise.
26469         [C99-based-standards] (PRIx8): Likewise.
26470         [C99-based-standards] (PRIX8): Likewise.
26471         [C99-based-standards] (SCNd8): Likewise.
26472         [C99-based-standards] (SCNi8): Likewise.
26473         [C99-based-standards] (SCNo8): Likewise.
26474         [C99-based-standards] (SCNu8): Likewise.
26475         [C99-based-standards] (SCNx8): Likewise.
26476         [C99-based-standards] (PRIdLEAST8): Likewise.
26477         [C99-based-standards] (PRIiLEAST8): Likewise.
26478         [C99-based-standards] (PRIoLEAST8): Likewise.
26479         [C99-based-standards] (PRIuLEAST8): Likewise.
26480         [C99-based-standards] (PRIxLEAST8): Likewise.
26481         [C99-based-standards] (PRIXLEAST8): Likewise.
26482         [C99-based-standards] (SCNdLEAST8): Likewise.
26483         [C99-based-standards] (SCNiLEAST8): Likewise.
26484         [C99-based-standards] (SCNoLEAST8): Likewise.
26485         [C99-based-standards] (SCNuLEAST8): Likewise.
26486         [C99-based-standards] (SCNxLEAST8): Likewise.
26487         [C99-based-standards] (PRIdFAST8): Likewise.
26488         [C99-based-standards] (PRIiFAST8): Likewise.
26489         [C99-based-standards] (PRIoFAST8): Likewise.
26490         [C99-based-standards] (PRIuFAST8): Likewise.
26491         [C99-based-standards] (PRIxFAST8): Likewise.
26492         [C99-based-standards] (PRIXFAST8): Likewise.
26493         [C99-based-standards] (SCNdFAST8): Likewise.
26494         [C99-based-standards] (SCNiFAST8): Likewise.
26495         [C99-based-standards] (SCNoFAST8): Likewise.
26496         [C99-based-standards] (SCNuFAST8): Likewise.
26497         [C99-based-standards] (SCNxFAST8): Likewise.
26498         [C99-based-standards] (PRId16): Likewise.
26499         [C99-based-standards] (PRIi16): Likewise.
26500         [C99-based-standards] (PRIo16): Likewise.
26501         [C99-based-standards] (PRIu16): Likewise.
26502         [C99-based-standards] (PRIx16): Likewise.
26503         [C99-based-standards] (PRIX16): Likewise.
26504         [C99-based-standards] (SCNd16): Likewise.
26505         [C99-based-standards] (SCNi16): Likewise.
26506         [C99-based-standards] (SCNo16): Likewise.
26507         [C99-based-standards] (SCNu16): Likewise.
26508         [C99-based-standards] (SCNx16): Likewise.
26509         [C99-based-standards] (PRIdLEAST16): Likewise.
26510         [C99-based-standards] (PRIiLEAST16): Likewise.
26511         [C99-based-standards] (PRIoLEAST16): Likewise.
26512         [C99-based-standards] (PRIuLEAST16): Likewise.
26513         [C99-based-standards] (PRIxLEAST16): Likewise.
26514         [C99-based-standards] (PRIXLEAST16): Likewise.
26515         [C99-based-standards] (SCNdLEAST16): Likewise.
26516         [C99-based-standards] (SCNiLEAST16): Likewise.
26517         [C99-based-standards] (SCNoLEAST16): Likewise.
26518         [C99-based-standards] (SCNuLEAST16): Likewise.
26519         [C99-based-standards] (SCNxLEAST16): Likewise.
26520         [C99-based-standards] (PRIdFAST16): Likewise.
26521         [C99-based-standards] (PRIiFAST16): Likewise.
26522         [C99-based-standards] (PRIoFAST16): Likewise.
26523         [C99-based-standards] (PRIuFAST16): Likewise.
26524         [C99-based-standards] (PRIxFAST16): Likewise.
26525         [C99-based-standards] (PRIXFAST16): Likewise.
26526         [C99-based-standards] (SCNdFAST16): Likewise.
26527         [C99-based-standards] (SCNiFAST16): Likewise.
26528         [C99-based-standards] (SCNoFAST16): Likewise.
26529         [C99-based-standards] (SCNuFAST16): Likewise.
26530         [C99-based-standards] (SCNxFAST16): Likewise.
26531         [C99-based-standards] (PRId32): Likewise.
26532         [C99-based-standards] (PRIi32): Likewise.
26533         [C99-based-standards] (PRIo32): Likewise.
26534         [C99-based-standards] (PRIu32): Likewise.
26535         [C99-based-standards] (PRIx32): Likewise.
26536         [C99-based-standards] (PRIX32): Likewise.
26537         [C99-based-standards] (SCNd32): Likewise.
26538         [C99-based-standards] (SCNi32): Likewise.
26539         [C99-based-standards] (SCNo32): Likewise.
26540         [C99-based-standards] (SCNu32): Likewise.
26541         [C99-based-standards] (SCNx32): Likewise.
26542         [C99-based-standards] (PRIdLEAST32): Likewise.
26543         [C99-based-standards] (PRIiLEAST32): Likewise.
26544         [C99-based-standards] (PRIoLEAST32): Likewise.
26545         [C99-based-standards] (PRIuLEAST32): Likewise.
26546         [C99-based-standards] (PRIxLEAST32): Likewise.
26547         [C99-based-standards] (PRIXLEAST32): Likewise.
26548         [C99-based-standards] (SCNdLEAST32): Likewise.
26549         [C99-based-standards] (SCNiLEAST32): Likewise.
26550         [C99-based-standards] (SCNoLEAST32): Likewise.
26551         [C99-based-standards] (SCNuLEAST32): Likewise.
26552         [C99-based-standards] (SCNxLEAST32): Likewise.
26553         [C99-based-standards] (PRIdFAST32): Likewise.
26554         [C99-based-standards] (PRIiFAST32): Likewise.
26555         [C99-based-standards] (PRIoFAST32): Likewise.
26556         [C99-based-standards] (PRIuFAST32): Likewise.
26557         [C99-based-standards] (PRIxFAST32): Likewise.
26558         [C99-based-standards] (PRIXFAST32): Likewise.
26559         [C99-based-standards] (SCNdFAST32): Likewise.
26560         [C99-based-standards] (SCNiFAST32): Likewise.
26561         [C99-based-standards] (SCNoFAST32): Likewise.
26562         [C99-based-standards] (SCNuFAST32): Likewise.
26563         [C99-based-standards] (SCNxFAST32): Likewise.
26564         [C99-based-standards] (PRId64): Likewise.
26565         [C99-based-standards] (PRIi64): Likewise.
26566         [C99-based-standards] (PRIo64): Likewise.
26567         [C99-based-standards] (PRIu64): Likewise.
26568         [C99-based-standards] (PRIx64): Likewise.
26569         [C99-based-standards] (PRIX64): Likewise.
26570         [C99-based-standards] (SCNd64): Likewise.
26571         [C99-based-standards] (SCNi64): Likewise.
26572         [C99-based-standards] (SCNo64): Likewise.
26573         [C99-based-standards] (SCNu64): Likewise.
26574         [C99-based-standards] (SCNx64): Likewise.
26575         [C99-based-standards] (PRIdLEAST64): Likewise.
26576         [C99-based-standards] (PRIiLEAST64): Likewise.
26577         [C99-based-standards] (PRIoLEAST64): Likewise.
26578         [C99-based-standards] (PRIuLEAST64): Likewise.
26579         [C99-based-standards] (PRIxLEAST64): Likewise.
26580         [C99-based-standards] (PRIXLEAST64): Likewise.
26581         [C99-based-standards] (SCNdLEAST64): Likewise.
26582         [C99-based-standards] (SCNiLEAST64): Likewise.
26583         [C99-based-standards] (SCNoLEAST64): Likewise.
26584         [C99-based-standards] (SCNuLEAST64): Likewise.
26585         [C99-based-standards] (SCNxLEAST64): Likewise.
26586         [C99-based-standards] (PRIdFAST64): Likewise.
26587         [C99-based-standards] (PRIiFAST64): Likewise.
26588         [C99-based-standards] (PRIoFAST64): Likewise.
26589         [C99-based-standards] (PRIuFAST64): Likewise.
26590         [C99-based-standards] (PRIxFAST64): Likewise.
26591         [C99-based-standards] (PRIXFAST64): Likewise.
26592         [C99-based-standards] (SCNdFAST64): Likewise.
26593         [C99-based-standards] (SCNiFAST64): Likewise.
26594         [C99-based-standards] (SCNoFAST64): Likewise.
26595         [C99-based-standards] (SCNuFAST64): Likewise.
26596         [C99-based-standards] (SCNxFAST64): Likewise.
26597         [C99-based-standards] (PRIdMAX): Likewise.
26598         [C99-based-standards] (PRIiMAX): Likewise.
26599         [C99-based-standards] (PRIoMAX): Likewise.
26600         [C99-based-standards] (PRIuMAX): Likewise.
26601         [C99-based-standards] (PRIxMAX): Likewise.
26602         [C99-based-standards] (PRIXMAX): Likewise.
26603         [C99-based-standards] (SCNdMAX): Likewise.
26604         [C99-based-standards] (SCNiMAX): Likewise.
26605         [C99-based-standards] (SCNoMAX): Likewise.
26606         [C99-based-standards] (SCNuMAX): Likewise.
26607         [C99-based-standards] (SCNxMAX): Likewise.
26608         [C99-based-standards] (PRIdPTR): Likewise.
26609         [C99-based-standards] (PRIiPTR): Likewise.
26610         [C99-based-standards] (PRIoPTR): Likewise.
26611         [C99-based-standards] (PRIuPTR): Likewise.
26612         [C99-based-standards] (PRIxPTR): Likewise.
26613         [C99-based-standards] (PRIXPTR): Likewise.
26614         [C99-based-standards] (SCNdPTR): Likewise.
26615         [C99-based-standards] (SCNiPTR): Likewise.
26616         [C99-based-standards] (SCNoPTR): Likewise.
26617         [C99-based-standards] (SCNuPTR): Likewise.
26618         [C99-based-standards] (SCNxPTR): Likewise.
26619         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26620         allow.
26621         * conform/data/stdint.h-data: Update comments to clarify
26622         requirements.
26623         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26624         type.
26625         [C99-based standards] (INT8_MAX): Likewise.
26626         [C99-based standards] (INT16_MIN): Likewise.
26627         [C99-based standards] (INT16_MAX): Likewise.
26628         [C99-based standards] (INT32_MIN): Likewise.
26629         [C99-based standards] (INT32_MAX): Likewise.
26630         [C99-based standards] (INT64_MIN): Likewise.
26631         [C99-based standards] (INT64_MAX): Likewise.
26632         [C99-based standards] (UINT8_MAX): Likewise.
26633         [C99-based standards] (UINT16_MAX): Likewise.
26634         [C99-based standards] (UINT32_MAX): Likewise.
26635         [C99-based standards] (UINT64_MAX): Likewise.
26636         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26637         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26638         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26639         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26640         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26641         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26642         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26643         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26644         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26645         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26646         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26647         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26648         [C99-based standards] (INT_FAST8_MIN): Likewise.
26649         [C99-based standards] (INT_FAST8_MAX): Likewise.
26650         [C99-based standards] (INT_FAST16_MIN): Likewise.
26651         [C99-based standards] (INT_FAST16_MAX): Likewise.
26652         [C99-based standards] (INT_FAST32_MIN): Likewise.
26653         [C99-based standards] (INT_FAST32_MAX): Likewise.
26654         [C99-based standards] (INT_FAST64_MIN): Likewise.
26655         [C99-based standards] (INT_FAST64_MAX): Likewise.
26656         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26657         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26658         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26659         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26660         [C99-based standards] (INTPTR_MIN): Likewise.
26661         [C99-based standards] (INTPTR_MAX): Likewise.
26662         [C99-based standards] (UINTPTR_MAX): Likewise.
26663         [C99-based standards] (INTMAX_MIN): Likewise.
26664         [C99-based standards] (INTMAX_MAX): Likewise.
26665         [C99-based standards] (UINTMAX_MAX): Likewise.
26666         [C99-based standards] (PTRDIFF_MIN): Likewise.
26667         [C99-based standards] (PTRDIFF_MAX): Likewise.
26668         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26669         [C99-based standards] (SIZE_MAX): Likewise.
26670         [C99-based standards] (WCHAR_MAX): Likewise.
26671         [C99-based standards] (WINT_MAX): Likewise.
26672         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26673         constraint on value.
26674         [C99-based standards] (WCHAR_MIN): Likewise.
26675         [C99-based standards] (WINT_MIN): Likewise.
26676         [C99-based standards] (*_t): Allow.
26677         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26678         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26679         Include math.h-data and complex.h-data.  Remove all expectations
26680         of math.h and complex.h contents.
26681         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26682         at end of line.
26683         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26684         (struct tm): Expect tag.
26685         [C99-based-standards] (wcstof): Expect function.
26686         [C99-based-standards] (wcstold): Likewise.
26687         [C99-based-standards] (wcstoll): Likewise.
26688         [C99-based-standards] (wcstoull): Likewise.
26689         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26690         macro-int-constant.  Specify type.
26691         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26692         constraint on value.
26693         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26694         Specify type.
26695         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26696         Specify value.
26697         [ISO C standards]: Do not allow headers.
26698         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26699         wcs[abcdefghijklmnopqrstuvwxyz]*.
26700         [ISO C standards] (*_t): Do not allow.
26701         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26702         Expect function.
26703         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26704         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26705         Specify type.
26706         [ISO C standards]: Do not allow headers.
26707         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26708         is[abcdefghijklmnopqrstuvwxyz]*.
26709         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26710         to[abcdefghijklmnopqrstuvwxyz]*.
26711         [ISO C standards] (*_t): Do not allow.
26712         * conform/data/stdalign.h-data: New file.
26713         * conform/data/stdbool.h-data: Likewise.
26714         * conform/data/stdnoreturn.h-data: Likewise.
26715
26716 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26717
26718         [BZ #14815]
26719         * manual/filesys.texi (Directory Entries): Typo fix.
26720         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26721
26722 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26723
26724         * elf/elf.h (EM_AARCH64): New macro.
26725         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26726         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26727         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26728         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26729         (R_AARCH64_TLSDESC): Likewise.
26730         (NT_ARM_TLS): Likewise.
26731         (NT_ARM_HW_BREAK): Likewise.
26732         (NT_ARM_HW_WATCH): Likewise.
26733
26734 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26735
26736         [BZ #14811]
26737         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26738         (__ieee754_powl): Saturate nonzero exponents with absolute value
26739         below 0x1p-79 to +/- 0x1p-79.
26740         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26741         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26742         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26743         nonzero exponents with absolute value below 0x1p-32 to +/-
26744         0x1p-32.
26745         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26746         (__ieee754_powl): Saturate nonzero exponents with absolute value
26747         below 0x1p-79 to +/- 0x1p-79.
26748         * math/libm-test.inc (pow_test): Add more tests.
26749
26750 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26751
26752         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26753         _dl_s390_cap_flags with kernel. Increase string length.
26754         (_dl_s390_platforms): Add z196 and zEC12.
26755
26756 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26757
26758         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26759         Change XOPEN21K to XOPEN2K.
26760
26761 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26762
26763         * string/memmove.c: Use memcpy when possible.
26764
26765 2012-11-06  Andreas Jaeger  <aj@suse.de>
26766
26767         * po/eo.po: Update from translation team.
26768
26769 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26770
26771         [BZ #14793]
26772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26773         exponent and small x and y exponents, scale x or y up.  Increase
26774         by 2 the exponent used in scaling up.
26775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26777         * math/libm-test.inc (fma_test): Add more tests.
26778         (fma_test_towardzero): Likewise.
26779         (fma_test_downward): Likewise.
26780         (fma_test_upward): Likewise.
26781
26782 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26783
26784         [BZ #14805]
26785         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26786         fenv_t *.
26787
26788         [BZ #14801]
26789         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26790         namespace for names of struct fields.
26791         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26792         fenv_t fields.
26793         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26794         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26795
26796 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26797
26798         [BZ #3665]
26799         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26800
26801 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26802
26803         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26804         PTR_DEMANGLE.
26805
26806         [BZ #5246]
26807         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26808         PTR_DEMANGLE.
26809
26810 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26811
26812         [BZ #14797]
26813         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26814         definitely overflow as x * y not x * y + z.
26815         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26816         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26817         * math/libm-test.inc (fma_test): Add more tests.
26818         (fma_test_towardzero): Likewise.
26819         (fma_test_downward): Likewise.
26820         (fma_test_upward): Likewise.
26821
26822 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26823
26824         [BZ #157]
26825
26826         * include/stub-tag.h: Remove file.
26827         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26828         '#include' of it.
26829         * manual/maint.texi (Porting): Don't reference it.
26830         * Makerules ($(objpfx)stubs): Likewise.
26831         * dirent/closedir.c: Don't include <stub-tag.h>.
26832         * dirent/dirfd.c: Likewise.
26833         * dirent/fdopendir.c: Likewise.
26834         * dirent/getdents.c: Likewise.
26835         * dirent/getdents64.c: Likewise.
26836         * dirent/opendir.c: Likewise.
26837         * dirent/readdir.c: Likewise.
26838         * dirent/readdir64.c: Likewise.
26839         * dirent/readdir64_r.c: Likewise.
26840         * dirent/readdir_r.c: Likewise.
26841         * dirent/rewinddir.c: Likewise.
26842         * dirent/seekdir.c: Likewise.
26843         * dirent/telldir.c: Likewise.
26844         * gmon/profil.c: Likewise.
26845         * grp/setgroups.c: Likewise.
26846         * inet/if_index.c: Likewise.
26847         * io/access.c: Likewise.
26848         * io/chdir.c: Likewise.
26849         * io/chmod.c: Likewise.
26850         * io/chown.c: Likewise.
26851         * io/close.c: Likewise.
26852         * io/dup.c: Likewise.
26853         * io/dup2.c: Likewise.
26854         * io/dup3.c: Likewise.
26855         * io/euidaccess.c: Likewise.
26856         * io/faccessat.c: Likewise.
26857         * io/fchdir.c: Likewise.
26858         * io/fchmod.c: Likewise.
26859         * io/fchmodat.c: Likewise.
26860         * io/fchown.c: Likewise.
26861         * io/fchownat.c: Likewise.
26862         * io/fcntl.c: Likewise.
26863         * io/flock.c: Likewise.
26864         * io/fstatfs.c: Likewise.
26865         * io/fstatfs64.c: Likewise.
26866         * io/fstatvfs.c: Likewise.
26867         * io/fstatvfs64.c: Likewise.
26868         * io/futimens.c: Likewise.
26869         * io/fxstat.c: Likewise.
26870         * io/fxstat64.c: Likewise.
26871         * io/fxstatat.c: Likewise.
26872         * io/fxstatat64.c: Likewise.
26873         * io/getcwd.c: Likewise.
26874         * io/isatty.c: Likewise.
26875         * io/lchmod.c: Likewise.
26876         * io/lchown.c: Likewise.
26877         * io/link.c: Likewise.
26878         * io/linkat.c: Likewise.
26879         * io/lseek.c: Likewise.
26880         * io/lseek64.c: Likewise.
26881         * io/lxstat64.c: Likewise.
26882         * io/mkdir.c: Likewise.
26883         * io/mkdirat.c: Likewise.
26884         * io/mkfifo.c: Likewise.
26885         * io/mkfifoat.c: Likewise.
26886         * io/open.c: Likewise.
26887         * io/open64.c: Likewise.
26888         * io/openat.c: Likewise.
26889         * io/openat64.c: Likewise.
26890         * io/pipe.c: Likewise.
26891         * io/pipe2.c: Likewise.
26892         * io/poll.c: Likewise.
26893         * io/posix_fadvise.c: Likewise.
26894         * io/posix_fadvise64.c: Likewise.
26895         * io/posix_fallocate.c: Likewise.
26896         * io/posix_fallocate64.c: Likewise.
26897         * io/read.c: Likewise.
26898         * io/readlink.c: Likewise.
26899         * io/readlinkat.c: Likewise.
26900         * io/rmdir.c: Likewise.
26901         * io/sendfile.c: Likewise.
26902         * io/sendfile64.c: Likewise.
26903         * io/statfs.c: Likewise.
26904         * io/statfs64.c: Likewise.
26905         * io/statvfs.c: Likewise.
26906         * io/statvfs64.c: Likewise.
26907         * io/symlink.c: Likewise.
26908         * io/symlinkat.c: Likewise.
26909         * io/ttyname.c: Likewise.
26910         * io/ttyname_r.c: Likewise.
26911         * io/umask.c: Likewise.
26912         * io/unlink.c: Likewise.
26913         * io/unlinkat.c: Likewise.
26914         * io/utime.c: Likewise.
26915         * io/utimensat.c: Likewise.
26916         * io/write.c: Likewise.
26917         * io/xmknod.c: Likewise.
26918         * io/xmknodat.c: Likewise.
26919         * io/xstat.c: Likewise.
26920         * io/xstat64.c: Likewise.
26921         * login/getpt.c: Likewise.
26922         * login/grantpt.c: Likewise.
26923         * login/unlockpt.c: Likewise.
26924         * math/e_acoshl.c: Likewise.
26925         * math/e_acosl.c: Likewise.
26926         * math/e_asinl.c: Likewise.
26927         * math/e_atan2l.c: Likewise.
26928         * math/e_atanhl.c: Likewise.
26929         * math/e_coshl.c: Likewise.
26930         * math/e_expl.c: Likewise.
26931         * math/e_fmodl.c: Likewise.
26932         * math/e_gammal_r.c: Likewise.
26933         * math/e_hypotl.c: Likewise.
26934         * math/e_j0l.c: Likewise.
26935         * math/e_j1l.c: Likewise.
26936         * math/e_jnl.c: Likewise.
26937         * math/e_lgammal_r.c: Likewise.
26938         * math/e_log10l.c: Likewise.
26939         * math/e_log2l.c: Likewise.
26940         * math/e_logl.c: Likewise.
26941         * math/e_powl.c: Likewise.
26942         * math/e_rem_pio2l.c: Likewise.
26943         * math/e_sinhl.c: Likewise.
26944         * math/e_sqrtl.c: Likewise.
26945         * math/fclrexcpt.c: Likewise.
26946         * math/fedisblxcpt.c: Likewise.
26947         * math/feenablxcpt.c: Likewise.
26948         * math/fegetenv.c: Likewise.
26949         * math/fegetexcept.c: Likewise.
26950         * math/fegetround.c: Likewise.
26951         * math/feholdexcpt.c: Likewise.
26952         * math/fesetenv.c: Likewise.
26953         * math/fesetround.c: Likewise.
26954         * math/feupdateenv.c: Likewise.
26955         * math/fgetexcptflg.c: Likewise.
26956         * math/fraiseexcpt.c: Likewise.
26957         * math/fsetexcptflg.c: Likewise.
26958         * math/ftestexcept.c: Likewise.
26959         * math/k_cosl.c: Likewise.
26960         * math/k_rem_pio2l.c: Likewise.
26961         * math/k_sinl.c: Likewise.
26962         * math/k_tanl.c: Likewise.
26963         * math/s_asinhl.c: Likewise.
26964         * math/s_atanl.c: Likewise.
26965         * math/s_cbrtl.c: Likewise.
26966         * math/s_erfl.c: Likewise.
26967         * math/s_expm1l.c: Likewise.
26968         * math/s_log1pl.c: Likewise.
26969         * math/s_tanhl.c: Likewise.
26970         * misc/acct.c: Likewise.
26971         * misc/brk.c: Likewise.
26972         * misc/chflags.c: Likewise.
26973         * misc/chroot.c: Likewise.
26974         * misc/fchflags.c: Likewise.
26975         * misc/fgetxattr.c: Likewise.
26976         * misc/flistxattr.c: Likewise.
26977         * misc/fremovexattr.c: Likewise.
26978         * misc/fsetxattr.c: Likewise.
26979         * misc/fsync.c: Likewise.
26980         * misc/ftruncate.c: Likewise.
26981         * misc/futimes.c: Likewise.
26982         * misc/futimesat.c: Likewise.
26983         * misc/getdomain.c: Likewise.
26984         * misc/getdtsz.c: Likewise.
26985         * misc/gethostid.c: Likewise.
26986         * misc/gethostname.c: Likewise.
26987         * misc/getloadavg.c: Likewise.
26988         * misc/getpagesize.c: Likewise.
26989         * misc/getsysstats.c: Likewise.
26990         * misc/getxattr.c: Likewise.
26991         * misc/gtty.c: Likewise.
26992         * misc/ioctl.c: Likewise.
26993         * misc/lgetxattr.c: Likewise.
26994         * misc/listxattr.c: Likewise.
26995         * misc/llistxattr.c: Likewise.
26996         * misc/lremovexattr.c: Likewise.
26997         * misc/lsetxattr.c: Likewise.
26998         * misc/lutimes.c: Likewise.
26999         * misc/madvise.c: Likewise.
27000         * misc/mincore.c: Likewise.
27001         * misc/mlock.c: Likewise.
27002         * misc/mlockall.c: Likewise.
27003         * misc/mmap.c: Likewise.
27004         * misc/mprotect.c: Likewise.
27005         * misc/msync.c: Likewise.
27006         * misc/munlock.c: Likewise.
27007         * misc/munlockall.c: Likewise.
27008         * misc/munmap.c: Likewise.
27009         * misc/preadv.c: Likewise.
27010         * misc/preadv64.c: Likewise.
27011         * misc/ptrace.c: Likewise.
27012         * misc/pwritev.c: Likewise.
27013         * misc/pwritev64.c: Likewise.
27014         * misc/readv.c: Likewise.
27015         * misc/reboot.c: Likewise.
27016         * misc/remap_file_pages.c: Likewise.
27017         * misc/removexattr.c: Likewise.
27018         * misc/revoke.c: Likewise.
27019         * misc/select.c: Likewise.
27020         * misc/setdomain.c: Likewise.
27021         * misc/setegid.c: Likewise.
27022         * misc/seteuid.c: Likewise.
27023         * misc/sethostid.c: Likewise.
27024         * misc/sethostname.c: Likewise.
27025         * misc/setregid.c: Likewise.
27026         * misc/setreuid.c: Likewise.
27027         * misc/setxattr.c: Likewise.
27028         * misc/sstk.c: Likewise.
27029         * misc/stty.c: Likewise.
27030         * misc/swapoff.c: Likewise.
27031         * misc/swapon.c: Likewise.
27032         * misc/sync.c: Likewise.
27033         * misc/syncfs.c: Likewise.
27034         * misc/syscall.c: Likewise.
27035         * misc/truncate.c: Likewise.
27036         * misc/ualarm.c: Likewise.
27037         * misc/usleep.c: Likewise.
27038         * misc/ustat.c: Likewise.
27039         * misc/utimes.c: Likewise.
27040         * misc/vhangup.c: Likewise.
27041         * misc/writev.c: Likewise.
27042         * posix/_exit.c: Likewise.
27043         * posix/alarm.c: Likewise.
27044         * posix/execve.c: Likewise.
27045         * posix/fexecve.c: Likewise.
27046         * posix/fork.c: Likewise.
27047         * posix/fpathconf.c: Likewise.
27048         * posix/getaddrinfo.c: Likewise.
27049         * posix/getegid.c: Likewise.
27050         * posix/geteuid.c: Likewise.
27051         * posix/getgid.c: Likewise.
27052         * posix/getgroups.c: Likewise.
27053         * posix/getlogin.c: Likewise.
27054         * posix/getlogin_r.c: Likewise.
27055         * posix/getpgid.c: Likewise.
27056         * posix/getpid.c: Likewise.
27057         * posix/getppid.c: Likewise.
27058         * posix/getresgid.c: Likewise.
27059         * posix/getresuid.c: Likewise.
27060         * posix/getsid.c: Likewise.
27061         * posix/getuid.c: Likewise.
27062         * posix/glob64.c: Likewise.
27063         * posix/nanosleep.c: Likewise.
27064         * posix/pathconf.c: Likewise.
27065         * posix/pause.c: Likewise.
27066         * posix/posix_madvise.c: Likewise.
27067         * posix/pread.c: Likewise.
27068         * posix/pread64.c: Likewise.
27069         * posix/pwrite.c: Likewise.
27070         * posix/pwrite64.c: Likewise.
27071         * posix/sched_getaffinity.c: Likewise.
27072         * posix/sched_getp.c: Likewise.
27073         * posix/sched_gets.c: Likewise.
27074         * posix/sched_primax.c: Likewise.
27075         * posix/sched_primin.c: Likewise.
27076         * posix/sched_rr_gi.c: Likewise.
27077         * posix/sched_setaffinity.c: Likewise.
27078         * posix/sched_setp.c: Likewise.
27079         * posix/sched_sets.c: Likewise.
27080         * posix/sched_yield.c: Likewise.
27081         * posix/setgid.c: Likewise.
27082         * posix/setlogin.c: Likewise.
27083         * posix/setpgid.c: Likewise.
27084         * posix/setresgid.c: Likewise.
27085         * posix/setresuid.c: Likewise.
27086         * posix/setsid.c: Likewise.
27087         * posix/setuid.c: Likewise.
27088         * posix/sleep.c: Likewise.
27089         * posix/spawni.c: Likewise.
27090         * posix/sysconf.c: Likewise.
27091         * posix/times.c: Likewise.
27092         * posix/wait.c: Likewise.
27093         * posix/wait3.c: Likewise.
27094         * posix/wait4.c: Likewise.
27095         * posix/waitpid.c: Likewise.
27096         * resolv/gai_sigqueue.c: Likewise.
27097         * resource/getpriority.c: Likewise.
27098         * resource/getrlimit.c: Likewise.
27099         * resource/getrusage.c: Likewise.
27100         * resource/nice.c: Likewise.
27101         * resource/setpriority.c: Likewise.
27102         * resource/setrlimit.c: Likewise.
27103         * resource/ulimit.c: Likewise.
27104         * rt/aio_cancel.c: Likewise.
27105         * rt/aio_fsync.c: Likewise.
27106         * rt/aio_read.c: Likewise.
27107         * rt/aio_sigqueue.c: Likewise.
27108         * rt/aio_suspend.c: Likewise.
27109         * rt/aio_write.c: Likewise.
27110         * rt/clock_getres.c: Likewise.
27111         * rt/clock_gettime.c: Likewise.
27112         * rt/clock_nanosleep.c: Likewise.
27113         * rt/clock_settime.c: Likewise.
27114         * rt/lio_listio.c: Likewise.
27115         * rt/mq_close.c: Likewise.
27116         * rt/mq_getattr.c: Likewise.
27117         * rt/mq_notify.c: Likewise.
27118         * rt/mq_open.c: Likewise.
27119         * rt/mq_receive.c: Likewise.
27120         * rt/mq_send.c: Likewise.
27121         * rt/mq_setattr.c: Likewise.
27122         * rt/mq_timedreceive.c: Likewise.
27123         * rt/mq_timedsend.c: Likewise.
27124         * rt/mq_unlink.c: Likewise.
27125         * rt/shm_open.c: Likewise.
27126         * rt/shm_unlink.c: Likewise.
27127         * rt/timer_create.c: Likewise.
27128         * rt/timer_delete.c: Likewise.
27129         * rt/timer_getoverr.c: Likewise.
27130         * rt/timer_gettime.c: Likewise.
27131         * rt/timer_settime.c: Likewise.
27132         * setjmp/__longjmp.c: Likewise.
27133         * setjmp/setjmp.c: Likewise.
27134         * signal/kill.c: Likewise.
27135         * signal/killpg.c: Likewise.
27136         * signal/raise.c: Likewise.
27137         * signal/sigaction.c: Likewise.
27138         * signal/sigaltstack.c: Likewise.
27139         * signal/sigblock.c: Likewise.
27140         * signal/sigignore.c: Likewise.
27141         * signal/sigintr.c: Likewise.
27142         * signal/signal.c: Likewise.
27143         * signal/sigpause.c: Likewise.
27144         * signal/sigpending.c: Likewise.
27145         * signal/sigqueue.c: Likewise.
27146         * signal/sigreturn.c: Likewise.
27147         * signal/sigset.c: Likewise.
27148         * signal/sigsetmask.c: Likewise.
27149         * signal/sigstack.c: Likewise.
27150         * signal/sigsuspend.c: Likewise.
27151         * signal/sigtimedwait.c: Likewise.
27152         * signal/sigvec.c: Likewise.
27153         * signal/sigwait.c: Likewise.
27154         * signal/sigwaitinfo.c: Likewise.
27155         * signal/sysv_signal.c: Likewise.
27156         * socket/accept.c: Likewise.
27157         * socket/accept4.c: Likewise.
27158         * socket/bind.c: Likewise.
27159         * socket/connect.c: Likewise.
27160         * socket/getpeername.c: Likewise.
27161         * socket/getsockname.c: Likewise.
27162         * socket/getsockopt.c: Likewise.
27163         * socket/isfdtype.c: Likewise.
27164         * socket/listen.c: Likewise.
27165         * socket/recv.c: Likewise.
27166         * socket/recvfrom.c: Likewise.
27167         * socket/recvmsg.c: Likewise.
27168         * socket/send.c: Likewise.
27169         * socket/sendmsg.c: Likewise.
27170         * socket/sendto.c: Likewise.
27171         * socket/setsockopt.c: Likewise.
27172         * socket/shutdown.c: Likewise.
27173         * socket/sockatmark.c: Likewise.
27174         * socket/socket.c: Likewise.
27175         * socket/socketpair.c: Likewise.
27176         * stdio-common/ctermid.c: Likewise.
27177         * stdio-common/cuserid.c: Likewise.
27178         * stdio-common/remove.c: Likewise.
27179         * stdio-common/rename.c: Likewise.
27180         * stdio-common/renameat.c: Likewise.
27181         * stdio-common/tempname.c: Likewise.
27182         * stdlib/getcontext.c: Likewise.
27183         * stdlib/makecontext.c: Likewise.
27184         * stdlib/setcontext.c: Likewise.
27185         * stdlib/swapcontext.c: Likewise.
27186         * stdlib/system.c: Likewise.
27187         * streams/fattach.c: Likewise.
27188         * streams/fdetach.c: Likewise.
27189         * streams/getmsg.c: Likewise.
27190         * streams/getpmsg.c: Likewise.
27191         * streams/putmsg.c: Likewise.
27192         * streams/putpmsg.c: Likewise.
27193         * sysdeps/unix/bsd/getpt.c: Likewise.
27194         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27195         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27196         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27198         Likewise.
27199         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27200         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27201         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27202         * sysvipc/msgctl.c: Likewise.
27203         * sysvipc/msgget.c: Likewise.
27204         * sysvipc/msgrcv.c: Likewise.
27205         * sysvipc/msgsnd.c: Likewise.
27206         * sysvipc/semctl.c: Likewise.
27207         * sysvipc/semget.c: Likewise.
27208         * sysvipc/semop.c: Likewise.
27209         * sysvipc/semtimedop.c: Likewise.
27210         * sysvipc/shmat.c: Likewise.
27211         * sysvipc/shmctl.c: Likewise.
27212         * sysvipc/shmdt.c: Likewise.
27213         * sysvipc/shmget.c: Likewise.
27214         * termios/tcdrain.c: Likewise.
27215         * termios/tcflow.c: Likewise.
27216         * termios/tcflush.c: Likewise.
27217         * termios/tcgetattr.c: Likewise.
27218         * termios/tcgetpgrp.c: Likewise.
27219         * termios/tcsendbrk.c: Likewise.
27220         * termios/tcsetattr.c: Likewise.
27221         * termios/tcsetpgrp.c: Likewise.
27222         * time/adjtime.c: Likewise.
27223         * time/clock.c: Likewise.
27224         * time/getitimer.c: Likewise.
27225         * time/gettimeofday.c: Likewise.
27226         * time/setitimer.c: Likewise.
27227         * time/settimeofday.c: Likewise.
27228         * time/stime.c: Likewise.
27229         * time/time.c: Likewise.
27230
27231 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27232
27233         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27234         /usr/old/bin.
27235
27236         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27237         instead of spaces.
27238         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27239
27240 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27241
27242         [BZ #14796]
27243         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27244         FE_TONEAREST before applying Dekker multiplication and Knuth
27245         addition.  Clear inexact exceptions and check for exact zero
27246         results afterwards.
27247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27248         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27249         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27250         * math/libm-test.inc (fma_test): Add more tests.
27251         (fma_test_towardzero): Likewise.
27252         (fma_test_downward): Likewise.
27253         (fma_test_upward): Likewise.
27254         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27255         function.
27256         (libc_fesetround): New macro.
27257         (libc_fesetroundf): Likewise.
27258         (libc_fesetroundl): Likewise.
27259         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27260         function.
27261         (libc_fesetround_387): Likewise.
27262         (libc_fesetroundf): New macro.
27263         (libc_fesetround): Likewise.
27264         (libc_fesetroundl): Likewise.
27265         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27266         function.
27267         (libc_fesetroundf): New macro.
27268         (libc_fesetround): Likewise.
27269         (libc_fesetroundl): Likewise.
27270         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27271         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27272         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27273         libm_hidden_ver.
27274         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27275         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27276         libm_hidden_def.
27277         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27278         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27279         libm_hidden_ver.
27280         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27281         libm_hidden_def.
27282
27283         [BZ #3439]
27284         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27285         integer constant usable in #if and use that to give value to enum
27286         constant.
27287         (FE_DIVBYZERO): Likewise.
27288         (FE_UNDERFLOW): Likewise.
27289         (FE_OVERFLOW): Likewise.
27290         (FE_INVALID): Likewise.
27291         (FE_INVALID_SNAN): Likewise.
27292         (FE_INVALID_ISI): Likewise.
27293         (FE_INVALID_IDI): Likewise.
27294         (FE_INVALID_ZDZ): Likewise.
27295         (FE_INVALID_IMZ): Likewise.
27296         (FE_INVALID_COMPARE): Likewise.
27297         (FE_INVALID_SOFTWARE): Likewise.
27298         (FE_INVALID_SQRT): Likewise.
27299         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27300         (FE_TONEAREST): Likewise.
27301         (FE_TOWARDZERO): Likewise.
27302         (FE_UPWARD): Likewise.
27303         (FE_DOWNWARD): Likewise.
27304         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27305         (FE_DIVBYZERO): Likewise.
27306         (FE_OVERFLOW): Likewise.
27307         (FE_UNDERFLOW): Likewise.
27308         (FE_INEXACT): Likewise.
27309         (FE_TONEAREST): Likewise.
27310         (FE_DOWNWARD): Likewise.
27311         (FE_UPWARD): Likewise.
27312         (FE_TOWARDZERO): Likewise.
27313         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27314         (FE_UNDERFLOW): Likewise.
27315         (FE_OVERFLOW): Likewise.
27316         (FE_DIVBYZERO): Likewise.
27317         (FE_INVALID): Likewise.
27318         (FE_TONEAREST): Likewise.
27319         (FE_TOWARDZERO): Likewise.
27320         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27321         (FE_OVERFLOW): Likewise.
27322         (FE_UNDERFLOW): Likewise.
27323         (FE_DIVBYZERO): Likewise.
27324         (FE_INEXACT): Likewise.
27325         (FE_TONEAREST): Likewise.
27326         (FE_TOWARDZERO): Likewise.
27327         (FE_UPWARD): Likewise.
27328         (FE_DOWNWARD): Likewise.
27329         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27330         (FE_DIVBYZERO): Likewise.
27331         (FE_OVERFLOW): Likewise.
27332         (FE_UNDERFLOW): Likewise.
27333         (FE_INEXACT): Likewise.
27334         (FE_TONEAREST): Likewise.
27335         (FE_DOWNWARD): Likewise.
27336         (FE_UPWARD): Likewise.
27337         (FE_TOWARDZERO): Likewise.
27338
27339 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27340
27341         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27342
27343 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27344
27345         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27346         commands.  Quote $PWD.
27347         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27348         -x" by "export".
27349         (remove_newlines): Remove.
27350
27351 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27352
27353         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27354         * stdlib/stdlib.h (atof): Moved to ...
27355         * include/bits/stdlib-float.h: Here.  New file.
27356         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27357         * stdlib/bits/stdlib-float.h: New file.
27358         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27359         -mno-sse -mno-mmx.
27360         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27361         <xmmintrin.h>.
27362
27363 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27364
27365         * conform/conformtest.pl (@headers): Add fenv.h.
27366         * conform/data/fenv.h-data: New file.
27367         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27368         include of <math/fenv.h>.
27369
27370         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27371         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27372         && !UNIX98].  Enables tests for XOPEN2K8.
27373         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27374         POSIX2008]: Likewise.
27375
27376         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27377         (struct rusage): Do not expect type or its members.
27378
27379         [BZ #3439]
27380         * math/math.h (FP_NAN): Define macro to integer constant usable in
27381         #if and use that to give value to enum constant.
27382         (FP_INFINITE): Likewise.
27383         (FP_ZERO): Likewise.
27384         (FP_SUBNORMAL): Likewise.
27385         (FP_NORMAL): Likewise.
27386
27387 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27388
27389         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27390         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27391         arguments.
27392
27393 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27394
27395         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27396         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27397         autoconf-time if not.
27398         * configure.in: Remove AC_PREREQ.
27399
27400 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27401
27402         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27403         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27404         of the internal implementation.
27405
27406 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27407
27408         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27409         except include of <misc/sys/syslog.h>.
27410
27411 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27412
27413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27414         function returns with a NULL context exit with zero.
27415
27416 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27417
27418         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27419
27420 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27421
27422         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27423         (run_program_cmd): This.
27424         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27425         (tst_langinfo): New variable.  Use it.
27426
27427 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27428
27429         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27430         floating point opcodes.
27431
27432 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27433
27434         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27435         variable.
27436
27437         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27438
27439         * sysdeps/mach/hurd/powerpc: Remove directory.
27440         * sysdeps/mach/powerpc: Likewise.
27441
27442 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27443
27444         * scripts/check-local-headers.sh: Ignore c++ headers.
27445
27446 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27447
27448         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27449         __libc_cleanup_region_start argument.
27450
27451 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27452
27453         [BZ #14784]
27454         [BZ #14785]
27455         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27456         x * y using scaling, not as x * y + z.
27457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27458         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27459         * math/libm-test.inc (fma_test): Add more tests.
27460         (fma_test_towardzero): Likewise.
27461         (fma_test_downward): Likewise.
27462         (fma_test_upward): Likewise.
27463
27464 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27465
27466         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27467
27468 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27469
27470         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27471         New variable.
27472
27473 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27474
27475         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27476
27477 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27478
27479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27480         Fix sort order.
27481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27482         Likewise.
27483
27484 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27485
27486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27487         Fix the order of the list for glibc 2.17.
27488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27489         Likewise.
27490
27491 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27492
27493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27494
27495 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27496
27497         [BZ #14610]
27498         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27499         for low part of x being zero before using __atanl (y).
27500         * math/libm-test.inc (atan2_test): Add another test.
27501
27502         * manual/install.texi (Configuring and compiling): Document
27503         general use of test-wrapper and test-wrapper-env.
27504         * INSTALL: Regenerated.
27505
27506         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27507         (__fma): Do not extract and scale down low bits on after-rounding
27508         systems when result rounded to normal precision would have normal
27509         exponent.
27510         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27511         (__fmal): Do not extract and scale down low bits on after-rounding
27512         systems when result rounded to normal precision would have normal
27513         exponent.
27514         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27515         (__fmal): Do not extract and scale down low bits on after-rounding
27516         systems when result rounded to normal precision would have normal
27517         exponent.
27518         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27519         macro.
27520         (fma_test): Add more tests.
27521         (fma_test_towardzero): Likewise.
27522         (fma_test_downward): Likewise.
27523         (fma_test_upward): Likewise.
27524
27525 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27526
27527         * sysdeps/i386/tininess.h: Renamed to ...
27528         * sysdeps/x86/tininess.h: This.
27529         * sysdeps/x86_64/tininess.h: Removed.
27530
27531 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27532
27533         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27534         input.  Use $(build-program-cmd).
27535         ($(objpfx)tst-array1-static.out): Likewise.
27536         ($(objpfx)tst-array2.out): Likewise.
27537         ($(objpfx)tst-array3.out): Likewise.
27538         ($(objpfx)tst-array4.out): Likewise.
27539         ($(objpfx)tst-array5.out): Likewise.
27540         ($(objpfx)tst-array5-static.out): Likewise.
27541
27542 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27543
27544         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27545         if defined.
27546
27547         * nss/nsswitch.h (nss_interface_function): Provide new
27548         macro for use with NSS functions.
27549         * grp/initgroups.c: Use new macro.
27550         * nss/getXXbyYY.c: Likewise.
27551         * nss/getXXbyYY_r.c: Likewise.
27552         * nss/getXXent.c: Likewise.
27553         * nss/getXXent_r.c: Likewise.
27554         * sysdeps/posix/getaddrinfo.c: Likewise.
27555
27556 2012-10-30  Andreas Jaeger  <aj@suse.de>
27557
27558         * po/ru.po: Update Russion translation from translation project.
27559
27560 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27561
27562         [BZ #14152]
27563         [BZ #14783]
27564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27565         result and shift together with sticky bit instead of replicating
27566         round-to-nearest rounding.
27567         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27568         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27569         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27570         missing underflow exceptions.
27571         (fma_test_towardzero): Add more tests.
27572         (fma_test_downward): Likewise.
27573         (fma_test_upward): Likewise.
27574
27575         [BZ #14047]
27576         * sysdeps/generic/tininess.h: New file.
27577         * sysdeps/i386/tininess.h: Likewise.
27578         * sysdeps/sh/tininess.h: Likewise.
27579         * sysdeps/x86_64/tininess.h: Likewise.
27580         * stdlib/tst-strtod-underflow.c: Likewise.
27581         * stdlib/tst-tininess.c: Likewise.
27582         * stdlib/strtod_l.c: Include <tininess.h>.
27583         (round_and_return): Do not set errno for exact underflow cases.
27584         Force an underflow exception when setting errno for underflow.
27585         Determine underflow based on rounding to normal precision if
27586         TININESS_AFTER_ROUNDING.
27587         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27588         ERANGE for exact underflow cases.
27589         * stdlib/Makefile (tests): Add tst-tininess and
27590         tst-strtod-underflow.
27591         ($(objpfx)tst-tininess): Use $(link-libm).
27592         ($(objpfx)tst-strtod-underflow): Likewise.
27593
27594 2012-10-30  Andreas Jaeger  <aj@suse.de>
27595
27596         [BZ#14767]
27597         * elf/Makefile (tests): Remove conditional for have-initfini-array
27598         since this is now always required and the variable does not exist
27599         anymore.
27600         (tests-static): Likewise.
27601         (modules-names): Likewise.
27602
27603         * po/eo.po: Add Esperanto translation from translation project.
27604
27605         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27606         merged with constructor/destructor.
27607         (init_array): Likewise.
27608         * elf/tst-array2dep.c (fini_array): Likewise.
27609         (init_array): Likewise.
27610
27611 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27612
27613         * manual/message.texi: Delete @cartouche tags.
27614
27615 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27616
27617         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27618         EOPNOTSUPP.
27619         * sysdeps/mach/hurd/fsync.c: Likewise.
27620
27621         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27622         [_POSIX_REALTIME_SIGNALS]: Change condition to
27623         [_POSIX_REALTIME_SIGNALS > 0].
27624
27625 2012-10-27  Andreas Jaeger  <aj@suse.de>
27626
27627         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27628         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27630         [__WORDSIZE != 64]: Likewise.
27631
27632 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27633
27634         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27635         *  iconvdata/tst-tables.sh: Likewise.
27636
27637 2012-10-25  David S. Miller  <davem@davemloft.net>
27638
27639         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27640         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27641         of strtoull.
27642
27643         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27644         ifunc-impl-list.c
27645         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27646         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27647         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27648         file.
27649
27650 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27651
27652         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27653         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27654         __getdirentries.
27655
27656 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27657             Jim Blandy  <jimb@codesourcery.com>
27658
27659         * scripts/cross-test-ssh.sh: New file.
27660         * manual/install.texi (Configuring and compiling): Document use of
27661         cross-test-ssh.sh.
27662         * INSTALL: Regenerated.
27663
27664 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27665
27666         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27667         EOPNOTSUPP.
27668
27669 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27670
27671         * Makeconfig (run-program-prefix): Fix comment.
27672
27673 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27674             Jim Blandy  <jimb@codesourcery.com>
27675
27676         * Makeconfig (test-wrapper): New variable,
27677         (test-wrapper-env): Likewise.
27678         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27679         (run-built-tests): Define to yes.
27680         (run-program-prefix): Use $(test-wrapper).
27681         (built-program-cmd): Likewise.
27682         * Rules (make-test-out): Use $(test-wrapper-env) and
27683         $(host-built-program-cmd).
27684         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27685         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27686         tst-pathopt.sh.
27687         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27688         $(test-wrapper-env) to tst-rtld-load-self.sh.
27689         ($(objpfx)order2.out): Use $(test-wrapper).
27690         ($(objpfx)tst-initorder.out): Likewise.
27691         ($(objpfx)tst-initorder2.out): Likewise.
27692         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27693         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27694         (test_wrapper_env): New variable.  Use it to run ld.so.
27695         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27696         Use it to run ld.so.
27697         (test_wrapper_env): Likewise.
27698         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27699         $(test-wrapper) to run-iconv-test.sh.
27700         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27701         (ICONV): Use $test_wrapper.
27702         * posix/Makefile ($(objpfx)globtest.out): Pass
27703         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27704         globtest.sh, not $(run-program-prefix).
27705         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27706         (test_wrapper): Likewise.
27707         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27708         set together with run_via_rtld_prefix.
27709         (run_program_prefix): Define in terms of test_wrapper and
27710         run_via_rtld_prefix.
27711
27712 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27713
27714         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27715         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27716         Targets removed.
27717
27718         [BZ #14743]
27719         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27720         Declare __clock_getres, __clock_gettime, __clock_settime,
27721         __clock_nanosleep, and __clock_getcpuclockid.
27722         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27723         Remove librt_hidden_def (clock_gettime).
27724         * sysdeps/unix/clock_gettime.c: Likewise.
27725         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27726         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27727         * rt/clock_getres.c: Define __clock_getres as an alias.
27728         * sysdeps/posix/clock_getres.c: Likewise.
27729         * rt/clock_settime.c: Define __clock_settime as an alias.
27730         * sysdeps/unix/clock_settime.c: Likewise.
27731         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27732         * sysdeps/unix/clock_nanosleep.c: Likewise.
27733         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27734         * rt/clock-compat.c: New file.
27735         * rt/Makefile (librt-routines): Add clock-compat and move
27736         $(clock-routines) to ...
27737         (routines): ... here, new variable.
27738         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27739         Don't add get_clockfreq here.
27740         * rt/Versions (libc: GLIBC_2.17): New version set.
27741         Add clock_* symbols here.
27742         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27743         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27744         (GLIBC_2.17): Add clock_* symbols.
27745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27747         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27749         Likewise.
27750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27751         Likewise.
27752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27756         * NEWS: Mention the move.
27757
27758         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27759         Use __open, __read, __close rather than their public counterparts.
27760         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27761         (__get_clockfreq_via_cpuinfo): Likewise.
27762         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27763         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27764
27765         * config.h.in (HAVE_IFUNC): New #undef.
27766         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27767         was successful.
27768         * configure: Regenerated.
27769
27770 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27771
27772         * configure.in: Move READELF check to start of file.
27773         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27774         libc_cv_asm_gnu_indirect_function in the process.
27775         * configure: Regenerated.
27776
27777 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27778
27779         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27780         send the output to /dev/null.
27781         (libc_cv_cc_with_libunwind): Likewise.
27782         (libc_cv_as_noexecstack): Likewise.
27783         * configure: Regenerate.
27784
27785 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27786
27787         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27788
27789         * posix/globtest.sh (TMPDIR): Do not set.
27790         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27791         (testout): Likewise.
27792
27793 2012-10-24  Andreas Jaeger  <aj@suse.de>
27794
27795         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27796         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27797         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27798         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27799         posix_fadvise64, posix_fallocate64.
27800
27801         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27802         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27803         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27804         Likewise.
27805         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27806         Likewise.
27807         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27808
27809         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27810         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27811         <bits/fcntl-linux.h>.
27812         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27813
27814         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27815         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27816         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27817         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27818         [__WORDSIZE != 64]: Likewise.
27819
27820 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27821
27822         * Makeconfig (run-built-tests): New variable.
27823         * Rules [$(cross-compiling) = yes]: Change condition to
27824         [$(run-built-tests) = no].
27825         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27826         to [$(run-built-tests) = yes].
27827         * elf/Makefile [$(cross-compiling) = no]: Likewise
27828         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27829         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27830         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27831         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27832         * io/Makefile [$(cross-compiling) = no]: Likewise.
27833         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27834         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27835         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27836         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27837         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27838         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27839         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27840         * string/Makefile [$(cross-compiling) = no]: Likewise.
27841
27842         * posix/Makefile ($(objpfx)globtest.out): Pass
27843         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27844         $(rtld-installed-name).
27845         * posix/globtest.sh (elf_objpfx): Remove variable.
27846         (rtld_installed_name): Likewise.
27847         (library_path): Likewise.
27848         (run_program_prefix): New variable.  Use for running globtest
27849         binary.
27850
27851 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27852             Joseph Myers  <joseph@codesourcery.com>
27853
27854         * Makeconfig (host-built-program-cmd): New variable.
27855         * elf/Makefile (tst-stackguard1-ARGS): Use
27856         $(host-built-program-cmd).
27857         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27858         (tst-spawn-ARGS): Likewise.
27859         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27860
27861 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27862             Jim Blandy  <jimb@codesourcery.com>
27863
27864         * Makeconfig (run-via-rtld-prefix): New variable.
27865         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27866         (built-program-cmd): Likewise.
27867
27868 2012-10-22  Andreas Jaeger  <aj@suse.de>
27869
27870         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27871         __O_RSYNC if it exists, otherwise to O_SYNC.
27872
27873 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27874             Joseph Myers  <joseph@codesourcery.com>
27875
27876         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27877         /dev/null.
27878         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27879         from /dev/null
27880         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27881         /dev/null.
27882
27883 2012-10-22  Andreas Jaeger  <aj@suse.de>
27884
27885         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27886         Define always.
27887         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27888
27889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27890         bits/fcntl-linux.h.
27891
27892         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27893         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27894
27895         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27896         to __O_LARGEFILE.
27897         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27898         to __O_LARGEFILE.
27899
27900 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27901             Joseph Myers  <joseph@codesourcery.com>
27902
27903         * config.make.in (NM): New variable.
27904
27905 2012-10-21  Andreas Jaeger  <aj@suse.de>
27906
27907         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27908         definitions and declarations that are provided by
27909         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27910
27911 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27912
27913         [BZ #14683]
27914         * elf/Makefile (tests-static): Add tst-leaks1-static.
27915         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27916         ($(objpfx)tst-leaks1-static): New rule.
27917         ($(objpfx)tst-leaks1-static-mem): Likewise.
27918         (tst-leaks1-static-ENV): New macro.
27919         * elf/dl-open.c (dl_open_worker): Check the main application
27920         only if SHARED is defined.
27921         * elf/tst-leaks1-static.c: New file.
27922
27923 2012-10-20  Andreas Jaeger  <aj@suse.de>
27924
27925         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27926         generic values for Linux.
27927         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27928         and declarations that are provided by <bits/fcntl-linux.h> and
27929         include <bits/fcntl-linux.h>.
27930         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27931         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27932
27933 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27934
27935         * io/fcntl.h: Move include of <bits/types.h> to the top and
27936         include it unconditionally.
27937
27938 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27939
27940         * wcsmbs/Makefile (tests-ifunc): New variable.
27941         (tests): Add $(tests-ifunc).
27942         * wcsmbs/test-wcschr-ifunc.c: New file.
27943         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27944         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27945         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27946         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27947         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27948
27949         * string/Makefile (tests-ifunc): New variable.
27950         (tests): Add $(tests-ifunc).
27951         * string/test-memccpy.c (TEST_NAME): New macro.
27952         * string/test-memchr.c (TEST_NAME): Likewise.
27953         * string/test-memcmp.c (TEST_NAME): Likewise.
27954         * string/test-memcpy.c (TEST_NAME): Likewise.
27955         * string/test-memmem.c (TEST_NAME): Likewise.
27956         * string/test-memmove.c (TEST_NAME): Likewise.
27957         * string/test-memset.c (TEST_NAME): Likewise.
27958         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27959         * string/test-stpcpy.c (TEST_NAME): Likewise.
27960         * string/test-stpncpy.c (TEST_NAME): Likewise.
27961         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27962         * string/test-strcasestr.c (TEST_NAME): Likewise.
27963         * string/test-strcat.c (TEST_NAME): Likewise.
27964         * string/test-strchr.c (TEST_NAME): Likewise.
27965         * string/test-strcmp.c(TEST_NAME): Likewise.
27966         * string/test-strcpy.c (TEST_NAME): Likewise.
27967         * string/test-strcspn.c (TEST_NAME): Likewise.
27968         * string/test-strlen.c (TEST_NAME): Likewise.
27969         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27970         * string/test-strncmp.c (TEST_NAME): Likewise.
27971         * string/test-strncpy.c (TEST_NAME): Likewise.
27972         * string/test-strnlen.c (TEST_NAME): Likewise.
27973         * string/test-strpbrk.c (TEST_NAME): Likewise.
27974         * string/test-strrchr.c (TEST_NAME): Likewise.
27975         * string/test-strspn.c (TEST_NAME): Likewise.
27976         * string/test-strstr.c (TEST_NAME): Likewise.
27977         * string/test-bcopy-ifunc.c: New file.
27978         * string/test-bzero-ifunc.c: Likewise.
27979         * string/test-memccpy-ifunc.c: Likewise.
27980         * string/test-memchr-ifunc.c: Likewise.
27981         * string/test-memcmp-ifunc.c: Likewise.
27982         * string/test-memcpy-ifunc.c: Likewise.
27983         * string/test-memmem-ifunc.c: Likewise.
27984         * string/test-memmove-ifunc.c: Likewise.
27985         * string/test-mempcpy-ifunc.c: Likewise.
27986         * string/test-memset-ifunc.c: Likewise.
27987         * string/test-rawmemchr-ifunc.c: Likewise.
27988         * string/test-stpcpy-ifunc.c: Likewise.
27989         * string/test-stpncpy-ifunc.c: Likewise.
27990         * string/test-strcasecmp-ifunc.c: Likewise.
27991         * string/test-strcasestr-ifunc.c: Likewise.
27992         * string/test-strcat-ifunc.c: Likewise.
27993         * string/test-strchr-ifunc.c: Likewise.
27994         * string/test-strchrnul-ifunc.c: Likewise.
27995         * string/test-strcmp-ifunc.c: Likewise.
27996         * string/test-strcpy-ifunc.c: Likewise.
27997         * string/test-strcspn-ifunc.c: Likewise.
27998         * string/test-strlen-ifunc.c: Likewise.
27999         * string/test-strncasecmp-ifunc.c: Likewise.
28000         * string/test-strncat-ifunc.c: Likewise.
28001         * string/test-strncmp-ifunc.c: Likewise.
28002         * string/test-strncpy-ifunc.c: Likewise.
28003         * string/test-strnlen-ifunc.c: Likewise.
28004         * string/test-strpbrk-ifunc.c: Likewise.
28005         * string/test-strrchr-ifunc.c: Likewise.
28006         * string/test-strspn-ifunc.c: Likewise.
28007         * string/test-strstr-ifunc.c: Likewise.
28008
28009         * debug/Makefile (tests-ifunc): New variable.
28010         (tests): Add $(tests-ifunc).
28011         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28012         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28013         * debug/test-stpcpy_chk-ifunc.c: New file.
28014         * debug/test-strcpy_chk-ifunc.c: Likewise.
28015
28016 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28017
28018         [BZ #13601]
28019         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28020         header is not read in.
28021
28022 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28023
28024         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28025         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28026         directly.  Pass built executable to script as
28027         $(built-program-cmd).
28028         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28029         $testprogram without using LD_LIBRARY_PATH and $ldso.
28030
28031         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28032         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28033         $(rtld-installed-name).
28034         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28035         (rtld_installed_name): Likewise.
28036         (library_path): Likewise.
28037         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28038         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28039         $(run-program-prefix) to tst-tables.sh.
28040         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28041         it to run tst-table-from and tst-table-to.
28042         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28043         Pass it to tst-table.sh.
28044         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28045         $(run-program-prefix) to tst-gettext.sh.
28046         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28047         tst-translit.sh.
28048         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28049         tst-gettext2.sh.
28050         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28051         to run tst-gettext.
28052         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28053         to run tst-gettext2.
28054         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28055         to run tst-translit.
28056         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28057         $(run-program-prefix) to tst-mtrace.sh.
28058         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28059         to run tst-mtrace.
28060         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28061         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28062         $(rtld-installed-name).
28063         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28064         (rtld_installed_name): Likewise.
28065         (run_program_prefix): New variable.  Use it to run wordexp-test.
28066
28067         * Makeconfig (ARCH): Remove all definitions.
28068         (machine): Likewise.
28069         [ARCH]: Remove conditional code.
28070         [!objdir]: Give error.
28071         [!objdir] (objpfx): Remove.
28072         [!objdir] (common-objpfx): Likewise.
28073         [!objdir] (common-objdir): Likewise.
28074         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28075         AC_CONFIG_FILES call.
28076         * configure: Regenerated.
28077
28078         [BZ #13888]
28079         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28080         or TMPDIR.
28081         (testout): Likewise.
28082
28083         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28084         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28085         $(rtld-installed-name).
28086         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28087         (rtld_installed_name): Likwise.
28088         (runit): Remove function.
28089         (run_getconf): New variable,  Use it for running getconf binary.
28090
28091 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28092
28093         [BZ #14716]
28094         * string/test-memmem.c (check_result): New function.
28095         (do_one_test): Use it.
28096         (check1): New function.
28097         (test_main): Use it.
28098
28099 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28100
28101         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28102
28103 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28104
28105         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28106         (_G_LSEEK64): Likewise.
28107         (_G_MMAP64): Likewise.
28108         (_G_FSTAT64): Likewise.
28109         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28110         (_G_LSEEK64): Likewise.
28111         (_G_MMAP64): Likewise.
28112         (_G_FSTAT64): Likewise.
28113         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28114         unconditional.  Call __mmap64 directly.
28115         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28116         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28117         __lseek64 directly.
28118         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28119         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28120         __mmap64 directly.
28121         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28122         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28123         __lseek64 directly.
28124         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28125         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28126         __lseek64 directly.
28127         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28128         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28129         __lseek64 directly.
28130         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28131         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28132         __fxstat64 directly.
28133         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28134         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28135         unconditional.
28136         (freopen64) [!_G_OPEN64]: Remove conditional code.
28137         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28138         unconditional.
28139         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28140         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28141         unconditional.
28142         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28143         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28144         unconditional.
28145         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28146         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28147         unconditional.
28148         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28149         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28150         unconditional.
28151         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28152         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28153         unconditional.
28154         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28155         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28156         unconditional.
28157         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28158
28159 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28160
28161         [BZ #12140]
28162         * manual/memory.texi (Malloc Tunable Parameters): Add note
28163         about free list pointers overwriting some perturb bytes.
28164         Wording suggested by Roland McGrath.
28165
28166 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28167
28168         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28169         (lgamma_test): Likewise.
28170         (tgamma_test): Likewise.
28171
28172 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28173
28174         [BZ #14700]
28175         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28176         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28177
28178 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28179
28180         * NEWS: Mention BZ #14716.
28181         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28182         when removing AVAILABLE1_USES_J macro.
28183
28184 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28185
28186         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28187         (__bswap_64): __uint64_t for unsigned 64-bit int.
28188
28189 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28190
28191         * include/string.h (memmem): Declare libc hidden alias.
28192         * string/memmem.c (memmem): Define libc hidden alias.
28193         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28194         __read, __close instead of open, read, close.
28195
28196 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28197
28198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28199         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28200         global and hidden.
28201         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28202         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28203         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28204         Likewise.
28205         (__rawmemchr_sse2): Likewise.
28206         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28207         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28208         (__strchr_sse2): Likewise.
28209         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28210         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28211         (__strcasecmp_sse2): Likewise.
28212         (__strncasecmp_sse2): Likewise.
28213         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28214         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28215         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28216         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28217         (__strrchr_sse2): Likewise.
28218         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28219         ifunc-impl-list.c.
28220         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28221         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28222         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28223         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28224         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28225         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28226         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28227         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28228         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28229         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28230         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28231         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28232         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28233         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28234         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28235         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28236         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28237         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28238         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28239         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28240         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28241         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28242         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28243         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28244         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28245         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28246         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28247         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28248         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28249         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28250
28251         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28252         global and hidden.
28253         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28254         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28255         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28256         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28257         Likewise.
28258         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28259         Likewise.
28260         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28261         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28262         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28263         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28264         ifunc-impl-list.c.
28265         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28266         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28267         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28268         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28269         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28270         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28271         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28272         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28273         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28274         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28275         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28276         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28277         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28278         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28279         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28280         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28281         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28282         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28283         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28284         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28285         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28286         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28287         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28288         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28289         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28290         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28291         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28292         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28293         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28294         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28295         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28296         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28297         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28298         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28299         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28300         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28301         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28302         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28303         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28304         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28305         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28306
28307         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28308         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28309         * include/ifunc-impl-list.h: New file.
28310         * misc/ifunc-impl-list.c: Likewise.
28311         * misc/Makefile (routines): Add ifunc-impl-list.
28312         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28313         * string/test-string.h: Include <ifunc-impl-list.h>.
28314         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28315         TEST_NAME]: New variables.
28316         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28317         are defined.
28318         (test_init): Call __libc_ifunc_impl_list to initialize
28319         func_list if TEST_IFUNC and TEST_NAME are defined.
28320
28321         * string/Makefile (strop-tests): Add bcopy and bzero.
28322         * string/test-bcopy.c: New file.
28323         * string/test-bzero.c: Likewise.
28324         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28325         defined.
28326         * string/test-memset.c: Support bzero test if TEST_BZERO is
28327         defined.
28328         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28329         __libc_memmove.
28330         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28331         __libc_memset.
28332         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28333         of memset.
28334
28335 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28336
28337         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28338         * configure: Regenerated.
28339
28340         * Makeconfig (+link-static-before-libc): Don't include
28341         $(link-static-libc).
28342
28343         * libio/libio.h (_IO_pos_t): Remove.
28344
28345 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28346
28347         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28348         McGrath.
28349
28350 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28351
28352         * crypt/crypt-entry.c: Include fips-private.h.
28353         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28354         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28355         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28356         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28357
28358 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28359
28360         * crypt/crypt-private.h: Include stdbool.h.
28361         (_ufc_setup_salt_r): Return bool.
28362         * crypt/crypt-entry.c: Include errno.h.
28363         (__crypt_r): Return NULL with EINVAL for bad salt.
28364         * crypt/crypt_util.c (bad_for_salt): New.
28365         (_ufc_setup_salt_r): Check that salt is long enough and within
28366         the specified alphabet.
28367         * crypt/badsalttest.c: New file.
28368         * crypt/Makefile (tests): Add it.
28369         ($(objpfx)badsalttest): New.
28370
28371 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28372
28373         * NEWS: Add entry for BZ #14602.
28374
28375 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28376
28377         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28378         type-generic.
28379         * math/libm-test.inc: Update comment listing what functions and
28380         macros are tested.
28381         (isgreater_test): New function.
28382         (isgreaterequal_test): Likewise.
28383         (isless_test): Likewise.
28384         (islessequal_test): Likewise.
28385         (islessgreater_test): Likewise.
28386         (isunordered_test): Likewise.
28387         (main): Call the new functions.
28388
28389 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28390
28391         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28392         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28393         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28394         * sysdeps/i386/configure: Regenerated.
28395         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28396         * sysdeps/mach/configure: Regenerated.
28397         * sysdeps/mach/hurd/configure: Regenerated.
28398         * sysdeps/powerpc/configure: Regenerated.
28399         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28400         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28401         * sysdeps/s390/s390-32/configure: Regenerated.
28402         * sysdeps/s390/s390-64/configure: Regenerated.
28403         * sysdeps/sh/configure: Regenerated.
28404         * sysdeps/sparc/configure: Regenerated.
28405         * sysdeps/unix/sysv/linux/configure: Regenerated.
28406         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28407         * sysdeps/x86_64/configure: Regenerated.
28408
28409         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28410         defined.  Don't check if MAP is NULL.
28411
28412 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28413
28414         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28415         (_G_stat64): Likewise.
28416         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28417         (_G_stat64): Likewise.
28418         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28419         instead of struct _G_stat64.
28420         * libio/fileops.c (mmap_remap_check): Likewise.
28421         (decide_maybe_mmap): Likewise.
28422         (_IO_new_file_seekoff): Likewise.
28423         (_IO_file_stat): Likewise.
28424         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28425         _G_off64_t.
28426         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28427         instead of struct _G_stat64.
28428         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28429
28430 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28431
28432         [BZ #14602]
28433         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28434         Replace with ...
28435         (CHECK_EOL): New macro.
28436         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28437         CHECK_EOL.
28438         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28439         Replace with CHECK_EOL.
28440         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28441         Replace with CHECK_EOL.
28442
28443 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28444
28445         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28446         type-generic.
28447         * math/libm-test.inc: Update comment listing what functions and
28448         macros are tested.
28449         (finite_test): New function.
28450         (isinf_test): Likewise.
28451         (isnan_test): Likewise.
28452         (fpclassify_test): Test subnormal input.
28453         (isfinite_test): Likewise.
28454         (isnormal_test): Likewise.
28455         (main): Call the new functions.
28456
28457 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28458
28459         [BZ #14660]
28460         * Makerules (%.dynsym): Force C locale when running
28461         $(OBJDUMP) --dynamic-syms.
28462
28463 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28464
28465         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28466         <stdint.h>.
28467
28468 2012-10-06  David S. Miller  <davem@davemloft.net>
28469
28470         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28471         upper 32-bits of the length value in %o2 since we use branch-on-register
28472         tests which consider the entire 64-bit register.
28473
28474 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28475
28476         * string/test-strstr.c (check2): Add a test for page boundary.
28477
28478 2012-10-05  David S. Miller  <davem@davemloft.net>
28479
28480         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28481         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28482         file.
28483         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28484         sysdep_routines.
28485         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28486         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28487         and bzero when HWCAP_SPARC_CRYPTO is present.
28488
28489 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28490
28491         [BZ #14602]
28492         * string/test-strstr.c (check2): New function.
28493         (test_main): Call check2.
28494
28495         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28496         and bug-strchr1.
28497         * string/bug-strcasestr1.c (do_test): Moved to ...
28498         * string/test-strcasestr.c (check1): Here.  New function.
28499         (do_one_test): Break out result checking code into ...
28500         (check_result): This.  New function.
28501         (do_one_test): Call check_result.
28502         (test_main): Call check1.
28503         * string/bug-strchr1.c (do_test): Moved to ...
28504         * string/test-strchr.c (check1): Here.  New function.
28505         (do_one_test): Break out result checking code into ...
28506         (check_result): This.  New function.
28507         (do_one_test): Call check_result.
28508         (test_main): Call check1.
28509         * string/bug-strstr1.c (main): Moved to ...
28510         * string/test-strstr.c (check1): Here.  New function.
28511         (do_one_test): Break out result checking code into ...
28512         (check_result): This.  New function.
28513         (do_one_test): Call check_result.
28514         (test_main): Call check1.
28515         * string/bug-strcasestr1.c: Removed.
28516         * string/bug-strchr1.c: Likewise.
28517         * string/bug-strstr1.c: Likewise.
28518
28519         * elf/Makefile (dl-routines): Add hwcaps.
28520         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28521         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28522         (_dl_important_hwcaps): Moved to ...
28523         * elf/dl-hwcaps.c: Here.  New file.
28524         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28525
28526         [BZ #14557]
28527         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28528         if IS_IN_rtld isn't defined.
28529
28530         * elf/dl-support.c (_dl_sysinfo_map): New.
28531         Include "get-dynamic-info.h" and "setup-vdso.h".
28532         (_dl_non_dynamic_init): Call setup_vdso.
28533         * elf/dynamic-link.h: Don't include <assert.h>.
28534         (elf_get_dynamic_info): Moved to ...
28535         * elf/get-dynamic-info.h: Here.  New file.
28536         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28537         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28538         * elf/setup-vdso.h: Here.  New file.
28539         * elf/rtld.c: Include "setup-vdso.h".
28540         (dl_main): Call setup_vdso.
28541
28542 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28543
28544         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28545         creal in comment listing functions tested.  List finite, isinf,
28546         isnan, isless, islessequal, isgreater, isgreaterequal,
28547         islessgreater, isunordered, lgamma_r and pow10 as functions and
28548         macros not tested.  Mention which functions not tested are aliases
28549         for other functions.  Fix typo.  Note that signs of NaNs are not
28550         tested.
28551
28552         * scripts/config.guess: Update from config.git.
28553         * scripts/config.sub: Likewise.
28554
28555 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28556
28557         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28558         * misc/madvise.c (madvise): Renamed to __madvise.
28559         Make madvise a weak alias.
28560         * include/sys/mman.h: Declare __madvise.
28561         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28562         * sysdeps/unix/syscalls.list
28563         (madvise): Make __madvise the strong name, and madvise a weak alias.
28564         * sysdeps/unix/sysv/linux/syscalls.list
28565         (madvise, mmap): Remove redundant entries.
28566         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28567         * malloc/malloc.c (mtrim): Likewise.
28568         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28569
28570 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28571
28572         * sysdeps/mach/hurd/dl-cache.c: File removed.
28573         * config.h.in (USE_LDCONFIG): New #undef.
28574         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28575         * configure: Regenerated.
28576         * elf/Makefile (dl-routines): Add dl-cache only under
28577         [$(use-ldconfig) = yes].
28578         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28579         cache on [USE_LDCONFIG].
28580         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28581         [USE_LDCONFIG].
28582         * elf/rtld.c (dl_main): Likewise.
28583
28584 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28585
28586         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28587         _SC_LEVEL4_CACHE_LINESIZE.
28588
28589 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28590
28591         * sysdeps/unix/bsd/confstr.h: File removed.
28592
28593 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28594
28595         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28596         sys/sdt-config.h.
28597
28598 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28599
28600         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28601         Make 'mapoff' field ElfW(Off) rather than off_t.
28602
28603 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28604
28605         * nscd/Makefile: Remove nscd-cflags and all its users.
28606         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28607         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28608
28609         [BZ #10631]
28610         * malloc.c (malloc_printerr): Clarify error message.
28611
28612 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28613
28614         [BZ #14648]
28615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28616         Set bit_FMA_Usable if FMA is supported.
28617         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28618         macro.
28619         (bit_FMA4_Usable): Updated.
28620         (index_FMA_Usable): New macro.
28621         (CPUID_FMA): Likewise
28622         (HAS_FMA): Defined with bit_FMA_Usable.
28623
28624 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28625
28626         * bits/types.h (__swblk_t): Type removed.
28627         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28628         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28629         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28630         (__SWBLK_T_TYPE): Likewise.
28631         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28632         (__SWBLK_T_TYPE): Likewise.
28633         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28634         (__SWBLK_T_TYPE): Likewise.
28635         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28636         (__SWBLK_T_TYPE): Likewise.
28637
28638 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28639             Honza Horak <hhorak@redhat.com>
28640
28641         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28642         (xdr_mapname): Use YPMAXMAP as maxsize.
28643         (xdr_peername): Use YPMAXPEER as maxsize.
28644         (xdr_keydat): Use YPAXRECORD as maxsize.
28645         (xdr_valdat): Use YPMAXRECORD as maxsize.
28646
28647 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28648
28649         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28650
28651         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28652         * csu/init-first.c: ... here.
28653         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28654         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28655         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28656         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28657         * sysdeps/i386/init-first.c: File removed.
28658         * sysdeps/sh/init-first.c: File removed.
28659
28660 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28661
28662         [BZ #14645]
28663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28664         if x * y might underflow to zero and z is zero.
28665         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28666         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28667         * math/libm-test.inc (min_subnorm_value): New variable.
28668         (fma_test): Add more tests.
28669         (fma_test_towardzero): Likewise.
28670         (fma_test_downward): Likewise
28671         (fma_test_upward): Likewise.
28672         (initialize): Set min_subnorm_value.
28673
28674 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28675
28676         [BZ #14638]
28677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28678         0 + 0.
28679         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28680         mode for addition resulting in exact zero.
28681         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28682         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28683         exact 0 + 0.
28684         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28685         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28686         * math/libm-test.inc (fma_test): Add more tests.
28687         (fma_test_towardzero): New function.
28688         (fma_test_downward): Likewise.
28689         (fma_test_upward): Likewise.
28690         (main): Call the new functions.
28691
28692 2012-09-28  David S. Miller  <davem@davemloft.net>
28693
28694         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28695
28696 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28697
28698         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28699         instead of SIGALRM.
28700
28701         * sysdeps/gnu/_G_config.h: Moved to ...
28702         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28703         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28704         * sysdeps/generic/_G_config.h: ... here.
28705
28706         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28707
28708         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28709
28710         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28711         Conditionalize target on [libnss_test1.so-version].
28712
28713         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28714
28715         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28716         (elfobjdir): Move out of conditionals.
28717
28718         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28719         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28720         (__nss_lookup_function): Conditionalize label remove_from_tree on
28721         [!DO_STATIC_NSS || SHARED], matching its only use.
28722
28723 2012-09-28  David S. Miller  <davem@davemloft.net>
28724
28725         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28726         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28727         file.
28728         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28729         sysdep_routines.
28730         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28732         when HWCAP_SPARC_CRYPTO is present.
28733
28734 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28735
28736         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28737
28738 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28739
28740         [BZ #6530]
28741         * stdio-common/vfprintf.c (process_string_arg): Revert
28742         2000-07-22 change.
28743
28744 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28745
28746         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28747         for testcase.
28748         * stdio-common/tst-sprintf.c: Include <locale.h>
28749         (main): Test sprintf's handling of incomplete multibyte
28750         characters.
28751
28752 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28753
28754         * elf/dl-runtime.c (VERSYMIDX): Removed.
28755         * elf/dl-version.c (VERSYMIDX): Likewise.
28756         * elf/do-rel.h (VERSYMIDX): Likewise.
28757         (VALIDX): Likewise.
28758         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28759         * elf/rtld.c (VALIDX): Likewise.
28760         (ADDRIDX): Likewise.
28761         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28762         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28763         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28764         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28765         (VALIDX): Likewise.
28766         (ADDRIDX): Likewise.
28767
28768 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28769
28770         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28771
28772 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28773
28774         [BZ #11438]
28775         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28776         to global scope.
28777         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28778         addresses are in the same scope as 192.0.2/24.
28779         * posix/gai.conf: Document new scope table defaults.
28780
28781 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28782
28783         [BZ #5298]
28784         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28785         for ftell.  Compute offsets from write pointers instead.
28786         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28787
28788 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28789
28790         [BZ #14543]
28791         * libio/Makefile (tests): New test case tst-fseek.
28792         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28793         combination works in wide mode.
28794         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28795         state when the external buffer state changes.
28796
28797 2012-09-27  David S. Miller  <davem@davemloft.net>
28798
28799         [BZ #14376]
28800         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28801         pass reloc->r_addend in as the 'high' argument to
28802         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28803
28804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28805
28806 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28807
28808         * rt/tst-aio2.c: Include <pthread.h>.
28809         * rt/tst-aio3.c: Likewise.
28810
28811 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28812
28813         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28814
28815 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28816
28817         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28818         contents on [SHARED].
28819
28820 2012-09-26  Marek Polacek  <polacek@redhat.com>
28821
28822         [BZ #14530]
28823         [BZ #13741]
28824         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28825         for C++ and GCC <4.3 as well as for non GCC compilers.
28826
28827 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28828
28829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28830
28831 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28832
28833         * Makefile.in (all, install): Declare with .PHONY.
28834         Reported by Michael Hope <michael.hope@linaro.org>.
28835
28836 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28837
28838         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28839         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28840         system header.
28841         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28842         Likewise.
28843         (sydep_routines): Add the new and the internal functions.
28844         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28845         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28847         (GLIBC_2.17): Add the new function.
28848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28849         (GLIBC_2.17): Likewise.
28850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28851         (GLIBC_2.17): Likewise.
28852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28853         (GLIBC_2.17): Likewise.
28854         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28855
28856 2012-09-25  Alan Modra  <amodra@gmail.com>
28857
28858         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28859         Add release barrier before setting once_control to say
28860         initialisation is done.  Add hints on lwarx.  Use macro in
28861         place of isync.
28862         (clear_once_control): Add release barrier.
28863
28864 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28865
28866         [BZ #13629]
28867         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28868         specially.
28869         * math/s_clog10.c (__clog10): Likewise.
28870         * math/s_clog10f.c (__clog10f): Likewise.
28871         * math/s_clog10l.c (__clog10l): Likewise.
28872         * math/s_clogf.c (__clogf): Likewise.
28873         * math/s_clogl.c (__clogl): Likewise.
28874         * math/Makefile (libm-calls): Add x2y2m1.
28875         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28876         (__x2y2m1): Likewise.
28877         (__x2y2m1l): Likewise.
28878         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28879         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28880         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28881         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28882         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28883         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28884         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28885         * sysdeps/i386/fpu/libm-test-ulps: Update.
28886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28887
28888         [BZ #14621]
28889         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28890         int as type of variable DEPTH.
28891         (glob): Use size_t instead of int as type of variables NEWCOUNT
28892         and OLD_PATHC.
28893
28894 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28895
28896         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28897         Add s_sincosf-sse2.
28898         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28899         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28900         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28901         macros for using routine as __sincosf_ia32.
28902         Use macro for function declaration and weak_alias.
28903         * sysdeps/i386/fpu/libm-test-ulps: Update.
28904
28905         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28907
28908         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28909         subnormal argument.
28910         * math/s_cexpf.c (__cexpf): Likewise.
28911         * math/s_csinf.c (__csinf): Likewise.
28912         * math/s_csinhf.c (__csinhf): Likewise.
28913         * math/s_ctanf.c (__ctanf): Likewise.
28914         * math/s_ctanhf.c (__ctanhf): Likewise.
28915         * math/s_ccosh.c (__ccoshf): Likewise.
28916         * math/s_cexp.c (__cexpl): Likewise.
28917         * math/s_csin.c (__csin): Likewise.
28918         * math/s_csinh.c (__csinh): Likewise.
28919         * math/s_ctan.c (__ctan): Likewise.
28920         * math/s_ctanh.c (ctanh): Likewise.
28921         * math/s_ccoshl.c (__ccoshl): Likewise.
28922         * math/s_cexpl.c (__cexpl): Likewise.
28923         * math/s_csinl.c (__csinl): Likewise.
28924         * math/s_csinhl.c (__csinhl): Likewise.
28925         * math/s_ctanl.c (__ctanl): Likewise.
28926         * math/s_ctanhl.c (__ctanhl): Likewise.
28927
28928 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28929
28930         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28931         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28932         (_IO_off_t): Define to __off_t, not _G_off_t.
28933         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28934         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28935         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28936         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28937         type of __dummy and __dummy2 fields.
28938         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28939         (_G_ssize_t): Likewise.
28940         (_G_off_t): Likewise.
28941         (_G_pid_t): Likewise.
28942         (_G_uid_t): Likewise.
28943         (_G_wchar_t): Likewise.
28944         (_G_wint_t): Likewise.
28945         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28946         (_G_ssize_t): Likewise.
28947         (_G_off_t): Likewise.
28948         (_G_pid_t): Likewise.
28949         (_G_uid_t): Likewise.
28950         (_G_wchar_t): Likewise.
28951         (_G_wint_t): Likewise.
28952         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28953         (_G_ssize_t): Likewise.
28954         (_G_off_t): Likewise.
28955         (_G_pid_t): Likewise.
28956         (_G_uid_t): Likewise.
28957         (_G_wchar_t): Likewise.
28958         (_G_wint_t): Likewise.
28959
28960 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28961
28962         * malloc/arena.c: Include malloc-sysdep.h.
28963         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28964         is sufficient to shrink the heap or an unmap is needed.
28965         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28966         new function check_may_shrink_heap.
28967         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28968         new function check_may_shrink_heap.
28969
28970 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28971
28972         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28973         comments.
28974
28975 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28976
28977         * catgets/test-gencat.sh: Add "set -e".
28978         * elf/tst-pathopt.sh: Likewise.
28979         * grp/tst_fgetgrent.sh: Likewise.
28980         * iconvdata/run-iconv-test.sh: Likewise.
28981         * intl/tst-gettext.sh: Likewise.
28982         * intl/tst-gettext2.sh: Likewise.
28983         * intl/tst-gettext4.sh: Likewise.
28984         * intl/tst-gettext6.sh: Likewise.
28985         * intl/tst-translit.sh: Likewise.
28986         * io/ftwtest-sh: Likewise.
28987         * libio/test-freopen.sh: Likewise.
28988         * malloc/tst-mtrace.sh: Likewise.
28989         * posix/globtest.sh: Likewise.
28990         * posix/tst-getconf.sh: Likewise.
28991         * posix/wordexp-tst.sh: Likewise.
28992         * stdio-common/tst-printf.sh: Likewise.
28993         * stdio-common/tst-unbputc.sh: Likewise.
28994         * stdlib/tst-fmtmsg.sh: Likewise.
28995         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28996         * catgets/Makefile: Do not specify -e option when running
28997         testsuite shell scripts.
28998         * elf/Makefile: Likewise.
28999         * grp/Makefile: Likewise.
29000         * iconvdata/Makefile: Likewise.
29001         * intl/Makefile: Likewise.
29002         * io/Makefile: Likewise.
29003         * libio/Makefile: Likewise.
29004         * malloc/Makefile: Likewise.
29005         * posix/Makefile: Likewise.
29006         * stdio-common/Makefile: Likewise.
29007         * stdlib/Makefile: Likewise.
29008         * sysdeps/x86_64/Makefile: Likewise.
29009
29010         * io/ftwtest-sh: Add copyright header.
29011         * posix/globtest.sh: Likewise.
29012         * posix/tst-getconf.sh: Likewise.
29013         * posix/wordexp-tst.sh: Likewise.
29014         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29015
29016 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29017
29018         [BZ #13679]
29019         * Makeconfig (+link): Defined as $(+link-static) if
29020         $(build-shared) isn't yes.
29021         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29022         isn't yes.
29023         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29024
29025         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29026
29027         [BZ #14562]
29028         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29029         new chunk size with MALLOC_ALIGN_MASK.
29030
29031 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29032
29033         [BZ #5044]
29034         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29035         <rounding-mode.h>.
29036         (__printf_fphex): Determine rounding using get_rounding_mode and
29037         round_away.
29038         * stdio-common/tst-printf-round.c (struct hex_test): New
29039         structure.
29040         (hex_tests): New variable.
29041         (test_hex_in_one_mode): New function.
29042         (do_test): Also run tests for hex float output.
29043
29044 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29045
29046         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29047         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29048         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29049         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29050         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29051         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29052         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29053         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29054
29055 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29056
29057         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29058         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29059         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29060         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29061
29062 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29063
29064         [BZ #14579]
29065         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29066         mode only.
29067         * elf/tst-rtld-load-self.sh: New test.
29068         * elf/Makefile: Run it.
29069
29070 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29071
29072         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29073         (tst-writev-ENV): Remove.
29074         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29075
29076 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29077
29078         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29079
29080 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29081
29082         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29083         unconditional.
29084         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29085         Likewise.
29086         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29087         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29088         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29089         Likewise.
29090
29091 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29092
29093         [BZ #14587]
29094         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29095         * config.make.in (have-cpp-asm-debuginfo): Removed.
29096         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29097         * configure: Regenerated.
29098
29099 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29100
29101         [BZ #5044]
29102         * stdio-common/printf_fp.c: Include <stdbool.h> and
29103         <rounding-mode.h>.
29104         (___printf_fp): Determine rounding using get_rounding_mode and
29105         round_away.
29106         * stdio-common/tst-printf-round.c: New file.
29107         * stdio-common/Makefile (tests): Add tst-printf-round.
29108         (link-libm): New variable.
29109         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29110
29111 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29112
29113         [BZ #14576]
29114         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29115         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29116         Likewise.
29117         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29118         Likewise.
29119
29120 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29121
29122         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29123         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29124         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29125         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29126
29127 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29128
29129         [BZ #14518]
29130         * include/rounding-mode.h: New file.
29131         * sysdeps/generic/get-rounding-mode.h: Likewise.
29132         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29133         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29134         (MAX_VALUE): New macro.
29135         (MIN_VALUE): Likewise.
29136         (overflow_value): New function.
29137         (underflow_value): Likewise.
29138         (round_and_return): Use overflow_value and underflow_value to
29139         determine return values in overflow and underflow cases.  Use
29140         round_away to determine rounding depending on rounding mode.
29141         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29142         determine return values in overflow and underflow cases.
29143         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29144         (struct test_results): New structure.
29145         (struct test): Use struct test_results to store expected results
29146         for all rounding modes.
29147         (TEST): Include expected results for all rounding modes.
29148         (test_in_one_mode): New function.
29149         (do_test): Use test_in_one_mode to compute and check results.
29150         Check results for all rounding modes.
29151         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29152         $(link-libm).
29153
29154 2012-12-09  Allan McRae  <allan@archlinux.org>
29155
29156         * sysdeps/i386/fpu/libm-test-ulps: Update
29157
29158 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29159
29160         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29161         (_G_int32_t): Likewise.
29162         (_G_uint16_t): Likewise.
29163         (_G_uint32_t): Likewise.
29164         (_G_HAVE_BOOL): Likewise.
29165         (_G_HAVE_ATEXIT): Likewise.
29166         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29167         (_G_HAVE_IO_FILE_OPEN): Likewise.
29168         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29169         (_G_int32_t): Likewise.
29170         (_G_uint16_t): Likewise.
29171         (_G_uint32_t): Likewise.
29172         (_G_HAVE_BOOL): Likewise.
29173         (_G_HAVE_ATEXIT): Likewise.
29174         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29175         (_G_HAVE_IO_FILE_OPEN): Likewise.
29176         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29177         (_G_int32_t): Likewise.
29178         (_G_uint16_t): Likewise.
29179         (_G_uint32_t): Likewise.
29180         (_G_HAVE_BOOL): Likewise.
29181         (_G_HAVE_ATEXIT): Likewise.
29182         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29183         (_G_HAVE_IO_FILE_OPEN): Likewise.
29184
29185 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29186
29187         * csu/libc-tls.c: Update copyright years.
29188
29189 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29190
29191         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29192         [!_G_USING_THUNKS]: Remove conditional code.
29193         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29194         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29195
29196         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29197         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29198         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29199         (_G_VTABLE_LABEL_PREFIX): Likewise.
29200         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29201         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29202         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29203         (_G_VTABLE_LABEL_PREFIX): Likewise.
29204         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29205         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29206         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29207         (_G_VTABLE_LABEL_PREFIX): Likewise.
29208         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29209
29210 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29211
29212         * libio/Makefile: Include ../Makeconfig before tests.
29213         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29214         only if $(build-shared) is yes.
29215
29216         * iconv/gconv_db.c: Update copyright years.
29217
29218 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29219
29220         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29221         unwind info if defined PIC. Fix special cases description.
29222         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29223
29224         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29225         DP_HI_MASK entry.
29226         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29227
29228 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29229
29230         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29231
29232         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29233         is NULL.
29234
29235         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29236         (LDLIBS-tst-chk4): This.
29237         (LDFLAGS-tst-chk5): Renamed to ...
29238         (LDLIBS-tst-chk5): This.
29239         (LDFLAGS-tst-chk6): Renamed to ...
29240         (LDLIBS-tst-chk6): This.
29241         (LDFLAGS-tst-lfschk4): Renamed to ...
29242         (LDLIBS-tst-lfschk4): This.
29243         (LDFLAGS-tst-lfschk5): Renamed to ...
29244         (LDLIBS-tst-lfschk5): This.
29245         (LDFLAGS-tst-lfschk6): Renamed to ...
29246         (LDLIBS-tst-lfschk6): This.
29247
29248         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29249         on $(common-objpfx)soversions.mk.
29250
29251 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29252
29253         [BZ #10014]
29254         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29255         example host name.
29256
29257 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29258
29259         * malloc/arena.c (arena_get_retry): New function that gets
29260         another arena for the caller to try its request on.
29261         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29262         current arena cannot fulfill the request.
29263         (__libc_memalign): Likewise.
29264         (__libc_memalign): Likewise.
29265         (__libc_pvalloc): Likewise.
29266         (__libc_calloc): Likewise.
29267
29268 2012-09-05  John Tobey  <john.tobey@gmail.com>
29269
29270         [BZ #13542]
29271         * manual/arith.texi (Operations on Complex): Fix description
29272         of carg branch cut.
29273
29274 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29275
29276         [BZ #10014]
29277         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29278         host name.
29279
29280         [BZ #10038]
29281         * manual/memory.texi (Memory): Make order of menu items match
29282         order of sections.
29283
29284 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29285
29286         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29287         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29288         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29289
29290 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29291
29292         * csu/libc-tls.c (static_dtv): Renamed to ...
29293         (_dl_static_dtv): This.  Make it global.
29294         (_dl_initial_dtv): Removed.
29295         (__libc_setup_tls): Updated.
29296         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29297         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29298         DL_INITIAL_DTV.
29299
29300 2012-09-06  Petr Machata  <pmachata@redhat.com>
29301
29302         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29303         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29304         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29305         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29306
29307 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29308
29309         [BZ #14545]
29310         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29311         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29312         freeing dtv[-1].
29313
29314 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29315
29316         [BZ #14544]
29317         * Makeconfig (link-static-before-libc): Replace $(+prector)
29318         with $(+prectorT).
29319         (link-static-after-libc): Replace $(+postctor) with
29320         $(+postctorT).
29321         (link-bounded): Replace $(+prector)/$(+postctor) with
29322         $(+prectorT)/$(+postctorT).
29323         (+prectorT): New macro.
29324         (+postctorT): Likewise.
29325
29326 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29327
29328         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29329         (round_str): Handle values above the maximum for IBM long double
29330         as inexact.
29331         * stdlib/tst-strtod-round.c (tests): Regenerated.
29332
29333 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29334
29335         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29336         assembler flag.
29337         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29338         zarch_nohighgprs around the zarch optimized routines.
29339         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29340         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29341         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29342         for zarch.
29343
29344 2012-09-05  David S. Miller  <davem@davemloft.net>
29345
29346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29347
29348         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29349         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29350         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29351         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29352         entries.
29353
29354 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29355
29356         * malloc/arena.c: Fold copyright years.
29357         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29358
29359 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29360
29361         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29362
29363 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29364
29365         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29366
29367 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29368
29369         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29370         change internal state upon failure.
29371
29372 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29373
29374         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29375         * malloc/memusage.c (mmap): Likewise.
29376         (mmap64, mremap): Likewise.  Adjust name in comment.
29377
29378 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29379
29380         * libio/fileops.c: Fix typos in comments.
29381         * libio/oldfileops.c: Likewise.
29382         * libio/wfileops.c: Likewise.
29383
29384 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29385
29386         [BZ #1349]
29387         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29388         (tst-malloc-usable-ENV): Set environment for test case.
29389         * malloc/hooks.c (malloc_check_get_size): New function to get
29390         requested size.
29391         * malloc/malloc.c (musable): Use malloc_check_get_size.
29392         * malloc/tst-malloc-usable.c: New test case.
29393
29394 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29395
29396         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29397
29398 2012-09-05  Allan McRae  <allan@archlinux.org>
29399
29400         [BZ #13966]
29401         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29402         determine header location.
29403         * configure: Regenerated.
29404
29405 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29406
29407         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29408         float format.
29409         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29410         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29411         format.
29412         (test): Regenerate.
29413
29414 2012-09-04  David S. Miller  <davem@davemloft.net>
29415
29416         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29417         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29418         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29419
29420 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29421
29422         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29423         failures.
29424
29425         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29426
29427 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29428
29429         [BZ #9914]
29430         * libio/iogetdelim.c: Include <limits.h>.
29431         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29432         + len + 1 would overflow.
29433
29434 2012-09-03  Andreas Jaeger  <aj@suse.de>
29435
29436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29437         * sysdeps/i386/fpu/libm-test-ulps: Update.
29438
29439 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29440
29441         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29442         Add s_sinf-sse2, s_conf-sse2.
29443
29444         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29445         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29446         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29447         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29448
29449         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29450         for using routine as __sinf_ia32.
29451         Use macro for function declaration and weak_alias.
29452         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29453         for using routine as __cosf_ia32.
29454         Use macro for function declaration and weak_alias.
29455
29456         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29457         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29458
29459         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29460         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29461         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29462
29463         * math/libm-test.inc (cos_test): Add more test cases.
29464         (sin_test): Likewise.
29465         (sincos_test): Likewise.
29466
29467 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29468
29469         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29470         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29471         hidden.
29472         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29473
29474 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29475
29476         [BZ #14538]
29477         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29478         first element of the GOT.
29479         (elf_machine_load_address): Return the difference between
29480         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29481
29482 2012-09-01  Allan McRae  <allan@archlinux.org>
29483
29484         [BZ #13412]
29485         * configure.in (AWK): Require gawk version 3.0 or later.
29486         * configure: Regenerated.
29487
29488 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29489
29490         * sysdeps/unix/sysv/linux/kernel-features.h
29491         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29492         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29493         [__NR_clock_getres]: Make code unconditional.
29494         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29495         (clock_getcpuclockid): Remove code left unreachable by removal of
29496         conditionals.
29497         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29498         code unconditional.
29499         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29500         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29501         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29502         Make code unconditional.
29503         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29504         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29505         * sysdeps/unix/sysv/linux/clock_settime.c
29506         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29507         conditional code.
29508         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29509         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29510
29511 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29512
29513         [BZ #14476]
29514         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29515         scripts/test-installation.pl.
29516
29517         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29518         and $ld_so_version if it is set.
29519
29520 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29521
29522         [BZ #14516]
29523         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29524         failure if reading from procfs failed.
29525         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29526
29527 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29528
29529         * sysdeps/unix/sysv/linux/kernel-features.h
29530         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29531         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29532         Remove conditional code.
29533         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29534         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29535         Remove conditional code.
29536         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29537         * sysdeps/unix/sysv/linux/i386/fxstat.c
29538         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29539         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29540         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29541         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29542         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29543         * sysdeps/unix/sysv/linux/i386/lxstat.c
29544         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29545         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29546         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29547         Remove conditional code.
29548         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29549         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29550         Remove conditional code.
29551         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29552         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29553         <kernel-features.h>.
29554         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29555         Remove.
29556         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29557         Remove conditional code.
29558         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29559         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29560         Remove conditional.
29561
29562 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29563
29564         [BZ #5400]
29565         * NEWS: Add fixed bug number.
29566
29567 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29568
29569         [BZ #14519]
29570         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29571         underflowing exponent in case of negative sign.
29572         * stdlib/tst-strtod-round-data: Add more tests.
29573         * stdlib/tst-strtod-round.c (tests): Regenerated.
29574
29575         [BZ #3479]
29576         * stdlib/strtod_l.c (NDIG): Remove.
29577         (HEXNDIG): Likewise.
29578         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29579         smallest representable value.
29580         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29581         lie within an exact representation of 1/2 ulp of the result.
29582         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29583         unconditionally.
29584         (TENS_P9_IDX): Define unconditionally.
29585         (TENS_P9_SIZE): Likewise.
29586         (TENS_P10_IDX): Likewise.
29587         (TENS_P10_SIZE): Likewise.
29588         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29589         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29590         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29591         entries for 10^2^13 and 10^2^14.
29592         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29593         (TENS_P13_IDX): Define.
29594         (TENS_P13_SIZE): Likewise.
29595         (TENS_P14_IDX): Likewise.
29596         (TENS_P14_SIZE): Likewise.
29597         (_fpioconst_pow10): Change array size to
29598         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29599         unconditional.
29600         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29601         1024]: Add entries for 10^2^13 and 10^2^14.
29602         [LAST_POW10 > _LAST_POW10]: Remove #error.
29603         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29604         (_fpioconst_pow10): Change array size to
29605         FPIOCONST_POW10_ARRAY_SIZE.
29606         * stdlib/gen-fpioconst.c: New file.
29607         * stdlib/gen-tst-strtod-round.c: Likewise.
29608         * stdlib/tst-strtod-round-data: Likewise.
29609         * stdlib/tst-strtod-round.c: Likewise.
29610         * stdlib/Makefile (tests): Add tst-strtod-round.
29611
29612         [BZ #14459]
29613         * stdlib/strtod_l.c: Include <stdint.h>.
29614         (NDEBUG): Do not define.
29615         (round_and_return): Change EXPONENT parameter to type intmax_t.
29616         Rearrange calculations to avoid internal overflow possibilities.
29617         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29618         Rearrange calculations to avoid internal overflow possibilities.
29619         Assert that number fits inside MPNSIZE limbs.
29620         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29621         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29622         calculations and add assertions to avoid internal overflow
29623         possibilities.  Add casts to avoid signed/unsigned operations.
29624         * stdlib/tst-strtod-overflow.c: New file.
29625         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29626
29627 2012-08-25  Marek Polacek  <polacek@redhat.com>
29628
29629         * time/time.h: Fix some typos in comments.
29630
29631 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29632
29633         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29634         * posix/tst-rfc3484-2.c: Likewise.
29635         * posix/tst-rfc3484-3.c: Likewise.
29636
29637 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29638
29639         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29640         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29641
29642 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29643
29644         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29645         #include of fxstatat64.c.
29646
29647 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29648
29649         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29650         * shadow/getspent_r.c: Likewise.
29651         * shadow/getspnam.c: Likewise.
29652         * shadow/getspnam_r.c: Likewise.
29653         * gshadow/getsgent.c: Likewise.
29654         * gshadow/getsgent_r.c: Likewise.
29655         * gshadow/getsgnam.c: Likewise.
29656         * gshadow/getsgnam_r.c: Likewise.
29657         * inet/getnetbyad.c: Likewise.
29658         * inet/getnetbyad_r.c: Likewise.
29659         * inet/getnetbynm.c: Likewise.
29660         * inet/getnetbynm_r.c: Likewise.
29661         * inet/getnetent.c: Likewise.
29662         * inet/getnetent_r.c: Likewise.
29663         * inet/getproto.c: Likewise.
29664         * inet/getproto_r.c: Likewise.
29665         * inet/getprtent.c: Likewise.
29666         * inet/getprtent_r.c: Likewise.
29667         * inet/getprtname.c: Likewise.
29668         * inet/getprtname_r.c: Likewise.
29669         * inet/getrpcbyname.c: Likewise.
29670         * inet/getrpcbyname_r.c: Likewise.
29671         * inet/getrpcbynumber.c: Likewise.
29672         * inet/getrpcbynumber_r.c: Likewise.
29673         * inet/getrpcent.c: Likewise.
29674         * inet/getrpcent_r.c: Likewise.
29675         * inet/getaliasent.c: Likewise.
29676         * inet/getaliasent_r.c: Likewise.
29677         * inet/getaliasname.c: Likewise.
29678         * inet/getaliasname_r.c: Likewise.
29679         * nscd/getgrgid_r.c: Likewise.
29680         * nscd/getgrnam_r.c: Likewise.
29681         * nscd/gethstbyad_r.c: Likewise.
29682         * nscd/gethstbynm3_r.c: Likewise.
29683         * nscd/getpwnam_r.c: Likewise.
29684         * nscd/getpwuid_r.c: Likewise.
29685         * nscd/getsrvbynm_r.c: Likewise.
29686         * nscd/getsrvbypt_r.c: Likewise.
29687         * nscd/gai.c: Likewise.
29688
29689         * configure.in (build_nscd): New substituted variable, set
29690         by --disable-build-nscd and defaults to $use_nscd.
29691         * configure: Regenerated.
29692         * config.make.in (build-nscd): New substituted variable.
29693         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29694         Change conditional to require [$(build-nscd) = yes] as well.
29695         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29696
29697         [BZ# 13696]
29698         * configure.in (use_nscd): New substituted variable, set by
29699         --disable-nscd.  If enabled, define USE_NSCD.
29700         * configure: Regenerated.
29701         * config.h.in: Add USE_NSCD.
29702         * config.make.in (use-nscd): New substituted variable.
29703         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29704         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29705         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29706         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29707         (CFLAGS-getgrnam_r.c): Likewise.
29708         (CFLAGS-initgroups.c): Likewise.
29709         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29710         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29711         Variables removed.
29712         * inet/getnetgrent_r.c
29713         (nscd_setnetgrent): New function, broken out of ...
29714         (setnetgrent): ... here.  Call it.
29715         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29716         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29717         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29718         * nscd/Makefile (routines, aux): Move definitions after include of
29719         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29720         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29721         Conditionalize on [USE_NSCD].
29722         (is_nscd, nscd_init_cb): Likewise.
29723         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29724         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29725         * nss/nss_db/db-init.c: Likewise.
29726         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29727         [USE_NSCD].
29728         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29729         (make_request): Use it.
29730         (cache_valid_p): New function.
29731         (__check_pf): Use it.
29732         * NEWS: Add item for --disable-nscd.
29733
29734 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29735
29736         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29737         to support sed >= 4.2.1-20-ga9bf076.
29738         * configure: Regenerated.
29739
29740 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29741
29742         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29743         Conditionalize whole body on [IREL].
29744
29745 2012-08-22  Jeff Law <law@redhat.com>
29746
29747         [BZ #14505]
29748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29749         if the family is PF_UNSPEC.
29750
29751 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29752
29753         * Makerules (lib-version): Rename from V.
29754         (install-lib-nosubdir): Change V to lib-version.
29755
29756 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29757
29758         [BZ #14252]
29759         * powerpc32/power6/wcschr.c: New file.
29760         * powerpc32/power6/wcscpy.c: New file.
29761         * powerpc32/power6/wcsrchr.c: New file.
29762         * powerpc64/power6/wcschr.c: New file.
29763         * powerpc64/power6/wcscpy.c: New file.
29764         * powerpc64/power6/wcsrchr.c: New file.
29765
29766 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29767
29768         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29769         (two_way_short_needle): Use it.
29770         * string/strstr.c (AVAILABLE1_USES_J): Define.
29771         * string/strcasestr.c: Likewise.
29772
29773         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29774         array references.
29775         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29776
29777         [BZ #11607]
29778         * NEWS: Add an entry.
29779         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29780         define their defaults.
29781         (two_way_short_needle): Detect end-of-string on-the-fly.
29782         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29783         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29784         * string/bug-strcasestr1.c: New test.
29785         * string/Makefile: Run it.
29786
29787 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29788
29789         [BZ #11607]
29790         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29791         the first character.
29792
29793 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29794
29795         * csu/elf-init.c (__libc_csu_irel): Function removed.
29796         * csu/libc-start.c (apply_irel): New function.
29797         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29798
29799 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29800
29801         * sysdeps/unix/sysv/linux/kernel-features.h
29802         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29803         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29804         <kernel-features.h>.
29805         [__NR_fadvise64_64]: Make code unconditional.
29806         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29807         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29808         !__NR_fadvise64_64)]: Likewise.
29809         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29810         !__NR_fadvise64_64))]: Likewise.
29811         [__NR_fadvise64]: Make code unconditional.
29812         [!__NR_fadvise64]: Remove conditional code.
29813         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29814         <kernel-features.h>.
29815         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29816         unconditional.
29817         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29818         conditional code.
29819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29820         not include <kernel-features.h>.
29821         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29822         unconditional.
29823         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29824         conditional code.
29825         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29826         include <kernel-features.h>.
29827         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29828         unconditional.
29829         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29830         conditional code.
29831
29832 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29833
29834         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29835         slight instruction rearrangements per scrollpipe analysis.
29836         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29837
29838 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29839
29840         * manual/syslog.texi (syslog; vsyslog, closelog):
29841         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29842         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29843
29844         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29845         DSOCAPS to match condition on defining it.
29846
29847 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29848
29849         * sysdeps/unix/sysv/linux/kernel-features.h
29850         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29852         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29853         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29855         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29856         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29858         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29859         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29860
29861         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29862         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29863
29864         * sysdeps/unix/sysv/linux/kernel-features.h
29865         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29866         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29867         unconditional.
29868         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29869         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29870         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29871         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29872         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29873         Make code unconditional.
29874         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29875         (__mmap64) [!__NR_mmap2]: Likewise.
29876         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29877         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29878         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29879         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29880         [__NR_mmap2]: Make code unconditional.
29881         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29882         (__mmap64) [!__NR_mmap2]: Likewise.
29883
29884 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29885
29886         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29887
29888 2012-08-18  Andreas Jaeger  <aj@suse.de>
29889
29890         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29891
29892 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29893
29894         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29895         * include/unistd.h (__have_sock_cloexec): Likewise.
29896         (__have_pipe2): Likewise.
29897         (__have_dup3): Likewise.
29898
29899 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29900
29901         [BZ #9685]
29902         * include/unistd.h (__have_pipe2): Change define into an extern int.
29903         (__have_dup3): Likewise.
29904         * socket/have_sock_cloexec.c: Include fcntl.h.
29905         (__have_pipe2): New variable.
29906         (__have_dup3): Likewise.
29907
29908 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29909
29910         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29911
29912 2012-08-17  Marek Polacek  <polacek@redhat.com>
29913
29914         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29915         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29916
29917 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29918
29919         * configure.in: Add AC_SUBST for sysheaders.
29920         * configure: Regenerated.
29921         * config.make.in (sysheaders): New substituted variable.
29922
29923         * sysdeps/unix/mkfifo.c: Moved ...
29924         * sysdeps/posix/mkfifo.c: ... here.
29925         * sysdeps/unix/mkfifoat.c: Moved ...
29926         * sysdeps/posix/mkfifoat.c: ... here.
29927
29928         * sysdeps/unix/utime.c: Moved ...
29929         * sysdeps/posix/utime.c: ... here.
29930
29931         * sysdeps/unix/time.c: Moved ...
29932         * sysdeps/posix/time.c: ... here.
29933         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29934         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29935
29936         * sysdeps/unix/nice.c: Moved ...
29937         * sysdeps/posix/nice.c: ... here.
29938
29939         * sysdeps/unix/alarm.c: Moved ...
29940         * sysdeps/posix/alarm.c: ... here.
29941
29942         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29943
29944 2012-08-17  Jeff Law <law@redhat.com>
29945
29946         * intl/Makefile (codeset_mo): New variable.
29947         ($(codeset_mo)): New target.
29948         (tst-codeset.out): Depend on that.  Remove explicit rule.
29949         (tst-gettext3.out, tst-gettext5.out): Likewise.
29950         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29951         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29952         * intl/tst-codeset.sh: Remove.
29953         * intl/tst-gettext3.sh: Likewise.
29954         * intl/tst-gettext5.sh: Likewise.
29955
29956 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29957
29958         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29959         * sysdeps/unix/syscalls.list: ... here.
29960
29961         * sysdeps/posix/getaddrinfo.c
29962         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29963         (gaiconf_init, gaiconf_reload): Use them.
29964         [!_STATBUF_ST_NSEC]
29965         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29966         Define using time_t rather than struct timespec.
29967
29968         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29969         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29970         Macros removed.
29971         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29972         [!NO_THREADS].
29973         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29974         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29975         Likewise.
29976
29977         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29978         __libc_cleanup_push argument.
29979
29980         * bits/param.h: New file.
29981         * misc/sys/param.h: New file.
29982         * include/sys/param.h: New file.
29983         * misc/Makefile (headers): Add bits/param.h.
29984         * sysdeps/generic/sys/param.h: File removed.
29985         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29986         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29987         * sysdeps/mach/hurd/bits/param.h: New file.
29988         * sysdeps/mach/hurd/sys/param.h: File removed.
29989
29990         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29991         last change.
29992
29993         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29994         [_IO_MTSAFE_IO].
29995         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29996         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29997         New macros.
29998
29999         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30000         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30001         rather than -D_IO_MTSAFE_IO conditionally.
30002         * stdio-common/Makefile (CPPFLAGS): Likewise.
30003         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30004         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30005         Use $(libio-mtsafe).
30006         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30007         of -D_IO_MTSAFE_IO.
30008         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30009         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30010         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30011         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30012         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30013         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30014         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30015         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30016         (CFLAGS-fread_u_chk.c): Likewise.
30017         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30018         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30019         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30020         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30021         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30022         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30023         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30024         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30025         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30026
30027         * libio/Makefile: Test [$(libc-reentrant) = yes]
30028         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30029
30030         * Makeconfig
30031         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30032         * sysdeps/pthread/configure: File removed.
30033         * sysdeps/pthread/Makeconfig: New file.
30034         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30035         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30036
30037 2012-08-16  Gary Benson  <gbenson@redhat.com>
30038
30039         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30040         unmapping the first object in a namespace.
30041
30042 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30043
30044         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30045         (__internal_setnetgrent): ... this.  Add internal_function to
30046         definition.  Add libc_hidden_def.
30047         (setnetgrent): Update caller.
30048         (internal_endnetgrent): Renamed to ...
30049         (__internal_endnetgrent): ... this.  Add internal_function to
30050         definition.  Add libc_hidden_def.
30051         (endnetgrent): Update caller.
30052         (internal_getnetgrent_r): Renamed to ...
30053         (__internal_getnetgrent_r): ... this.  Add internal_function to
30054         definition.  Add libc_hidden_def.
30055         (__getnetgrent_r): Update caller.
30056         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30057
30058 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30059
30060         * stdlib/longlong.h: Update from GCC.
30061
30062 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30063
30064         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30065         on _QL, which is set by umul_ppmm but never used.
30066         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30067         variables, which are set by GMP macros but never used.
30068         * stdio-common/_itowa.c (_itowa): Likewise.
30069         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30070         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30071
30072 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30073
30074         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30075         struct La_sh_regs is not constant.
30076         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30077         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30078         and struct La_sparc64_regs are not constant.
30079
30080 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30081
30082         * sysdeps/unix/sysv/linux/kernel-features.h
30083         (__ASSUME_POSIX_TIMERS): Remove.
30084         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30085         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30086         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30087         Make code unconditional.
30088         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30089         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30090         Make code unconditional.
30091         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30092         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30093         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30094         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30095         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30096         Make code unconditional.
30097         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30098         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30099         (__libc_missing_posix_timers): Remove.
30100
30101 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30102
30103         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30104         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30105
30106         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30107
30108         * elf/dl-sym.c: Include <stdlib.h>.
30109
30110         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30111         constants, which avoids warnings in 32-bit builds.
30112
30113         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30114         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30115
30116         * misc/lseek.c: File moved to ...
30117         * io/lseek.c: ... here.
30118
30119         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30120
30121         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30122         shifting LEN more than 31 bits at once.
30123
30124 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30125
30126         [BZ #14195]
30127         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30128         segmentation fault for a case of two empty input strings.
30129         * string/test-strncasecmp.c (check1): Renamed to...
30130         (bz12205): ...this.
30131         (bz14195): Add new testcase for two empty input strings and N > 0.
30132         (test_main): Call new testcase, adapt for renamed function.
30133
30134 2012-08-15  Andreas Jaeger  <aj@suse.de>
30135
30136         [BZ #14090]
30137         * crypt/md5test2.c: New test, based on test supplied by Serge
30138         Belyshev <belyshev@depni.sinp.msu.ru>.
30139         * crypt/Makefile (xtests): Add md5test-giant..
30140         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30141
30142 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30143
30144         [BZ #14090]
30145         * crypt/md5.c (md5_process_block): Don't assume the buffer
30146         length is less than 2**32.
30147         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30148         length is less than 2**64.
30149
30150 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30151
30152         * string/str-two-way.h: Include <sys/param.h>.
30153         (MAX): Macro removed.
30154
30155         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30156         Move #define and #undef of memmove to just before and after
30157         including <string.h>.
30158
30159         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30160         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30161         and after including <string.h>.  Move declarations of
30162         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30163         to before #include "string/memmove.c".
30164
30165         * include/dirent.h: Declare __getdirentries.
30166
30167         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30168         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30169
30170 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30171
30172         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30173         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30174         * sysdeps/i386/configure: Regenerated.
30175         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30176         STABS_CURRENT_FILE, and STABS_FUN.
30177         (END): Remove call to STABS_FUN_END.
30178         (STABS_CURRENT_FILE1): Delete.
30179         (STABS_CURRENT_FILE): Likewise.
30180         (STABS_FUN): Likewise.
30181         (STABS_FUN_END): Likewise.
30182         (STABS_FUN2): Likewise.
30183         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30184         * sysdeps/x86_64/configure: Regenerated.
30185
30186 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30187
30188         * elf/dl-open.c: Include <atomic.h>.
30189         * elf/dl-lookup.c: Likewise.
30190
30191 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30192
30193         * sysdeps/unix/sysv/linux/kernel-features.h
30194         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30195         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30196         unconditionally.
30197         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30198         unconditionally.
30199         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30200         condition on __ASSUME_CLONE_THREAD_FLAGS.
30201
30202 2012-08-14  Andreas Jaeger  <aj@suse.de>
30203
30204         * sysdeps/i386/fpu/libm-test-ulps: Update.
30205
30206 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30207
30208         * include/atomic.h (atomic_exchange_and_add): Split into ...
30209         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30210         New atomic macros.
30211
30212 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30213
30214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30215
30216 2012-08-13  Jeff Law <law@redhat.com>
30217
30218         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30219         null byte in the output string.
30220
30221 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30222
30223         * sysdeps/unix/sysv/linux/kernel-features.h
30224         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30225         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30226         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30227         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30228         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30229         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30230         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30231
30232 2012-08-09  Jeff Law <law@redhat.com>
30233
30234         [BZ #13939]
30235         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30236         When avoid_arena is set, don't retry in the that arena.  Pick the
30237         next one, whatever it might be.
30238         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30239         (arena_lock): Pass in new parameter to arena_get2.
30240         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30241         arena_get2.
30242         (__libc_malloc): Unify retrying after main arena failure with
30243         __libc_memalign version.
30244         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30245
30246 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30247
30248         [BZ #14166]
30249         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30250         to __redirect_strstr.
30251         (__strstr_sse42): Use typeof __redirect_strstr.
30252         (__strstr_ia32): Likewise.
30253         (__libc_strstr): New prototype.
30254         (strstr): Renamed to ...
30255         (__libc_strstr): This.
30256         (strstr): New strong alias of __libc_strstr.
30257         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30258         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30259         __redirect_time.
30260         Include <time.h>.
30261         (__libc_time): New prototype.
30262         (time_ifunc): Replace time with __libc_time.
30263         (time): New strong alias and hidden definition of __libc_time.
30264         (__GI_time): Remove strong alias.
30265         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30266         Include <stddef.h>.
30267         (memmove): Redefined to __redirect_memmove.
30268         (__memmove_sse2): Use typeof __redirect_memmove.
30269         (__memmove_ssse3): Likewise.
30270         (__memmove_ssse3_back): Likewise.
30271         (__libc_memmove): New prototype.
30272         (memmove): Renamed to ...
30273         (__libc_memmove): This.
30274         (memmove): New strong alias of __libc_memmove.
30275
30276 2012-08-08  Mark Salter  <msalter@redhat.com>
30277
30278         * elf/elf.h
30279         (R_MN10300_TLS_GD): Define.
30280         (R_MN10300_TLS_LD): Likewise.
30281         (R_MN10300_TLS_LDO): Likewise.
30282         (R_MN10300_TLS_GOTIE): Likewise.
30283         (R_MN10300_TLS_IE): Likewise.
30284         (R_MN10300_TLS_LE): Likewise.
30285         (R_MN10300_TLS_DTPMOD): Likewise.
30286         (R_MN10300_TLS_DTPOFF): Likewise.
30287         (R_MN10300_TLS_TPOFF): Likewise.
30288         (R_MN10300_SYM_DIFF): Likewise.
30289         (R_MN10300_ALIGN): Likewise.
30290         (R_MN10300_NUM): Update.
30291
30292 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30293
30294         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30295         Remove.
30296
30297 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30298
30299         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30300
30301         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30302         sysdeps/unix -> sysdeps/posix move.
30303         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30304
30305 2012-08-07      Allan McRae     <allan@archlinux.org>
30306
30307         [BZ #14303]
30308         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30309         (SUNOS_CPP): Likewise.
30310         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30311         not found.
30312         (open_input): Call CPP using execvp.
30313
30314 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30315
30316         * sysdeps/unix/sysv/linux/kernel-features.h
30317         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30318         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30319         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30320         (__ASSUME_WAITID_SYSCALL): Likewise.
30321         * sysdeps/unix/sysv/linux/dl-execstack.c
30322         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30323         code unconditional.
30324         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30325         conditional code.
30326         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30327         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30328         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30329         code.
30330         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30331         unconditional.
30332         [__ASSUME_WAITID_SYSCALL]: Likewise.
30333         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30334
30335 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30336
30337         * sysdeps/unix/closedir.c: Renamed to ...
30338         * sysdeps/posix/closedir.c: ... here.
30339         * sysdeps/unix/dirfd.c: Renamed to ...
30340         * sysdeps/posix/dirfd.c: ... here.
30341         * sysdeps/unix/dirstream.h: Renamed to ...
30342         * sysdeps/posix/dirstream.h: ... here.
30343         * sysdeps/unix/fdopendir.c: Renamed to ...
30344         * sysdeps/posix/fdopendir.c: ... here.
30345         * sysdeps/unix/opendir.c: Renamed to ...
30346         * sysdeps/posix/opendir.c: ... here.
30347         * sysdeps/unix/readdir.c: Renamed to ...
30348         * sysdeps/posix/readdir.c: ... here.
30349         * sysdeps/unix/readdir_r.c: Renamed to ...
30350         * sysdeps/posix/readdir_r.c: ... here.
30351         * sysdeps/unix/rewinddir.c: Renamed to ...
30352         * sysdeps/posix/rewinddir.c: ... here.
30353         * sysdeps/unix/seekdir.c: Renamed to ...
30354         * sysdeps/posix/seekdir.c: ... here.
30355         * sysdeps/unix/telldir.c: Renamed to ...
30356         * sysdeps/posix/telldir.c: ... here.
30357         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30358         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30359         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30360         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30361
30362         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30363         * bits/fcntl.h: ... here.
30364
30365         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30366         not 0.
30367         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30368         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30369         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30370         (struct flock): Move l_start, l_len to the beginning.
30371         Use __pid_t for l_pid.
30372         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30373         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30374         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30375         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30376         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30377         [__USE_LARGEFILE64] (struct flock64): New type.
30378         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30379
30380         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30381         * bits/dirent.h: ... here.
30382
30383         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30384         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30385
30386 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30387
30388         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30389         Change from 2.6.0 to 2.6.16.
30390         * sysdeps/unix/sysv/linux/configure: Regenerated.
30391         * sysdeps/unix/sysv/linux/kernel-features.h
30392         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30393         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30394         version.
30395         (__ASSUME_UTIMES): Likewise.
30396         (__ASSUME_CLONE_STOPPED): Remove.
30397         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30398         architectures, not kernel version.
30399         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30400         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30401         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30402         (__ASSUME_WAITID_SYSCALL): Likewise.
30403         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30404         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30405         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30406         refer to older versions.
30407
30408 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30409
30410         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30411         Define alphasort64 as an alias.
30412         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30413         Define versionsort64 as an alias.
30414         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30415         Define scandir64 as an alias.
30416         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30417         Define scandirat64 as an alias.
30418         * dirent/alphasort64.c (alphasort64):
30419         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30420         * dirent/versionsort64.c: Likewise.
30421         * dirent/scandir64.c: Likewise.
30422         * dirent/scandirat64.c: Likewise.
30423         * sysdeps/wordsize-64/alphasort.c: File removed.
30424         * sysdeps/wordsize-64/alphasort64.c: File removed.
30425         * sysdeps/wordsize-64/scandir.c: File removed.
30426         * sysdeps/wordsize-64/scandir64.c: File removed.
30427         * sysdeps/wordsize-64/scandirat.c: File removed.
30428         * sysdeps/wordsize-64/scandirat64.c: File removed.
30429         * sysdeps/wordsize-64/versionsort.c: File removed.
30430         * sysdeps/wordsize-64/versionsort64.c: File removed.
30431         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30432         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30433         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30434         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30435         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30436         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30437         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30438         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30439
30440         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30441         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30442         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30443         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30444         [defined __arch64__ || defined __sparcv9]
30445         (__INO_T_MATCHES_INO64_T): New macro.
30446         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30447         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30448         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30449         * sysdeps/unix/sysv/linux/bits/dirent.h
30450         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30451         (_DIRENT_MATCHES_DIRENT64): New macro.
30452
30453         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30454         Define lockf64 as an alias.
30455         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30456         Define fseeko64 as an alias.
30457         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30458         Define ftello64 as an alias.
30459         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30460         Define _IO_fgetpos64 and fgetpos64 as aliases.
30461         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30462         Define _IO_fsetpos64 and fsetpos64 as aliases.
30463         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30464         Conditionalize body on this.
30465         * libio/fseeko64.c: Likewise.
30466         * libio/ftello64.c: Likewise.
30467         * libio/iofgetpos64.c: Likewise.
30468         * libio/iofsetpos64.c: Likewise.
30469         * sysdeps/wordsize-64/lockf.c: File removed.
30470         * sysdeps/wordsize-64/lockf64.c: File removed.
30471         * sysdeps/wordsize-64/fseeko.c: File removed.
30472         * sysdeps/wordsize-64/fseeko64.c: File removed.
30473         * sysdeps/wordsize-64/ftello.c: File removed.
30474         * sysdeps/wordsize-64/ftello64.c: File removed.
30475         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30476         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30477         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30478         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30479         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30480         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30481         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30482         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30483         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30484         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30485         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30486         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30487         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30488         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30489
30490         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30491         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30492         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30493         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30494         [defined __arch64__ || defined __sparcv9]
30495         (__OFF_T_MATCHES_OFF64_T): New macro.
30496         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30497         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30498         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30499         (__OFF_T_MATCHES_OFF64_T): New macro.
30500
30501 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30502
30503         * stdlib/secure-getenv.c (__secure_getenv): Replace
30504         GLIBC_2_16 with GLIBC_2_17.
30505
30506 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30507
30508         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30509         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30510
30511 2012-08-03  David S. Miller  <davem@davemloft.net>
30512
30513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30514
30515 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30516
30517         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30518         Remove.
30519         (__ASSUME_CORRECT_SI_PID): Likewise.
30520         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30521         (__ASSUME_TMPFS_NAME): Likewise.
30522         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30523         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30524         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30525         (HAVE_AUX_SECURE): Make definition unconditional.
30526         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30527         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30528
30529 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30530
30531         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30532         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30533         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30534         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30535         __eloop_threshold instead of SYMLOOP_MAX.
30536
30537         * sysdeps/generic/eloop-threshold.h: New file.
30538         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30539         of MAXSYMLINKS.
30540         * elf/chroot_canon.c (chroot_canon): Likewise.
30541
30542 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30543
30544         [BZ #13717]
30545         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30546         Change to 2.6.0 everywhere.
30547         * sysdeps/unix/sysv/linux/configure: Regenerated.
30548         * sysdeps/unix/sysv/linux/kernel-features.h
30549         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30550         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30551         kernel versions.
30552         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30553         (__ASSUME_FUTEX_REQUEUE): Remove.
30554         (__ASSUME_STATFS64): Define unconditionally.
30555         (__ASSUME_AT_SECURE): Likewise.
30556         (__ASSUME_CORRECT_SI_PID): Likewise.
30557         (__ASSUME_TGKILL): Define without depending on kernel version for
30558         i386.
30559         (__ASSUME_UTIMES): Likewise.
30560         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30561         kernel version.
30562         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30563         (__ASSUME_TMPFS_NAME): Likewise.
30564         * README: Update reference to Linux kernel versions.
30565
30566 2012-08-02  Marek Polacek  <polacek@redhat.com>
30567
30568         [BZ# 14150]
30569         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30570         libc_cv_asm_type_prefix with %.
30571         * configure: Regenerated.
30572         * include/libc-symbols.h: Remove comment about
30573         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30574         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30575         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30576         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30577         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30578         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30579         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30580         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30581         * elf/tst-unique2mod1.c: Likewise.
30582         * elf/tst-unique1mod2.c: Likewise.
30583         * elf/tst-unique1mod1.c: Likewise.
30584         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30585         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30586         Replace ASM_TYPE_DIRECTIVE with .type.
30587         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30588         * sysdeps/i386/sysdep.h: Likewise.
30589         * sysdeps/x86_64/sysdep.h: Likewise.
30590         * sysdeps/sh/sysdep.h: Likewise.
30591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30592         Do not define ASM_TYPE_DIRECTIVE.
30593         * sysdeps/powerpc/sysdep.h: Likewise.
30594         * sysdeps/powerpc/powerpc32/sysdep.h:
30595         Replace ASM_TYPE_DIRECTIVE with .type.
30596         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30597         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30598         * sysdeps/i386/fpu/e_powf.S: Likewise.
30599         * sysdeps/i386/fpu/e_expl.S: Likewise.
30600         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30601         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30602         * sysdeps/i386/fpu/e_pow.S: Likewise.
30603         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30604         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30605         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30606         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30607         * sysdeps/i386/fpu/e_log2.S: Likewise.
30608         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30609         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30610         * sysdeps/i386/fpu/e_powl.S: Likewise.
30611         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30612         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30613         * sysdeps/i386/fpu/e_logl.S: Likewise.
30614         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30615         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30616         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30617         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30618         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30619         * sysdeps/i386/fpu/e_log.S: Likewise.
30620         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30621         * sysdeps/i386/fpu/e_logf.S: Likewise.
30622         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30623         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30624         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30625         * sysdeps/i386/fpu/e_log10.S: Likewise.
30626         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30627         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30628         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30629         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30630         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30631         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30632         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30633         * sysdeps/i386/i686/strtok.S: Likewise.
30634         * sysdeps/i386/i386-mcount.S: Likewise.
30635         * sysdeps/i386/strtok.S: Likewise.
30636         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30637         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30638         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30639         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30640         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30641         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30642         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30643         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30644         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30645         * sysdeps/x86_64/_mcount.S: Likewise.
30646         * sysdeps/x86_64/strtok.S: Likewise.
30647         * sysdeps/sh/_mcount.S: Likewise.
30648
30649 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30650
30651         * libio/iofopen.c: Include <fcntl.h>.
30652         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30653         (_IO_fopen64, fopen64): Define as aliases.
30654         * libio/iofopen64.c: Include <fcntl.h>.
30655         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30656         Conditionalize body on this.
30657         * sysdeps/wordsize-64/iofopen.c: File removed.
30658         * sysdeps/wordsize-64/iofopen64.c: File removed.
30659
30660 2012-08-01  Marek Polacek  <polacek@redhat.com>
30661
30662         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30663         Use dlfcn directly instead of a variable.
30664         (binfmt-subdir): Do not define.
30665         (dlfcn): Likewise.
30666
30667 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30668
30669         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30670         Remove all definitions.
30671         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30672         <kernel-features.h>.
30673         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30674         (miss_F_GETOWN_EX): Remove all definitions.
30675         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30676         macro definition.
30677         [!__ASSUME_FCNTL64]: Remove conditional code.
30678         [__ASSUME_FCNTL64]: Make code unconditional.
30679         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30680         <kernel-features.h>.
30681         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30682         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30683         (lockf64) [__NR_fcntl64]: Make code unconditional.
30684         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30685
30686         * sysdeps/unix/sysv/linux/kernel-features.h
30687         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30688         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30689         Make code unconditional.
30690         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30691         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30693         [__NR_vfork]: Make code unconditional.
30694         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30695         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30697         [__NR_vfork]: Make code unconditional.
30698         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30699         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30700
30701 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30702
30703         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30704         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30705
30706         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30707         Define mkstemp64 as an alias.
30708         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30709         Define mkstemps64 as an alias.
30710         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30711         Define mkostemp64 as an alias.
30712         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30713         Define mkostemps64 as an alias.
30714         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30715         Conditionalize body on this.
30716         * misc/mkostemp64.c: Likewise.
30717         * misc/mkostemps64.c: Likewise.
30718         * misc/mkstemps64.c: Likewise.
30719         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30720         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30721         * sysdeps/wordsize-64/mkostemp.c: File removed.
30722         * sysdeps/wordsize-64/mkstemp.c: File removed.
30723         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30724         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30725         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30726         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30727
30728         [BZ #14138]
30729         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30730         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30731         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30732         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30733
30734         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30735         compat_symbol macros from <shlib-compat.h> rather than the underlying
30736         default_symbol_version and symbol_version macros, so that DEFAULT
30737         lines in shlib-versions are respected.
30738         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30739
30740 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30741
30742         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30743         Declare with warn_unused_result.
30744         (setgid, setregid, setegid, setresgid): Likewise.
30745         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30746         Likewise.
30747         * WUR-REPORT: Remove set*id functions.
30748
30749 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30750
30751         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30752
30753 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30754
30755         [BZ #10191]
30756         * include/sys/socket.h (__libc_accept, __libc_accept4):
30757         Add attribute_hidden.
30758         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30759
30760         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30761         use of PTR_MANGLE.
30762         * inet/getnetgrent_r.c (setup): Likewise.
30763
30764         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30765
30766 2012-07-31  David S. Miller  <davem@davemloft.net>
30767
30768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30769
30770 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30771
30772         [BZ #13629]
30773         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30774         value between 1.0 and 2.0 and smaller part has absolute value less
30775         than 1.0.
30776         * math/s_clog10.c (__clog10): Likewise.
30777         * math/s_clog10f.c (__clog10f): Likewise.
30778         * math/s_clog10l.c (__clog10l): Likewise.
30779         * math/s_clogf.c (__clogf): Likewise.
30780         * math/s_clogl.c (__clogl): Likewise.
30781         * math/libm-test.inc (clog_test): Add more tests.
30782         (clog10_test): Likewise.
30783         * sysdeps/i386/fpu/libm-test-ulps: Update.
30784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30785
30786 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30787
30788         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30789         Exit with zero in case no suitable GID is found, and write a
30790         message to standard error.
30791
30792 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30793
30794         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30795         rather than to 1.
30796         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30797         (MAXPATHLEN): Removed.
30798         (NOGROUP, NODEV): New macros.
30799         (setbit, clrbit, isset, isclr): New macros.
30800         (howmany, roundup, powerof2): New macros.
30801         (DEV_BSIZE): New macro.
30802
30803         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30804         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30805
30806         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30807         definition on [!__NO_LONG_DOUBLE_MATH].
30808
30809         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30810         PTR_MANGLE and PTR_DEMANGLE.
30811
30812         * socket/accept4.c (accept4): Rename to __libc_accept4.
30813         Define accept4 as a weak alias.
30814
30815         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30816         on [_DIRENT_HAVE_D_TYPE].
30817         * io/ftw.c (ftw_dir): Likewise.
30818
30819         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30820
30821         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30822
30823         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30824         Use the BSD numbers rather than the arbitrary ones we had.
30825         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30826         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30827         (SIGXCPU, SIGXFSZ): New macros.
30828         (_NSIG): Now 32.
30829
30830         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30831         initializer on [_LIBC_REENTRANT].
30832
30833         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30834         definitions inside [_POSIX_MAPPED_FILES].
30835
30836         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30837
30838         * dirent/opendir.c: Include <fcntl.h>.
30839
30840         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30841         (__libc_getspecific): Likewise.
30842         (__libc_key_create): Likewise.
30843
30844         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30845         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30846         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30847         (tmpfile64): Define as alias.
30848         * sysdeps/wordsize-64/tmpfile.c: File removed.
30849         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30850         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30851         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30852
30853         * stdio-common/vfscanf.c: Include <stdbool.h>.
30854         * nss/makedb.c: Likewise.
30855         * stdio-common/_i18n_number.h: Likewise.
30856         * argp/argp-help.c: Likewise.
30857         * posix/wordexp.c: Likewise.
30858         * sysdeps/posix/spawni.c: Likewise.
30859         * nss/nss_files/files-initgroups.c: Likewise.
30860         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30861         * nss/nss_files/files-initgroups.c: Likewise.
30862         * nss/nss_db/db-netgrp.c: Likewise.
30863         * nss/nss_db/db-initgroups.c: Likewise.
30864         * io/fchmodat.c: Include <sys/stat.h>.
30865
30866         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30867         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30868
30869         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30870         [HAVE_MMAP].
30871
30872         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30873         Add multiple inclusion protection.
30874
30875 2012-07-27  David S. Miller  <davem@davemloft.net>
30876
30877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30878
30879 2012-07-27  Gary Benson  <gbenson@redhat.com>
30880
30881         [BZ #14298]
30882         * elf/rtld.c: Include <stap-probe.h>.
30883         (dl_main): Added static probes "init_start" and "init_complete".
30884         * elf/dl-load.c: Include <stap-probe.h>.
30885         (lose): Take new parameter "nsid".
30886         Added static probe "map_failed".
30887         (_dl_map_object_from_fd): Pass namespace id to lose.
30888         Added static probe "map_start".
30889         (open_verify): Pass namespace id to lose.
30890         * elf/dl-open.c: Include <stap-probe.h>.
30891         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30892         and "reloc_complete".
30893         * elf/dl-close.c: Include <stap-probe.h>.
30894         (_dl_close_worker): Added static probes "unmap_start" and
30895         "unmap_complete".
30896         * elf/rtld-debugger-interface.txt: New file documenting the above.
30897
30898 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30899
30900         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30901         rather than a string variable.
30902         * sunrpc/rpc_main.c (h_output): Likewise.
30903         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30904
30905 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30906
30907         * inet/check_native.c: New file.
30908
30909 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30910
30911         [BZ #13629]
30912         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30913         if larger part has absolute value 1.0.
30914         * math/s_clog10.c (__clog10): Likewise.
30915         * math/s_clog10f.c (__clog10f): Likewise.
30916         * math/s_clog10l.c (__clog10l): Likewise.
30917         * math/s_clogf.c (__clogf): Likewise.
30918         * math/s_clogl.c (__clogl): Likewise.
30919         * math/libm-test.inc (clog_test): Add more tests.
30920         (clog10_test): Likewise.
30921         * sysdeps/i386/fpu/libm-test-ulps: Update.
30922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30923
30924         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30925         (pltexit): Likewise.
30926         (La_regs): Likewise.
30927         (La_retval): Likewise.
30928         (int_retval): Likewise.
30929         Update #error for removed macros to refer only to definitions in
30930         tst-audit.h.
30931         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30932         macro.
30933         (pltexit): Likewise.
30934         (La_regs): Likewise.
30935         (La_retval): Likewise.
30936         (int_retval): Likewise.
30937         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30938         macro.
30939         (pltexit): Likewise.
30940         (La_regs): Likewise.
30941         (La_retval): Likewise.
30942         (int_retval): Likewise.
30943         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30944         macro.
30945         (pltexit): Likewise.
30946         (La_regs): Likewise.
30947         (La_retval): Likewise.
30948         (int_retval): Likewise.
30949         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30950         macro.
30951         (pltexit): Likewise.
30952         (La_regs): Likewise.
30953         (La_retval): Likewise.
30954         (int_retval): Likewise.
30955         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30956         macro.
30957         (pltexit): Likewise.
30958         (La_regs): Likewise.
30959         (La_retval): Likewise.
30960         (int_retval): Likewise.
30961         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30962         macro.
30963         (pltexit): Likewise.
30964         (La_regs): Likewise.
30965         (La_retval): Likewise.
30966         (int_retval): Likewise.
30967         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30968         macro definitions in tst-audit.h.
30969         * sysdeps/i386/tst-audit.h: New file.
30970         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30971         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30972         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30973         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30974         * sysdeps/sh/tst-audit.h: Likewise.
30975         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30976         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30977         * sysdeps/x86_64/tst-audit.h: Likewise.
30978
30979 2012-07-26  Andreas Jaeger  <aj@suse.de>
30980
30981         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30982         ptrace.
30983
30984         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30985         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30986         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30987         PTRACE_O_MASK.
30988         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30989         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30990         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30991
30992         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30993         value.
30994
30995         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30996         _sigsys.
30997         (si_call_addr, si_syscall, si_arch): Define new macro.
30998         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30999         _sigsys.
31000         (si_call_addr, si_syscall, si_arch): Define new marcro.
31001         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31002         _sigsys.
31003         (si_call_addr, si_syscall, si_arch): Define new macro.
31004         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31005         _sigsys.
31006         (si_call_addr, si_syscall, si_arch): Define new macro.
31007
31008 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31009
31010         [BZ #13717]
31011         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31012         Change to 2.4.21 where previously 2.4.1.
31013         * sysdeps/unix/sysv/linux/configure: Regenerated.
31014         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31015         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31016         Linux kernel version.
31017         (__ASSUME_STD_AUXV): Remove.
31018         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31019         kernel version.
31020         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31021         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31022         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31023         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31024         (__ASSUME_NETLINK_SUPPORT): Likewise.
31025         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31026         (__no_netlink_support): Remove conditional definition.
31027         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31028         Remove.
31029         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31030         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31031         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31032         (if_nameindex_ioctl): Remove.
31033         (if_nameindex_netlink): Do not handle __no_netlink_support.
31034         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31035         code.
31036         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31037         Remove conditional code.
31038         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31039         code.
31040         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31041         unconditional.
31042         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31043         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31044         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31045         Remove.
31046         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31047         [!__ASSUME_STD_AUXV]: Remove conditional code.
31048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31049         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31050         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31052         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31053         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31054         code.
31055         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31057         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31058         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31059         conditional code.
31060         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31062         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31063         code.
31064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31065         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31066         conditional code.
31067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31068         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31069         code unconditional.
31070         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31071         conditional code.
31072         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31073         unconditional.
31074         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31075         conditional code.
31076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31077         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31078         unconditional.
31079         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31080         conditional code.
31081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31082         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31083         code unconditional.
31084         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31085         conditional code.
31086         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31087         unconditional.
31088         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31089         conditional code.
31090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31091         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31092         code unconditional.
31093         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31094         conditional code.
31095         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31096         unconditional.
31097         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31098         conditional code.
31099
31100 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31101
31102         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31103         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31104         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31105         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31106         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31107         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31108         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31109         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31110         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31111         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31112         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31113         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31114         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31115         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31116         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31117         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31118         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31119         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31120         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31121         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31122         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31123         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31124         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31125
31126 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31127
31128         * Versions.def: Add GLIBC_2.17.
31129         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31130         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31131         Introduce __libc_secure_getenv.
31132         * stdlib/Versions (2.17): Add secure_getenv
31133         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31134         * stdlib/secure-getenv.c: Rename __secure_getenv to
31135         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31136         symbol __secure_getenv for GLIBC_2.0.
31137         * stdlib/tst-secure-getenv.c: New.
31138         * stdlib/Makefile (tests): Add testcase.
31139         * manual/startup.texi (Environment Access): Document
31140         secure_getenv.
31141         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31142         __libc_secure_getenv.
31143         * inet/ruserpass.c (ruserpass): Likewise.
31144         * malloc/mtrace.c (mtrace): Likewise.
31145         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31146         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31147         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31148         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31149         HAVE_SECURE_GETENV.
31150         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31151         __secure_getenv to __libc_secure_getenv.
31152         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31154         Likewise.
31155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31156         Likewise.
31157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31159         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31164
31165 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31166
31167         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31168         (struct La_i86_retval): Likewise.
31169         (struct La_x86_64_regs): Likewise.
31170         (struct La_x86_64_retval): Likewise.
31171         (struct La_x32_regs): Likewise.
31172         (struct La_x32_retval): Likewise.
31173         (struct La_ppc32_regs): Likewise.
31174         (struct La_ppc32_retval): Likewise.
31175         (struct La_ppc64_regs): Likewise.
31176         (struct La_ppc64_retval): Likewise.
31177         (struct La_sh_regs): Likewise.
31178         (struct La_sh_retval): Likewise.
31179         (struct La_s390_32_regs): Likewise.
31180         (struct La_s390_32_retval): Likewise.
31181         (struct La_s390_64_regs): Likewise.
31182         (struct La_s390_64_retval): Likewise.
31183         (struct La_sparc32_regs): Likewise.
31184         (struct La_sparc32_retval): Likewise.
31185         (struct La_sparc64_regs): Likewise.
31186         (struct La_sparc64_retval): Likewise.
31187         (struct audit_ifaces): Remove architecture-specific pltenter and
31188         pltexit members.
31189         * sysdeps/i386/ldsodefs.h: New file.
31190         * sysdeps/powerpc/ldsodefs.h: Likewise.
31191         * sysdeps/s390/ldsodefs.h: Likewise.
31192         * sysdeps/sh/ldsodefs.h: Likewise.
31193         * sysdeps/sparc/ldsodefs.h: Likewise.
31194         * sysdeps/x86_64/ldsodefs.h: Likewise.
31195
31196 2012-07-25  Marek Polacek  <polacek@redhat.com>
31197
31198         [BZ #6808]
31199         * math/libm-test.inc (yn_test): Add another test.
31200         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31201         to ERANGE when the result is +-Inf.
31202         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31203         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31204         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31205         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31206
31207 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31208
31209         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31210         equal to 0.
31211         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31212         clock_t.
31213         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31214
31215 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31216
31217         * configure.in <sysdeps resolving>: Correct printing
31218         Implies_before.
31219         * configure: Regenerate.
31220
31221 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31222
31223         * math/w_ilogb.c: Include <limits.h>.
31224         * math/w_ilogbl.c: Likewise.
31225
31226 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31227
31228         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31229         va_copy.  Document allowing for unavailable va_copy only as
31230         pre-C99 compatibility.
31231         * manual/string.texi (Copying and Concatenation): Use va_copy
31232         instead of __va_copy in concat example.
31233
31234 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31235
31236         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31237         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31238         it if not null.
31239
31240         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31241         with O_NOLINK passed to __file_name_lookup.
31242
31243         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31244         with O_NOLINK passed to __file_name_lookup.
31245
31246         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31247         negative N or less than NGIDS.
31248
31249         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31250         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31251         enough.  Use memcpy instead of strncpy.
31252
31253 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31254
31255         * elf/Makefile (check-data): Remove.
31256         (localplt.data): New vpath directive.
31257         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31258         instead of $(check-data).
31259         * scripts/data/localplt-generic.data: Move to ...
31260         * sysdeps/generic/localplt.data: ... here.
31261         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31262         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31263         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31265         ... here.
31266         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31268         ... here.
31269         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31271         ... here.
31272         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31274         ... here.
31275         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31277         ... here.
31278         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31280         ... here.
31281
31282 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31283
31284         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31285         PPC32 and PPC64 files.
31286         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31287         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31288
31289 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31290
31291         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31292         __makecontext_ret to ...
31293         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31294         ... here and call exit if uc_link is NULL.  New file.
31295         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31296         __makecontext_ret.S.
31297         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31298         __makecontext_ret to ...
31299         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31300         ... here and call exit if uc_link is NULL.  New file.
31301         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31302         __makecontext_ret.S.
31303
31304 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31305
31306         * elf/elf.h (R_390_IRELATIVE): New definition.
31307         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31308         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31309         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31310         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31311         (elf_machine_lazy_rel): Likewise.
31312         * sysdeps/s390/dl-irel.h: New file.
31313         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31314         * sysdeps/s390/s390-64/memset.S: New asm code.
31315         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31316         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31317         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31318         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31319         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31320         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31321         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31322         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31323         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31324         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31325         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31326         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31327         * sysdeps/s390/s390-32/memset.S: New asm code.
31328         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31329
31330 2012-07-17  Marek Polacek  <polacek@redhat.com>
31331
31332         [BZ #14349]
31333         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31334         * sysdeps/s390/s390-64/configure.in: Likewise.
31335         * sysdeps/sparc/configure.in: Likewise.
31336         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31337         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31338         * sysdeps/i386/configure.in: Likewise.
31339         * sysdeps/x86_64/configure.in: Likewise.
31340         * sysdeps/sh/configure.in: Likewise.
31341         * sysdeps/s390/s390-32/configure: Regenerated.
31342         * sysdeps/s390/s390-64/configure: Likewise.
31343         * sysdeps/x86_64/configure: Likewise.
31344         * sysdeps/sh/configure: Likewise.
31345         * sysdeps/powerpc/powerpc64/configure: Likewise.
31346         * sysdeps/powerpc/powerpc32/configure: Likewise.
31347         * sysdeps/sparc/configure: Likwise.
31348         * sysdeps/i386/configure: Likewise.
31349
31350         * elf/dl-open.c: Comment fixes.
31351
31352 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31353
31354         * Makefile [CXX] (check-data): Remove.
31355         [CXX] (c++-types.data): New vpath directive.
31356         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31357         vpath.  Do not allow for C++ type data being missing.
31358         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31359         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31360         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31361         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31362         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31363         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31364         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31366         ... here.
31367         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31369         ... here.
31370         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31372         ... here.
31373         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31375         ... here.
31376         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31378         ... here.
31379         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31381         ... here.
31382         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31384         ... here.
31385         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31387
31388         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31389         definitions to architecture-specific files.
31390         (TLS_IE): Likewise.
31391         (TLS_LD): Likewise.
31392         (TLS_GD): Likewise.
31393         * sysdeps/i386/tls-macros.h: New file.
31394         * sysdeps/powerpc/tls-macros.h: Likewise.
31395         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31396         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31397         * sysdeps/sh/tls-macros.h: Likewise.
31398         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31399         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31400         * sysdeps/x86_64/tls-macros.h: Likewise.
31401
31402 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31403
31404         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31405         zero value for regular exit case.
31406
31407         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31408         (__start_context): Preserve zero value for regular exit case.
31409
31410 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31411             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31412
31413         * manual/setjmp.texi (setcontext): Clarify normal process
31414         termination when uc_link is the null pointer.
31415         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31416         exit call.
31417
31418 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31419
31420         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31421         preprocessor.  Test for each exception mask separately.
31422
31423 2012-07-16  Andreas Jaeger  <aj@suse.de>
31424
31425         * po/ru.po: Update from translation team.
31426
31427 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31428
31429         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31430         equal to 0.
31431         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31432         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31433         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31434         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31435         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31436
31437 2012-07-13  Andreas Jaeger  <aj@suse.de>
31438
31439         * po/fr.po: Update from translation team.
31440
31441 2012-07-12  Marek Polacek  <polacek@redhat.com>
31442
31443         [BZ #14173]
31444         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31445         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31446         loop condition.
31447
31448 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31449
31450         [BZ #13717]
31451         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31452         Change to 2.4.1 where previously 2.4.0.
31453         * sysdeps/unix/sysv/linux/configure: Regenerated.
31454         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31455         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31456         version.
31457         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31458         (__ASSUME_AT_CLKTCK): Remove.
31459         (__ASSUME_AT_PAGESIZE): Likewise.
31460         (__ASSUME_AT_XID): Likewise.
31461         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31462         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31463         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31464         unconditionally.
31465         (HAVE_AUX_PAGESIZE): Likewise.
31466         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31467         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31468         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31469
31470 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31471
31472         [BZ #14307]
31473         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31474         the temporary buffer used to invoke __gethostbyname2_r,
31475         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31476         host_data / struct gaih_addrtuple.
31477         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31478         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31479         header file nss/nsswitch.h.
31480         * nss/nsswitch.h (global scope): Add definition of implementation
31481         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31482         resolv/nss_dns/dns-host.c).
31483
31484 2012-07-11  Andreas Jaeger  <aj@suse.de>
31485
31486         * po/fr.po: Update from translation team.
31487
31488         * po/sv.po: Update from translation team
31489         * po/fr.po: Another update from translation team.
31490
31491 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31492
31493         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31494         for subnormals or multiply small sinh result by itself.
31495         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31497
31498 2012-07-11  David S. Miller  <davem@davemloft.net>
31499
31500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31501
31502 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31503
31504         [BZ #14347]
31505         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31506         (INTERNAL_MARK): Shift it here.
31507
31508 2012-07-10  Marek Polacek  <polacek@redhat.com>
31509
31510         [BZ #14151]
31511         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31512         libc_cv_asm_global_directive with .globl.
31513         * configure: Regenerated.
31514         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31515         with .globl.
31516         * sysdeps/i386/configure: Regenerated.
31517         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31518         with .globl.
31519         * sysdeps/x86_64/configure: Regenerated.
31520         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31521         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31522         * elf/tst-unique2mod2.c: Likewise.
31523         * elf/tst-unique2mod1.c: Likewise.
31524         * elf/tst-unique1mod2.c: Likewise.
31525         * elf/tst-unique1mod1.c: Likewise.
31526         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31527         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31528         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31529         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31530         * sysdeps/mach/sysdep.h: Likewise.
31531         * sysdeps/i386/sysdep.h: Likewise.
31532         * sysdeps/i386/i386-mcount.S: Likewise.
31533         * sysdeps/x86_64/_mcount.S: Likewise.
31534         * sysdeps/x86_64/sysdep.h: Likewise.
31535         * sysdeps/sh/_mcount.S: Likewise.
31536         * sysdeps/sh/sysdep.h: Likewise.
31537         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31538         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31539         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31540         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31541         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31542         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31543         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31544         * locale/localeinfo.h: Likewise.
31545         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31546         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31547
31548 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31549
31550         [BZ #14336]
31551         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31552         system".
31553         * manual/message.texi (The Uniforum approach): Likewise.
31554         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31555         (glibc iconv Implementation): Likewise.
31556
31557 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31558
31559         [BZ #14337]
31560         * math/s_clog.c (__clog): Avoid scaling a value down where that
31561         could result in underflow.
31562         * math/s_clog10.c (__clog10): Likewise.
31563         * math/s_clog10f.c (__clog10f): Likewise.
31564         * math/s_clog10l.c (__clog10l): Likewise.
31565         * math/s_clogf.c (__clogf): Likewise.
31566         * math/s_clogl.c (__clogl): Likewise.
31567         * math/libm-test.inc (clog_test): Add more tests.
31568         (clog10_test): Likewise.
31569         * sysdeps/i386/fpu/libm-test-ulps: Update.
31570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31571
31572 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31573
31574         [BZ #14283]
31575         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31576         by 7 not 8 to examine high bit of fractional part.
31577
31578         [BZ #14042]
31579         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31580         for call to __mcount_internal.
31581         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31582         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31583         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31584
31585 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31586
31587         [BZ #14154]
31588         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31589         approximation for values within 0x1p-13f of an odd multiple of
31590         pi/4.
31591         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31592         exception.  Add more tests.
31593         * sysdeps/i386/fpu/libm-test-ulps: Update.
31594
31595         [BZ #6778]
31596         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31597         inputs and return -1 for them.  Do not check for +Inf in case not
31598         reachable for +Inf.
31599         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31600         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31601         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31602         and return -1 for them.  Do not check for +Inf in case not
31603         reachable for +Inf.
31604         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31605         define.
31606         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31607         and return -1 for them.  Do not check for +Inf in case not
31608         reachable for +Inf.
31609         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31610         spurious underflow.
31611         * sysdeps/i386/fpu/libm-test-ulps: Update.
31612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31613
31614 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31615
31616         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31617
31618 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31619
31620         [BZ #14157]
31621         [BZ #14331]
31622         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31623         could result in spurious underflow.  Scale down values above
31624         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31625         * math/s_csqrtf.c (__csqrtf): Likewise.
31626         * math/s_csqrtl.c (__csqrtl): Likewise.
31627         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31628         spurious underflow.
31629         * sysdeps/i386/fpu/libm-test-ulps: Update.
31630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31631
31632 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31633
31634         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31635         xopen-msg.sed.
31636         * catgets/xopen-msg.awk: New file.
31637         * catgets/xopen-msg.sed: Removed.
31638
31639         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31640         po2text.sed.
31641         * intl/po2test.awk: New file.
31642         * intl/po2test.sed: Removed.
31643
31644 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31645
31646         [BZ #14328]
31647         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31648         or multiply small sinh result by itself.
31649         * math/s_ctanf.c (__ctanf): Likewise.
31650         * math/s_ctanh.c (__ctanh): Likewise.
31651         * math/s_ctanhf.c (__ctanhf): Likewise.
31652         * math/s_ctanhl.c (__ctanhl): Likewise.
31653         * math/s_ctanl.c (__ctanl): Likewise.
31654         * math/libm-test.inc (ctan_test_tonearest): New function.
31655         (ctan_test_towardzero): Likewise.
31656         (ctan_test_downward): Likewise.
31657         (ctan_test_upward): Likewise.
31658         (ctanh_test_tonearest): Likewise.
31659         (ctanh_test_towardzero): Likewise.
31660         (ctanh_test_downward): Likewise.
31661         (ctanh_test_upward): Likewise.
31662         (main): Call these new functions.
31663         * sysdeps/i386/fpu/libm-test-ulps: Update.
31664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31665
31666 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31667
31668         * .gitignore: Delete /ports entry.
31669
31670 2012-07-03  Andreas Jaeger  <aj@suse.de>
31671
31672         * po/bg.po: Update from translation team.
31673         * po/cs.po: Likewise.
31674         * po/de.po: Likewise.
31675         * po/hr.po: Likewise.
31676         * po/nl.pl: Likewise.
31677         * po/pl.po: Likewise.
31678         * po/vi.po: Likewise.
31679
31680 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31681
31682         * Makeconfig [!+link] (+link-before-libc): New variable.
31683         [!+link] (+link-after-libc): Likewise.
31684         [!+link] (+link-tests): Likewise.
31685         [!+link] (+link): Define in terms of $(+link-before-libc) and
31686         $(+link-after-libc).
31687         [!+link-static] (+link-static-before-libc): New variable.
31688         [!+link-static] (+link-static-after-libc): Likewise.
31689         [!+link-static] (+link-static-tests): Likewise.
31690         [!+link-static] (+link-static): Define in terms of
31691         $(+link-static-before-libc) and $(+link-static-after-libc).
31692         [build-shared] (link-libc-before-gnulib): New variable.
31693         [build-shared] (link-libc-tests): Likewise.
31694         [build-shared] (link-libc): Define in terms of
31695         $(link-libc-before-gnulib).
31696         [!build-shared] (link-libc-tests): New variable.
31697         (link-libc-static-tests): New variable.
31698         [!gnulib] (gnulib-arch): New variable.
31699         [!gnulib] (gnulib-tests): Likewise.
31700         [!gnulib] (static-gnulib-arch): Likewise.
31701         [!gnulib] (static-gnulib-tests): Likewise.
31702         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31703         Define with "=" instead of ":=".
31704         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31705         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31706         * Rules (binaries-all-notests): New variable.
31707         (binaries-all-tests): Likewise.
31708         (binaries-static-notests): Likewise.
31709         (binaries-static-tests): Likewise.
31710         (binaries-all): Define using $(binaries-all-notests) and
31711         $(binaries-all-tests).
31712         (binaries-static): Define using $(binaries-static-notests) and
31713         $(binaries-static-tests).
31714         (binaries-shared-tests): New variable.
31715         (binaries-shared-notests): Likewise.
31716         (binaries-shared): Remove variable.
31717         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31718         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31719         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31720         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31721         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31722         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31723         * elf/Makefile (sln-modules): New variable.
31724         (extra-objs): Add $(sln-modules:=.o).
31725         (ldconfig-modules): Add static-stubs.
31726         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31727         * elf/static-stubs.c: New file.
31728
31729         [BZ #14283]
31730         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31731         by 7 not 8 to examine high bit of fractional part.  Use volatile
31732         variables when splitting into final array of floats if
31733         __FLT_EVAL_METHOD__ != 0.
31734         * math/libm-test.inc (cos_test): Add another test.
31735         (sin_test): Likewise.
31736         * sysdeps/i386/fpu/libm-test-ulps: Update.
31737
31738         [BZ #14273]
31739         * math/libm-test.inc (cosh_test): Add more tests.
31740
31741         * version.h (RELEASE): Set to "development".
31742         (VERSION): Set to "2.16.90".
31743
31744 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31745
31746         * NEWS: Update copyright. Remove last-updated date.
31747         Mention math library bug fixes and timezone data changes.
31748         * README: Mention GNU/Hurd, x32, and HPPA support status.
31749
31750 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31751
31752         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31753
31754 2012-06-27  Andreas Jaeger  <aj@suse.de>
31755
31756         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31757
31758 2012-06-25  Andreas Jaeger  <aj@suse.de>
31759
31760         * sysdeps/s390/fpu/libm-test-ulps: Update.
31761
31762 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31763             Thomas Schwinge  <thomas@codesourcery.com>
31764
31765         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31766         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31767         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31768         fanotify_mark.
31769
31770 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31771
31772         * sysdeps/mach/start.c: Remove file.
31773         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31774         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31775         * sysdeps/sh/init-first.c: Likewise.
31776
31777         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31778         registers for frame unwinding purposes, add CFI directives.
31779         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31780         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31781         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31782         Likewise.
31783
31784         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31785         __fortify_fail returning.
31786         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31787
31788         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31789         sysdeps/sh/____longjmp_chk.S.
31790         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31791         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31792         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31793         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31794
31795         * sysdeps/sh/abort-instr.h: New file.
31796         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31797         process in case exit returns.
31798
31799         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31800         initialize the GOT register before use.
31801
31802         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31803         calculation of ARGC > 4.
31804
31805         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31806         meaningful names to some local labels.
31807
31808 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31809             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31810
31811         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31812         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31813         (__arch_compare_and_exchange_val_16_acq): Likewise.
31814         (__arch_compare_and_exchange_val_32_acq): Likewise.
31815         (atomic_exchange_and_add): Fix gUSA sequence.
31816         (atomic_add): Likewise.
31817         (atomic_add_negative): Likewise.
31818         (atomic_add_zero): Likewise.
31819         (atomic_bit_test_set): Likewise.
31820
31821 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31822
31823         [BZ #13579]
31824         * include/link.h (struct link_map): Add l_free_initfini.
31825         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31826         l_initfini.
31827         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31828         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31829         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31830         set.
31831
31832 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31833
31834         * configure.in: Use AC_LANG_SOURCE.
31835         * configure: Regenerate.
31836
31837 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31838
31839         * configure.in (libc_cv_localstatedir): New substituted variable.
31840         * configure: Regenerated.
31841         * config.make.in (localstatedir): New variable, substituted from
31842         libc_cv_localstatedir.
31843         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31844         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31845         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31846         * sysdeps/gnu/configure: Regenerated.
31847
31848 2012-06-21  Jeff Law  <law@redhat.com>
31849
31850         [BZ #14277]
31851         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31852         free.  Simplify list management for _LIBC case.
31853
31854 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31855
31856         [BZ #14273]
31857         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31858         Clear sign bit of 64-bit integer value before comparing against
31859         overflow value.
31860
31861         * sysdeps/mach/configure: Regenerated.
31862
31863 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31864
31865         [BZ #14278]
31866         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31867
31868 2012-06-21  Jeff Law  <law@redhat.com>
31869
31870         [BZ #13882]
31871         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31872         uint16_t for elements in the "seen" array to avoid char overflows.
31873         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31874         * elf/dl-open.c (dl_open_worker): Likewise.
31875
31876 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31877
31878         * scripts/list-sources.sh: Scan PORTS for translations.
31879         * po/libc.pot: Regenerated.
31880
31881 2012-06-21  Andreas Jaeger  <aj@suse.de>
31882
31883         [BZ #12194]
31884         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31885         warning.
31886         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31887         * bits/byteswap-16.h (__bswap_16): Likewise.
31888         * bits/byteswap.h (__bswap_constant_16): Likewise.
31889
31890 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31891
31892         [BZ #14117]
31893         * sysdeps/i386/fpu_control.h: Removed.
31894         * sysdeps/x86_64/fpu_control.h: Moved to ...
31895         * sysdeps/x86/fpu_control.h: Here.
31896
31897         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31898         (_FPU_SETCW): Likewise.
31899
31900 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31901
31902         [BZ #14117]
31903         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31904         * sysdeps/x86/fpu/bits/mathinline.h: This.
31905         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31906
31907         [BZ #14050]
31908         [BZ #14117]
31909         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31910         functions if __x86_64__ is defined.
31911
31912 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31913
31914         * string/endian.h: Add !__ASSEMBLER__ condition for including
31915         conversion interfaces.
31916
31917 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31918
31919         [BZ #14241]
31920         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31921         of ABS(x) in calculating zero to negative powers other than odd
31922         integers.
31923         * math/libm-test.inc (pow_test): Add more tests.
31924
31925 2012-06-15  Andreas Jaeger  <aj@suse.de>
31926
31927         * manual/contrib.texi (Contributors): Update entry of Liubov
31928         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31929         Machado Filho.
31930
31931 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31932
31933         * string/string.h: Add __wur to GNU version of strerror_r.
31934
31935 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31936
31937         [BZ #14229]
31938         * string/Makefile (tests): Add tst-strtok_r.
31939         * string/tst-strtok_r.c: New file.
31940         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31941         RAX_LP/RDX_LP on SAVE_PTR.
31942
31943 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31944
31945         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31946
31947 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31948
31949         * libm_test.inc (csqrt_test): Allow more spurious underflow
31950         exceptions.
31951         (j0_test): Likewise.
31952         (j1_test): Likewise.
31953         (y0_test): Likewise.
31954         (y1_test): Likewise.
31955
31956 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31957
31958         * po/Makefile (libc.pot): Use UTF-8 charset.
31959
31960 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31961
31962         [BZ #14210]
31963         Suppress sign-conversion warning from FD_SET.
31964         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31965         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31966         not unsigned long int.
31967         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31968
31969 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31970
31971         [BZ #14050]
31972         [BZ #14117]
31973         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31974         __extern_always_inline instead of __extern_inline.
31975         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31976         (__signbit): Likewise.
31977         (__signbitl): Support C++ namespace.
31978         (lrintf): New inline function.
31979         (lrint): Likewise.
31980         (llrintf): Likewise.
31981         (llrint): Likewise.
31982         (fmaxf): Likewise.
31983         (fmax): Likewise.
31984         (fminf): Likewise.
31985         (fmin): Likewise.
31986         (rint): Likewise.
31987         (rintf): Likewise.
31988         (ceil): Likewise.
31989         (ceilf): Likewise.
31990         (floor): Likewise.
31991         (floorf): Likewise.
31992         (nearbyint): Likewise.
31993         (nearbyintf): Likewise.
31994
31995 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31996
31997         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31998         non-default versions.
31999
32000 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32001
32002         [BZ #14218]
32003         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32004
32005 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32006
32007         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32008         (FE_UPWARD, FE_DOWNWARD): Don't define.
32009         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32010         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32011
32012         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32013         reading it.
32014         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32015         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32016
32017 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32018
32019         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32020         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32021         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32022         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32023
32024 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32025
32026         [BZ #14117]
32027         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32028         * sysdeps/i386/fpu/Implies: New file.
32029         * sysdeps/x86_64/fpu/Implies: Likewise.
32030         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32031         * sysdeps/x86/fpu/bits/fenv.h: This.
32032
32033         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32034         __SSE_MATH__.
32035
32036 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32037
32038         [BZ #14134]
32039         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32040         character 0xffff that matches the last element of the
32041         conversion table.
32042
32043 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32044
32045         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32046         fmodl commit.
32047
32048 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32049
32050         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32051         values higher than 25.6283.
32052
32053 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32054
32055         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32056         subnormal exponent extraction and add some __builtin_expect.
32057         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32058         Fix for subnormal mantissa calculation.
32059
32060 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32061
32062         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32063         cpu2 is -1 and errno is not ENOSYS.
32064
32065 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32066
32067         [BZ #14117]
32068         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32069         * sysdeps/x86/bits/string.h: This.
32070         * sysdeps/x86_64/bits/string.h: Removed.
32071
32072         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32073         if not compiling for x86-64, but compiling for >= i486.
32074
32075         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32076         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32077
32078         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32079         New macro from Linux kernel 3.4.0.
32080         (FP_XSTATE_MAGIC2): Likewise.
32081         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32082         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32083         (struct _fpx_sw_bytes): New struct.
32084         (struct _xsave_hdr): Likewise.
32085         (struct _ymmh_state): Likewise.
32086         (struct _xstate): Likewise.
32087
32088         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32089         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32090         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32091         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32092         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32093         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32094
32095         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32096         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32097         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32098         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32099         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32100         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32101
32102 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32103
32104         [BZ #13743]
32105         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32106         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32107         (sysdep_headers): Include sys/platform/ppc.h.
32108         * sysdeps/powerpc/test-gettimebase.c: Test for
32109         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32110         * manual/Makefile (appendices): Include platform.texi.
32111         * manual/contrib.texi (Contributors): Update @node pointers.
32112         * manual/maint.texi (Maintenance): Likewise.
32113         (Platform): New node.
32114         * manual/platform.texi: New file.  Document the new features.
32115
32116 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32117             Jakub Jelinek  <jakub@redhat.com>
32118
32119         [BZ #14188]
32120         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32121         where __builtin_expect is unavailable.
32122
32123 2012-06-03  David S. Miller  <davem@davemloft.net>
32124
32125         * stdlib/longlong.h: Updated from GCC.
32126
32127 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32128
32129         [BZ #14042]
32130         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32131         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32132         __mcount_internal.
32133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32134         (GLIBC_2.16): Likewise.
32135
32136 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32137
32138         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32139
32140 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32141
32142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32143         (default-abi): New variable.
32144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32145         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32146         variable.
32147         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32148         Likewise.
32149         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32150         Likewise.
32151         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32152         Likewise.
32153
32154         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32155         definition.  Document in comment.
32156
32157 2012-06-01  David S. Miller  <davem@davemloft.net>
32158
32159         * stdlib/longlong.h: Updated from GCC.
32160
32161 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32162
32163         [BZ #14117]
32164         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32165         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32166         sys/debugreg.h sys/io.h here.
32167         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32168         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32169         sys/io.h.
32170         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32171         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32172         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32173         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32174         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32175         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32176
32177         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32178         Define only if __x86_64__ is defined.
32179
32180 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32181
32182         [BZ #14048]
32183         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32184         Use int64_t for variable i.
32185         * math/libm-test.inc (fmod_test): Add more tests.
32186
32187         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32188         z computation is not scheduled after fetestexcept.
32189         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32190         Use math_force_eval instead of asm to ensure calculation scheduled
32191         before exception test.
32192         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32193         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32194
32195 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32196
32197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32198         computation is not scheduled after fetestexcept.
32199
32200 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32201
32202         [BZ #14117]
32203         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32204         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32205
32206 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32207
32208         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32209         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32210
32211 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32212
32213         [BZ #14117]
32214         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32215         <bits/wordsize.h>.
32216         (__WCHAR_MIN): Support __WORDSIZE == 64.
32217         (__WCHAR_MAX): Likewise.
32218
32219         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32220         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32221
32222         [BZ #14183]
32223         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32224         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32225
32226         [BZ #14117]
32227         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32228         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32229
32230         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32231         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32232
32233         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32234         Defined to 1 if __x86_64__ isn't defined.
32235         (_STAT_VER_LINUX_OLD): New.
32236         (st_atime): Remove duplicate.
32237         (st_mtime): Likewise.
32238         (st_ctime): Likewise.
32239
32240 2012-05-31  David S. Miller  <davem@davemloft.net>
32241
32242         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32243         entries.
32244
32245 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32246
32247         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32248         gen-libm-test.pl.
32249
32250         [BZ #14132]
32251         * elf/dl-reloc.c: Include <_itoa.h>.
32252         (_dl_reloc_bad_type): Remove use of INTUSE.
32253         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32254         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32255         * stdio-common/psiginfo.c (psiginfo): Likewise.
32256         * stdio-common/psignal.c (psignal): Likewise.
32257         * string/strsignal.c (strsignal): Likewise.
32258         * include/signal.h (_sys_siglist): Declare hidden proto.
32259         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32260         INTVARDEF with libc_hidden_data_def.
32261         * stdio-common/itoa-udigits.c: Likewise.
32262         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32263         (_itoa_lower_digits_internal): Remove declaration.
32264         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32265         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32266         (_sys_sigabbrev_internal): Remove aliases.
32267         (_sys_siglist): Define hidden alias.
32268
32269 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32270
32271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32272         bits/sysctl.h.
32273
32274 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32275
32276         [BZ #14117]
32277         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32278         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32279
32280         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32281         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32282         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32283         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32284         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32285         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32286
32287         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32288         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32289         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32290
32291         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32292         with __addr.
32293         (insw): Likewise.
32294         (insl): Likewise.
32295         (outsb): Likewise.
32296         (outsw): Likewise.
32297         (outsl): Likewise.
32298
32299         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32300         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32301         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32302
32303         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32304         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32305         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32306         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32307         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32308         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32309
32310         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32311         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32312
32313         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32314         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32315
32316         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32317         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32318         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32319
32320         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32321         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32322         to ...
32323         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32324
32325         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32326         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32327         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32328
32329         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32330         for x86-64.
32331         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32332
32333 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32334
32335         * math/math.h (M_El): Use two more decimal places.
32336         (M_LOG2El): Likewise.
32337         (M_LOG10El): Likewise.
32338         (M_LN2l): Likewise.
32339         (M_LN10l): Likewise.
32340         (M_PIl): Likewise.
32341         (M_PI_2l): Likewise.
32342         (M_PI_4l): Likewise.
32343         (M_1_PIl): Likewise.
32344         (M_2_PIl): Likewise.
32345         (M_2_SQRTPIl): Likewise.
32346         (M_SQRT2l): Likewise.
32347         (M_SQRT1_2l): Likewise.
32348
32349 2012-05-31  David S. Miller  <davem@davemloft.net>
32350
32351         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32352         values between float registers.
32353         * sysdeps/sparc/sparc64/memset.S: Likewise.
32354         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32355
32356 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32357
32358         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32359         -D_FORTIFY_SOURCE=1.
32360         (CPPFLAGS-tst-longjmp_chk.c): Define.
32361         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32362         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32363         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32364         CFLAGS-tst-wchar-h.c.
32365
32366 2012-05-31  Marek Polacek  <polacek@redhat.com>
32367
32368         [BZ #14132]
32369         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32370         __endmntent_internal): Remove declaration.
32371         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32372         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32373         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32374
32375 2012-05-30  David S. Miller  <davem@davemloft.net>
32376
32377         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32378         (___Q_simulate_exceptions): Use real FP ops rather than writing
32379         into the %fsr.
32380         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32381         Likewise.
32382
32383 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32384
32385         [BZ #14117]
32386         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32387         * sysdeps/x86/bits/xtitypes.h: This.
32388
32389         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32390         * sysdeps/x86/bits/wordsize.h: This.
32391
32392         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32393         * sysdeps/x86/bits/huge_vall.h: This.
32394
32395         * sysdeps/i386/bits/select.h: Removed.
32396         * sysdeps/x86_64/bits/select.h: Renamed to ...
32397         * sysdeps/x86/bits/select.h: This.
32398
32399         * sysdeps/i386/bits/setjmp.h: Removed.
32400         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32401         * sysdeps/x86/bits/setjmp.h: This.
32402
32403         * sysdeps/i386/bits/mathdef.h: Removed.
32404         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32405         * sysdeps/x86/bits/mathdef.h: This.
32406
32407 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32408
32409         [BZ #14132]
32410         * include/sys/socket.h (__connect_internal)
32411         (__libc_sa_len_internal): Remove declaration.
32412         (__connect, __libc_sa_len): Declare hidden_proto.
32413         (SA_LEN): Remove use of INTUSE.
32414         * socket/connect.c: Add libc_hidden_def.
32415         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32416         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32417         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32418         alias.
32419         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32420         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32421         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32422         of adding _internal alias.
32423
32424 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32425
32426         [BZ #14117]
32427         * sysdeps/i386/bits/link.h: Removed.
32428         * sysdeps/i386/bits/linkmap.h: Likewise.
32429         * sysdeps/x86_64/bits/link.h: Renamed to ...
32430         * sysdeps/x86/bits/link.h: This.
32431         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32432         * sysdeps/x86/bits/linkmap.h: This.
32433
32434         * sysdeps/i386/bits/endian.h: Removed.
32435         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32436         * sysdeps/x86/bits/endian.h: This.
32437
32438         * sysdeps/i386/bits/byteswap.h: Removed.
32439         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32440         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32441         * sysdeps/x86/bits/byteswap.h: This.
32442         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32443         * sysdeps/x86/bits/byteswap-16.h: This.
32444         * sysdeps/i386/Implies: Add x86.
32445         * sysdeps/x86_64/Implies: Likewise.
32446
32447 2012-05-30  David S. Miller  <davem@davemloft.net>
32448
32449         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32450         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32451         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32452         (FP_TRAPPING_EXCEPTIONS): Define.
32453         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32454         (FP_TRAPPING_EXCEPTIONS): Define.
32455         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32456         subnormals only when inexact has been signalled or underflow
32457         exceptions are enabled.
32458         (_FP_PACK_CANONICAL): Likewise.
32459
32460 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32461
32462         [BZ #14183]
32463         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32464         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32465
32466 2012-05-30  Richard Henderson  <rth@twiddle.net>
32467
32468         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32469         with #ifndef NOT_IN_libc.
32470
32471         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32472         marked to avoid plt entry.
32473
32474 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32475
32476         [BZ #14112]
32477         * Makeconfig (default-abi): New macro.
32478         (abi-includes): Likewise.
32479         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32480         $(abi-$(default-abi)-lib-soname) for soname if defined.
32481         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32482         abi-variants.
32483         * Makefile (installed-stubs): Likewise.
32484         * include/stubs-biarch.h: Removed.
32485         * scripts/lib-names.awk: Only handle one library at a time.
32486         * scripts/soversions.awk: Remove WORDSIZE support.
32487         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32488         entries.
32489         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32490         Removed.
32491         (syscall-list-default-condition): Likewise.
32492         (syscall-list-default-condition): Likewise.
32493         (syscall-list-includes): Likewise.
32494         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32495         syscall-list-* with abi-*.  Handle undefined abi-variants.
32496         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32497         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32498         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32499         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32500         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32501         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32502         Removed.
32503         (syscall-list-32-options): Likewise.
32504         (syscall-list-32-condition): Likewise.
32505         (syscall-list-64-options): Likewise.
32506         (syscall-list-64-condition): Likewise.
32507         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32508         macro.
32509         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32510         Renamed to ...
32511         (abi-*): This.
32512         (abi-64-ld-soname): New macro.
32513         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32514         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32515         Renamed to ...
32516         (abi-*): This.
32517         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32518         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32519
32520 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32521
32522         * sysdeps/unix/sysv/linux/kernel-features.h
32523         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32524         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32525         include <kernel-features.h>.
32526         [!__NR_ftruncate64]: Remove conditional code.
32527         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32528         [__NR_ftruncate64]: Make code unconditional.
32529         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32530         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32531         include <kernel-features.h>.
32532         [!__NR_ftruncate64]: Remove conditional code.
32533         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32534         [__NR_ftruncate64]: Make code unconditional.
32535         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32537         include <kernel-features.h>.
32538         [!__NR_ftruncate64]: Remove conditional code.
32539         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32540         [__NR_ftruncate64]: Make code unconditional.
32541         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32543         include <kernel-features.h>.
32544         [!__NR_ftruncate64]: Remove conditional code.
32545         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32546         [__NR_ftruncate64]: Make code unconditional.
32547         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32548
32549         * configure.in (libc_cv_fpie): Weaken to a compile test using
32550         LIBC_TRY_CC_OPTION.
32551         * configure: Regenerated.
32552
32553 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32554
32555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32559         Refreshed.
32560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32566         Refreshed.
32567
32568 2012-05-27  David S. Miller  <davem@davemloft.net>
32569
32570         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32571         (___Q_zero): New.
32572         (__Q_simulate_exceptions): Return void.  Change to simulate
32573         exceptions by writing into the %fsr.
32574         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32575         (__Qp_handle_exceptions): Likewise.
32576         (numbers): Delete.
32577         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32578         __Qp_handle_exceptions.
32579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32580         __Qp_handle_exceptions.
32581         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32582         as unused and give dummy FP_RND_NEAREST initializer.
32583         (FP_INHIBIT_RESULTS): Define.
32584         (___Q_simulate_exceptions): Update declaration.
32585         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32586         formatting.
32587         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32588         as unused and give dummy FP_RND_NEAREST initializer.
32589         (__Qp_handle_exceptions): Update declaration.
32590         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32591         formatting.
32592
32593 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32594
32595         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32596         the temporary FPU control word.
32597         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32598         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32599         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32600         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32601         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32602         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32603         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32604         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32605         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32606         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32607         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32608
32609 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32610
32611         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32612         fields.
32613
32614 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32615
32616         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32617         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32618         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32619         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32620         Likewise.
32621         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32622         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32623         Likewise.
32624
32625 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32626
32627         * po/h.po: Update from translation team.
32628
32629 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32630
32631         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32632
32633         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32634         handling of denormals.
32635         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32636         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32637         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32638         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32639         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32640         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32641         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32642         Likewise.
32643
32644 2012-05-26  Marek Polacek  <polacek@redhat.com>
32645
32646         [BZ #14152]
32647         * math/libm-test.inc (fma_test): Don't always expect underflow
32648         exception.
32649
32650 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32651
32652         [BZ #12416]
32653         * elf/tst-execstack.c: Include stackinfo.h.
32654         (do_test): Adjust test case to ensure that pthread_getattr_np
32655         behaviour remains the same after marking stack executable.
32656
32657 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32658
32659         * sysdeps/unix/sysv/linux/kernel-features.h
32660         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32661         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32662         kernel-features.h.
32663         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32664         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32665         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32666         kernel-features.h.
32667         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32668         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32669
32670 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32671
32672         * configure.in: Define the default includes to being none.
32673         * configure: Regenerated.
32674
32675 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32676
32677         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32678         * sysdeps/x86_64/setjmp.S: Likewise.
32679         * sysdeps/i386/bsd-setjmp.S: Likewise.
32680         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32681         * sysdeps/i386/setjmp.S: Likewise.
32682         * sysdeps/i386/__longjmp.S: Likewise.
32683         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32684         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32685
32686         * include/stap-probe.h: New file.
32687         * configure.in: Handle --enable-systemtap.
32688         * configure: Regenerated.
32689         * config.h.in (USE_STAP_PROBE): New #undef.
32690         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32691         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32692         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32693
32694 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32695
32696         [BZ #13717]
32697         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32698         to 2.4.0 where earlier.
32699         * sysdeps/unix/sysv/linux/configure: Regenerated.
32700         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32701         <kernel-features.h>.
32702         [__ASSUME_32BITUIDS]: Make code unconditional.
32703         [!__ASSUME_32BITUIDS]: Remove conditional code.
32704         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32705         <kernel-features.h>.
32706         [__ASSUME_32BITUIDS]: Make code unconditional.
32707         [!__ASSUME_32BITUIDS]: Remove conditional code.
32708         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32709         [__ASSUME_32BITUIDS]: Make code unconditional.
32710         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32711         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.c: Do not include
32720         <kernel-features.h>.
32721         [__ASSUME_32BITUIDS]: Make code unconditional.
32722         [!__ASSUME_32BITUIDS]: Remove conditional code.
32723         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32724         <kernel-features.h>.
32725         [__ASSUME_32BITUIDS]: Make code unconditional.
32726         [!__ASSUME_32BITUIDS]: Remove conditional code.
32727         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32728         <kernel-features.h>.
32729         [__ASSUME_32BITUIDS]: Make code unconditional.
32730         [!__ASSUME_32BITUIDS]: Remove conditional code.
32731         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32732         <kernel-features.h>.
32733         [__ASSUME_32BITUIDS]: Make code unconditional.
32734         [!__ASSUME_32BITUIDS]: Remove conditional code.
32735         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32736         <kernel-features.h>.
32737         [__ASSUME_32BITUIDS]: Make code unconditional.
32738         [!__ASSUME_32BITUIDS]: Remove conditional code.
32739         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32740         <kernel-features.h>.
32741         [__ASSUME_32BITUIDS]: Make code unconditional.
32742         [!__ASSUME_32BITUIDS]: Remove conditional code.
32743         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32744         <kernel-features.h>.
32745         [__ASSUME_32BITUIDS]: Make code unconditional.
32746         [!__ASSUME_32BITUIDS]: Remove conditional code.
32747         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32748         <kernel-features.h>.
32749         [__ASSUME_32BITUIDS]: Make code unconditional.
32750         [!__ASSUME_32BITUIDS]: Remove conditional code.
32751         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32752         <kernel-features.h>.
32753         [__NR_setresgid] (__setresgid): Do not declare.
32754         [__ASSUME_32BITUIDS]: Make code unconditional.
32755         [!__ASSUME_32BITUIDS]: Remove conditional code.
32756         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32757         <kernel-features.h>.
32758         [__NR_setresuid] (__setresuid): Do not declare.
32759         [__ASSUME_32BITUIDS]: Make code unconditional.
32760         [!__ASSUME_32BITUIDS]: Remove conditional code.
32761         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/i386/setgid.c: Do not include
32770         <kernel-features.h>.
32771         [__ASSUME_32BITUIDS]: Make code unconditional.
32772         [!__ASSUME_32BITUIDS]: Remove conditional code.
32773         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32774         <kernel-features.h>.
32775         [__ASSUME_32BITUIDS]: Make code unconditional.
32776         [!__ASSUME_32BITUIDS]: Remove conditional code.
32777         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32778         <kernel-features.h>.
32779         [__ASSUME_32BITUIDS]: Make code unconditional.
32780         [!__ASSUME_32BITUIDS]: Remove conditional code.
32781         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32782         <kernel-features.h>.
32783         [__ASSUME_32BITUIDS]: Make code unconditional.
32784         [!__ASSUME_32BITUIDS]: Remove conditional code.
32785         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32786         <kernel-features.h>.
32787         [__ASSUME_32BITUIDS]: Make code unconditional.
32788         [!__ASSUME_32BITUIDS]: Remove conditional code.
32789         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32790         <kernel-features.h>.
32791         [__ASSUME_32BITUIDS]: Make code unconditional.
32792         [!__ASSUME_32BITUIDS]: Remove conditional code.
32793         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32794         <kernel-features.h>.
32795         [__ASSUME_32BITUIDS]: Make code unconditional.
32796         [!__ASSUME_32BITUIDS]: Remove conditional code.
32797         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32798         <kernel-features.h>.
32799         [__ASSUME_32BITUIDS]: Make code unconditional.
32800         [!__ASSUME_32BITUIDS]: Remove conditional code.
32801         * sysdeps/unix/sysv/linux/kernel-features.h
32802         (__ASSUME_SETRESUID_SYSCALL): Remove.
32803         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32804         (__ASSUME_32BITUIDS): Likewise.
32805         (__ASSUME_LDT_WORKS): Likewise.
32806         (__ASSUME_O_DIRECTORY): Likewise.
32807         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32808         architecture but not kernel version.
32809         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32810         (__ASSUME_MMAP2_SYSCALL): Likewise.
32811         (__ASSUME_STAT64_SYSCALL): Likewise.
32812         (__ASSUME_IPC64): Likewise.
32813         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32814         <kernel-features.h>.
32815         [__ASSUME_32BITUIDS]: Make code unconditional.
32816         [!__ASSUME_32BITUIDS]: Remove conditional code.
32817         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32818         <kernel-features.h>.
32819         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32820         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32821         132096]: Remove conditional code.
32822         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32823         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32824         <kernel-features.h>.
32825         [__ASSUME_32BITUIDS]: Make code unconditional.
32826         [!__ASSUME_32BITUIDS]: Remove conditional code.
32827         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32828         <kernel-features.h>.
32829         [__ASSUME_32BITUIDS]: Make code unconditional.
32830         [!__ASSUME_32BITUIDS]: Remove conditional code.
32831         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32832         <kernel-features.h>.
32833         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32834         unconditional.
32835         (__setresgid): Do not declare.
32836         [__ASSUME_32BITUIDS]: Make code unconditional.
32837         [!__ASSUME_32BITUIDS]: Remove conditional code.
32838         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32839         <kernel-features.h>.
32840         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32841         unconditional.
32842         (__setresuid): Do not declare.
32843         [__ASSUME_32BITUIDS]: Make code unconditional.
32844         [!__ASSUME_32BITUIDS]: Remove conditional code.
32845         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32846         <kernel-features.h>.
32847         [__ASSUME_32BITUIDS]: Make code unconditional.
32848         [!__ASSUME_32BITUIDS]: Remove conditional code.
32849         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32850         <kernel-features.h>.
32851         [__ASSUME_32BITUIDS]: Make code unconditional.
32852         [!__ASSUME_32BITUIDS]: Remove conditional code.
32853
32854 2012-05-25  Richard Henderson  <rth@twiddle.net>
32855
32856         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32857         dl_hwcap to ifunc resolver.
32858         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32859         elf_ifunc_invoke.
32860         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32861         dl_hwcap to ifunc resolver.
32862         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32863
32864 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32865
32866         [BZ #14153]
32867         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32868         for |x| <= 2**-26, not 2**-57.
32869         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32870         exception.
32871
32872 2012-05-24  Jeff Law  <law@redhat.com>
32873
32874         * stdio-common/Makefile (tests): Add bug25.
32875         * stdio-common/bug25.c: New test.
32876
32877 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32878
32879         [BZ #13576]
32880         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32881         multiple of MALLOC_ALIGNMENT in size.
32882         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32883
32884 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32885
32886         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32887         Require >= 256.
32888         (FILENAME_MAX): Use macro-int-constant.
32889         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32890         (_IOFBF): Use macro-int-constant.
32891         (_IOLBF): Likewise.
32892         (_IONBF): Likewise.
32893         (SEEK_CUR): Likewise.
32894         (SEEK_END): Likewise.
32895         (SEEK_SET): Likewise.
32896         (TMP_MAX): Likewise.
32897         (EOF): Use macro-int-constant.  Require < 0.
32898         (NULL): Use macro-constant.  Require == 0.
32899         (stdin): Require type to be FILE *.
32900         (stdout): Likewise.
32901         (stderr): Likewise.
32902         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32903         macro-int-constant.
32904         (EXIT_SUCCESS): Likewise.
32905         (NULL): Use macro-constant.  Require == 0.
32906         (RAND_MAX): Use macro-int-constant.
32907         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32908         [C99-based standards] (strtof): Require function.
32909         [C99-based standards] (strtold): Likewise.
32910         [C99-based standards] (strtoll): Likewise.
32911         [C99-based standards] (strtoull): Likewise.
32912         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32913         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32914         [ISO || ISO99 || ISO11] (math.h): Likewise.
32915         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32916         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32917         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32918
32919 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32920
32921         [BZ #14132]
32922         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32923         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32924         * intl/dgettext.c (DCGETTEXT): Likewise.
32925         * intl/gettext.c (DCGETTEXT): Likewise.
32926         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32927         * posix/regex_internal.h (gettext): Likewise.
32928         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32929         Remove declaration.
32930         * include/argz.h (__argz_count_internal)
32931         (__argz_stringify_internal): Remove declaration.
32932         (__argz_count, __argz_stringify): Declare hidden proto.
32933         * intl/dcgettext.c: Remove use of INTDEF.
32934         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32935         * string/argz-stringify.c: Likewise.
32936         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32937         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32938         Declare hidden proto.
32939         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32940         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32941         Declare hidden proto.
32942         * include/stdio.h (__asprintf_internal): Don't declare.
32943         (__asprintf): Don't define as macro.  Declare hidden proto.
32944         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32945         (__fsetlocking): Declare hidden proto.
32946         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32947         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32948         hidden proto.
32949         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32950         (_IO_setlinebuf): Remove use of INTUSE.
32951         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32952         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32953         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32954         Remove declaration.
32955         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32956         (_IO_do_flush): Remove use of INTUSE.
32957         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32958         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32959         (_IO_adjust_column, _IO_least_wmarker)
32960         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32961         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32962         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32963         (_IO_default_doallocate, _IO_wdefault_doallocate)
32964         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32965         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32966         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32967         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32968         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32969         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32970         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32971         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32972         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32973         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32974         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32975         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32976         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32977         proto.
32978         (_IO_flush_all_internal, _IO_adjust_column_internal)
32979         (_IO_default_uflow_internal, _IO_default_finish_internal)
32980         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32981         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32982         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32983         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32984         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32985         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32986         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32987         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32988         (_IO_file_close_internal, _IO_file_close_it_internal)
32989         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32990         (_IO_file_init_internal, _IO_file_attach_internal)
32991         (_IO_file_fopen_internal, _IO_file_read_internal)
32992         (_IO_file_sync_internal, _IO_file_seek_internal)
32993         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32994         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32995         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32996         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32997         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32998         (_IO_list_all_internal, _IO_link_in_internal)
32999         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33000         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33001         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33002         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33003         (_IO_do_write_internal, _IO_padn_internal)
33004         (_IO_getline_info_internal, _IO_getline_internal)
33005         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33006         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33007         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33008         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33009         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33010         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33011         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33012         with libc_hidden_ver, remove use of INTUSE.
33013         * libio/genops.c: Likewise.
33014         * libio/freopen.c: Likewise.
33015         * libio/freopen64.c: Likewise.
33016         * libio/iofclose.c: Likewise.
33017         * libio/iofdopen.c: Likewise.
33018         * libio/iofflush.c: Likewise.
33019         * libio/iofflush_u.c: Likewise.
33020         * libio/iofgets.c: Likewise.
33021         * libio/iofgets_u.c: Likewise.
33022         * libio/iofopen.c: Likewise.
33023         * libio/iofopncook.c: Likewise.
33024         * libio/iofread.c: Likewise.
33025         * libio/iofread_u.c: Likewise.
33026         * libio/ioftell.c: Likewise.
33027         * libio/iofwrite.c: Likewise.
33028         * libio/iogetline.c: Likewise.
33029         * libio/iogets.c: Likewise.
33030         * libio/iogetwline.c: Likewise.
33031         * libio/iopadn.c: Likewise.
33032         * libio/iopopen.c: Likewise.
33033         * libio/ioseekoff.c: Likewise.
33034         * libio/ioseekpos.c: Likewise.
33035         * libio/iosetbuffer.c: Likewise.
33036         * libio/iosetvbuf.c: Likewise.
33037         * libio/ioungetc.c: Likewise.
33038         * libio/ioungetwc.c: Likewise.
33039         * libio/iovdprintf.c: Likewise.
33040         * libio/iovsprintf.c: Likewise.
33041         * libio/iovsscanf.c: Likewise.
33042         * libio/memstream.c: Likewise.
33043         * libio/obprintf.c: Likewise.
33044         * libio/oldfileops.c: Likewise.
33045         * libio/oldiofclose.c: Likewise.
33046         * libio/oldiofdopen.c: Likewise.
33047         * libio/oldiofopen.c: Likewise.
33048         * libio/oldiopopen.c: Likewise.
33049         * libio/oldstdfiles.c: Likewise.
33050         * libio/putc.c: Likewise.
33051         * libio/setbuf.c: Likewise.
33052         * libio/setlinebuf.c: Likewise.
33053         * libio/stdfiles.c: Likewise.
33054         * libio/strops.c: Likewise.
33055         * libio/vasprintf.c: Likewise.
33056         * libio/vscanf.c: Likewise.
33057         * libio/vsnprintf.c: Likewise.
33058         * libio/vswprintf.c: Likewise.
33059         * libio/wfiledoalloc.c: Likewise.
33060         * libio/wfileops.c: Likewise.
33061         * libio/wgenops.c: Likewise.
33062         * libio/wmemstream.c: Likewise.
33063         * libio/wstrops.c: Likewise.
33064         * libio/__fpurge.c: Likewise.
33065         * libio/__fsetlocking.c: Likewise.
33066         * assert/assert.c: Likewise.
33067         * debug/fgets_chk.c: Likewise.
33068         * debug/fgets_u_chk.c: Likewise.
33069         * debug/fread_chk.c: Likewise.
33070         * debug/fread_u_chk.c: Likewise.
33071         * debug/gets_chk.c: Likewise.
33072         * debug/obprintf_chk.c: Likewise.
33073         * debug/vasprintf_chk.c: Likewise.
33074         * debug/vdprintf_chk.c: Likewise.
33075         * debug/vsnprintf_chk.c: Likewise.
33076         * debug/vsprintf_chk.c: Likewise.
33077         * malloc/mtrace.c: Likewise.
33078         * misc/error.c: Likewise.
33079         * misc/syslog.c: Likewise.
33080         * stdio-common/asprintf.c: Likewise.
33081         * stdio-common/fxprintf.c: Likewise.
33082         * stdio-common/getw.c: Likewise.
33083         * stdio-common/isoc99_fscanf.c: Likewise.
33084         * stdio-common/isoc99_scanf.c: Likewise.
33085         * stdio-common/isoc99_vfscanf.c: Likewise.
33086         * stdio-common/isoc99_vscanf.c: Likewise.
33087         * stdio-common/isoc99_vsscanf.c: Likewise.
33088         * stdio-common/printf-prs.c: Likewise.
33089         * stdio-common/printf_fp.c: Likewise.
33090         * stdio-common/printf_fphex.c: Likewise.
33091         * stdio-common/printf_size.c: Likewise.
33092         * stdio-common/putw.c: Likewise.
33093         * stdio-common/scanf.c: Likewise.
33094         * stdio-common/sprintf.c: Likewise.
33095         * stdio-common/tmpfile.c: Likewise.
33096         * stdio-common/vfprintf.c: Likewise.
33097         * stdio-common/vfscanf.c: Likewise.
33098         * stdlib/strfmon_l.c: Likewise.
33099         * sunrpc/openchild.c: Likewise.
33100         * sunrpc/xdr_stdio.c: Likewise.
33101         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33102         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33103
33104 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33105
33106         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33107
33108         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33109         in the third column, to generate for the shared library an IFUNC
33110         that uses _dl_vdso_vsym.
33111         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33112         * Makeconfig (object-suffixes-noshared): New variable.
33113
33114         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33115         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33116         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33117         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33118
33119         [BZ #14132]
33120         * include/sys/time.h (__gettimeofday): Remove macro.
33121         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33122         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33123         Remove INTDEF.
33124         (__gettimeofday): Add libc_hidden_def.
33125         (gettimeofday): Add libc_hidden_weak.
33126         * sysdeps/mach/gettimeofday.c: Likewise.
33127         * sysdeps/posix/gettimeofday.c: Likewise.
33128         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33129         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33130         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33131         (__gettimeofday_internal): Remove strong_alias.
33132         (__gettimeofday): Add libc_hidden_def.
33133         (gettimeofday): Add libc_hidden_weak.
33134         * sysdeps/unix/syscalls.list (gettimeofday):
33135         Remove __gettimeofday_internal alias.
33136
33137 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33138             H.J. Lu  <hongjiu.lu@intel.com>
33139
33140         [BZ #12495]
33141         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33142         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33143         (largebin_index_32_big): New.
33144         (largebin_index): Use it for 16-byte alignment.
33145         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33146         correction with front_misalign.
33147
33148 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33149
33150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33152         Likewise.
33153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33154         Likewise.
33155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33156         Likewise.
33157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33158         Likewise.
33159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33160         Likewise.
33161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33162         Likewise.
33163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33164         Likewise.
33165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33166         Likewise.
33167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33168         Likewise.
33169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33170         Likewise.
33171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33172         Likewise.
33173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33174         Likewise.
33175
33176         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33177         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33178
33179 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33180
33181         [BZ #10846]
33182         [BZ #14036]
33183         * math/libm-test.inc (exp_test): Add test from bug 14036.
33184         (pow_test): Add test from bug 10846.
33185
33186         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33187         and other flags.
33188         (special_function): Do not include flags in test name.
33189         (parse_args): Likewise.
33190         * sysdeps/i386/fpu/libm-test-ulps: Update.
33191         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33192         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33193         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33195
33196         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33197         exceptions.
33198         * math/libm-test.inc ("Philosophy"): Update comment about
33199         exception testing.
33200         (UNDERFLOW_EXCEPTION): New macro.
33201         (UNDERFLOW_EXCEPTION_OK): Likewise.
33202         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33203         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33204         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33205         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33206         (INVALID_EXCEPTION_OK): Update value.
33207         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33208         (OVERFLOW_EXCEPTION_OK): Likewise.
33209         (IGNORE_ZERO_INF_SIGN): Likewise.
33210         (test_exceptions): Handle underflow exceptions.
33211         (acos_test): Update for underflow exception expectations.
33212         (cexp_test): Likewise.
33213         (clog_test): Likewise.
33214         (clog10_test): Likewise.
33215         (csqrt_test): Likewise.
33216         (ctan_test): Likewise.
33217         (ctanh_test): Likewise.
33218         (exp_test): Likewise.
33219         (exp10_test): Likewise.
33220         (exp2_test): Likewise.
33221         (expm1_test): Likewise.
33222         (fma_test): Likewise.
33223         (j0_test): Likewise.
33224         (jn_test): Likewise.
33225         (nexttoward_test): Likewise.
33226         (pow_test): Likewise.
33227         (scalbn_test): Likewise.
33228         (scalbln_test): Likewise.
33229         (tan_test): Likewise.
33230         (y1_test): Likewise.
33231         * sysdeps/i386/fpu/libm-test-ulps: Update.
33232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33233
33234 2012-05-23  David S. Miller  <davem@davemloft.net>
33235
33236         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33237         (__libc_sigaction): Remove unused local variables.
33238
33239 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33240
33241         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33242
33243 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33244
33245         mktime: avoid signed integer overflow
33246         * time/mktime.c (__mktime_internal): Do not mishandle the case
33247         where diff == INT_MIN.
33248
33249         mktime: simplify computation of average
33250         * time/mktime.c (ranged_convert): Use new time_t_avg function
33251         instead of rolling our own (probably-slower) code.
33252
33253         mktime: do not assume signed right shift propagates sign bit
33254         * time/mktime.c (isdst_differ): New static function.
33255         (__mktime_internal): No need to normalize tm_isdst now.
33256         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33257         tm_isdst values.
33258
33259         mktime: merge another wrapv change from gnulib
33260         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33261         from some compilers.
33262
33263         mktime: remove incorrect attempt at unusual arithmetics
33264         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33265         The code didn't really work on such machines anyway.
33266         (TYPE_MINIMUM): Assume two's complement.
33267         (twos_complement_arithmetic): Verify that long_int and time_t
33268         are two's complement (or unsigned, in the latter case).
33269
33270         mktime: check signed shifts on long_int and time_t, too
33271         * time/mktime.c (SHR): Check that shifts work as desired
33272         on the types long_int and time_t too, as SHR is used on
33273         such types.
33274
33275         mktime: do not assume 'long' is wide enough
33276         * time/mktime.c (verify): Move decl up.
33277         (long_int): New type.
33278         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33279         to remove assumption in the code that 'long' is wide enough to
33280         store year values.  This assumption is not true on x32 and on
33281         some non-glibc platforms.
33282
33283         mktime: merge wrapv change from gnulib
33284         * time/mktime.c (WRAPV): New macro.
33285         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33286         (guess_time_tm, __mktime_internal): Do not assume that signed
33287         integer overflow wraps around; modern compilers generate code
33288         where this assumption is no longer valid.
33289
33290 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33291
33292         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33293         Replace "jmp L(pseudo_end)" with "ret".
33294         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33295         Likewise.
33296
33297 2012-05-23  Andreas Jaeger  <aj@suse.de>
33298
33299         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33300         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33301
33302 2012-05-23  Andreas Jaeger  <aj@suse.de>
33303             Maximilian Attems  <max@stro.at>
33304
33305         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33306         New macros.
33307
33308 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33309
33310         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33311         code so that pseudo_end is just ret and the stack pointer is
33312         correct also for static library in error case.
33313
33314 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33315
33316         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33317         move to syscalls.list.
33318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33322
33323         * manual/install.texi (Running make install): Do not mention Linux
33324         kernel version for which pt_chown is not needed.
33325         (Linux): Do not mention problems with nscd with 2.0 kernels.
33326         * INSTALL: Regenerated.
33327
33328 2012-05-23  Andreas Jaeger  <aj@suse.de>
33329
33330         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33331         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33332         macro.
33333         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33334         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33335         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33336         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33337         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33338         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33339         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33340         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33341         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33342         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33343         * sysdeps/unix/sysv/linux/bits/in.h
33344         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33345
33346 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33347
33348         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33349         (PREPARE_VERSION): Just use assert instead, it will be elided
33350         under [NDEBUG] anyway.
33351
33352 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33353
33354         * sysdeps/unix/sysv/linux/Makefile: Include
33355         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33356         (sysdep_routines): Remove sysctl.
33357         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33358         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33359         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33360         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33361         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33362
33363 2012-05-22  Andreas Jaeger  <aj@suse.de>
33364
33365         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33366         that pseudo_end is just ret and the stack pointer is correct also
33367         for static library in error case.
33368
33369 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33370
33371         [BZ #14122]
33372         * nss/nsswitch.c (defconfig_entries): New variable.
33373         (__nss_database_lookup): Don't leak defconfig entries.
33374         (nss_parse_service_list): Don't leak on error paths.
33375         (free_database_entries): New function.
33376         (free_defconfig): New function.
33377         (free_mem): Move common code to free_database_entries.
33378
33379 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33380
33381         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33382         Add arch_prctl.
33383         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33384
33385         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33386         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33388         New macro.
33389         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33390         (INTERNAL_SYSCALL_TYPES): Likewise.
33391         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33392         (LOAD_REGS_TYPES_[1-6]): Likewise.
33393         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33394         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33395
33396 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33397
33398         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33399         copysignl for GLIBC_2_0.
33400         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33401         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33402         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33403         logbl for GLIBC_2_0.
33404         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33405         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33406
33407 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33408
33409         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33410         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33411
33412         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33413         Use "neg %eax".
33414
33415         * time/mktime.c: Update copyright years.
33416
33417 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33418
33419         mktime: merge comment-quoting-style change from gnulib
33420         * time/mktime.c: Quote 'like this' in comments.
33421         The GNU coding standards suggest that we no longer quote `like this',
33422         as "`" and "'" are typically rendered asymmetrically nowadays.
33423         The typical gnulib style is to quote 'like this' when quoting
33424         code, and "like this" when quoting English.
33425
33426         * time/mktime.c (compile-command): Add "-I.".
33427
33428         mktime: merge mktime-internal.h change from gnulib
33429         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33430
33431         mktime: merge time_r change from gnulib
33432         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33433
33434         mktime: merge DEBUG change from gnulib
33435         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33436         case system <time.h> has a #define.
33437
33438         mktime: merge <sys/types.h> change from gnulib
33439         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33440         since <time.t> is now guaranteed to define time_t.
33441
33442         mktime: merge HAVE_CONFIG_H change from gnulib
33443         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33444
33445 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33446
33447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33448         Use "neg %eax".
33449
33450         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33451         __rlim_t cast.
33452         (struct rusage): Use anonymous union to pad each field to
33453         __syscall_slong_t.
33454
33455 2012-05-21  David S. Miller  <davem@davemloft.net>
33456
33457         * Makefules (o-iterator): Remove .s cases.
33458         (compile-command.s): Delete.
33459         (COMPILE.s): Delete.
33460         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33461
33462 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33463
33464         * configure.in (libc_cv_predef_stack_protector): Only consider
33465         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33466         * configure: Regenerated.
33467
33468 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33469
33470         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33471         New macro.  Use R*LP on int and pointer.
33472         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33473         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33474         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33475         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33476
33477         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33478         [__WORDSIZE_TIME64_COMPAT32] instead of
33479         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33480         (struct utmp): Likewise.
33481         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33482         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33483         Renamed to ...
33484         (__WORDSIZE_TIME64_COMPAT32): This.
33485         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33486         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33487         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33488         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33489         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33490         (__WORDSIZE_TIME64_COMPAT32): New macro.
33491
33492 2012-05-21  Andreas Jaeger  <aj@suse.de>
33493
33494         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33495         only if [SHARED]. Add prototype for __wcschr_ia32.
33496
33497 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33498
33499         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33500         of %rbp unmolested in the jmp_buf while mangling the low bits.
33501         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33502         unmolested high bits of %rbp while demangling the low bits.
33503         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33504
33505 2012-05-21  Andreas Jaeger  <aj@suse.de>
33506
33507         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33508         * sunrpc/svc_simple.c: Use it for registerrpc.
33509         * sunrpc/xcrypt.c: Use it for passwd2des.
33510
33511         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33512
33513 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33514
33515         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33516         Don't define if [__SYSCALL_WORDSIZE != 32].
33517         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33518         New macro.
33519
33520 2012-05-21  Bruno Haible  <bruno@clisp.org>
33521             Andreas Jaeger  <aj@suse.de>
33522
33523         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33524         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33525         inptr and inend for must_buffer_ch.
33526         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33527         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33528         * stdio-common/Makefile (tests): Remove bug15.
33529         (bug15-ENV): Remove macro.
33530         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33531         anymore.
33532
33533 2012-05-19  Andreas Jaeger  <aj@suse.de>
33534             Roland McGrath  <roland@hack.frob.com>
33535
33536         * manual/contrib.texi: Completely rewritten. It contains now an
33537         alphabetical list of contributors and their contributions.
33538
33539 2012-05-21  Richard Henderson  <rth@twiddle.net>
33540
33541         * misc/getauxval.c (__getauxval): Use unsigned long int.
33542         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33543         (getauxval): Use unsigned long int.
33544
33545 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33546
33547         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33548
33549 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33550
33551         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33552         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33553         __alignof__ (long double).
33554
33555 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33556
33557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33558
33559 2012-05-20  Richard Henderson  <rth@twiddle.net>
33560
33561         * misc/getauxval.c: New file.
33562         * misc/sys/auxv.h: New file.
33563         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33564         (routines): Add getauxval.
33565         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33566         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33567         * elf/dl-sysdep.c (_dl_auxv): Remove.
33568         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33569         * elf/dl-support.c (_dl_auxv): New variable.
33570         (_dl_aux_init): Initialize it.
33571         * manual/startup.texi (Auxiliary Vector): New node.
33572         * sysdeps/generic/bits/hwcap.h: New file.
33573         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33574         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33575         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33576         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33577         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33578         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33580         Update.
33581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33584         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33589
33590 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33591
33592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33593
33594 2012-05-19  David S. Miller  <davem@davemloft.net>
33595
33596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33597
33598 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33599
33600         [BZ #14123]
33601         * math/s_ccosh.c: Include <float.h>
33602         (__ccosh): Avoid internal overflow calculating sinh and cosh
33603         values before multiplying by sin and cos values.
33604         * math/s_ccoshf.c: Likewise.
33605         * math/s_ccoshl.c: Likewise.
33606         * math/s_csin.c: Likewise.
33607         * math/s_csinf.c: Likewise.
33608         * math/s_csinl.c: Likewise.
33609         * math/s_csinh.c: Likewise.
33610         * math/s_csinhf.c: Likewise.
33611         * math/s_csinhl.c: Likewise.
33612         * math/libm-test.inc (ccos_test): Add more tests.
33613         (ccosh_test): Likewise.
33614         (csin_test): Likewise.
33615         (csinh_test): Likewise.
33616         * sysdeps/i386/fpu/libm-test-ulps: Update.
33617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33618
33619 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33620
33621         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33622         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33623
33624         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33625
33626 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33627
33628         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33629         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33630         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33631         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33632         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33633         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33634         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33635         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33636         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33637         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33638         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33639         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33640         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33641         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33642         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33643         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33644         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33645         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33646         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33647         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33648         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33649         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33650         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33651         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33652         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33653         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33654         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33655         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33656         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33657         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33658         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33659
33660 2012-05-18  Andreas Jaeger  <aj@suse.de>
33661
33662         * csu/.gitignore: Delete.
33663
33664 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33665
33666         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33667         (timex): Use __syscall_slong_t.
33668
33669 2012-05-18  Andreas Jaeger  <aj@suse.de>
33670             Carlos O'Donell  <carlos_odonell@mentor.com>
33671
33672         * manual/install.texi (Configuring and compiling): Update
33673         description about files modified in the source directory.
33674         * INSTALL: Regenerated.
33675
33676 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33677
33678         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33679         value.  Use "or" to set return value to -1.
33680         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33681         negate return value.
33682
33683 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33684
33685         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33686         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33687         failure if the compiler has Graphite support disabled.
33688         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33689         Likewise.
33690         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33691         (CFLAGS-memmove.c): Likewise.
33692         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33693         Likewise.
33694
33695 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33696
33697         * sysdeps/x86_64/x32/_itoa.h: New file.
33698
33699         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33700         getdents system call only if kernel and user dirents have the
33701         same d_ino and d_off.
33702
33703         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33704         LLONG_MAX != LONG_MAX.
33705         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33706         (_fitoa_word): Likewise.
33707
33708         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33709         years.
33710         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33711         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33712         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33713
33714         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33715         include <bits/wordsize.h>.  Check __x86_64__ instead of
33716         __WORDSIZE.
33717         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33718         if __x86_64__ is defined.  Use anonymous union on fpstate.
33719
33720         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33721         anonymous union.
33722
33723 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33724
33725         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33726         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33727         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33728         Refer to _rtld_local_ro instead of _rtld_global_ro.
33729         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33730         Likewise.
33731         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33732         Likewise.
33733         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33734         Likewise.
33735         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33736         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33737         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33738
33739         * sysdeps/powerpc/powerpc32/dl-machine.c
33740         (__elf_machine_runtime_setup) [PROF]: Don't reference
33741         _dl_prof_resolve.
33742
33743 2012-05-18  Andreas Jaeger  <aj@suse.de>
33744
33745         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33746         function only available for GCCs before 3.4 since GCC 3.4
33747         introduced a builtin.
33748         (lrint): Likewise.
33749         (llrintf): Likewise.
33750         (llrint): Likewise.
33751         (fmaxf): Likewise.
33752         (fmax): Likewise.
33753         (fminf): Likewise.
33754         (fmin): Likewise.
33755         (rint): Likewise.
33756         (rintf): Likewise.
33757         (nearbyint): Likewise.
33758         (nearbyintf): Likewise.
33759         (ceil): Likewise.
33760         (ceilf): Likewise.
33761         (floor): Likewise.
33762         (floorf): Likewise.
33763
33764 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33765
33766         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33767         on both fields and cast pointer to __syscall_ulong_t.
33768
33769         * bits/types.h (__fsword_t): New type.
33770         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33771         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33772         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33773         (__FSWORD_T_TYPE): Likewise.
33774         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33775         (__FSWORD_T_TYPE): Likewise.
33776         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33777         (__FSWORD_T_TYPE): Likewise.
33778         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33779         (__FSWORD_T_TYPE): Likewise.
33780         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33781         __SWORD_TYPE with __fsword_t.
33782         (statfs64): Likewise.
33783
33784 2012-05-17  David S. Miller  <davem@davemloft.net>
33785
33786         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33787
33788 2012-05-17  Andreas Jaeger  <aj@suse.de>
33789
33790         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33791         warning.
33792
33793 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33794
33795         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33796
33797 2012-05-17  Andreas Jaeger  <aj@suse.de>
33798
33799         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33800         when it is used.
33801
33802 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33803
33804         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33805
33806 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33807
33808         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33809         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33810
33811 2012-05-17  Andreas Jaeger  <aj@suse.de>
33812             Carlos O'Donell  <carlos_odonell@mentor.com>
33813
33814         [BZ #14059]
33815         * sysdeps/x86_64/multiarch/init-arch.h
33816         (bit_YMM_Usable): Rename to...
33817         (bit_AVX_Usable): ... this.
33818         (bit_FMA4_Usable): New macro.
33819         (bit_XMM_state): New macro.
33820         (bit_YMM_state): New macro.
33821         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33822         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33823         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33824         (CPUID_OSXSAVE): New macro.
33825         (CPUID_AVX): New macro.
33826         (CPUID_FMA4): New macro.
33827         (index_YMM_Usable): Rename to...
33828         (index_AVX_Usable): ... this.
33829         (HAS_AVX): Use HAS_ARCH_FEATURE.
33830         (HAS_FMA4): Likewise.
33831         (HAS_YMM_USABLE): Remove.
33832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33833         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33834         are present.
33835         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33836         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33837         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33838         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33839         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33840
33841 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33842
33843         * math/libm-test.c: Support platforms without multiple rounding modes.
33844         * math/bug-nextafter.c: Support platforms without FP exceptions.
33845         * math/bug-nexttoward.c: Likewise.
33846         * math/test-fenv.c: Likewise.
33847         * math/test-misc.c: Likewise.
33848         * stdlib/bug-getcontext.c: Likewise.
33849
33850 2012-05-17  Andreas Jaeger  <aj@suse.de>
33851
33852         * manual/examples/search.c (critter_cmp): Change signature to
33853         avoid warnings.
33854         * manual/string.texi (Collation Functions): Likewise.
33855
33856 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33857
33858         * bits/types.h: Fold copyright years.
33859         * bits/typesizes.h: Likewise.
33860         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33861         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33862         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33863         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33864         * time/time.h: Likewise.
33865
33866 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33867
33868         [BZ #208]
33869         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33870         in instead of returning them.  Return void.
33871         (__libc_mallinfo): Accumulate over all arenas.
33872         (__malloc_stats): Adjust for change in int_mallinfo interface.
33873
33874 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33875
33876         [BZ #10375]
33877         * configure.in (NM): Add AC_CHECK_TOOL for it.
33878         (libc_extra_cflags): New substituted variable.
33879         Check for -fstack-protector being used implicitly.
33880         * configure: Regenerated.
33881         * config.make.in (config-extra-cflags): New variable,
33882         gets @libc_extra_cflags@.
33883         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33884
33885         [BZ #10375]
33886         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33887         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33888         * configure: Regenerated.
33889         * config.make.in (CPPUNDEFS): New substituted variable.
33890         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33891         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33892         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33893
33894 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33895
33896         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33897         (mq_attr): Use __syscall_slong_t.
33898
33899 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33900
33901         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33902         Check __x86_64__ instead of __WORDSIZE.
33903         (_STAT_VER_LINUX): Likewise.
33904         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33905         __syscall_ulong_t and __syscall_slong_t.
33906         (stat64): Likewise.
33907
33908 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33909
33910         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33911
33912 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33913
33914         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33915
33916 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33917
33918         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33919         __syscall_ulong_t.
33920
33921         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33922         include <bits/wordsize.h>.  Check __x86_64__ instead of
33923         __WORDSIZE.
33924         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33925         defined.
33926         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33927
33928         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33929         include <bits/wordsize.h>.  Check __x86_64__ instead of
33930         __WORDSIZE.
33931         (user_regs_struct): Use "__extension__ unsigned long long"
33932         instead of "unsigned long" if __x86_64__ is defined.
33933         (user): Likewise.  Pad after pointer field if __ILP32__ is
33934         defined.
33935
33936 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33937
33938         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33939         versions 5 to 9.
33940         * configure: Regenerated.
33941         * manual/install.texi (texinfo): Increase version requirement to
33942         4.5 or later.
33943         * INSTALL: Regenerated.
33944
33945         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33946
33947 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33948
33949         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33950
33951         * sysdeps/x86_64/x32/ffs.c: New file.
33952
33953         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33954         __syscall_ulong_t.
33955         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33956         defined.  Use __syscall_ulong_t.
33957         (shminfo): Use __syscall_ulong_t.
33958         (shm_info): Likewise.
33959
33960         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33961         __syscall_ulong_t.
33962
33963         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33964         <bits/wordsize.h>.
33965         (msgqnum_t): Use __syscall_ulong_t.
33966         (msglen_t): Likewise.
33967         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33968         __syscall_ulong_t.
33969
33970         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33971         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33972
33973         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33974
33975         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33976         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33977
33978         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33979         __syscall_slong_t.
33980
33981         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33982         include <bits/wordsize.h>.  Check __x86_64__ instead of
33983         __WORDSIZE.
33984
33985         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33986         "unsigned long long int" if __x86_64__ is defined.
33987         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33988
33989         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33990         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33991         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33992
33993         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33994         <stdint.h>.
33995         (GET_PC): Cast to uintptr_t first.
33996         (GET_FRAME): Likewise.
33997         (GET_STACK): Likewise.
33998
33999         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34000         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34001         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34002         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34003         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34004         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34005         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34006         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34007         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34008         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34009         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34010         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34011         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34012         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34013         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34014         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34015         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34016         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34017         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34018         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34019         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34020         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34021         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34022         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34023         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34024         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34025         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34026         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34027         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34028
34029 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34030
34031         * Makerules (+depfiles): Also collect depfiles from .oS in
34032         $(extra-objs).
34033         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34034         .oS, $(libnldbl-routines)).
34035
34036         * Makerules (native-compile-mkdep-flags): Define.
34037         * sunrpc/Makefile (extra-objs): Add $(addprefix
34038         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34039         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34040         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34041         calling $(make-target-directory).
34042
34043 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34044
34045         * bits/types.h (__snseconds_t): Removed.
34046         * time/time.h (struct timespec): Replace __snseconds_t with
34047         __syscall_slong_t.
34048         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34049         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34050         Likewise.
34051         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34052         (__SNSECONDS_T_TYPE): Likewise.
34053         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34054         (__SNSECONDS_T_TYPE): Likewise.
34055         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34056         (__SNSECONDS_T_TYPE): Likewise.
34057
34058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34059
34060         * sysdeps/mach/hurd/bits/typesizes.h
34061         (__SYSCALL_SLONG_TYPE): New macro.
34062         (__SYSCALL_ULONG_TYPE): Likewise.
34063
34064 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34065
34066         * bits/types.h (__syscall_slong_t): New type.
34067         (__syscall_ulong_t): Likewise.
34068
34069         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34070         (__SYSCALL_ULONG_TYPE): Likewise.
34071         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34072         (__SYSCALL_SLONG_TYPE): Likewise.
34073         (__SYSCALL_ULONG_TYPE): Likewise.
34074         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34075         (__SYSCALL_SLONG_TYPE): Likewise.
34076         (__SYSCALL_ULONG_TYPE): Likewise.
34077         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34078         (__SYSCALL_SLONG_TYPE): Likewise.
34079         (__SYSCALL_ULONG_TYPE): Likewise.
34080
34081 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34082
34083         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34084         Add sigaltstack-offsets.sym.
34085         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34086         <sigaltstack-offsets.h>.
34087         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34088         longjmp_msg pointer.
34089         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34090         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34091         signal stack.
34092         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34093
34094 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34095
34096         * elf/stackguard-macros.h: Remove file.
34097         * sysdeps/generic/stackguard-macros.h: New file.
34098         * sysdeps/i386/stackguard-macros.h: Likewise.
34099         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34100         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34101         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34102         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34103         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34104         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34105         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34106         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34107         <elf/stackguard-macros.h>.
34108
34109         [BZ #14109]
34110         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34111         __aligned__ in attribute.
34112         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34113         (gregset_t): Likewise.
34114
34115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34116
34117         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34118         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34119         * sysdeps/x86_64/x32/Implies-after: New file.
34120
34121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34122
34123         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34124         and access return value for _dl_profile_fixup.  Use R10_LP to
34125         load frame size.
34126
34127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34128
34129         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34130
34131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34132
34133         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34134         * sysdeps/x86_64/x32/sysdep.h: New file.
34135
34136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34137
34138         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34139         * sysdeps/x86_64/setjmp.S: Likewise.
34140
34141 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34142
34143         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34144         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34145         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34146         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34147         remove unused global constant.
34148
34149 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34150
34151         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34152         include of <not-cancel.h>.
34153
34154 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34155
34156         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34157
34158 2012-05-15  Jeff Law  <law@redhat.com>
34159             Andreas Jaeger  <aj@suse.de>
34160
34161         [BZ #13594]
34162         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34163         out from...
34164         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34165         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34166         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34167         code changing __hst_map_handle.map.
34168
34169 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34170
34171         * configure.in (sysnames): Look for Implies-before and Implies-after
34172         files.
34173         * configure: Regenerated.
34174
34175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34176
34177         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34178         8-byte data alignment with LP_SIZE alignment.
34179
34180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34181
34182         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34183         into R10_LP.
34184
34185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34186
34187         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34188
34189 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34190
34191         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34192         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34193         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34194         Likewise.
34195         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34196
34197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34198
34199         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34200         (stackinfo_sub_sp): Likewise.
34201
34202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34203
34204         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34205         RAX_LP.
34206
34207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34208
34209         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34210         into R*_LP.
34211
34212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34213
34214         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34215         sizes into R*_LP.
34216
34217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34218
34219         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34220
34221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34222
34223         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34224         into R11_LP and load __x86_64_shared_cache_size_half into
34225         R8_LP.
34226
34227 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34228
34229         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34230         R8_LP.
34231
34232 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34233
34234         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34235         logb for POWER7.
34236         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34237         logbf for POWER7.
34238         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34239         logbl for POWER7.
34240         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34241         powerpc32/power7/fpu/s_logb.c via #include.
34242         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34243         powerpc32/power7/fpu/s_logbf.c via #include.
34244         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34245         powerpc32/power7/fpu/s_logbl.c via #include.
34246
34247 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34248
34249         * README.libm: Remove file.
34250
34251 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34252
34253         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34254         count for x32.  Use R*_LP and omit operand-size suffix.
34255
34256 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34257
34258         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34259         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34260         * sysdeps/x86_64/x32/shlib-versions: New file.
34261
34262 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34263
34264         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34265         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34266         Use _dl_fatal_printf instead.
34267
34268 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34269
34270         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34271         set if not set by the user.  Do not allow for being unset.
34272         * sysdeps/unix/sysv/linux/configure: Regenerated.
34273
34274 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34275
34276         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34277         the `q' suffix from lea and replace .quad with ASM_ADDR.
34278
34279 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34280
34281         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34282         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34283         instead of $17.
34284         (PTR_DEMANGLE): Likewise.
34285
34286 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34287
34288         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34289         (LP_OP): Likewise.
34290         (ASM_ADDR): Likewise.
34291         (RAX_LP): Likewise.
34292         (RBP_LP): Likewise.
34293         (RBX_LP): Likewise.
34294         (RCX_LP): Likewise.
34295         (RDI_LP): Likewise.
34296         (RSI_LP): Likewise.
34297         (RSP_LP): Likewise.
34298         (R8_LP): Likewise.
34299         (R9_LP): Likewise.
34300         (R10_LP): Likewise.
34301         (R10_LP): Likewise.
34302         (R11_LP): Likewise.
34303         (R12_LP): Likewise.
34304         (R13_LP): Likewise.
34305         (R14_LP): Likewise.
34306         (R15_LP): Likewise.
34307
34308 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34309
34310         * sysdeps/x86_64/x32/dl-machine.h: New file.
34311
34312 2012-05-14  Andreas Jaeger  <aj@suse.de>
34313
34314         * manual/Makefile (subdir): Remove export of subdir.
34315         (all): Remove target.
34316         (.PHONY): Remove all from list.
34317         (mkinstalldirs): Remove.
34318         (.PHONY): Remove installdirs from list.
34319         ($(inst_infodir)/libc.info): Use make-target-directory.
34320         (installdirs): Remove.
34321         (subdir_%): Remove.
34322         (glibc-targets): Remove.
34323         (lib): Remove.
34324         (stubs): Remove.
34325         ($(objpfx)stubs ../po/manual.pot): Remove.
34326         ($(objpfx)stamp%): Remove.
34327         (make-target-directory): Remove.
34328         (subdir_install): Remove.
34329         (routines): Remove.
34330         (aux): Remove.
34331         (sources): Remove.
34332         (objects): Remove.
34333         (headers): Remove.
34334
34335         [BZ #13750]
34336         * manual/.gitignore: Remove, it's not needed anymore.
34337         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34338         all files in it.
34339         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34340         directory.
34341         (texis): Renamed to $(objpfx)texis.
34342         (texis-path): New, contains path to generated files.
34343         (chapters.%): Use texis-path for complete path, add extra argument
34344         libc-texinfo.sh.
34345         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34346         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34347         (summary,texi, stamp-summary): Use complete path of
34348         files. Generate files in build dir.
34349         (dir-add.texi): Build in build dir.
34350         (libm-err.texi,stamp-libm-err): Likewise.
34351         (version.texi, stamp-version): Likewise.
34352         (.%c.texi): Likewise.
34353         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34354         (mostlyclean): Remove target.
34355         (realclean): Remove target.
34356         (generated): Add new variable with contents from mostlyclean and
34357         realclean, remove entries duplicated in common-mostlyclean, add
34358         stamp-libm-err and stamp-version.
34359         (generated-dirs): Add libc directory.
34360         ($(inst_infodir)/libc.info): Install files from build dir.
34361
34362         * manual/install.texi (Configuring and compiling): Adjust since
34363         the info files are not part of the tar ball anymore.
34364
34365 2012-05-14  Andreas Jaeger  <aj@suse.de>
34366
34367         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34368         variable.
34369
34370 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34371
34372         [BZ #13717]
34373         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34374         to 2.2.0 where earlier.
34375         * sysdeps/unix/sysv/linux/configure: Regenerated.
34376         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34377         Remove conditional code.
34378         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34379         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34380         Remove conditional code.
34381         [!__NR_lchown]: Likewise.
34382         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34383         [__NR_lchown]: Likewise.
34384         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34385         comment referencing __ASSUME_LCHOWN_SYSCALL.
34386         * sysdeps/unix/sysv/linux/i386/sigaction.c
34387         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34388         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34389         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34390         Remove conditional code.
34391         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34392         (__protocol_available): Remove #if 0 code.
34393         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34394         conditional code.
34395         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34396         * sysdeps/unix/sysv/linux/kernel-features.h
34397         (__ASSUME_GETCWD_SYSCALL): Don't define.
34398         (__ASSUME_REALTIME_SIGNALS): Likewise.
34399         (__ASSUME_PREAD_SYSCALL): Likewise.
34400         (__ASSUME_PWRITE_SYSCALL): Likewise.
34401         (__ASSUME_POLL_SYSCALL): Likewise.
34402         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34403         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34404         non-SPARC.
34405         (__ASSUME_SIOCGIFNAME): Don't define.
34406         (__ASSUME_MSG_NOSIGNAL): Likewise.
34407         (__ASSUME_SENDFILE): Define unconditionally.
34408         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34409         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34410         conditional code.
34411         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34412         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34413         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34414         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34415         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34416         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34417         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34419         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34420         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34422         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34423         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34425         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34426         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34428         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34429         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34431         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34432         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34434         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34435         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34437         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34438         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34440         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34441         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34442         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34443         Remove conditional code.
34444         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34445         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34446         Remove conditional code.
34447         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34448         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34449         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34450         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34451         Remove conditional code.
34452         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34453         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34454         Remove conditional code.
34455         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34456         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34457         Remove conditional code.
34458         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34459         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34460         Remove conditional code.
34461         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34462         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34463         Remove conditional code.
34464         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34465         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34466         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34467         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34468         * sysdeps/unix/sysv/linux/sigaction.c
34469         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34470         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34471         * sysdeps/unix/sysv/linux/sigpending.c
34472         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34473         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34474         * sysdeps/unix/sysv/linux/sigprocmask.c
34475         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34476         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34477         * sysdeps/unix/sysv/linux/sigsuspend.c
34478         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34479         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34480         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34481         (__libc_missing_rt_sigs): Remove.
34482         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34483         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34484         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34485         Remove conditional code.
34486         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34487         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34488         return 1.
34489         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34490         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34491         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34492         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34493
34494 2012-05-14  Andreas Jaeger  <aj@suse.de>
34495
34496         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34497         it's not used in glibc.
34498         (__coshm1): Likewise.
34499         (__acosh1p): Likewise.
34500         (__sgn): Likewise.
34501
34502         * manual/string.texi (Copying and Concatenation): Add missing
34503         variable in concat example.
34504         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34505
34506 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34507
34508         [BZ #14103]
34509         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34510         __builtin_clzl with __builtin_clzll.
34511
34512 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34513
34514         [BZ #14104]
34515         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34516         libc_freeres_ptr.
34517
34518 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34519
34520         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34521         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34522         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34523         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34524
34525 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34526
34527         * NEWS: Update ia64 info.
34528
34529 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34530
34531         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34532         used as bcopy.
34533
34534 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34535
34536         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34537         * sysdeps/unix/syscalls.list (dup3): Likewise.
34538         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34539         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34540
34541 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34542
34543         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34544         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34545
34546 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34547
34548         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34549         thread pointer.
34550         (TLS_IE): Use mov/add instead of movq/addq to load thread
34551         pointer.
34552         (TLS_GD_PREFIX): New.
34553         (TLS_GD): Use it.
34554
34555 2012-05-11  David S. Miller  <davem@davemloft.net>
34556
34557         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34558         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34559         (_FPU_SETCW): Likewise.
34560
34561 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34562
34563         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34564         is 32-byte aligned.
34565
34566 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34567
34568         [BZ #11837]
34569         * iconvdata/gb18030.c: Update tables.
34570         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34571         characters specially.
34572         (BODY for TO_LOOP): Add encoding of missing ranges.
34573
34574 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34575
34576         [BZ #13673]
34577         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34578         * sysdeps/mach/hurd/dup3.c: Likewise.
34579         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34580         * sysdeps/powerpc/memmove.c:: Likewise.
34581
34582 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34583
34584         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34585         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34586
34587 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34588
34589         * elf/elf.h (R_X86_64_RELATIVE64): New.
34590         (R_X86_64_NUM): Updated.
34591         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34592         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34593         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34594         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34595         tst-quad1pie tst-quad2pie
34596         (modules-names): Add tst-quadmod1 tst-quadmod2.
34597         ($(objpfx)tst-quad1): New dependency.
34598         ($(objpfx)tst-quad2): Likewise.
34599         ($(objpfx)tst-quad1pie): Likewise.
34600         ($(objpfx)tst-quad2pie): Likewise.
34601         * sysdeps/x86_64/tst-quad1.c: New file.
34602         * sysdeps/x86_64/tst-quad1pie.c: New file.
34603         * sysdeps/x86_64/tst-quad2.c: Likewise.
34604         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34605         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34606         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34607         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34608         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34609
34610 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34611
34612         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34613         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34614         * streams/stropts.h (t_scalar_t): Define type.
34615
34616         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34617         (_PATH_PRESERVE): Set to "/var/lib".
34618         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34619
34620         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34621         instead of int.
34622
34623         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34624         if __dir_mkfile succeeded.
34625
34626         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34627         checking for _hurd_dtablesize.  Unlock it right after having
34628         finished _hurd_dtable allocation.
34629
34630 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34631
34632         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34633         * sysdeps/mach/hurd/configure: Regenerated.
34634         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34635         special-casing to...
34636         * sysdeps/gnu/configure.in: ... this new file.
34637         * sysdeps/unix/sysv/linux/configure: Regenerated.
34638         * sysdeps/gnu/configure: New generated file.
34639
34640         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34641         for Linux: use nsec instead of usec, as well as:
34642         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34643         members of type struct timespec.
34644         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34645         New macros.
34646         (struct stat64): Likewise.
34647         (_STATBUF_ST_NSEC): New macro.
34648         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34649
34650         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34651         __strtoul_internal rather than strtoul.
34652
34653 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34654
34655         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34656         and reject them.
34657
34658 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34659
34660         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34661         which preserves existing values.
34662         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34663
34664 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34665
34666         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34667         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34668         greater than FD_SETSIZE.
34669
34670 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34671
34672         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34673         allocated, call __vm_protect to finish enabling the existing space, and
34674         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34675         allocate the remainder.
34676
34677 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34678
34679         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34680         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34681
34682 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34683
34684         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34685         sysdeps/mach/hurd/readlink.c.
34686
34687         * posix/tst-sysconf.c (posix_options): Only use
34688         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34689         _POSIX_SYNCHRONIZED_IO when they are defined
34690         * sysdeps/mach/hurd/bits/posix_opt.h:
34691         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34692         (_XOPEN_REALTIME): Undefine macro.
34693         (_XOPEN_REALTIME_THREADS): Undefine macro.
34694         (_XOPEN_SHM): Undefine macro.
34695         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34696         macro to -1.
34697         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34698         macro to -1.
34699         (_POSIX_ASYNC_IO): Undefine macro.
34700         (_POSIX_PRIORITIZED_IO): Undefine macro.
34701         (_POSIX_SPIN_LOCKS): Define macro to -1.
34702
34703         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34704         SA_NODEFER, SA_RESETHAND.
34705         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34706         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34707         F_DUPFD_CLOEXEC.
34708
34709 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34710
34711         * elf/Makefile (pldd-modules): Define unconditionally.
34712
34713 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34714
34715         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34716
34717 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34718
34719         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34720         Return ENOENT when name is empty.
34721         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34722
34723 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34724
34725         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34726
34727         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34728
34729 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34730
34731         Fix mlock in all cases except non-readable pages.
34732         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34733         instead of VM_PROT_ALL as parameter to __vm_wire function.
34734
34735         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34736         (__mkdir): When path is `/', just fail with EEXIST.
34737         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34738
34739 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34740
34741         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34742         <sys/uio.h> (for writev).
34743         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34744         and <sys/param.h> (for MIN).
34745
34746 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34747
34748         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34749         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34750         if interrupted.
34751
34752 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34753
34754         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34755         Depend on against $(link-rpcuserlibs).
34756
34757 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34758
34759         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34760         (__libc_stack_end): Do not use attribute_relro.
34761         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34762         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34763         to libthread-provided value.
34764         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34765         attribute_relro.
34766
34767 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34768
34769         [BZ #3748]
34770         * bits/libc-lock.h (__libc_once_get): New macro.
34771         * sysdeps/mach/bits/libc-lock.h: Likewise.
34772         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34773         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34774         instead of using implementation details.
34775
34776         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34777         * libio/freopen.c: Likewise.
34778         * libio/freopen64.c: Likewise.
34779         * misc/syslog.c: Likewise.
34780         * nscd/connections.c: Likewise.
34781         * nscd/netgroupcache.c: Likewise.
34782         * sysdeps/posix/getcwd.c: Likewise.
34783
34784 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34785
34786         * math/w_ilogbf.c: Add #include <limits.h>.
34787
34788 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34789
34790         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34791         path instead of returning without unlocking.
34792
34793         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34794         immediate-write ioctls.
34795         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34796
34797 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34798
34799         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34800         __builtin_frame_address instead of making assumptions about the
34801         location of the return address relative to DATA.  Force early load of
34802         the return address.
34803         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34804         __builtin_frame_address.
34805
34806         dup3 for GNU Hurd.
34807         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34808         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34809         implement dup3 and do some further code clean-ups.
34810         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34811         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34812
34813 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34814
34815         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34816
34817         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34818         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34819         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34820         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34821         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34822         d->port.lock.
34823
34824         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34825         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34826         when handler == SIG_ERR, not when handler != SIG_ERR.
34827
34828 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34829
34830         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34831         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34832         definitions.
34833
34834         accept4 for GNU Hurd.
34835         * include/sys/socket.h (__libc_accept4): New prototype.
34836         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34837         to implement __libc_accept4.
34838         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34839         __libc_accept4.
34840         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34841
34842         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34843         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34844         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34845         signal-defines.sym.
34846
34847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34848
34849         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34850
34851 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34852
34853         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34854         assertion on O_CLOEXEC flag.
34855         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34856         * hurd/intern-fd.c: Likewise.
34857         * hurd/port2fd.c: Likewise.
34858
34859 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34860
34861         [BZ #3906]
34862         * bits/in.h (IPV6_PKTINFO): Define new macro.
34863         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34864
34865 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34866
34867         [BZ #13954]
34868         [BZ #13955]
34869         [BZ #13956]
34870         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34871         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34872         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34873         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34874         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34875         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34876         * math/libm-test.inc (logb_test) : Additional logb tests.
34877
34878 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34879             Andreas Jaeger  <aj@suse.de>
34880
34881         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34882         * configure: Regenerated.
34883         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34884         * config.make.in (link-obsolete-rpc): New substituted variable.
34885         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34886         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34887         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34888         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34889         so that libc.a contains the symbols.
34890         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34891         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34892         * sunrpc/auth_none.c: Likewise.
34893         * sunrpc/auth_unix.c: Likewise.
34894         * sunrpc/authdes_prot.c: Likewise.
34895         * sunrpc/authuxprot.c: Likewise.
34896         * sunrpc/clnt_gen.c: Likewise.
34897         * sunrpc/clnt_perr.c: Likewise.
34898         * sunrpc/clnt_raw.c: Likewise.
34899         * sunrpc/clnt_simp.c: Likewise.
34900         * sunrpc/clnt_tcp.c: Likewise.
34901         * sunrpc/clnt_udp.c: Likewise.
34902         * sunrpc/clnt_unix.c: Likewise.
34903         * sunrpc/des_crypt.c: Likewise.
34904         * sunrpc/des_soft.c: Likewise.
34905         * sunrpc/get_myaddr.c: Likewise.
34906         * sunrpc/key_call.c: Likewise.
34907         * sunrpc/key_prot.c: Likewise.
34908         * sunrpc/netname.c: Likewise.
34909         * sunrpc/pm_getmaps.c: Likewise.
34910         * sunrpc/pm_getport.c: Likewise.
34911         * sunrpc/pmap_clnt.c: Likewise.
34912         * sunrpc/pmap_prot.c: Likewise.
34913         * sunrpc/pmap_prot2.c: Likewise.
34914         * sunrpc/pmap_rmt.c: Likewise.
34915         * sunrpc/publickey.c: Likewise.
34916         * sunrpc/rpc_cmsg.c: Likewise.
34917         * sunrpc/rpc_common.c: Likewise.
34918         * sunrpc/rpc_dtable.c: Likewise.
34919         * sunrpc/rpc_prot.c: Likewise.
34920         * sunrpc/rpc_thread.c: Likewise.
34921         * sunrpc/rtime.c: Likewise.
34922         * sunrpc/svc.c: Likewise.
34923         * sunrpc/svc_auth.c: Likewise.
34924         * sunrpc/svc_raw.c: Likewise.
34925         * sunrpc/svc_run.c: Likewise.
34926         * sunrpc/svc_tcp.c: Likewise.
34927         * sunrpc/svc_udp.c: Likewise.
34928         * sunrpc/svc_unix.c: Likewise.
34929         * sunrpc/svcauth_des.c: Likewise.
34930         * sunrpc/xcrypt.c: Likewise.
34931         * sunrpc/xdr.c: Likewise.
34932         * sunrpc/xdr_array.c: Likewise.
34933         * sunrpc/xdr_float.c: Likewise.
34934         * sunrpc/xdr_intXX_t.c: Likewise.
34935         * sunrpc/xdr_mem.c: Likewise.
34936         * sunrpc/xdr_rec.c: Likewise.
34937         * sunrpc/xdr_ref.c: Likewise.
34938         * sunrpc/xdr_sizeof.c: Likewise.
34939         * sunrpc/xdr_stdio.c: Likewise.
34940
34941 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34942
34943         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34944         change.  Update copyright years.
34945
34946 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34947
34948         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34949
34950 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34951             Joseph Myers  <joseph@codesourcery.com>
34952             Paul Pluzhnikov  <ppluzhnikov@google.com>
34953
34954         [BZ #14012]
34955         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34956         requiring rpcgen.
34957         [cross-compiling] (extra-libs): Likewise.
34958         [cross-compiling] (extra-libs-others): Likewise.
34959         [cross-compiling] (librpcsvc-routines): Likewise.
34960         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34961         [cross-compiling] (omit-deps): Likewise.
34962         (sunrpc-CPPFLAGS): New variable.
34963         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34964         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34965         (cross-rpcgen-objs): New variable.
34966         (extra-objs): Append $(cross-rpcgen-objs).
34967         ($(cross-rpcgen-objs)): New rule.
34968         ($(objpfx)cross-rpcgen): Likewise.
34969         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34970         comment.
34971         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34972         ($(objpfx)x%.stmp): Likewise.
34973         * sunrpc/proto.h [IS_IN_build] (_): Define.
34974         [IS_IN_build] (_libc_intl_domainname): Likewise.
34975
34976 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34977
34978         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34979         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34980         and R_X86_64_TPOFF64.
34981
34982 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34983
34984         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34985         sysdeps/unix/sysv/syscalls.list.
34986         (stime): Likewise.
34987         (utime): Likewise.
34988         * sysdeps/unix/sysv/syscalls.list: Remove file.
34989
34990 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34991
34992         [BZ #3440]
34993         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34994         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34995         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34996         (__LC_IDENTIFICATION): Make these macros useful in #if
34997         expressions, as required by C99.
34998
34999 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35000
35001         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35002         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35003         after this.
35004
35005 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35006
35007         * stdlib/longlong.h: Updated from GCC.
35008
35009 2012-05-09  Andreas Jaeger  <aj@suse.de>
35010
35011         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35012         default is first entry.
35013         (run_mode): Set type.
35014         (main): Remove informal message about syslog.
35015         (options): Fix typo.
35016
35017         [BZ #14053]
35018         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35019         to asm.
35020         (lrint): Likewise.
35021         (llrintf): Likewise.
35022         (llrint): Likewise.
35023         (rint): Likewise.
35024         (rintf): Likewise.
35025         (nearbyint): Likewise.
35026         (nearbyintf): Likewise.
35027
35028 2012-05-09  Andreas Jaeger  <aj@suse.de>
35029             Pedro Alves  <palves@redhat.com>
35030
35031         * nscd/nscd.c (run_mode): Use enum.
35032         (main): Cleanup coding style issue.
35033
35034 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35035             Andreas Jaeger  <aj@suse.de>
35036
35037         * nscd/nscd.c (go_background): Replaced with...
35038         (run_mode): ... this.
35039         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35040         (options): Add -F --foreground.
35041         (main): Implement it.
35042         (parse_opt): Parse it.
35043
35044 2012-05-09  Andreas Jaeger  <aj@suse.de>
35045
35046         [BZ #14083]
35047         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35048         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35049         -Wconversion warning.
35050         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35051         Likewise.
35052
35053 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35054
35055         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35056         == 0.
35057         (LC_ALL): Use macro-int-constant.
35058         (LC_COLLATE): Likewise.
35059         (LC_CTYPE): Likewise.
35060         (LC_MESSAGES): Likewise.
35061         (LC_MONETARY): Likewise.
35062         (LC_NUMERIC): Likewise.
35063         (LC_TIME): Likewise.
35064         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35065         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35066         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35067         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35068         Specify type.
35069         [C99-based standards] (float_t): Expect type.
35070         [C99-based standards] (double_t): Expect type.
35071         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35072         type.
35073         [C99-based standards] (HUGE_VALL): Likewise.
35074         [C99-based standards] (INFINITY): Likewise.
35075         [C99-based standards] (NAN): Likewise.
35076         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35077         [C99-based standards] (FP_NAN): Likewise.
35078         [C99-based standards] (FP_NORMAL): Likewise.
35079         [C99-based standards] (FP_SUBNORMAL): Likewise.
35080         [C99-based standards] (FP_ZERO): Likewise.
35081         [C99-based standards] (FP_FAST_FMA): Use
35082         optional-macro-int-constant.  Specify type.  Require == 1.
35083         [C99-based standards] (FP_FAST_FMAF): Likewise.
35084         [C99-based standards] (FP_FAST_FMAL): Likewise.
35085         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35086         [C99-based standards] (FP_ILOGBNAN): Likewise.
35087         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35088         Specify type.
35089         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35090         [C99-based standards] (math_errhandling): Specify type.
35091         [ISO99 || ISO11] (signgam): Do not allow.
35092         [non-C99-based standards] (copysignf): Do not allow.
35093         [non-C99-based standards] (exp2f): Likewise.
35094         [non-C99-based standards] (log2f): Likewise.
35095         [non-C99-based standards] (modff): Allow.
35096         [non-C99-based standards] (erff): Do not allow.
35097         [non-C99-based standards] (erfcf): Likewise.
35098         [non-C99-based standards] (gammaf): Likewise.
35099         [non-C99-based standards] (hypotf): Likewise.
35100         [non-C99-based standards] (j0f): Likewise.
35101         [non-C99-based standards] (j1f): Likewise.
35102         [non-C99-based standards] (jnf): Likewise.
35103         [non-C99-based standards] (lgammaf): Likewise.
35104         [non-C99-based standards] (tgammaf): Likewise.
35105         [non-C99-based standards] (y0f): Likewise.
35106         [non-C99-based standards] (y1f): Likewise.
35107         [non-C99-based standards] (ynf): Likewise.
35108         [non-C99-based standards] (isnanf): Likewise.
35109         [non-C99-based standards] (acoshf): Likewise.
35110         [non-C99-based standards] (asinhf): Likewise.
35111         [non-C99-based standards] (atanhf): Likewise.
35112         [non-C99-based standards] (cbrtf): Likewise.
35113         [non-C99-based standards] (expm1f): Likewise.
35114         [non-C99-based standards] (ilogbf): Likewise.
35115         [non-C99-based standards] (log1pf): Likewise.
35116         [non-C99-based standards] (logbf): Likewise.
35117         [non-C99-based standards] (nextafterf): Likewise.
35118         [non-C99-based standards] (remainderf): Likewise.
35119         [non-C99-based standards] (rintf): Likewise.
35120         [non-C99-based standards] (scalbf): Likewise.
35121         [non-C99-based standards] (copysignl): Likewise.
35122         [non-C99-based standards] (exp2l): Likewise.
35123         [non-C99-based standards] (log2l): Likewise.
35124         [non-C99-based standards] (modfl): Allow.
35125         [non-C99-based standards] (erfl): Do not allow.
35126         [non-C99-based standards] (erfcl): Likewise.
35127         [non-C99-based standards] (gammal): Likewise.
35128         [non-C99-based standards] (hypotl): Likewise.
35129         [non-C99-based standards] (j0l): Likewise.
35130         [non-C99-based standards] (j1l): Likewise.
35131         [non-C99-based standards] (jnl): Likewise.
35132         [non-C99-based standards] (lgammal): Likewise.
35133         [non-C99-based standards] (tgammal): Likewise.
35134         [non-C99-based standards] (y0l): Likewise.
35135         [non-C99-based standards] (y1l): Likewise.
35136         [non-C99-based standards] (ynl): Likewise.
35137         [non-C99-based standards] (isnanl): Likewise.
35138         [non-C99-based standards] (acoshl): Likewise.
35139         [non-C99-based standards] (asinhl): Likewise.
35140         [non-C99-based standards] (atanhl): Likewise.
35141         [non-C99-based standards] (cbrtl): Likewise.
35142         [non-C99-based standards] (expm1l): Likewise.
35143         [non-C99-based standards] (ilogbl): Likewise.
35144         [non-C99-based standards] (log1pl): Likewise.
35145         [non-C99-based standards] (logbl): Likewise.
35146         [non-C99-based standards] (nextafterl): Likewise.
35147         [non-C99-based standards] (remainderl): Likewise.
35148         [non-C99-based standards] (rintl): Likewise.
35149         [non-C99-based standards] (scalbl): Likewise.
35150         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35151         [non-C99-based standards] (FP_*): Do not allow.
35152         [C99-based standards] (FP_*): Change to
35153         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35154         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35155         allow.
35156         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35157         (SIG_ERR): Likewise.
35158         [X/Open-based standards] (SIG_HOLD): Likewise.
35159         (SIG_IGN): Likewise.
35160         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35161         positive value.
35162         (SIGFPE): Likewise.
35163         (SIGILL): Likewise.
35164         (SIGINT): Likewise.
35165         (SIGSEGV): Likewise.
35166         (SIGTER): Likewise.
35167         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35168         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35169         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35170         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35171         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35172         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35173         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35174         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35175         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35176         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35177         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35178         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35179         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35180         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35181         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35182         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35183         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35184         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35185         [X/Open-based standards] (SIGTRAP): Likewise.
35186         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35187         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35188         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35189         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35190         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35191         allow.
35192
35193 2012-05-08  Ian Wienand  <ianw@vmware.com>
35194
35195         [BZ #14080]
35196         * time/tzset.c (__tzset_parse_tz): Update default rules for
35197         daylight time changes in the Energy Policy Act of 2005.
35198
35199 2012-05-09  Andreas Jaeger  <aj@suse.de>
35200
35201         [BZ #13983]
35202         * elf/ldconfig.c (parse_conf): Change string to make clear that
35203         ldconfig only issued a warning if ld.so.conf does not exist.
35204
35205 2012-05-08  David S. Miller  <davem@davemloft.net>
35206
35207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35208         movxtod instead of popping the value on the stack.
35209
35210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35211
35212 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35213
35214         * config.h.in: Add HAVE_ARM_PCS_VFP.
35215
35216 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35217
35218         [BZ #13979]
35219         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35220         checking but the checks are disabled for any reason.
35221
35222 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35223
35224         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35225         and ELF64_R_TYPE with ELFW(R_TYPE).
35226
35227 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35228
35229         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35230         (ulimit): Likewise.
35231
35232         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35233         (settimeofday): Likewise.
35234
35235 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35236
35237         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35238         a struct th_u2 inside the union, and move tu_block/tu_code into
35239         a new th_u3 union of tu_block/tu_code inside of that.  Move
35240         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35241         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35242         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35243         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35244         (th_stuff): Change to th_u1.tu_stuff.
35245         (th_data): Define.
35246         (th_msg): Change to th_u1.th_u2.tu_data.
35247
35248 2012-05-07  David S. Miller  <davem@davemloft.net>
35249
35250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35251
35252         [BZ #14074]
35253         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35254         (SETUP_PIC_REG): Use it.
35255         (SETUP_PIC_REG_LEAF): Use it.
35256
35257 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35258
35259         [BZ #13885]
35260         [BZ #13923]
35261         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35262         USE_AS_EXPM1L.
35263         (EXPL_FINITE): Likewise.
35264         (FLDLOG): Likewise.
35265         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35266         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35267         e_expl.S.
35268         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35269         USE_AS_EXPM1L.
35270         (EXPL_FINITE): Likewise.
35271         (FLDLOG): Likewise.
35272         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35273         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35274         e_expl.S.
35275         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35276         test of -max_value argument for long double.
35277         * sysdeps/i386/fpu/libm-test-ulps: Update.
35278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35279
35280 2012-05-06  David S. Miller  <davem@davemloft.net>
35281
35282         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35283         quad soft-float symbols whose references which are compiler
35284         generated.
35285         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35286
35287 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35288
35289         [BZ #13884]
35290         [BZ #13914]
35291         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35292         USE_AS_EXP10L.
35293         (EXPL_FINITE): Likewise.
35294         (FLDLOG): Likewise.
35295         (c0): Likewise.
35296         (c1): Likewise.
35297         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35298         Adjust comments for base varying.
35299         (__expl_finite): Change alias to EXPL_FINITE.
35300         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35301         e_expl.S.
35302         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35303         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35304         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35305         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35306         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35307         USE_AS_EXP10L.
35308         (EXPL_FINITE): Likewise.
35309         (FLDLOG): Likewise.
35310         (c0): Likewise.
35311         (c1): Likewise.
35312         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35313         Adjust comments for base varying.
35314         (__expl_finite): Change alias to EXPL_FINITE.
35315         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35316         tests for bugs.
35317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35318
35319         [BZ #14064]
35320         * math/libm-test.inc (check_float_internal): Correct ulp
35321         calculation for subnormal expected results.
35322
35323 2012-05-06  Andreas Jaeger  <aj@suse.de>
35324
35325         * Makeconfig (+math-flags): New, set to -frounding-math.
35326         (+cflags): Add +math-flags so that all of glibc gets compiled with
35327         it.
35328
35329         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35330
35331 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35332
35333         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35334         Disable one test.
35335
35336         [BZ #13787]
35337         [BZ #13922]
35338         [BZ #14036]
35339         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35340         (__ieee754_expl): Allow for and saturate large arguments.
35341         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35342         (u_threshold): Likewise.
35343         (__exp): Call __ieee754_exp before checking for overflow and
35344         underflow.
35345         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35346         (u_threshold): Likewise.
35347         (__expf): Call __ieee754_expf before checking for overflow and
35348         underflow.
35349         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35350         (u_threshold): Likewise.
35351         (__expl): Call __ieee754_expl before checking for overflow and
35352         underflow.
35353         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35354         (__ieee754_expl): Allow for and saturate large arguments.
35355         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35356         missing overflow exception on overflow.
35357         (expm1_test): Do not allow missing overflow exception on overflow.
35358
35359         * sysdeps/i386/fpu/e_expl.c: Move to ...
35360         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35361         rather than using inline asm.
35362         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35363         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35364         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35365
35366         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35367         (nice): Likewise.
35368         (poll): Likewise.
35369         (signal): Likewise.
35370         (time): Likewise.
35371         (times): Likewise.
35372
35373 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35374
35375         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35376         sysdeps/unix/common/syscalls.list.
35377         (fchmod): Likewise.
35378         (fchown): Likewise.
35379         (ftruncate): Likewise.
35380         (getrusage): Likewise.
35381         (gettimeofday): Likewise.
35382         (setpgid): Likewise.
35383         (setregid): Likewise.
35384         (setreuid): Likewise.
35385         (sigaction): Likewise.
35386         (truncate): Likewise.
35387         (vhangup): Likewise.
35388         * sysdeps/unix/common/syscalls.list: Remove file.
35389         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35390         * sysdeps/unix/sysv/linux/Implies: Likewise.
35391
35392 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35393
35394         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35396         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35397         Moved to ...
35398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35399         Here.
35400         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35401         to ...
35402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35403         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35404         to ...
35405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35406         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35407         to ...
35408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35409         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35410         to ...
35411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35412         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35413         to ...
35414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35415         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35416         to ...
35417         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35418         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35419         to ...
35420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35421         Here.
35422         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35423         to ...
35424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35425         Here.
35426         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35427         to ...
35428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35429         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35430         Moved to ...
35431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35432         Here.
35433         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35434         to ...
35435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35436
35437 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35438
35439         * sysdeps/unix/common/bits/dirent.h: Remove file.
35440         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35441
35442         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35443         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35444         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35445         * sysdeps/unix/bsd/isatty.c: Likewise.
35446         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35447         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35448         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35449
35450 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35451
35452         [BZ #13563]
35453         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35454         long double comparison inaccuracies.
35455         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35457
35458 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35459
35460         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35461         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35462
35463 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35464
35465         [BZ #14049]
35466         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35467         nonzero digits before rounding a hex value.
35468         * stdlib/tst-strtod.c (tests): Add another test.
35469
35470 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35471
35472         * sysdeps/s390/fpu/libm-test-ulps: Update.
35473
35474 2012-05-03  Andreas Jaeger  <aj@suse.de>
35475
35476         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35477         does not get optimized out.
35478         (malloc_opt_barrier): New.
35479
35480 2012-05-03  Andreas Jaeger  <aj@suse.de>
35481             Roland McGrath  <roland@hack.frob.com>
35482
35483         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35484         intermediate file deletion.
35485         (generated): Add .symlist files.
35486
35487 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35488
35489         [BZ #13775]
35490         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35491         Redirect under this condition.
35492         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35493         [__USE_GNU] (__dprintf_chk): Not under this condition.
35494         [__USE_GNU] (__vdprintf_chk): Likewise.
35495         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35496         under this condition.
35497         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35498         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35499         [__USE_XOPEN2K8] (vdprintf): Likewise.
35500         [__USE_GNU] (__dprintf_chk): Not under this condition.
35501         [__USE_GNU] (__vdprintf_chk): Likewise.
35502         [__USE_GNU] (dprintf): Likewise.
35503         [__USE_GNU] (vdprintf): Likewise.
35504
35505 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35506
35507         * elf/Makefile (common-generated): Set this instead of generated for
35508         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35509         $(all-built-dso)-derived lists.
35510
35511 2012-05-03  Andreas Jaeger  <aj@suse.de>
35512
35513         * sysdeps/i386/fpu/libm-test-ulps: Update.
35514
35515         * FAQ: Removed.
35516         * FAQ.in: Likewise.
35517         * scripts/gen-FAQ.pl: Likewise.
35518         * manual/install.texi (Installation): Point to online location of
35519         FAQ.
35520         * Makefile (files-for-dist): Remove FAQ.
35521         (FAQ): Remove.
35522
35523 2012-05-02  Allan McRae  <allan@archlinux.org>
35524
35525         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35526         (LDFLAGS-reldepmod5.so): Likewise.
35527         (LDFLAGS-reldep6mod1.so): Likewise.
35528         (LDFLAGS-reldep6mod4.so): Likewise.
35529         (LDFLAGS-reldep8mod3.so): Likewise.
35530         (LDFLAGS-unload4mod1.so): Likewise.
35531         (LDFLAGS-unload4mod2.so): Likewise.
35532         (LDFLAGS-tst-initorder): Likewise.
35533         (LDFLAGS-tst-initordera2.so): Likewise.
35534         (LDFLAGS-tst-initordera3.so): Likewise.
35535         (LDFLAGS-tst-initordera4.so): Likewise.
35536         (LDFLAGS-tst-initorderb2.so): Likewise.
35537         (LDFLAGS-noload): Likewise.
35538         (LDFLAGS-next): Likewise.
35539         (LDFLAGS-order2mod1.so): Likewise.
35540         (LDFLAGS-order2mod2.so): Likewise.
35541         (LDFLAGS-tst-initorder2): Likewise.
35542         (LDFLAGS-tst-initorder2a.so): Likewise.
35543         (LDFLAGS-tst-initorder2b.so): Likewise.
35544         (LDFLAGS-tst-initorder2c.so): Likewise.
35545         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35546
35547 2012-05-02  David S. Miller  <davem@davemloft.net>
35548
35549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35550
35551 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35552
35553         [BZ #14055]
35554         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35555
35556 2012-05-02  Andreas Jaeger  <aj@suse.de>
35557
35558         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35559         since we manipulate rounding mode.
35560         (CPPFLAGS-test-idouble.c): Likewise.
35561         (CPPFLAGS-test-ifloat.c): Likewise.
35562         (CFLAGS-test-ldouble.c): Likewise.
35563         (CFLAGS-test-double.c): Likewise.
35564         (CFLAGS-test-float.c): Likewise.
35565         (CFLAGS-test-misc.c): Likewise.
35566         (CFLAGS-test-test-fenv.c): Likewise.
35567
35568 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35569
35570         [BZ #2550]
35571         [BZ #2570]
35572         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35573         comparisons to determine direction to adjust input.
35574
35575 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35576
35577         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35578         output to the target.
35579
35580         * scripts/localplt.awk: New file.
35581         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35582         (check-localplt-CFLAGS): Variable removed.
35583         ($(all-built-dso:=.jmprel)): New static pattern rule.
35584         (generated): Add those targets.
35585         (localplt-built-dso): New variable.
35586         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35587
35588         * elf/check-localplt.c: File removed.
35589
35590         * scripts/check-execstack.awk: New file.
35591         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35592         (check-execstack-CFLAGS): Variable removed.
35593         ($(objpfx)check-execstack.h): Target removed.
35594         ($(objpfx)execstack-default): New target.
35595         (generated): Add that instead of check-execstack.h.
35596         ($(all-built-dso:=.phdr)): New static pattern rule.
35597         (generated): Add those targets.
35598         * elf/check-execstack.c: File removed.
35599
35600         * scripts/check-textrel.awk: New file.
35601         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35602         (check-textrel-CFLAGS): Variable removed.
35603         (all-built-dso): Use := to define.o
35604         ($(all-built-dso:=.dyn)): New static pattern rule.
35605         (generated): Add those targets.
35606         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35607         * config.make.in (READELF): New substituted variable.
35608         * elf/check-textrel.c: File removed.
35609
35610 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35611
35612         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35613         allow.
35614         * conform/data/ctype.h-data [C99-based standards] (isblank):
35615         Expect function.
35616         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35617         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35618         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35619         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35620         Specify type.  Require positive value.
35621         (EILSEQ): Likewise.
35622         (ERANGE): Likewise.
35623         [ISO || POSIX] (EILSEQ): Do not expect.
35624         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35625         Specify type.  Require positive value.
35626         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35627         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35628         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35629         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35630         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35631         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35632         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35633         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35634         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35635         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35636         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35637         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35638         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35639         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35640         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35641         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35642         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35643         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35644         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35645         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35646         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35647         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35648         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35649         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35650         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35651         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35652         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35653         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35654         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35655         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35656         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35657         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35658         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35659         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35660         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35661         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35662         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35663         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35664         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35665         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35666         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35667         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35668         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35669         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35670         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35671         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35672         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35673         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35674         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35675         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35676         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35677         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35678         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35679         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35680         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35681         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35682         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35683         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35684         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35685         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35686         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35687         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35688         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35689         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35690         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35691         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35692         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35693         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35694         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35695         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35696         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35697         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35698         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35699         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35700         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35701         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35702         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35703         Require >= 2.
35704         (FLT_ROUNDS): Expect as macro, not constant.
35705         (FLT_MANT_DIG): Use macro-int-constant.
35706         (DBL_MANT_DIG): Likewise.
35707         (LDBL_MANT_DIG): Likewise.
35708         (FLT_DIG): Likewise.
35709         (DBL_DIG): Likewise.
35710         (LDBL_DIG): Likewise.
35711         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35712         (DBL_MIN_EXP): Likewise.
35713         (LDBL_MIN_EXP): Likewise.
35714         (FLT_MAX_EXP): Use macro-int-constant.
35715         (DBL_MAX_EXP): Likewise.
35716         (LDBL_MAX_EXP): Likewise.
35717         (FLT_MAX_10_EXP): Likewise.
35718         (DBL_MAX_10_EXP): Likewise.
35719         (LDBL_MAX_10_EXP): Likewise.
35720         (FLT_MAX): Use macro-constant.
35721         (DBL_MAX): Likewise.
35722         (LDBL_MAX): Likewise.
35723         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35724         (DBL_EPSILON): Likewise.
35725         (LDBL_EPSILON): Likewise.
35726         (FLT_MIN): Likewise.
35727         (DBL_MIN): Likewise.
35728         (LDBL_MIN): Likewise.
35729         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35730         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35731         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35732         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35733         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35734         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35735         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35736         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35737         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35738         [ISO11] (FLT_TRUE_MIN): Likewise.
35739         [ISO11] (LDBL_TRUE_MIN): Likewise.
35740         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35741         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35742         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35743         (SCHAR_MAX): Likewise.
35744         (UCHAR_MAX): Likewise.
35745         (CHAR_MIN): Likewise.
35746         (CHAR_MAX): Likewise.
35747         (MB_LEN_MAX): Use macro-int-constant.
35748         (SHRT_MIN): Use macro-int-constant.  Specify type.
35749         (SHRT_MAX): Likewise.
35750         (USHRT_MAX): Likewise.
35751         (INT_MAX): Likewise.
35752         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35753         bound negative.
35754         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35755         bound with "U".
35756         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35757         bound with "L".
35758         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35759         bound negative.  Suffix upper bound with "L".
35760         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35761         bound with "UL".
35762         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35763         Specify type.
35764         [C99-based standards] (LLONG_MAX): Likewise.
35765         [C99-based standards] (ULLONG_MAX): Likewise.
35766         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35767         == 0.
35768         [ISO11] (max_align_t): Require type.
35769         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35770
35771         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35772         from $CFLAGS, without defining away __attribute__ calls.
35773         (checknamespace): Use $CFLAGS_namespace.
35774
35775         * conform/conformtest.pl (@keywords): Only include C99 keywords
35776         for standards based on C99 or C11.
35777
35778         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35779         Disable tests.
35780         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35781         UNIX98]: Likewise.
35782
35783         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35784         usability of symbols in #if.
35785
35786         * conform/conformtest.pl: If macro or constant types start
35787         "promoted:", expect the symbol to be of the following type
35788         promoted by the integer promotions.
35789
35790         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35791         in one place.  Also handle "macro-constant".
35792
35793         * conform/conformtest.pl: Only accept expected macro values with
35794         "==".  Parse all "macro" lines in one place.
35795         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35796
35797         * conform/conformtest.pl: Handle braced types on "constant" lines
35798         instead of handling "typed-constant".
35799         * conform/data/signal.h-data: Use "constant" instead of
35800         "typed-constant".
35801
35802         * conform/conformtest.pl: Handle "optional-" at start of lines in
35803         one place rather than duplicating several cases.  Handle each
35804         format of "macro" line with initial "optional-".
35805
35806         * conform/conformtest.pl: Only accept expected constant or
35807         optional-constant values with "==".  Parse all "constant" lines in
35808         one place.  Parse all "optional-constant" lines in one place.
35809         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35810         * conform/data/fmtmsg.h-data: Likewise.
35811         * conform/data/netinet/in.h-data: Likewise.
35812         * conform/data/tar.h-data: Likewise.
35813         * conform/data/limits.h-data: Use "==" form on "constant" and
35814         "optional-constant" lines.
35815
35816         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35817         Use -std=c99 for XOPEN2K.
35818         (@knownproblems): Remove.
35819         (newtoken): Don't check %isknown.
35820
35821         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35822         Do not expect macro.
35823         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35824         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35825         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35826         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35827         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35828         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35829         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35830         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35831         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35832         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35833         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35834         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35835         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35836         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35837         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35838         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35839         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35840         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35841         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35842         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35843         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35844         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35845         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35846         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35847         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35848         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35849         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35850         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35851         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35852         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35853         [XPG3] (acosh): Likewise.
35854         [XPG3] (asinh): Likewise.
35855         [XPG3] (atanh): Likewise.
35856         [XPG3] (cbrt): Likewise.
35857         [XPG3] (expm1): Likewise.
35858         [XPG3] (ilogb): Likewise.
35859         [XPG3] (log1p): Likewise.
35860         [XPG3] (logb): Likewise.
35861         [XPG3] (nextafter): Likewise.
35862         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35863         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35864         [XPG3] (remainder): Likewise.
35865         [XPG3] (rint): Likewise.
35866         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35867         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35868         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35869         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35870         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35871         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35872         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35873         [UNIX98 || XOPEN2K] (scalb): Expect.
35874         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35875         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35876         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35877         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35878         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35879         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35880         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35881         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35882         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35883         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35884         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35885         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35886         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35887         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35888         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35889         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35890         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35891         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35892         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35893         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35894         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35895         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35896         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35897         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35898         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35899         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35900         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35901         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35902         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35903         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35904         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35905         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35906         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35907         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35908         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35909         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35910         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35911         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35912         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35913         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35914         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35915         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35916         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35917         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35918         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35919         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35920         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35921         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35922         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35923         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35924         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35925         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35926         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35927         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35928         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35929         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35930         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35931         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35932         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35933         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35934         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35935         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35936         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35937         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35938         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35939         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35940         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35941         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35942         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35943         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35944         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35945         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35946         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35947         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35948         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35949         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35950         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35951         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35952         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35953         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35954         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35955         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35956         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35957         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35958         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35959         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35960         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35961         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35962         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35963         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35964         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35965         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35966         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35967         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35968         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35969         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35970         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35971         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35972         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35973         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35974         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35975         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35976         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35977         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35978         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35979         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35980         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35981         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35982         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35983         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35984         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35985         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35986         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35987         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35988         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35989         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35990         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35991         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35992         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35993         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35994         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35995         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35996         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35997         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35998         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35999         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36000         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36001         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36002         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36003         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36004         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36005         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36006         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36007         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36008         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36009         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36010         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36011
36012         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36013         _XOPEN_SOURCE_EXTENDED for XPG4.
36014
36015         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36016
36017         * Makeconfig (localtime): Remove variable.
36018         (inst_localtime-file): Likewise.
36019
36020 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36021
36022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36023         Update.
36024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36025         Update.
36026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36027         Update.
36028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36029         Update.
36030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36031         Update.
36032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36033         Update.
36034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36035         Update.
36036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36037         Update.
36038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36039         Update.
36040
36041 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36042
36043         [BZ #2550]
36044         [BZ #2570]
36045         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36046         comparisons to determine direction to adjust input.
36047         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36048         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36049         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36050         Likewise.
36051         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36052         Likewise.
36053         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36054         Likewise.
36055         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36056         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36057         Likewise.
36058         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36059         Likewise.
36060         * math/libm-test.inc (nexttoward_test): Add more tests.
36061
36062 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36063
36064         [BZ #14040]
36065         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36066         in version GLIBC_2.1, not GLIBC_2.0.
36067         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36068         Likewise.
36069
36070 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36071
36072         [BZ #13942]
36073         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36074         (1 - x) * (1 + x).
36075         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36076         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36077         * math/libm-test.inc (acos_test): Add more tests.
36078         (asin_test): Likewise.
36079         * sysdeps/i386/fpu/libm-test-ulps: Update.
36080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36081
36082         [BZ #14034]
36083         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36084         of square root.
36085         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36086         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36087         * math/libm-test.inc (acos_test_tonearest): New function.
36088         (acos_test_towardzero): Likewise.
36089         (acos_test_downward): Likewise.
36090         (acos_test_upward): Likewise.
36091         (asin_test_tonearest): Likewise.
36092         (asin_test_towardzero): Likewise.
36093         (asin_test_downward): Likewise.
36094         (asin_test_upward): Likewise.
36095         (main): Call the new functions.
36096         * sysdeps/i386/fpu/libm-test-ulps: Update.
36097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36098
36099         [BZ #13884]
36100         [BZ #13924]
36101         * math/e_exp10.c: Include <float.h>.
36102         (__ieee754_exp10): Handle underflow here rather than multiplying
36103         large negative argument by M_LN10.
36104         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36105         of __ieee754_expf.
36106         * math/e_exp10l.c: Include <float.h>.
36107         (__ieee754_exp10l): Handle underflow here rather than multiplying
36108         large negative argument by M_LN10l.
36109         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36110         spurious overflow exception on underflow.
36111
36112 2012-04-29  Marek Polacek  <polacek@redhat.com>
36113
36114         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36115         (__fortify_function): New macro.
36116         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36117         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36118         __extern_always_inline.
36119         * libio/bits/stdio2.h: Likewise.
36120         * libio/bits/stdio.h: Likewise.
36121         * string/string.h: Likewise.
36122         * string/bits/string3.h: Likewise.
36123         * include/stdio.h: Likewise.
36124         * stdlib/bits/stdlib.h: Likewise.
36125         * stdlib/stdlib.h: Likewise.
36126         * rt/bits/mqueue2.h: Likewise.
36127         * rt/mqueue.h: Likewise.
36128         * posix/bits/unistd.h: Likewise.
36129         * posix/unistd.h: Likewise.
36130         * io/bits/poll2.h: Likewise.
36131         * io/bits/fcntl2.h: Likewise.
36132         * io/fcntl.h: Likewise.
36133         * io/sys/poll.h: Likewise.
36134         * misc/bits/syslog.h: Likewise.
36135         * misc/bits/syslog-ldbl.h: Likewise.
36136         * misc/sys/syslog.h: Likewise.
36137         * socket/bits/socket2.h: Likewise.
36138         * socket/sys/socket.h: Likewise.
36139         * debug/tst-chk1.c: Likewise.
36140         * wcsmbs/bits/wchar2.h: Likewise.
36141         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36142         * wcsmbs/wchar.h: Likewise.
36143
36144 2012-04-29  Andreas Jaeger  <aj@suse.de>
36145
36146         * Makerules (tests): Remove enable-check-abi protection.
36147         (check-abi-warn): Remove.
36148         (check-abi-%): Remove check-abi-warn usage.
36149
36150         * configure.in: Remove check-abi configure option.
36151         * configure: Regenerated.
36152         * config.make.in (enable-check-abi): Remove.
36153
36154 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36155
36156         [BZ #14033]
36157         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36158         double functions to double *_finite functions.
36159
36160         [BZ #13941]
36161         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36162         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36163         LDBL_MIN_EXP.
36164         * stdio-common/Makefile (tests): Add tst-sprintf3.
36165         * stdio-common/tst-sprintf3.c: New file.
36166
36167         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36168         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36169
36170 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36171
36172         * conform/conformtest.pl: Remove duplicate typed-constant
36173         handling.
36174
36175 2012-04-28  David S. Miller  <davem@davemloft.net>
36176
36177         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36178         (check-abi-%): Remove AWK script prerequisite and explicit
36179         abilist directory.
36180         (check-abi): Rewrite to just diff the symlist with the abilist.
36181         (config-tls, config-abi-config): Delete, no longer used.
36182         (update-abi-%): Remove AWK script and explicit abilist directory.
36183         (update-abi): Rewrite to simply compare and conditionally copy the
36184         symlist and the sysdep abilist file.  Remove update-abi-config
36185         checks.
36186         * abilist/ld.abilist: Remove.
36187         * abilist/libBrokenLocale.abilist: Remove.
36188         * abilist/libanl.abilist: Remove.
36189         * abilist/libcrypt.abilist: Remove.
36190         * abilist/libdl.abilist: Remove.
36191         * abilist/librt.abilist: Remove.
36192         * abilist/libthread_db.abilist: Remove.
36193         * abilist/libutil.abilist: Remove.
36194         * scripts/extract-abilist.awk: Remove.
36195         * scripts/merge-abilist.awk: Remove.
36196         * sysdeps/generic/libcidn.abilist: New file.
36197         * sysdeps/generic/libnss_compat.abilist: New file.
36198         * sysdeps/generic/libnss_db.abilist: New file.
36199         * sysdeps/generic/libnss_dns.abilist: New file.
36200         * sysdeps/generic/libnss_files.abilist: New file.
36201         * sysdeps/generic/libnss_hesiod.abilist: New file.
36202         * sysdeps/generic/libnss_nis.abilist: New file.
36203         * sysdeps/generic/libnss_nisplus.abilist: New file.
36204         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36205         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36206         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36207         file.
36208         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36209         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36210         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36211         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36212         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36213         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36214         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36215         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36216         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36217         file.
36218         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36219         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36220         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36221         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36222         file.
36223         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36224         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36225         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36226         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36227         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36228         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36229         file.
36230         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36231         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36232         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36233         file.
36234         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36235         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36236         New file.
36237         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36238         New file.
36239         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36240         New file.
36241         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36242         New file.
36243         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36244         New file.
36245         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36246         New file.
36247         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36248         New file.
36249         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36250         New file.
36251         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36252         New file.
36253         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36254         New file.
36255         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36256         New file.
36257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36258         New file.
36259         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36260         New file.
36261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36262         file.
36263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36264         New file.
36265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36266         New file.
36267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36268         file.
36269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36270         New file.
36271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36272         New file.
36273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36274         file.
36275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36276         New file.
36277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36278         New file.
36279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36280         New file.
36281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36282         New file.
36283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36284         New file.
36285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36286         New file.
36287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36289         file.
36290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36291         New file.
36292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36293         file.
36294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36295         file.
36296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36297         file.
36298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36299         file.
36300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36301         file.
36302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36303         New file.
36304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36305         file.
36306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36307         file.
36308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36309         New file.
36310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36311         file.
36312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36314         file.
36315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36316         New file.
36317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36318         file.
36319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36320         file.
36321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36322         file.
36323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36324         file.
36325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36326         file.
36327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36328         New file.
36329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36330         file.
36331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36332         file.
36333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36334         New file.
36335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36336         file.
36337         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36338         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36339         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36340         file.
36341         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36342         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36343         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36344         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36345         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36346         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36347         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36348         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36349         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36350         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36353         file.
36354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36355         New file.
36356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36357         file.
36358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36359         file.
36360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36361         file.
36362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36363         file.
36364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36365         file.
36366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36367         New file.
36368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36369         New file.
36370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36371         file.
36372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36373         New file.
36374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36375         file.
36376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36378         file.
36379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36380         New file.
36381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36382         file.
36383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36384         file.
36385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36386         file.
36387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36388         file.
36389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36390         file.
36391         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36392         New file.
36393         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36394         New file.
36395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36396         file.
36397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36398         New file.
36399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36400         file.
36401
36402 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36403
36404         * conform/conformtest.pl: Fix typo in handling typed-constant from
36405         allow-header.
36406
36407 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36408
36409         * README: Cut down references to pre-2.6 Linux kernels and
36410         Linuxthreads.  Update lists of configurations in libc and ports
36411         and sort alphabetically.  Say "or newer" with Linux kernel version
36412         requirements.
36413
36414         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36415
36416 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36417
36418         [BZ #887]
36419         * math/libm-test.inc (logb_test_downward): New test to expose
36420         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36421         rounding mode.
36422
36423 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36424
36425         [BZ #14027]
36426         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36427         to be done.
36428         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36429         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36430
36431 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36432
36433         * sysdeps/unix/i386/brk.S: Remove file.
36434         * sysdeps/unix/i386/dl-brk.S: Likewise.
36435         * sysdeps/unix/i386/pipe.S: Likewise.
36436         * sysdeps/unix/i386/sigreturn.S: Likewise.
36437         * sysdeps/unix/i386/syscall.S: Likewise.
36438         * sysdeps/unix/i386/vfork.S: Likewise.
36439         * sysdeps/unix/i386/wait.S: Likewise.
36440
36441         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36442         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36443
36444         * configure.in (arm*-none*): Do not allow without
36445         --enable-hacker-mode.
36446         (netbsd*): Remove case setting base_os.
36447         (386bsd*): Likewise.
36448         (freebsd*): Likewise.
36449         (bsdi*): Likewise.
36450         (osf*): Likewise.
36451         (sunos*): Likewise.
36452         (ultrix*): Likewise.
36453         (newsos*): Likewise.
36454         (dynix*): Likewise.
36455         (*bsd*): Likewise.
36456         (sysv*): Likewise.
36457         (isc*): Likewise.
36458         (esix*): Likewise.
36459         (sco*): Likewise.
36460         (minix*): Likewise.
36461         (irix4*): Likewise.
36462         (irix6*): Likewise.
36463         (solaris[2-9]*): Likewise.
36464         (none): Likewise.
36465         * configure: Regenerated.
36466
36467 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36468
36469         [BZ #11521]
36470         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36471         overflow or cancellation in calculating denominator.
36472         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36473         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36474         down expression to avoid unexpected rounding in newer GCCs.
36475         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36476
36477 2012-04-26  David S. Miller  <davem@davemloft.net>
36478
36479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36480         long-double compat symbols.
36481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36494
36495 2012-04-25  David S. Miller  <davem@davemloft.net>
36496
36497         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36498         HWCAP_* values only after the memory barriers have been defined.
36499         (atomic_full_barrier): Define.
36500         (atomic_read_barrier): Define.
36501         (atomic_write_barrier): Define.
36502
36503 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36504
36505         * shlib-versions: Add libgcc_s version information.
36506         * sysdeps/generic/libgcc_s.h: Remove.
36507         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36508         libgcc_s.h.
36509         * sysdeps/gnu/unwind-resume.c: Likewise.
36510         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36511
36512 2012-04-25  David S. Miller  <davem@davemloft.net>
36513
36514         * sysdeps/unix/sparc/brk.S: Delete.
36515         * sysdeps/unix/sparc/dl-brk.S: Delete.
36516         * sysdeps/unix/sparc/pipe.S: Delete.
36517         * sysdeps/unix/sparc/sysdep.S: Delete.
36518         * sysdeps/unix/sparc/sysdep.h: Delete.
36519         * sysdeps/unix/sparc/vfork.S: Delete.
36520         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36521         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36522         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36523         (ret_ERRVAL, r0, r1, MOVE): Define.
36524         (JUMPTARGET): Remove.
36525         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36526         sysdeps/unix/sparc/sysdep.h
36527         (ENTRY, END): Remove.
36528         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36529
36530 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36531
36532         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36533         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36534         -DIS_IN_build.
36535
36536         * timezone/README: Update upstream location and email address for
36537         tzcode and tzdata.
36538         * timezone/zdump.c: Update from tzcode 2012b.
36539         * timezone/zic.c: Likewise.
36540
36541         * configure.in (libc_cv_as_needed): Remove test.
36542         * configure: Regenerated.
36543         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36544         conditional definition.
36545         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36546         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36547         * config.make.in (have-as-needed): Remove variable.
36548
36549 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36550             Paul Pluzhnikov  <ppluzhnikov@google.com>
36551
36552         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36553         strings correctly.
36554
36555 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36556
36557         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36558         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36559         * sysdeps/sh/strlen.S: Likewise.
36560
36561 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36562
36563         * sysdeps/unix/fork.S: Remove file.
36564         * sysdeps/unix/i386/fork.S: Likewise.
36565         * sysdeps/unix/sparc/fork.S: Likewise.
36566
36567         * sysdeps/unix/system.c: Remove file.
36568         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36569
36570         * sysdeps/unix/getegid.S: Remove file.
36571         * sysdeps/unix/geteuid.S: Likewise.
36572
36573 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36574
36575         * scripts/check-localplt.awk: New file.
36576         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36577         of diff.
36578         * scripts/data/localplt-generic.data: Add a comment.
36579
36580         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36581         NODE when __dir_mkfile failed.
36582         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36583         Reported by Ludovic Courtès <ludo@gnu.org>.
36584
36585 2012-04-24  Andreas Jaeger  <aj@suse.de>
36586
36587         * Makerules (common-clean): Also remove gen-as-const-headers
36588         files.
36589
36590 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36591
36592         * Makerules (native-compile): Do not change working directory for
36593         build.  Use $(OUTPUT_OPTION) in command.
36594         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36595
36596 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36597
36598         [BZ #13886]
36599         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36600         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36601         * math/libm-test.inc (floor_test): Add more tests.
36602         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36603
36604 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36605
36606         * sysdeps/unix/getdents.c: Remove file.
36607         * sysdeps/unix/sysv/getdents.c: Likewise.
36608         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36609
36610         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36611         sysdeps/unix/mman/syscalls.list.
36612         (mmap): Likewise.
36613         (mprotect): Likewise.
36614         (msync): Likewise.
36615         (munmap): Likewise.
36616         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36617         * sysdeps/unix/mman/syscalls.list: Remove.
36618         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36619
36620         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36621         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36622         * configure: Regenerated.
36623         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36624         $(libgcc_s_suffix).
36625         * config.make.in (libgcc_s_suffix): Remove variable.
36626
36627 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36628
36629         * sysdeps/unix/sysv/gethostname.c: Move to ...
36630         * sysdeps/posix/gethostname.c: ... here.
36631
36632         * sysdeps/unix/execve.S: Remove file.
36633
36634         * sysdeps/unix/_exit.S: Remove file.
36635
36636 2012-04-23  Andreas Jaeger  <aj@suse.de>
36637
36638         [BZ #13739]
36639         * manual/Makefile: Remove make dist support, there's no
36640         need for a stand-alone documentation tar ball.
36641         (TEXI2DVI): Define always, it's not in Makeconfig.
36642         (dist): Removed.
36643         (tar-it): Removed.
36644         (edition): Removed.
36645         (glibc-doc-$(edition).tar): Removed
36646         (%.Z): Removed.
36647         (%.gz): Removed.
36648         (%.uu): Removed.
36649         (ETAGS): Remove, it's in Makeconfig.
36650         (move-if-change): Remove, it's in Makeconfig.
36651
36652 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36653
36654         [BZ #13970]
36655         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36656         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36657         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36658         (strtod_l, strtof_l, strtold_l): Remove __wur.
36659         It is not necessarily an error to ignore strtol's return value.
36660         One can reliably look at the stored endptr to decide whether
36661         the number had valid syntax.
36662
36663 2012-04-21  Andreas Jaeger  <aj@suse.de>
36664
36665         [BZ #13739]
36666         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36667
36668 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36669
36670         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36671         * sysdeps/unix/sysv/Versions: Remove file.
36672
36673 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36674
36675         [BZ #13927]
36676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36677
36678 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36679
36680         [BZ #7064]
36681         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36682         version from __vm86.
36683
36684 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36685
36686         * sysdeps/unix/common/lxstat.c: Remove file.
36687         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36688
36689         * sysdeps/unix/sysv/Makefile: Remove file.
36690
36691         * sysdeps/unix/sysv/direct.h: Remove file.
36692
36693         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36694         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36695         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36696         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36697         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36698         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36699         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36700
36701         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36702
36703         * sysdeps/unix/xmknod.c: Remove file.
36704         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36705
36706         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36707
36708         * sysdeps/unix/sysv/i386/time.S: Remove file.
36709
36710         * sysdeps/unix/fxstat.c: Remove file.
36711         * sysdeps/unix/xstat.c: Likewise.
36712         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36713
36714         * sysdeps/unix/sysv/sigaction.c: Remove file.
36715
36716         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36717         (sysdep_headers): Remove variable.
36718         [termio.h not in sysdep_headers] (generated): Likewise.
36719         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36720         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36721         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36722         * sysdeps/unix/sysv/tcflow.c: Likewise.
36723         * sysdeps/unix/sysv/tcflush.c: Likewise.
36724         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36725         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36726         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36727         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36728         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36729
36730         * sysdeps/unix/siglist.c: Remove file.
36731
36732         * sysdeps/unix/getppid.S: Remove file.
36733
36734         * sysdeps/unix/mkdir.c: Remove file.
36735         * sysdeps/unix/rmdir.c: Likewise.
36736
36737 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36738
36739         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36740         ERR_MAX value.
36741         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36742         errlist-compat value.
36743
36744 2012-04-18  David S. Miller  <davem@davemloft.net>
36745
36746         * sysdeps/generic/memcopy.h (reg_char): Delete.
36747         * debug/strcat_chk.c: Use char, not reg_char.
36748         * debug/strcpy_chk.c: Likewise.
36749         * debug/strncat_chk.c: Likewise.
36750         * debug/strncpy_chk.c: Likewise.
36751         * string/memchr.c: Likewise.
36752         * string/memrchr.c: Likewise.
36753         * string/rawmemchr.c: Likewise.
36754         * string/strcat.c: Likewise.
36755         * string/strchr.c: Likewise.
36756         * string/strchrnul.c: Likewise.
36757         * string/strcmp.c: Likewise.
36758         * string/strcpy.c: Likewise.
36759         * string/strncat.c: Likewise.
36760         * string/strncmp.c: Likewise.
36761         * string/strncpy.c: Likewise.
36762
36763 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36764
36765         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36766         __builtin_memcopy is called when src and dest ranges are known to not
36767         overlap.
36768
36769 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36770
36771         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36772         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36773         fwd_align_merge macro call.
36774         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36775         bwd_align_merge macro call.
36776         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36777
36778 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36779
36780         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36781         bwd_align_merge macros.
36782         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36783         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36784         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36785
36786 2012-04-18  David S. Miller  <davem@davemloft.net>
36787
36788         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36789
36790 2012-04-18  Andreas Jaeger  <aj@suse.de>
36791
36792         [BZ# 6794]
36793         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36794         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36795         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36796
36797         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36798         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36799         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36800
36801         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36802         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36803         Adjust for changed ldbl-128 files.
36804
36805         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36806         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36807         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36808
36809 2012-04-17  David S. Miller  <davem@davemloft.net>
36810
36811         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36812
36813 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36814
36815         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36816         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36817         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36818         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36819         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36820         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36821
36822 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36823
36824         [BZ #6794]
36825         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36826         * math/libm-test.inc: Add ilogb errno and exception tests.
36827         * math/w_ilogb.c: New file: ilogb wrapper.
36828         * math/w_ilogbf.c: New file: ilogbf wrapper.
36829         * math/w_ilogbl.c: New file: ilogbl wrapper.
36830         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36831         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36832         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36833         exception being thrown with 0.0 as argument.
36834         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36835         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36836         exception being thrown with 0.0 as argument.
36837         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36838         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36839         exception being thrown with 0.0 as argument.
36840         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36841         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36842         exception being thrown with 0.0 as argument.
36843         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36844         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36845         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36846         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36847         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36848         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36849         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36850         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36851         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36852
36853 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36854
36855         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36856         with altivec.
36857
36858 2012-04-16  Marek Polacek  <polacek@redhat.com>
36859
36860         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36861
36862 2012-04-16  Marek Polacek  <polacek@redhat.com>
36863
36864         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36865         operands of fdivp instruction.
36866
36867 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36868
36869         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36870         * elf/tst-auditmod3b.c: Likewise.
36871         * elf/tst-auditmod4b.c: Likewise.
36872         * elf/tst-auditmod5b.c: Likewise.
36873         * elf/tst-auditmod6b.c: Likewise.
36874         * elf/tst-auditmod6c.c: Likewise.
36875         * elf/tst-auditmod7b.c: Likewise.
36876         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36877         * sysdeps/x86_64/preconfigure.in: Likewise.
36878         * sysdeps/x86_64/preconfigure: Regenerated.
36879
36880 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36881
36882         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36883         __ILP32__.
36884
36885 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36886
36887         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36888         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36889
36890 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36891
36892         [BZ #13973]
36893         * locale/iso-639.def: Fix gl language name. Spotted by
36894         Yaron Shahrabani.
36895
36896 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36897
36898         [BZ #2074]
36899         * libio/libio.h (__io_write_fn): Update comment.
36900
36901 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36902
36903         [BZ #2074]
36904         * stdio.texi (Hook Functions): The user provided writer function
36905         is not allowed to return -1.
36906
36907 2012-04-11  David S. Miller  <davem@davemloft.net>
36908
36909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36910
36911 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36912
36913         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36914         Add a leading slash to rtkaio.
36915
36916 2012-04-11  Jim Meyering  <meyering@redhat.com>
36917
36918         [BZ #11959]
36919         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36920         It is not necessarily an error to ignore fwrite's return
36921         value.  One can reliably use ferror to test for errors after
36922         the fact.
36923
36924 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36925
36926         * bits/types.h (__snseconds_t): New type.
36927         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36928
36929         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36930         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36931         (__SNSECONDS_T_TYPE): Likewise.
36932         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36933         (__SNSECONDS_T_TYPE): Likewise.
36934         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36935         (__SNSECONDS_T_TYPE): Likewise.
36936
36937 2012-04-10  Andreas Jaeger  <aj@suse.de>
36938
36939         [BZ #2636]
36940         * manual/time.texi (Processor Time): Return type of times is
36941         elapsed real time since an arbitrary point in the past.
36942         (CPU Time): Move CLK_TCK from here...
36943         (Processor Time): ...to here.  Correct description.
36944         * manual/conf.texi (Constants for Sysconf): Correct description of
36945         _SC_CLK_TCK.
36946
36947 2012-04-10  David S. Miller  <davem@davemloft.net>
36948
36949         [BZ #13967]
36950         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36951         where the is a gap between DT_REL(A) and DT_JMPREL.
36952
36953 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36954
36955         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36956         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36957         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36958
36959 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36960
36961         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36962         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36963         (dl_main): Handle --inhibit-cache.
36964         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36965         _dl_inhibit_cache.
36966         * elf/dl-load.c (_dl_map_object): Use it.
36967         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36968
36969 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36970
36971         [BZ #13872]
36972         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36973         (__ieee754_powl): Saturate large exponents rather than testing for
36974         overflow of y*log2(x).
36975         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36976         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36977         exceptions.
36978
36979         [BZ #11521]
36980         * math/s_ctan.c: Include <float.h>.
36981         (__ctan): Avoid internal overflow or cancellation in calculating
36982         denominator.
36983         * math/s_ctanf.c: Likewise.
36984         * math/s_ctanl.c: Likewise.
36985         * math/s_ctanh.c: Likewise.
36986         * math/s_ctanhf.c: Likewise.
36987         * math/s_ctanhl.c: Likewise.
36988         * math/libm-test.inc (ctan_test): Add more tests.
36989         (ctanh_test): Likewise.
36990         * sysdeps/i386/fpu/libm-test-ulps: Update.
36991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36992
36993 2012-04-09  Andreas Jaeger  <aj@suse.de>
36994
36995         [BZ #6894]
36996         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36997         is an optional BSD extension.
36998
36999         [BZ #10254]
37000         * manual/stdio.texi (Opening Streams): Document additional fopen
37001         parameters.
37002
37003 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37004
37005         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37006         %eax without telling the compiler.
37007
37008 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37009
37010         [BZ # 13963]
37011         * manual/install.texi: Use sourceware.org.
37012
37013 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37014
37015         [BZ #13873]
37016         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37017         (__ieee754_pow): Generate overflow and underflow using huge*huge
37018         and tiny*tiny rather than just returning constant infinity or zero
37019         for large exponents.
37020         * math/libm-test.inc (pow_test): Require overflow exceptions for
37021         applicable cases of large exponents.
37022
37023         [BZ #706]
37024         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37025         (__ieee754_pow): Use iterative multiplication algorithm only for
37026         integer exponents with absolute value below 1024.  Check for odd
37027         integer exponents when using algorithm for real exponents.
37028         * math/libm-test.inc (pow_test): Add more tests.
37029         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37030
37031 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37032
37033         [BZ #13705]
37034         * math/libm-test.inc (exp_test): Do not allow overflow exception
37035         on underflow test.
37036
37037 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37038
37039         [BZ #13705]
37040         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37041         instead of __kernel_standard_f.
37042
37043 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37044
37045         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37046         * sysdeps/x86_64/memset_chk.S: Likewise.
37047
37048 2012-04-08  Andreas Jaeger  <aj@suse.de>
37049
37050         [BZ #10153]
37051         * manual/startup.texi (Environment Access): Describe return value
37052         for putenv and setenv.
37053
37054         [BZ #6895]
37055         * manual/filesys.texi (Directory Entries): Add description for
37056         DT_LNK.
37057
37058         [BZ #6890]
37059         * manual/filesys.texi (Directory Entries): Clarify that it's file
37060         system not operating system in the description of DT_UNKNOWN.
37061
37062         [BZ #6578]
37063         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37064
37065 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37066
37067         [BZ #6649]
37068         * manual/llio.texi (Opening and Closing Files): Add cross
37069         reference to explain mode argument.
37070
37071 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37072
37073         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37074         * sysdeps/x86_64/memset_chk.S: Likewise.
37075
37076 2012-04-07  David S. Miller  <davem@davemloft.net>
37077
37078         * elf/elf.h (R_SPARC_WDISP10): Define.
37079         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37080         R_SPARC_SIZE32.
37081         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37082         R_SPARC_SIZE64 and R_SPARC_H34.
37083
37084 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37085
37086         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37087         conditions and remove no longer applicable assertion.
37088
37089 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37090
37091         * bits/byteswap.h: Include <features.h>.
37092         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37093         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37094
37095 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37096
37097         * bits/byteswap.h (__bswap_16): Removed.
37098         Include <bits/byteswap-16.h> to get __bswap_16.
37099         * sysdeps/i386/bits/byteswap.h: Likewise.
37100         * sysdeps/s390/bits/byteswap.h: Likewise.
37101         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37102         * bits/byteswap-16.h: New file.
37103         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37104         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37105         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37106         * string/Makefile (headers): Add bits/byteswap-16.h.
37107
37108 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37109
37110         [BZ #13895]
37111         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37112         extra indirection.
37113         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37114         * nss/tst-nss-static.c: New.
37115
37116 2012-04-06  Robert Millan  <rmh@gnu.org>
37117
37118         [BZ #6486]
37119         * manual/llio.texi (File Position Primitive): lseek
37120         refers to WHENCE when it really means OFFSET.
37121
37122 2012-04-06  Andreas Jaeger  <aj@suse.de>
37123
37124         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37125         strncmp declarations.
37126
37127         * abilist/libc.abilist: Add __poll and __ppoll.
37128
37129 2012-04-05  David S. Miller  <davem@davemloft.net>
37130
37131         * scripts/check-local-headers.sh: Accept a host triplet in the
37132         path matched by the exclude regexp.
37133
37134         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37135         definition.
37136         * sysdeps/powerpc/powerpc32/dl-machine.h
37137         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37138         * sysdeps/s390/s390-32/dl-machine.h
37139         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37140         * sysdeps/sparc/sparc32/dl-machine.h
37141         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37142         * sysdeps/sparc/sparc64/dl-machine.h
37143         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37144
37145         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37146         lazy binding.
37147         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37148         undefined symbol errors.
37149
37150         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37151         DT_NEEDED entries.
37152
37153 2012-04-05  Michael Matz  <matz@suse.de>
37154
37155         [BZ #13592]
37156         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37157
37158 2012-04-05  Andreas Jaeger  <aj@suse.de>
37159
37160         [BZ #13908]
37161         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37162         comment.
37163
37164 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37165
37166         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37167         which ROUND is no valid rounding mode.
37168
37169 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37170
37171         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37172         read again.
37173         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37174
37175 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37176
37177         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37178         an exception using FPU order intentionally.
37179
37180 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37181
37182         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37183         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37184         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37185         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37186
37187 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37188
37189         [BZ #12340]
37190         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37191         EINVAL when BUFLEN is too smal.
37192
37193 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37194
37195         [BZ #13553]
37196         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37197         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37198
37199 2012-04-03  Andreas Jaeger  <aj@suse.de>
37200
37201         [BZ #13938]
37202         * manual/setjmp.texi (System V contexts): Fix sentence.
37203
37204         [BZ #13926]
37205         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37206         New macro for this case.
37207         [!__GNUC__] (__bswap_64): New inline function for this case.
37208         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37209         * bits/byteswap.h: Likewise.
37210         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37211         ull, guard with __GLIBC_HAVE_LONG_LONG.
37212
37213         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37214         __GLIBC_HAVE_LONG_LONG.
37215
37216         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37217         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37218
37219 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37220
37221         [BZ #13691]
37222         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37223         inptr and inend, rather than using last_ch.
37224
37225 2012-04-02  David S. Miller  <davem@davemloft.net>
37226
37227         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37228         * stdio-common/printf-parse.h (read_int): Change return type to
37229         'int', return -1 on INT_MAX overflow.
37230         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37231         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37232         overflows INT_MAX.  Check for overflow of in-format-string precision
37233         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37234         SIZE_MAX not INT_MAX for integer overflow test.
37235         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37236         skip the construct in the format string but do not record anything.
37237         * stdio-common/bug22.c: Adjust to test both width/prevision
37238         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37239         explicitly for proper errno values.
37240
37241 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37242
37243         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37244         CHAR_MAX.
37245         * string/test-strcmp.c [! WIDE]: Likewise.
37246         * time/tst-mktime2.c: Likewise for INT_MAX.
37247         * string/test-string.h: #include <sys/param.h> for MIN.
37248
37249         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37250         * sysdeps/i386/init-first.c (init): Likewise.
37251         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37252         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37253         * sysdeps/sh/init-first.c (init): Likewise.
37254
37255 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37256
37257         * po/ru.po: Update from translation team.
37258         * po/vi.po: Likewise.
37259
37260 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37261
37262         * resolv/nss_dns/dns-host.c: Merge copyright years.
37263
37264 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37265
37266         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37267         Optimize memcpy with prefetch if
37268         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37269         src, dst pointers have unequal 16 byte alignments.
37270
37271 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37272
37273         [BZ #13928]
37274         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37275         from a CNAME entry and return the minimum ttl for the query.
37276         (gaih_getanswer_slice): Likewise.
37277
37278 2012-03-30  Jeff Law  <law@redhat.com>
37279
37280         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37281         due to long keys.
37282         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37283         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37284
37285         * resolv/nss_dns/dns-host.c: Update copyright year.
37286
37287 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37288
37289         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37290         requests to save a system call.  Fix check that all bytes are sent.
37291
37292         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37293         comments for sendmmsg.
37294
37295 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37296
37297         [BZ #13691]
37298         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37299         with only 1 character between 0x0041 and 0x01b0.
37300         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37301         * wcsmbs/tst-mbsnrtowcs.c: New file.
37302
37303 2012-03-29  David S. Miller  <davem@davemloft.net>
37304
37305         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37306         small copies by hand.
37307
37308 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37309
37310         [BZ #13761]
37311         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37312         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37313         group memberships.
37314
37315 2012-03-28  David S. Miller  <davem@davemloft.net>
37316
37317         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37318         that branches into memcpy.
37319         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37320         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37321         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37322         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37323         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37324         bits.
37325         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37326         implementation too.
37327         * sysdeps/sparc/mempcpy.S: New file.
37328
37329         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37330         the IFUNC routine in the libc case.
37331         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37332
37333         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37334         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37335         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37336         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37337         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37338         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37339         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37340         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37341
37342         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37343         loop to 256 bytes instead of 64 bytes and fix test signedness.
37344
37345         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37346         * sysdeps/sparc/sparc32/Makefile: rather than here...
37347         * sysdeps/sparc/sparc64/Makefile: and here.
37348
37349 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37350
37351         * malloc/mallocbug.c: Avoid warnings about unused variables.
37352
37353 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37354
37355         [BZ #13760]
37356         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37357         in the right place. Discard and retry query if response is
37358         larger than input buffer size.
37359
37360 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37361
37362         [BZ #369]
37363         [BZ #2678]
37364         [BZ #3866]
37365         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37366         x for large integer exponent.
37367         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37368         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37369         sign of result as needed afterwards.
37370         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37371         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37372         result for underflowing pow the same as for overflow.
37373         (__kernel_standard_l): Handle powl overflow and underflow here
37374         rather than calling __kernel_standard.
37375         * math/libm-test.inc (pow_test): Add more tests.
37376
37377         [BZ #3868]
37378         [BZ #13879]
37379         [BZ #13910]
37380         [BZ #13911]
37381         [BZ #13912]
37382         [BZ #13913]
37383         [BZ #13915]
37384         [BZ #13916]
37385         [BZ #13917]
37386         [BZ #13918]
37387         [BZ #13919]
37388         [BZ #13920]
37389         [BZ #13921]
37390         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37391         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37392         (__kernel_standard_l): New function.
37393         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37394         __kernel_standard.
37395         * math/w_acosl.c (__acosl): Likewise.
37396         * math/w_asinl.c (__asinl): Likewise.
37397         * math/w_atan2l.c (__atan2l): Likewise.
37398         * math/w_atanhl.c (__atanhl): Likewise.
37399         * math/w_coshl.c (__coshl): Likewise.
37400         * math/w_exp10l.c (__exp10l): Likewise.
37401         * math/w_exp2l.c (__exp2l): Likewise.
37402         * math/w_fmodl.c (__fmodl): Likewise.
37403         * math/w_hypotl.c (__hypotl): Likewise.
37404         * math/w_j0l.c (__j0l, __y0l): Likewise.
37405         * math/w_j1l.c (__j1l, __y1l): Likewise.
37406         * math/w_jnl.c (__jnl, __ynl): Likewise.
37407         * math/w_lgammal.c (__lgammal): Likewise.
37408         * math/w_log10l.c (__log10l): Likewise.
37409         * math/w_log2l.c (__log2l): Likewise.
37410         * math/w_logl.c (__logl): Likewise.
37411         * math/w_powl.c (__powl): Likewise.
37412         * math/w_remainderl.c (__remainderl): Likewise.
37413         * math/w_scalbl.c (sysv_scalbl): Likewise.
37414         * math/w_sinhl.c (__sinhl): Likewise.
37415         * math/w_sqrtl.c (__sqrtl): Likewise.
37416         * math/w_tgammal.c (__tgammal): Likewise.
37417         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37418         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37419         * math/libm-test.inc (acos_test): Add more tests.
37420         (acosh_test): Likewise.
37421         (asin_test): Likewise.
37422         (atanh_test): Likewise.
37423         (exp_test): Likewise.
37424         (exp10_test): Likewise.
37425         (exp2_test): Likewise.
37426         (expm1_test): Likewise.
37427         (lgamma_test): Likewise.
37428         (log_test): Likewise.
37429         (log10_test): Likewise.
37430         (log1p_test): Likewise.
37431         (log2_test): Likewise.
37432         (pow_test): Do not allow some spurious overflow exceptions.
37433         (sqrt_test): Add more tests.
37434         (tgamma_test): Likewise.
37435         (y0_test): Likewise.
37436         (y1_test): Likewise.
37437         (yn_test): Likewise.
37438
37439 2012-03-27  Anton Blanchard  <anton@samba.org>
37440
37441         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37442         MAP_HUGETLB.
37443         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37444         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37445         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37446
37447 2012-03-27  David S. Miller  <davem@davemloft.net>
37448
37449         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37450
37451         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37452         have-as-vis3 check.
37453
37454 2012-03-27  Andreas Jaeger  <aj@suse.de>
37455
37456         * sysdeps/x86_64/elf/configure.in: Moved to ...
37457         * sysdeps/x86_64/configure.in: ... here.
37458         * sysdeps/x86_64/elf/start.S: Moved to ...
37459         * sysdeps/x86_64/start.S: ... here.
37460         * sysdeps/x86_64/elf/configure: Delete.
37461
37462         * sysdeps/x86_64/configure.in: Merge contents from
37463         sysdeps/i386/configure.in (without i686 check).
37464
37465         * sysdeps/i386/elf/Versions: Merge into ...
37466         * sysdeps/i386/Versions: ... this.
37467         * sysdeps/i386/elf/Versions: Delete file.
37468         * sysdeps/i386/elf/start.S: Moved to ...
37469         * sysdeps/i386/start.S: ...here.
37470         * sysdeps/i386/elf/configure.in: Merge into...
37471         * sysdeps/i386/configure.in: ...here.
37472         * sysdeps/i386/elf/configure.in: Delete file.
37473         * sysdeps/i386/elf/configure: Delete file.
37474
37475         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37476         * debug/backtracesyms.c: ... here.
37477         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37478         * debug/backtracesymsfd.c: ... here.
37479         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37480         * sysdeps/generic/ifunc-sel.h: ... here.
37481
37482         * sysdeps/unix/i386/start.c: Delete file.
37483         * sysdeps/unix/sparc/start.c: Delete file.
37484         * sysdeps/unix/start.c: Delete file.
37485
37486         * sysdeps/sh/elf/configure.in: Moved to ...
37487         * sysdeps/sh/configure.in: ... here.
37488         * sysdeps/sh/elf/start.S: Moved to ...
37489         * sysdeps/sh/start.S: ... here.
37490         * sysdeps/sh/elf/configure: Delete file.
37491
37492         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37493         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37494         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37495         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37496         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37497         * sysdeps/powerpc/powerpc64/start.S: here.
37498         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37499         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37500         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37501         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37502         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37503
37504         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37505         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37506         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37507         * sysdeps/powerpc/powerpc32/start.S: ... here.
37508         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37509         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37510         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37511
37512         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37513         * sysdeps/powerpc/ifunc-sel.h: ... here.
37514         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37515         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37516
37517         * sysdeps/sparc/elf/configure.in: Moved to ...
37518         * sysdeps/sparc/configure.in: ... here.
37519         * sysdeps/sparc/elf/configure: Delete file.
37520         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37521         * sysdeps/sparc/sparc32/start.S: ... here.
37522         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37523         * sysdeps/sparc/sparc64/start.S: ... here.
37524         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37525         * sysdeps/sparc/sparc32/Makefile: ... this.
37526         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37527         * sysdeps/sparc/sparc64/Makefile: ... this.
37528
37529         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37530         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37531         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37532         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37533         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37534         * sysdeps/s390/s390-32/setjmp.S: ... here.
37535         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37536         * sysdeps/s390/s390-32/configure.in: ... here.
37537         * sysdeps/s390/s390-32/elf/configure: Delete file.
37538         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37539         * sysdeps/s390/s390-32/start.S: ... here.
37540
37541         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37542         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37543         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37544         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37545         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37546         * sysdeps/s390/s390-64/setjmp.S: ... here.
37547         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37548         * sysdeps/s390/s390-64/configure.in: ... here
37549         * sysdeps/s390/s390-64/elf/configure: Delete file.
37550         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37551         * sysdeps/s390/s390-64/start.S: ... here.
37552         * sysdeps/s390/s390-64/elf/configure: Delete.
37553
37554         * configure.in: Remove support for elf directories in sysdeps.
37555
37556         * configure: Regenerated.
37557         * sysdeps/i386/configure: Regenerated.
37558         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37559         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37560         * sysdeps/s390/s390-32/configure: Regenerated.
37561         * sysdeps/s390/s390-64/configure: Regenerated.
37562         * sysdeps/sh/configure: Regenerated.
37563         * sysdeps/sparc/configure: Regenerated.
37564         * sysdeps/x86_64/configure: Regenerated.
37565
37566 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37567
37568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37569
37570         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37571         denormal result into account.
37572
37573 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37574
37575         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37576         Reported by Allan McRae <allan@archlinux.org>.
37577
37578 2012-03-23  Jeff Law  <law@redhat.com>
37579
37580         * nss/getnssent.c (__nss_getent): Fix typo.
37581
37582 2012-03-23  David S. Miller  <davem@davemloft.net>
37583
37584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37585
37586 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37587
37588         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37589         to pad to uint64_t for each field.
37590         (dl_tls_index): Replace unsigned long with uint64_t.
37591
37592 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37593         Paul Pluzhnikov  <ppluzhnikov@google.com>
37594
37595         [BZ #6528]
37596         * grp/Makefile (otherlibs): Don't set it.
37597         * inet/Makefile (otherlibs): Likewise.
37598         * login/Makefile (otherlibs): Likewise.
37599         * nscd/Makefile (otherlibs): Likewise.
37600         * posix/Makefile (otherlibs): Likewise.
37601         * pwd/Makefile (otherlibs): Likewise.
37602         * rt/Makefile (otherlibs): Likewise.
37603         * sunrpc/Makefile (otherlibs): Likewise.
37604         * nss/Makefile (otherlibs): Likewise.
37605         Add libnss_files to routines and static-only-routines.
37606         ($(objpfx)getent): Remove rule.
37607         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37608         static-only-routines.
37609
37610 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37611
37612         [BZ #13892]
37613         * math/s_cexp.c: Include <float.h>.
37614         (__cexp): Handle exp result overflowing not necessarily
37615         overflowing both real and imaginary parts of result.
37616         * math/s_cexpf.c: Likewise.
37617         * math/s_cexpl.c: Likewise.
37618         * math/libm-test.inc (cexp_test): Add more tests.
37619         * sysdeps/i386/fpu/libm-test-ulps: Update.
37620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37621
37622 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37623
37624         * include/link.h (ELFW): New macro.
37625         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37626         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37627
37628 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37629
37630         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37631         with uint64_t.
37632
37633 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37634
37635         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37636         declaration.
37637         (struct La_x32_retval): Likewise.
37638
37639 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37640
37641         * sysdeps/x86_64/preconfigure.in: New file.
37642         * sysdeps/x86_64/preconfigure: New generated file.
37643
37644 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37645
37646         [BZ #13824]
37647         * math/e_exp2l.c: Include <float.h>.
37648         (__ieee754_exp2l): Handle overflow and underflow cases
37649         separately.  Only pass fractional part of argument to
37650         __ieee754_expl.
37651         * math/libm-test.inc (exp2_test): Add more tests.
37652
37653         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37654         negating x to take absolute value.
37655         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37656         Likewise.
37657         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37658         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37659         Likewise.
37660         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37661         computing low part if x was negated.
37662         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37663
37664 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37665
37666         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37667         la_x32_gnu_pltexit.
37668         (pltexit): Cast int_retval to ptrdiff_t.
37669         * elf/tst-auditmod3b.c: Likewise.
37670         * elf/tst-auditmod4b.c: Likewise.
37671         * elf/tst-auditmod5b.c: Likewise.
37672         * elf/tst-auditmod6b.c: Likewise.
37673         * elf/tst-auditmod6c.c: Likewise.
37674         * elf/tst-auditmod7b.c: Likewise.
37675
37676         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37677         and x32_gnu_pltexit.
37678
37679         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37680         __ELF_NATIVE_CLASS.
37681         (La_x32_regs): New macro.
37682         (La_x32_retval): Likewise.
37683         (la_x32_gnu_pltenter): New function prototype.
37684         (la_x32_gnu_pltexit): Likewise.
37685
37686 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37687
37688         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37689         exponent.
37690
37691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37692
37693         * configure.in (libc_cv_cc_nofma): Check for option to disable
37694         generation of FMA instructions.
37695         * configure: Regenerate.
37696         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37697         * sysdeps/ieee754/dbl-64/Makefile: New file.
37698         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37699         Remove brandred-fma4.
37700         (CFLAGS-brandred-fma4.c): Remove.
37701         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37702         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37703         define.
37704         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37705         define.
37706
37707 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37708
37709         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37710         LLONG_MAX != LONG_MAX.
37711         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37712         (_fitoa_word): Likewise.
37713         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37714         LLONG_MAX != LONG_MAX.
37715         * stdio-common/_itowa.h: Include <_itoa.h>.
37716         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37717         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37718         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37719         only if not defined.
37720         (_ITOA_WORD_TYPE): Likewise.
37721         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37722         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37723
37724 2012-03-21  David S. Miller  <davem@davemloft.net>
37725
37726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37727
37728 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37729
37730         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37731         of x86_64 when setting libc_cv_slibdir, libdir and
37732         libc_cv_localedir.
37733         * sysdeps/unix/sysv/linux/configure: Regenerated.
37734
37735 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37736
37737         * manual/lang.texi (Old Varargs): Remove section.
37738         (How Variadic): Update menu.
37739         (va_start): Do not mention varargs.h.
37740
37741 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37742             Joseph Myers  <joseph@codesourcery.com>
37743
37744         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37745         link test.
37746         * configure: Regenerated.
37747
37748 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37749
37750         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37751         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37752         conformtest.pl
37753
37754 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37755
37756         * NOTES: Remove.
37757         * Makefile (files-for-dist): Remove NOTES.
37758         (NOTES): Remove rule.
37759         * README: Don't refer to NOTES.
37760         * manual/creature.texi: Don't include macros.texi.
37761         * manual/intro.texi (creature.texi): Remove comment referring to
37762         NOTES.
37763
37764         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37765         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37766         * configure: Regenerated.
37767         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37768         LIBC_TRY_CC_OPTION.
37769         (libc_cv_as_i686): Likewise.
37770         (libc_cv_cc_avx): Likewise.
37771         (libc_cv_cc_sse2avx): Likewise.
37772         (libc_cv_cc_fma4): Likewise.
37773         (libc_cv_cc_novzeroupper): Likewise.
37774         * sysdeps/i386/configure: Regenerated.
37775
37776         [BZ #13883]
37777         * sysdeps/i386/fpu/s_cexp.S: Remove.
37778         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37779         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37780         * math/libm-test.inc (cexp_test): Add more tests.
37781         * sysdeps/i386/fpu/libm-test-ulps: Update.
37782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37783
37784 2012-03-21  Allan McRae  <allan@archlinux.org>
37785
37786         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37787
37788 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37789
37790         [BZ #13871]
37791         * math/w_exp2.c: Do not include <float.h>.
37792         (o_threshold, u_threshold): Remove.
37793         (__exp2): Calculate result before checking finiteness and calling
37794         __kernel_standard.
37795         * math/w_exp2f.c: Likewise.
37796         * math/w_exp2l.c: Likewise.
37797         * math/libm-test.inc (exp2_test): Require overflow exception for
37798         1e6 input.
37799
37800         [BZ #3866]
37801         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37802         range of signed 64-bit integers before using fistpll.  Remove
37803         checks for whether integers fit in mantissa bits.
37804         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37805         the range of signed 32-bit integers before using fistpl.  Remove
37806         checks for whether integers fit in mantissa bits.
37807         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37808         (__ieee754_powl): Test for y outside the range of signed 64-bit
37809         integers before using fistpll.  Reduce 64-bit values to 63-bit
37810         ones as needed.
37811         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37812         divide-by-zero is raised for zero to large negative powers.
37813         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37814         (__ieee754_powl): Test for y outside the range of signed 64-bit
37815         integers before using fistpll.  Reduce 64-bit values to 63-bit
37816         ones as needed.
37817         * math/libm-test.inc (pow_test): Add more tests.
37818
37819 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37820
37821         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37822         <stdio-common/_itoa.h>.
37823         * debug/segfault.c: Likewise.
37824         * elf/dl-cache.c: Likewise.
37825         * elf/dl-minimal.c: Likewise.
37826         * elf/dl-misc.c: Likewise.
37827         * elf/dl-sysdep.c: Likewise.
37828         * elf/dl-version.c: Likewise.
37829         * elf/rtld.c: Likewise.
37830         * hurd/hurdsock.c: Likewise.
37831         * hurd/lookup-retry.c: Likewise.
37832         * malloc/malloc.c: Likewise.
37833         * malloc/mtrace.c: Likewise.
37834         * nscd/nscd_getgr_r.c: Likewise.
37835         * nscd/nscd_getpw_r.c: Likewise.
37836         * nscd/nscd_getserv_r.c: Likewise.
37837         * posix/getopt_init.c: Likewise.
37838         * posix/wordexp.c: Likewise.
37839         * stdio-common/_itoa.c: Likewise.
37840         * stdio-common/printf_fphex.c: Likewise.
37841         * stdio-common/vfprintf.c: Likewise.
37842         * string/_strerror.c: Likewise.
37843         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37844         * sysdeps/i386/i686/hp-timing.h: Likewise.
37845         * sysdeps/mach/_strerror.c: Likewise.
37846         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37847         * sysdeps/mach/hurd/sethostid.c: Likewise.
37848         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37849         * sysdeps/mach/xpg-strerror.c: Likewise.
37850         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37851         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37852         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37853         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37854         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37855         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37856         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37857         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37858         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37859         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37860         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37861         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37862         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37863         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37864         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37865         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37866         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37867         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37868         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37869         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37870         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37871
37872         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37873
37874         * stdio-common/_itoa.h: Moved to ...
37875         * sysdeps/generic/_itoa.h: Here.
37876
37877         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37878
37879         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37880         instead of "_itoa.h" and "_itowa.h".
37881         * stdio-common/vfprintf.: Likewise.
37882
37883 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37884
37885         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37886         <bits/wordsize.h>.
37887         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37888         (__signbit): Likwise.
37889         (llrintf): Likwise.
37890         (llrint): Likwise.
37891
37892 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37893
37894         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37895         __WORDSIZE != 64.
37896
37897 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37898
37899         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37900         OVERFLOW_EXCEPTION_OK.
37901         * math/libm-test.inc ("Philosophy"): Update comment about
37902         exception testing.
37903         (OVERFLOW_EXCEPTION): Define.
37904         (OVERFLOW_EXCEPTION_OK): Likewise.
37905         (INVALID_EXCEPTION_OK): Renumber.
37906         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37907         (IGNORE_ZERO_INF_SIGN): Likewise.
37908         (test_exceptions): Handle FE_OVERFLOW.
37909         (exp10_test): Expect overflow exceptions.
37910         (exp2_test): Likewise.
37911         (expm1_test): Likewise.
37912         (nextafter_test): Likewise.
37913         (pow_test): Likewise.
37914         (scalbn_test): Likewise.
37915         (scalbln_test): Likewise.
37916
37917 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37918
37919         * sysdeps/x86_64/bits/atomic.h
37920         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37921         64bit integer.
37922         (atomic_exchange_acq): Likewise.
37923         (__arch_exchange_and_add_body): Likewise.
37924         (__arch_add_body): Likewise.
37925         (atomic_add_negative): Likewise.
37926         (atomic_add_zero): Likewise.
37927
37928 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37929
37930         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37931         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37932
37933 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37934
37935         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37936         Check __x86_64__ instead of __WORDSIZE.
37937
37938 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37939
37940         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37941
37942 2012-03-19  David S. Miller  <davem@davemloft.net>
37943
37944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37945
37946         * sysdeps/sparc/fpu/fenv_private.h: New file.
37947         * sysdeps/sparc/fpu/math_private.h: Use it.
37948         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37949         Remove.
37950         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37951         (libc_feholdexcept_setroundl): Remove.
37952         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37953         Remove.
37954         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37955         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37956
37957 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37958
37959         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37960         int64_t instead of long int.
37961         (INSERT_WORDS64): Likwise.
37962
37963 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37964
37965         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37966         _Unwind_GetCFA return to _Unwind_Ptr first.
37967
37968 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37969
37970         [BZ #13629]
37971         * math/s_clog.c: Include <float.h>.
37972         (__clog): Scale large or subnormal inputs.
37973         * math/s_clogf.c: Likewise.
37974         * math/s_clogl.c: Likewise.
37975         * math/s_clog10.c: Include <float.h>.
37976         (M_LOG10_2): Define.
37977         (__clog10): Scale large or subnormal inputs.
37978         * math/s_clog10f.c: Likewise.
37979         * math/s_clog10l.c: Likewise.
37980         * math/libm-test.inc (clog_test): Add more tests.
37981         (clog10_test): Likewise.
37982         * sysdeps/i386/fpu/libm-test-ulps: Update.
37983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37984
37985         [BZ #11451]
37986         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37987         x and y.
37988         * math/libm-test.inc (atan2_test): Add another test.
37989
37990         * Makerules (common-objdir-compile): Remove.
37991         * sysdeps/unix/Makefile (config-generated): Do not add
37992         $(unix-generated) to variable.
37993         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37994         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37995         Remove rule.
37996         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37997         Likewise.
37998         [generic bits/local_lim.h] (before-compile): Do not append to
37999         variable.
38000         [generic bits/local_lim.h] (common-generated): Likewise.
38001         [generic sys/param.h] (before-compile): Do not append to variable.
38002         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38003         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38004         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38005         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38006         include.
38007         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38008         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38009         [generic sys/param.h] ($(addprefix
38010         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38011         [generic sys/param.h] (common-generated): Do not append to
38012         variable.
38013         [generic sys/param.h] (sysdep_headers): Likewise.
38014         [generic bits/errno.h] (before-compile): Do not append to
38015         variable.
38016         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38017         rule.
38018         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38019         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38020         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38021         [generic bits/errno.h] (common-generated): Do not append to
38022         variable.
38023         [generic bits/ioctls.h] (before-compile): Do not append to
38024         variable.
38025         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38026         rule.
38027         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38028         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38029         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38030         rule.
38031         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38032         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38033         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38034         [generic bits/ioctls.h] (common-generated): Do not append to
38035         variable.
38036         [generic sys/syscall.h] (syscall.h): Remove variable.
38037         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38038         rule.
38039         [generic sys/syscall.h] (before-compile): Do not append to
38040         variable.
38041         [generic sys/syscall.h] (common-generated): Likewise.
38042         * sysdeps/unix/errnos-tmpl.c: Remove file.
38043         * sysdeps/unix/errnos.awk: Likewise.
38044         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38045         * sysdeps/unix/ioctls.awk: Likewise.
38046         * sysdeps/unix/mk-local_lim.c: Likewise.
38047         * sysdeps/unix/snarf-ioctls: Likewise.
38048
38049 2012-03-19  Richard Henderson  <rth@twiddle.net>
38050
38051         * sysdeps/i386/fpu/fenv_private.h: New file.
38052         * sysdeps/i386/fpu/math_private.h: Use it.
38053         (math_opt_barrier, math_force_eval): Remove.
38054         (libc_feholdexcept_setround_53bit): Remove.
38055         (libc_feupdateenv_53bit): Remove.
38056         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38057         (math_opt_barrier, math_force_eval): Remove.
38058         (libc_feholdexcept): Remove.
38059         (libc_feholdexcept_setround): Remove.
38060         (libc_fetestexcept, libc_fesetenv): Remove.
38061         (libc_feupdateenv_test): Remove.
38062         (libc_feupdateenv, libc_feholdsetround): Remove.
38063         (libc_feresetround): Remove.
38064
38065         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38066         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38067
38068         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38069         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38070         (libc_feupdateenv_testl): New.
38071         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38072         (libc_feupdateenv_testf): New.
38073         (libc_feupdateenv): Use libc_feupdateenv_test.
38074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38075         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38076
38077         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38078         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38079         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38080         (libc_feresetround_noex): New.
38081         (libc_feresetround_noexf): New.
38082         (libc_feresetround_noexl): New.
38083         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38084         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38085         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38086         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38087         SET_RESTORE_ROUND.
38088         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38089         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38090         (__cos): Likewise.
38091         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38092         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38093         SET_RESTORE_ROUND_NOEX.
38094         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38095         SET_RESTORE_ROUND_NOEXF.
38096         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38097         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38098         (libc_feholdsetroundf): New.
38099         (libc_feresetround, libc_feresetroundf): New.
38100
38101         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38102         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38103         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38104
38105         * sysdeps/generic/math_private.h: Include <fenv.h>.
38106         (default_libc_feholdexcept): New.
38107         (default_libc_feholdexcept_setround): New.
38108         (default_libc_fesetenv, default_libc_feupdateenv): New.
38109         (libc_feholdexcept): Only define if undefined.
38110         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38111         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38112         (libc_feholdexcept_setroundl): Likewise.
38113         (libc_feholdexcept_setround_53bit): Likewise.
38114         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38115         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38116         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38117         (libc_feupdateenv_53bit): Likewise.
38118         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38119         (libc_feholdexcept): Convert from macro to inline function.
38120         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38121         (libc_fesetenv, libc_feupdateenv): Likewise.
38122
38123         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38124         not previously defined.
38125         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38126         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38127         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38128         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38129         * sysdeps/ieee754/flt-32/math_private.h: New file.
38130         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38131         math_private.h below SET_FLOAT_WORD.
38132         (__isnan, __isinf_ns, __finite): Remove.
38133         (__isnanf, __isinf_nsf, __finitef): Remove.
38134
38135 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38136
38137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38138
38139 2012-03-17  David S. Miller  <davem@davemloft.net>
38140
38141         [BZ #6471]
38142         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38143         for 2.16.
38144
38145 2012-03-16  David S. Miller  <davem@davemloft.net>
38146
38147         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38148         warnings.
38149
38150         [BZ #6471]
38151         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38152         properly.
38153         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38154         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38155         sysdep_routines when subdir is sysvipc.
38156         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38157         __getshmlba helper.
38158
38159         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38160
38161 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38162
38163         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38164         [__LP64__].
38165
38166 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38167
38168         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38169         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38170         (__lround): Renamed to ...
38171         (__llround): This.  Replace long int with long long int.
38172         Define lround functions as aliases of llround functions.
38173         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38174
38175 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38176
38177         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38178         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38179         adresses to uintptr_t.  Replace "long int" and "unsigned long
38180         int" with "greg_t" on va_arg.
38181
38182 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38183
38184         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38185         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38186
38187         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38188         Move e_machine check before EI_CLASS check.  Handle x32
38189         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38190         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38191         SKIP_EM_IA_64 and include
38192         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38193
38194         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38195         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38196         (add_system_dir): New macro.
38197
38198         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38199         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38200
38201 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38202
38203         [BZ #2551]
38204         [BZ #2552]
38205         [BZ #2553]
38206         [BZ #2554]
38207         [BZ #2562]
38208         [BZ #2563]
38209         [BZ #2565]
38210         [BZ #2566]
38211         [BZ #2576]
38212         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38213         (y0): Likewise.
38214         * math/w_j0f.c (j0f): Likewise.
38215         (y0f): Likewise.
38216         * math/w_j0l.c (__j0l): Likewise.
38217         (__y0l): Likewise.
38218         * math/w_j1.c (j1): Likewise.
38219         (y1): Likewise.
38220         * math/w_j1f.c (j1f): Likewise.
38221         (y1f): Likewise.
38222         * math/w_j1l.c (__j1l): Likewise.
38223         (__y1l): Likewise.
38224         * math/w_jn.c (jn): Likewise.
38225         (yn): Likewise.
38226         * math/w_jnf.c (jnf): Likewise.
38227         (ynf): Likewise.
38228         * math/w_jnl.c (__jnl): Likewise.
38229         (__ynl): Likewise.
38230         * math/libm-test.inc (j0_test): Add more tests.
38231         (j1_test): Likewise.
38232         (jn_test): Likewise.  Add trailing semicolon to existing test.
38233         (y0_test): Likewise.
38234         (y1_test): Likewise.
38235         * sysdeps/i386/fpu/libm-test-ulps: Update.
38236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38237
38238         [BZ #13851]
38239         [BZ #13854]
38240         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38241         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38242         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38243         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38244         (__tanl): Set errno for infinite argument.
38245         * sysdeps/i386/fpu/mptan.c: Remove.
38246         * sysdeps/i386/fpu/s_tan.S: Likewise.
38247         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38248         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38249         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38250         * math/libm-test.inc (tan_test): Add more tests and enable more
38251         tests for double and long double.
38252         * sysdeps/i386/fpu/libm-test-ulps: Update.
38253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38254
38255 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38256
38257         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38258         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38259
38260 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38261
38262         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38263         * configure.in: Use it for both main tree and add-ons.
38264         * configure: Regenerated.
38265
38266 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38267
38268         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38269
38270 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38271
38272         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38273         in comment.
38274
38275         [BZ #13851]
38276         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38277         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38278         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38279         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38280         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38281         infinite argument.
38282         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38283         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38284         != 0 for prec == 2.
38285         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38286         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38287         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38288         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38289         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38290         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38291         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38292         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38293         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38294         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38295         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38296         * math/libm-test.inc (cos_test): Add more tests and enable more
38297         tests for long double.
38298         (sin_test): Likewise.
38299         (sincos_test): Likewise.
38300         * sysdeps/i386/fpu/libm-test-ulps: Update.
38301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38302
38303 2012-03-16  David S. Miller  <davem@davemloft.net>
38304
38305         * sysdeps/sparc/fpu/math_private.h: New file.
38306
38307 2012-03-15  David S. Miller  <davem@davemloft.net>
38308
38309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38310         file.
38311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38313         file.
38314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38319         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38320         sysdep routines.
38321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38322
38323         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38324         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38325
38326         * sysdeps/sparc/sparc-ifunc.h: New file.
38327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38328         sparc-ifunc.h
38329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38331         Likewise.
38332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38333         Likewise.
38334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38338         Likewise.
38339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38344         Likewise.
38345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38346         Likewise.
38347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38351         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38352         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38353         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38354         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38355         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38356         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38357         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38359         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38360         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38361         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38362         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38363         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38364         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38365         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38366         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38367         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38368         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38369         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38371
38372 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38373
38374         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38375         scaling.
38376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38377
38378 2012-03-15  Andreas Jaeger  <aj@suse.de>
38379
38380         [BZ #13852]
38381         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38382         ieee754/flt-32 implementation for sin, cos and sincos.
38383         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38384         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38385         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38386         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38387         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38388         ieee754/flt-32 implementation for tan.
38389
38390         * math/libm-test.inc (cos_test): Enable some large input tests for
38391         float as well
38392         (sin_test): Likewise.
38393         (sincos_test): Likewise.
38394         (tan_test): Add tests for large input.
38395
38396         * sysdeps/i386/fpu/libm-test-ulps: Update.
38397
38398 2012-03-15  Andreas Jaeger  <aj@suse.de>
38399
38400         [BZ #13658]
38401         * math/libm-test.inc (cos_test): Add more test cases.
38402         (sin_test): Likewise.
38403         (sincos_test): Likewise.
38404
38405 2012-03-15  Andreas Jaeger  <aj@suse.de>
38406
38407         [BZ #13837]
38408         * math/libm-test.inc (cos_test): Add a test case for large input
38409         value.
38410         (sin_test): Likewise.
38411         (sincos_test): Likewise.
38412
38413 2012-03-15  Andreas Jaeger  <aj@suse.de>
38414             Joseph Myers  <joseph@codesourcery.com>
38415
38416         [BZ #13658]
38417         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38418         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38419         * sysdeps/i386/fpu/branred.c: Likewise.
38420         * sysdeps/i386/fpu/dosincos.c: Likewise.
38421         * sysdeps/i386/fpu/mpa.c: Likewise.
38422         * sysdeps/i386/fpu/s_cos.S: Likewise.
38423         * sysdeps/i386/fpu/s_sin.S: Likewise.
38424         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38425         * sysdeps/i386/fpu/sincos32.c: Likewise.
38426
38427         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38428         Define.
38429         (libc_feupdateenv_53bit): Define.
38430         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38431         Define.
38432         (libc_feupdateenv_53bit): Define.
38433
38434         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38435         53 bit (without extend i386 double precision).
38436
38437         * math/libm-test.inc (sincos_test): Add tests for large input.
38438         (sin): Likewise.
38439         (cos): Likewise.
38440
38441         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38442
38443 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38444
38445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38446
38447 2012-03-15  David S. Miller  <davem@davemloft.net>
38448
38449         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38450         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38451         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38452         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38465         file.
38466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38468         file.
38469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38471         file.
38472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38474         file.
38475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38476         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38477         fmin/fmax sysdep routines.
38478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38479
38480 2012-03-14  David S. Miller  <davem@davemloft.net>
38481
38482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38486         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38487         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38488         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38489         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38493         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38494         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38497         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38498         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38499         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38500         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38501         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38502         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38503         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38504         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38505         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38506         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38507         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38508         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38509         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38510         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38511         routines.
38512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38513         file.
38514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38516         file.
38517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38519         file.
38520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38522         file.
38523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38525         file.
38526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38528         file.
38529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38530         file.
38531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38532         file.
38533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38534         file.
38535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38536         New file.
38537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38538         file.
38539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38540         file.
38541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38543         file.
38544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38546         file.
38547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38549         file.
38550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38552         VIS3 routines.
38553
38554         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38555         New file.
38556
38557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38558
38559         * sysdeps/sparc/configure.in: New file.
38560         * sysdeps/sparc/configure: Generate.
38561         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38562         * configure: Regenerate.
38563         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38564         * config.make.in (have-as-vis3): New.
38565         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38566         available use -Av9d instead of -Av9a.
38567         * sysdeps/sparc/sparc64/Makefile: Likewise.
38568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38570         New file.
38571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38572         file.
38573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38574         New file.
38575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38576         file.
38577         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38578         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38579         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38580         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38581         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38582
38583         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38584         fzeros/fnegs to load 0x80000000 into a float register instead of
38585         using the stack.
38586         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38587
38588 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38589
38590         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38591         bits/syscall.h.
38592         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38593         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38594         ($(inst_includedir)/bits/syscall.h): Remove rule.
38595         ($(objpfx)bits/syscall.d): Include instead of
38596         $(objpfx)syscall-list.d.
38597         (generated): Change syscall-list.h and syscall-list.d to
38598         bits/syscall.h and bits/syscall.d.
38599
38600 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38601
38602         [BZ #13846]
38603         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38604
38605 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38606
38607         [BZ #13841]
38608         * math/s_csqrt.c: Include <float.h>.
38609         (__csqrt): Scale large or subnormal inputs.
38610         * math/s_csqrtf.c: Likewise.
38611         * math/s_csqrtl.c: Likewise.
38612         * math/libm-test.inc (csqrt_test): Add more tests.
38613         * sysdeps/i386/fpu/libm-test-ulps: Update.
38614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38615
38616         [BZ #13840]
38617         * math/libm-test.inc (hypot_test): Add more tests.
38618
38619 2012-03-13  David S. Miller  <davem@davemloft.net>
38620
38621         [BZ #13840]
38622         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38623         double-precision for the calculation instead of scaling.
38624
38625 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38626
38627         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38628         manipulate bits before adding and subtracting TWO52[sx].
38629         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38630         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38631         Likewise.
38632         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38633
38634 2012-03-13  David S. Miller  <davem@davemloft.net>
38635
38636         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38637         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38638         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38639         rtld-global-offsets.h
38640         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38641
38642         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38643         large parameters.
38644
38645         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38646
38647         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38648         'err' in the ifdef scope in which it is actually used.
38649
38650         * nss/nss_db/db-init.c: Include string.h
38651
38652 2012-03-12  David S. Miller  <davem@davemloft.net>
38653
38654         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38655         masking out of the most significant byte of random value used.
38656         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38657         Fix coding style in previous change.
38658
38659         * sysdeps/unix/sysv/linux/kernel-features.h
38660         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38661         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38662         expression.
38663         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38664         later.
38665
38666 2012-03-11  David S. Miller  <davem@davemloft.net>
38667
38668         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38669         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38670         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38671         for 'resultvar' otherwise things get truncated on 64-bit.
38672
38673         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38674         Fix masking out of the most significant byte of random value used.
38675
38676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38677
38678 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38679
38680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38681
38682 2012-03-09  David S. Miller  <davem@davemloft.net>
38683
38684         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38685         variables with appropriate CPP guards.
38686         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38687         from the frame pointer, not the stack pointer.  Correct layout
38688         comments.  Fix test on resulting framesize and the management of
38689         the outregs buffer for pltexit.  Preserve floating point return
38690         values across _dl_call_pltexit call.
38691         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38692         framesize and the management of the outregs buffer for pltexit.
38693         Preserve floating point return values across _dl_call_pltexit
38694         call.
38695         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38696         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38697         (la_sparc64_gnu_pltexit): New functions.
38698         (print_exit): Fix format string for return register value.
38699
38700 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38701
38702         * sunrpc/Makefile (others): Add rpcgen.
38703         ($(objpfx)rpcgen): Remove special build rule and dependency on
38704         libc.
38705         * sunrpc/rpcgen.c: New file.
38706
38707 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38708
38709         [BZ #13673]
38710         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38711         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38712         * sysdeps/i386/crti.S: Likewise.
38713         * sysdeps/i386/crtn.S: Likewise.
38714         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38715         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38716         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38717         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38718         * sysdeps/sh/crti.S: Likewise.
38719         * sysdeps/sh/crtn.S: Likewise.
38720         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38721
38722         [BZ #13673]
38723         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38724         with URL.
38725         * locale/programs/locfile-kw.gperf: Likewise.
38726         * locale/programs/charmap-kw.h: Regenerated.
38727         * locale/programs/locfile-kw.h: Likewise.
38728
38729         [BZ #13673]
38730         * intl/plural.y: Replace FSF snail mail address with URL.
38731         * intl/plural.c: Regenerated.
38732
38733 2012-03-09  Richard Henderson  <rth@twiddle.net>
38734
38735         * include/math_private.h: Remove file.
38736         * math/math_private.h: Move file ...
38737         * sysdeps/generic/math_private.h: ... here.
38738
38739         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38740         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38741         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38742
38743         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38744         and <math_private.h>.
38745         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38746         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38747         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38748         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38749         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38750         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38751         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38753         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38754         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38755         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38756         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38757         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38758         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38759         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38760         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38761         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38762         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38763         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38764         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38765         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38766         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38767         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38768         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38769         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38770         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38771         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38772         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38773         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38774         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38775         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38776         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38777         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38778         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38779         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38780         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38781         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38782         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38783         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38784         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38785         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38786         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38787         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38788         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38789         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38790         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38791         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38792         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38793         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38794         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38795         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38796         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38797         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38798         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38799         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38800         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38801         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38802         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38803         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38804         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38805         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38806         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38807         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38808         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38809         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38810         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38811         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38812         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38813         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38814         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38815         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38816         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38817         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38818         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38819         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38820         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38821         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38822         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38823         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38824         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38825         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38826         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38827         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38828         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38829         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38830         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38831         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38832         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38833         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38834         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38835         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38836         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38837         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38838         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38839         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38840         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38841         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38842         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38843         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38844         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38845         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38846         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38847         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38848         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38849         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38850         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38851         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38852         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38853         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38854         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38855         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38856         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38857         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38858         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38859         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38860         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38861         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38862         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38863         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38864         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38865         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38866         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38867         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38868         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38869         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38870         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38871         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38872         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38873         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38874         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38875         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38876         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38877         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38878         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38879         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38880         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38881         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38882         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38883         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38884         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38885         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38886         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38887         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38888         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38889         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38890         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38891         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38892         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38893         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38894         * sysdeps/ieee754/k_standard.c: Likewise.
38895         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38896         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38898         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38899         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38900         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38901         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38902         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38903         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38904         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38905         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38906         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38907         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38908         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38909         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38910         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38911         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38912         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38913         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38914         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38915         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38916         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38917         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38918         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38919         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38920         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38921         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38922         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38923         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38925         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38926         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38927         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38928         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38929         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38930         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38931         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38932         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38933         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38934         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38935         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38936         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38937         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38938         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38939         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38940         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38941         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38942         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38943         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38944         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38945         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38946         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38947         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38948         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38949         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38950         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38951         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38952         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38953         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38954         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38955         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38956         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38957         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38958         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38959         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38960         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38961         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38962         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38963         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38964         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38965         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38966         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38967         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38968         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38969         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38970         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38971         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38972         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38973         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38974         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38975         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38976         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38977         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38978         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38979         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38980         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38981         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38982         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38983         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38984         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38985         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38986         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38987         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38988         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38989         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38990         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38991         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38992         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38993         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38994         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38995         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38996         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38997         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38998         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38999         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39000         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39001         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39002         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39003         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39004         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39005         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39006         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39007         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39008         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39009         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39010         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39011         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39012         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39013         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39014         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39015         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39016         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39017         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39018         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39019         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39020         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39021         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39022         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39023         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39024         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39025         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39026         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39027         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39028         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39029         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39030         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39031         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39032         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39033         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39034         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39035         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39036         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39037         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39038         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39039         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39040         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39041         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39042         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39043         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39044         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39045         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39046         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39047         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39048         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39049         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39050         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39051         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39052         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39053         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39054         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39055         * sysdeps/ieee754/s_lib_version.c: Likewise.
39056         * sysdeps/ieee754/s_matherr.c: Likewise.
39057         * sysdeps/ieee754/s_signgam.c: Likewise.
39058         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39059         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39060         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39061         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39062         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39063         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39064         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39065         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39066         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39067         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39068         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39069         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39070         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39071         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39072         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39073         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39074         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39075         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39076         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39077         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39078         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39079
39080 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39081
39082         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39083         * sunrpc/rpc_main.c: Likewise.
39084         * sunrpc/rpc_svcout.c: Likewise.
39085
39086 2012-03-09  David S. Miller  <davem@davemloft.net>
39087
39088         * include/math_private.h: New file.
39089
39090 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39091
39092         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39093         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39094         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39095         from <bits/socket_type.h>.
39096         (enum __socket_type): Don't define here.
39097         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39098         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39099         bits/socket_type.h.
39100
39101         [BZ #13566]
39102         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39103         checking __USE_GNU.
39104
39105         * Makerules ($(inst_includedir)/%.h): New rule.
39106         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39107         (install-others): Remove variable setting.
39108         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39109
39110 2012-03-08  Richard Henderson  <rth@twiddle.net>
39111
39112         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39113         from macro to inline function; merge with the
39114         !__LIBC_INTERNAL_MATH_INLINES version.
39115         (__ieee754_sqrtf): Likewise.
39116
39117         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39118         to inline function.
39119         (__rintf, __floor, __floorf): Likewise.
39120
39121         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39122         macro to inline function.
39123         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39124
39125         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39126         not <math/math_private.h>.
39127
39128 2012-03-08  David S. Miller  <davem@davemloft.net>
39129
39130         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39131         copyright year.
39132         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39133
39134 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39135
39136         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39137         normalization.
39138         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39139         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39140
39141 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39142
39143         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39144         be defined individually, they must be defined as a block.  Define
39145         S for printing a string instead of hidint the different by using a
39146         macro for adding the 'l'.
39147         * stdio-common/tst-fphex-wide.c: Adjust.
39148
39149 2012-03-07  Marek Polacek  <polacek@redhat.com>
39150
39151         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39152
39153 2012-03-08  Marek Polacek  <polacek@redhat.com>
39154
39155         [BZ #13806]
39156         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39157         * stdio-common/tst-fphex.c: Define a few macros to make the
39158         test reusable.  Use them.
39159         * stdio-common/tst-fphex-wide.c: New file.
39160
39161 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39162
39163         [BZ #6911]
39164         * manual/macros.texi (gnusystems): New macro.
39165         (nongnusystems): Likewise.
39166         (gnulinuxhurdsystems): Likewise.
39167         (gnuhurdsystems): Likewise..
39168         (gnulinuxsystems): Likewise.
39169         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39170         variants of the GNU system, not "GNU system".
39171         * manual/conf.texi: Likewise.
39172         * manual/errno.texi: Likewise.  Update example of errno macro
39173         expansion.
39174         * manual/filesys.texi: Likewise.
39175         (getumask): Document as specific to GNU/Hurd.
39176         * manual/install.texi: Likewise.  Reword some references to
39177         GNU/Linux.
39178         * manual/intro.texi: Likewise.
39179         * manual/io.texi: Likewise.
39180         (File Name Portability): Detail which constraints are inapplicable
39181         to all GNU systems and which are only inapplicable to GNU/Hurd.
39182         * manual/job.texi: Likewise.
39183         * manual/llio.texi: Likewise.
39184         (O_NOCTTY): Document as present on GNU/Linux.
39185         * manual/maint.texi: Likewise.
39186         * manual/memory.texi: Likewise.
39187         * manual/pattern.texi: Likewise.
39188         * manual/pipe.texi: Likewise.
39189         * manual/process.texi: Likewise.
39190         * manual/resource.texi: Likewise.
39191         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39192         child on GNU/Hurd.
39193         * manual/setjmp.texi: Likewise.
39194         * manual/signal.texi: Likewise.
39195         * manual/startup.texi: Likewise.
39196         * manual/stdio.texi: Likewise.
39197         * manual/terminal.texi: Likewise.
39198         (ONLCR): Document as POSIX.
39199         (OXTABS): Document availability on GNU/Linux as XTABS.
39200         (ONOEOT): Document availability separately from other bits.
39201         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39202         * manual/time.texi: Likewise.
39203         * manual/users.texi: Likewise.
39204         * INSTALL: Regenerated.
39205         * sysdeps/gnu/errlist.c: Regenerated.
39206
39207         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39208         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39209         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39210         puts.
39211         * configure: Regenerated.
39212
39213 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39214
39215         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39216         default includes instead of AC_HEADER_CHECK.
39217         * sysdeps/i386/configure: Regenerated.
39218
39219         [BZ #10716]
39220         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39221         * math/s_cacoshf.c (__cacoshf): Likewise.
39222         * math/s_cacoshl.c (__cacoshl): Likewise.
39223         * math/s_casinh.c (__casinh): Set signs of result from argument.
39224         * math/s_casinhf.c (__casinhf): Likewise.
39225         * math/s_casinhl.c (__casinhl): Likewise.
39226         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39227         (casinh_test): Add more tests.
39228         * sysdeps/i386/fpu/libm-test-ulps: Update.
39229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39230
39231 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39232
39233         * po/zh_TW.po: Update from translation team.
39234
39235         * login/Makefile (distribute): Remove variable.
39236         * catgets/Makefile: Likewise.
39237         * mach/Makefile: Likewise.
39238         * malloc/Makefile: Likewise.
39239         * misc/Makefile: Likewise.
39240         * iconv/Makefile: Likewise.
39241         * nscd/Makefile: Likewise.
39242         * hurd/Makefile: Likewise.
39243         * manual/Makefile: Likewise.
39244         * locale/Makefile: Likewise.
39245         * intl/Makefile: Likewise.
39246         * conform/Makefile: Likewise.
39247         * nss/Makefile: Likewise.
39248         * time/Makefile: Likewise.
39249         * soft-fp/Makefile: Likewise.
39250         * dirent/Makefile: Likewise.
39251         * gmon/Makefile: Likewise.
39252         * po/Makefile: Likewise.
39253         * rt/Makefile: Likewise.
39254         * socket/Makefile: Likewise.
39255         * math/Makefile: Likewise.
39256         * signal/Makefile: Likewise.
39257         * debug/Makefile: Likewise.
39258         * elf/Makefile: Likewise.
39259         * timezone/Makefile: Likewise.
39260         * stdlib/Makefile: Likewise.
39261         * iconvdata/Makefile: Likewise.
39262         * sunrpc/Makefile: Likewise.
39263         * io/Makefile: Likewise.
39264         * argp/Makefile: Likewise.
39265         * inet/Makefile: Likewise.
39266         * hesiod/Makefile: Likewise.
39267         * grp/Makefile: Likewise.
39268         * csu/Makefile: Likewise.
39269         * wctype/Makefile: Likewise.
39270         * crypt/Makefile: Likewise.
39271         * libio/Makefile: Likewise.
39272         * string/Makefile: Likewise.
39273         * nis/Makefile: Likewise.
39274         * resolv/Makefile: Likewise.
39275         * stdio-common/Makefile: Likewise.
39276         * wcsmbs/Makefile: Likewise.
39277         * dlfcn/Makefile: Likewise.
39278         * posix/Makefile: Likewise.
39279
39280         [BZ #6959]
39281         * timezone/Makefile: Don't install timezone files, just the programs
39282         and scripts.
39283
39284 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39285
39286         * nss/databases.def: Add missing gshadow entry.
39287
39288         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39289
39290 2012-03-06  Marek Polacek  <polacek@redhat.com>
39291
39292         [BZ #13726]
39293         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39294         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39295         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39296         * stdio-common/tst-long-dbl-fphex.c: New file.
39297
39298 2012-03-06  David S. Miller  <davem@davemloft.net>
39299
39300         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39301         (set_obp_int): New function.
39302         (get_obp_int): New function.
39303         (__get_clockfreq_via_dev_openprom): Likewise.
39304         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39305         Avoid unused variable warnings on 'val' and use builtin_expect.
39306         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39307         __builtin_expect.
39308         (INLINE_CLONE_SYSCALL): Likewise.
39309
39310 2012-03-05  David S. Miller  <davem@davemloft.net>
39311
39312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39313
39314 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39315
39316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39317
39318         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39319         only for |x| >= 40.
39320         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39321
39322 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39323
39324         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39325         Replace gettimeofday with __vdso_gettimeofday.
39326
39327         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39328         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39329         __vdso_clock_gettime and __vdso_getcpu.
39330
39331         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39332         time with __vdso_time.
39333
39334 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39335
39336         * manual/lang.texi (size_t): Note types to which size_t may be
39337         equivalent with the GNU C Library, but do not describe when
39338         differences between them are significant.
39339
39340 2012-03-05  Andreas Jaeger  <aj@suse.de>
39341
39342         * sysdeps/i386/fpu/libm-test-ulps: Update.
39343
39344 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39345
39346         [BZ #3976]
39347         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39348         (__ieee754_pow): Save and restore rounding mode and use
39349         round-to-nearest for main computations.
39350         * math/libm-test.inc (pow_test_tonearest): New function.
39351         (pow_test_towardzero): Likewise.
39352         (pow_test_downward): Likewise.
39353         (pow_test_upward): Likewise.
39354         (main): Call the new functions.
39355         * sysdeps/i386/fpu/libm-test-ulps: Update.
39356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39357
39358         [BZ #3976]
39359         * math/libm-test.inc (cosh_test_tonearest): New function.
39360         (cosh_test_towardzero): Likewise.
39361         (cosh_test_downward): Likewise.
39362         (cosh_test_upward): Likewise.
39363         (sinh_test_tonearest): Likewise.
39364         (sinh_test_towardzero): Likewise.
39365         (sinh_test_downward): Likewise.
39366         (sinh_test_upward): Likewise.
39367         (main): Call the new functions.
39368         * sysdeps/i386/fpu/libm-test-ulps: Update.
39369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39370
39371 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39372
39373         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39374         default stack guard is set in last bytes.
39375         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39376
39377 2012-03-05  Kees Cook  <keescook@chromium.org>
39378
39379         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39380
39381         [BZ #13656]
39382         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39383         possibly allocate from heap instead of stack.
39384         * stdio-common/bug-vfprintf-nargs.c: New file.
39385         * stdio-common/Makefile (tests): Add nargs overflow test.
39386
39387 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39388
39389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39390
39391 2012-03-03  Marek Polacek  <polacek@redhat.com>
39392
39393         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39394         * math/math_private.h: Likewise.
39395         * stdlib/tst-strtod.c: Likewise.
39396         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39397         * sysdeps/x86_64/bits/atomic.h: Likewise.
39398
39399 2012-03-02  David S. Miller  <davem@davemloft.net>
39400
39401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39405         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39406         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39407         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39408         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39409
39410 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39411
39412         [BZ #13792]
39413         * manual/examples/README: New file, says the example source files
39414         can be used under GPL>=2.
39415         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39416         line containing just "*/".
39417         * manual/examples/add.c: Add copyright header (GPL>=2).
39418         * manual/examples/argp-ex1.c: Likewise.
39419         * manual/examples/argp-ex2.c: Likewise.
39420         * manual/examples/argp-ex3.c: Likewise.
39421         * manual/examples/argp-ex4.c: Likewise.
39422         * manual/examples/atexit.c: Likewise.
39423         * manual/examples/db.c: Likewise.
39424         * manual/examples/dir.c: Likewise.
39425         * manual/examples/dir2.c: Likewise.
39426         * manual/examples/execinfo.c: Likewise.
39427         * manual/examples/filecli.c: Likewise.
39428         * manual/examples/filesrv.c: Likewise.
39429         * manual/examples/fmtmsgexpl.c: Likewise.
39430         * manual/examples/genpass.c: Likewise.
39431         * manual/examples/inetcli.c: Likewise.
39432         * manual/examples/inetsrv.c: Likewise.
39433         * manual/examples/isockad.c: Likewise.
39434         * manual/examples/longopt.c: Likewise.
39435         * manual/examples/memopen.c: Likewise.
39436         * manual/examples/memstrm.c: Likewise.
39437         * manual/examples/mkfsock.c: Likewise.
39438         * manual/examples/mkisock.c: Likewise.
39439         * manual/examples/mygetpass.c: Likewise.
39440         * manual/examples/pipe.c: Likewise.
39441         * manual/examples/popen.c: Likewise.
39442         * manual/examples/rprintf.c: Likewise.
39443         * manual/examples/search.c: Likewise.
39444         * manual/examples/select.c: Likewise.
39445         * manual/examples/setjmp.c: Likewise.
39446         * manual/examples/sigh1.c: Likewise.
39447         * manual/examples/sigusr.c: Likewise.
39448         * manual/examples/stpcpy.c: Likewise.
39449         * manual/examples/strdupa.c: Likewise.
39450         * manual/examples/strftim.c: Likewise.
39451         * manual/examples/strncat.c: Likewise.
39452         * manual/examples/subopt.c: Likewise.
39453         * manual/examples/swapcontext.c: Likewise.
39454         * manual/examples/termios.c: Likewise.
39455         * manual/examples/testopt.c: Likewise.
39456         * manual/examples/testpass.c: Likewise.
39457         * manual/examples/timeval_subtract.c: Likewise.
39458
39459         [BZ #13792]
39460         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39461         function to ...
39462         * manual/timeval_subtract.c.texi: ... here, new file.
39463
39464 2012-03-02  David S. Miller  <davem@davemloft.net>
39465
39466         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39467
39468 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39469
39470         [BZ #3976]
39471         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39472         (__sin): Save and restore rounding mode and use round-to-nearest
39473         for all computations.
39474         (__cos): Save and restore rounding mode and use round-to-nearest
39475         for all computations.
39476         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39477         <fenv.h>.
39478         (tan): Save and restore rounding mode and use round-to-nearest for
39479         all computations.
39480         * math/libm-test.inc (cos_test_tonearest): New function.
39481         (cos_test_towardzero): Likewise.
39482         (cos_test_downward): Likewise.
39483         (cos_test_upward): Likewise.
39484         (sin_test_tonearest): Likewise.
39485         (sin_test_towardzero): Likewise.
39486         (sin_test_downward): Likewise.
39487         (sin_test_upward): Likewise.
39488         (tan_test_tonearest): Likewise.
39489         (tan_test_towardzero): Likewise.
39490         (tan_test_downward): Likewise.
39491         (tan_test_upward): Likewise.
39492         (main): Call the new functions.
39493         * sysdeps/i386/fpu/libm-test-ulps: Update.
39494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39495
39496         [BZ #10135]
39497         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39498         small n, then large n, before computing and testing k+n.
39499         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39500         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39501         Likewise.
39502         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39503         Likewise.
39504         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39505         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39506         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39507         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39508         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39509         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39510         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39511         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39512         * math/libm-test.inc (scalbn_test): Add more tests.
39513         (scalbln_test): Likewise.
39514
39515         * manual/filesys.texi (mode_t): Describe constraints on size and
39516         signedness, not exact equivalence to a particular type.
39517         (ino_t): Likewise.
39518         (ino64_t): Likewise.
39519         (dev_t): Likewise.
39520         (nlink_t): Likewise.
39521         (blkcnt_t): Likewise.
39522         (blkcnt64_t): Likewise.
39523         * manual/llio.texi (off_t): Likewise.
39524
39525         [BZ #3976]
39526         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39527         (__ieee754_exp): Save and restore rounding mode and use
39528         round-to-nearest for all computations.
39529         * math/libm-test.inc (exp_test_tonearest): New function.
39530         (exp_test_towardzero): Likewise.
39531         (exp_test_downward): Likewise.
39532         (exp_test_upward): Likewise.
39533         (main): Call the new functions.
39534         * sysdeps/i386/fpu/libm-test-ulps: Update.
39535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39536
39537 2012-03-01  Chris Demetriou  <cgd@google.com>
39538
39539         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39540         have predictable order.
39541
39542 2012-03-01  David S. Miller  <davem@davemloft.net>
39543
39544         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39545
39546         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39547         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39548         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39549         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39550
39551         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39552         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39553         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39555         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39556         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39557         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39558         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39559         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39560
39561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39562
39563         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39564         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39565         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39566
39567         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39568         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39569         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39570         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39571         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39572         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39573         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39574         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39575         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39576         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39577         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39578         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39579         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39580         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39581         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39582         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39583         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39584         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39585         * sysdeps/sparc/elf/configure: Regenerated.
39586
39587 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39588
39589         * configure.in (AS, LD): Require binutils 2.20 or later.
39590         * configure: Regenerated.
39591         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39592         as required minimum version.
39593         * INSTALL: Regenerated.
39594
39595         [BZ #2541]
39596         [BZ #4108]
39597         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39598         before squaring exponent.
39599         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39600         bottom long double and 27 bits of top long double before squaring
39601         exponent.
39602         * math/libm-test.inc (erfc_test): Add more tests.
39603         * sysdeps/i386/fpu/libm-test-ulps: Update.
39604         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39606
39607 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39608
39609         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39610         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39611         containing bit-fields.
39612         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39613         * soft-fp/single.h (_FP_UNION_S): Likewise.
39614         * soft-fp/double.h (_FP_UNION_D): Likewise.
39615
39616 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39617
39618         [BZ #13786]
39619         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39620         not include ../strcmp.S.
39621         [USE_AS_STRNCASECMP_L]: Likewise.
39622         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39623         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39624         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39625         (__strncasecmp_l_ia32): Define as alias to
39626         __strncasecmp_l_nonascii.
39627
39628         [BZ #5794]
39629         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39630         * sysdeps/i386/fpu/libm-test-ulps: Update.
39631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39632
39633         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39635
39636 2012-02-29  Jeff Law  <law@redhat.com>
39637
39638         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39639         out of bounds read.
39640
39641 2012-02-29  Marek Polacek  <polacek@redhat.com>
39642
39643         [BZ #13706]
39644         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39645         * elf/Makefile: Add rules to run tst-unused-dep.out.
39646
39647 2012-02-28  David S. Miller  <davem@davemloft.net>
39648
39649         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39650         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39651         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39652         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39653         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39654         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39655
39656 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39657
39658         * math/libm-test.inc (llround_test): Move one test from
39659         lround_test.  Use TEST_f_L in moved test.
39660         (lround_test): Move misplaced test to llround_test.  Add testcase
39661         from bug 2561.
39662
39663 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39664
39665         * sysdeps/x86_64/fpu/e_expf.S: New file.
39666         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39667
39668 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39669
39670         [BZ #13637]
39671         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39672         of remain_len that may cause incomplete multi-byte character and
39673         false match.
39674         * posix/bug-regex33.c: New file.
39675         * posix/Makefile (tests): Add bug-regex33.
39676
39677 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39678
39679         * manual/macros.texi: New file.
39680         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39681         * manual/libc.texinfo: Include macros.texi.
39682         * manual/creatute.texi: Likewise.
39683         * manual/install.texi: Likewise.
39684         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39685         @glibcadj{} in references to the GNU C Library.
39686         * manual/charset.texi: Likewise.
39687         * manual/conf.texi: Likewise.
39688         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39689         when not using those macros.
39690         * manual/creature.texi: Likewise.
39691         * manual/crypt.texi: Likewise.
39692         * manual/errno.texi: Likewise.
39693         * manual/filesys.texi: Likewise.
39694         * manual/header.texi: Likewise.
39695         * manual/install.texi: Likewise.
39696         * manual/intro.texi: Likewise.
39697         * manual/io.texi: Likewise.
39698         * manual/job.texi: Likewise.
39699         * manual/lang.texi: Likewise.
39700         * manual/libc.texiinfo: Likewise.
39701         * manual/llio.texi: Likewise.
39702         * manual/locale.texi: Likewise.
39703         * manual/maint.texi: Likewise.
39704         * manual/math.texi: Likewise.
39705         * manual/memory.texi: Likewise.
39706         * manual/message.texi: Likewise.
39707         * manual/nss.texi: Likewise.
39708         * manual/pattern.texi: Likewise.
39709         * manual/process.texi: Likewise.
39710         * manual/resource.texi: Likewise.
39711         * manual/search.texi: Likewise.
39712         * manual/setjmp.texi: Likewise.
39713         * manual/signal.texi: Likewise.
39714         * manual/socket.texi: Likewise.
39715         * manual/startup.texi: Likewise.
39716         * manual/stdio.texi: Likewise.
39717         * manual/string.texi: Likewise.
39718         * manual/sysinfo.texi: Likewise.
39719         * manual/syslog.texi: Likewise.
39720         * manual/terminal.texi: Likewise.
39721         * manual/time.texi: Likewise.
39722         * manual/users.texi: Likewise.
39723         * INSTALL: Regenerated.
39724         * NOTES: Regenerated.
39725         * sysdeps/gnu/errlist.c: Regenerated.
39726
39727 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39728
39729         * include/dirent.h: Include <dirstream.h> before
39730         <dirent/dirent.h>.
39731
39732 2012-02-28  David S. Miller  <davem@davemloft.net>
39733
39734         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39735         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39736         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39737         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39738
39739 2012-02-27  David S. Miller  <davem@davemloft.net>
39740
39741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39743         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39744         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39745
39746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39747         frame pointer instead of stack pointer relative arg slot.
39748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39749         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39750         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39751
39752 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39753
39754         [BZ #3992]
39755         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39756
39757 2012-02-27  David S. Miller  <davem@davemloft.net>
39758
39759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39763         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39764         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39765         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39766         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39767
39768 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39769
39770         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39771         later.  Allow versions 5-9.
39772         * configure: Regenerated.
39773         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39774         required minimum version and 4.6 as recommended version.  Do not
39775         mention bugs in GCC 2.7 and 2.8.
39776         * INSTALL: Regenerated.
39777
39778 2012-02-27  David S. Miller  <davem@davemloft.net>
39779
39780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39784         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39785         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39786         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39787         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39788
39789         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39790         manipulate bits before adding and subtracting TWO112[sx].
39791         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39792
39793 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39794
39795         [BZ #13775]
39796         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39797         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39798         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39799         being in POSIX, because they are in 1003.1-2008.
39800
39801         * rt/tst-aio.c: Include <fcntl.h>.
39802         * rt/tst-aio7.c: Likewise.
39803         * rt/tst-aio64.c: Likewise.
39804
39805         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39806
39807 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39808
39809         * manual/install.texi (--with-headers): Describe headers as
39810         interface headers, not private headers.
39811         (Specific advice for GNU/Linux systems): Describe use of headers
39812         from "make headers_install", not private headers from older
39813         kernels.
39814         * INSTALL: Regenerated.
39815         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39816         Change to 2.6.19.
39817         * sysdeps/unix/sysv/linux/configure: Regenerated.
39818
39819         * manual/llio.texi (fclean): Remove documentation.
39820
39821         * manual/Makefile (libc-texi-generated): New variable.  Include
39822         version.texi.
39823         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39824         $(libc-texi-generated), not duplicated list of files.
39825         (version.texi, stamp-version): New rules.
39826         (realclean): Remove $(libc-texi-generated), not individual files
39827         from that list.  Do not remove dir-add.texinfo.
39828         * manual/libc.texinfo: Comment out uses of edition numbers and
39829         references to printed manual.  Remove last-updated dates.
39830         (EDITION): Comment out.
39831         (ISBN): Likewise.
39832         (VERSION, UPDATED): Remove.
39833         (version.texi): Include.
39834
39835 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39836
39837         * sysdeps/posix/spawni.c: Include <signal.h>.
39838         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39839         * sysdeps/pthread/aio_fsync.c: Likewise.
39840
39841 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39842
39843         * conform/Makefile (tests): Run only when not cross-compiling and
39844         when fast-check is not defined.
39845
39846         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39847         * conform/data/limits.h-data: Fixes for POSIX2008.
39848         * conform/run-conformtest.sh: Run all tests.
39849         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39850         headers.
39851         * include/bits/dlfcn.h: Likewise.
39852         * include/langinfo.h: Likewise.
39853         * include/monetary.h: Likewise.
39854         * include/sys/poll.h: Likewise.
39855
39856         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39857         for __USE_GNU.
39858         * posix/spawn.h: Define __need_sigset_t.
39859         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39860         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39861         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39862         to get sigevent_t only.
39863         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39864         only for __USE_GNU.
39865         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39866         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39867         process_vm_writev only for __USE_GNU.
39868         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39869
39870         * conform/Makefile: For now ignore errors from run-conformtest.
39871         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39872         POSIX to avoid namespace pollution.  Don't prepend headers.
39873         * conform/data/aio.h-data: Fixes for POSIX testing.
39874         * conform/data/fcntl.h-data: Likewise.
39875         * conform/data/glob.h-data: Likewise.
39876         * conform/data/grp.h-data: Likewise.
39877         * conform/data/pthread.h-data: Likewise.
39878         * conform/data/pwd.h-data: Likewise.
39879         * conform/data/signal.h-data: Likewise.
39880         * conform/data/spawn.h-data: Likewise.
39881         * conform/data/stdio.h-data: Likewise.
39882         * conform/data/stdlib.h-data: Likewise.
39883         * conform/data/stropts.h-data: Likewise.
39884         * conform/data/sys/mman.h-data: Likewise.
39885         * conform/data/sys/stat.h-data: Likewise.
39886         * conform/data/sys/types.h-data: Likewise.
39887         * conform/data/sys/wait.h-data: Likewise.
39888         * conform/data/time.h-data: Likewise.
39889         * conform/data/unistd.h-data: Likewise.
39890         * conform/data/utime.h-data: Likewise.
39891
39892         * io/sys/stat.h: fchmod was always in POSIX.
39893         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39894         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39895         * rt/aio.h: Define __need_timespec before including <time.h>.
39896         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39897         struct.  Add forward declaration of pthread_attr_t and use it in
39898         sigevent.
39899         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39900         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39901         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39902         always remove CLK_TCK definition.
39903
39904 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39905
39906         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39907
39908 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39909
39910         * conform/run-conformtest.sh: New file.
39911         * conform/Makefile: Run run-conformtest for tests.
39912         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39913         support.
39914
39915         * conform/data/uchar.h-data: New file.
39916         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39917         * conform/data/arpa/inet.h-data: Likewise.
39918         * conform/data/assert.h-data: Likewise.
39919         * conform/data/complex.h-data: Likewise.
39920         * conform/data/cpio.h-data: Likewise.
39921         * conform/data/ctype.h-data: Likewise.
39922         * conform/data/dirent.h-data: Likewise.
39923         * conform/data/dlfcn.h-data: Likewise.
39924         * conform/data/errno.h-data: Likewise.
39925         * conform/data/fcntl.h-data: Likewise.
39926         * conform/data/float.h-data: Likewise.
39927         * conform/data/fmtmsg.h-data: Likewise.
39928         * conform/data/fnmatch.h-data: Likewise.
39929         * conform/data/ftw.h-data: Likewise.
39930         * conform/data/glob.h-data: Likewise.
39931         * conform/data/grp.h-data: Likewise.
39932         * conform/data/iconv.h-data: Likewise.
39933         * conform/data/inttypes.h-data: Likewise.
39934         * conform/data/langinfo.h-data: Likewise.
39935         * conform/data/libgen.h-data: Likewise.
39936         * conform/data/limits.h-data: Likewise.
39937         * conform/data/locale.h-data: Likewise.
39938         * conform/data/math.h-data: Likewise.
39939         * conform/data/monetary.h-data: Likewise.
39940         * conform/data/mqueue.h-data: Likewise.
39941         * conform/data/ndbm.h-data: Likewise.
39942         * conform/data/net/if.h-data: Likewise.
39943         * conform/data/netdb.h-data: Likewise.
39944         * conform/data/netinet/in.h-data: Likewise.
39945         * conform/data/nl_types.h-data: Likewise.
39946         * conform/data/poll.h-data: Likewise.
39947         * conform/data/pthread.h-data: Likewise.
39948         * conform/data/pwd.h-data: Likewise.
39949         * conform/data/regex.h-data: Likewise.
39950         * conform/data/sched.h-data: Likewise.
39951         * conform/data/search.h-data: Likewise.
39952         * conform/data/semaphore.h-data: Likewise.
39953         * conform/data/setjmp.h-data: Likewise.
39954         * conform/data/signal.h-data: Likewise.
39955         * conform/data/spawn.h-data: Likewise.
39956         * conform/data/stdarg.h-data: Likewise.
39957         * conform/data/stdio.h-data: Likewise.
39958         * conform/data/stdlib.h-data: Likewise.
39959         * conform/data/string.h-data: Likewise.
39960         * conform/data/strings.h-data: Likewise.
39961         * conform/data/stropts.h-data: Likewise.
39962         * conform/data/sys/ipc.h-data: Likewise.
39963         * conform/data/sys/mman.h-data: Likewise.
39964         * conform/data/sys/msg.h-data: Likewise.
39965         * conform/data/sys/resource.h-data: Likewise.
39966         * conform/data/sys/select.h-data: Likewise.
39967         * conform/data/sys/sem.h-data: Likewise.
39968         * conform/data/sys/shm.h-data: Likewise.
39969         * conform/data/sys/socket.h-data: Likewise.
39970         * conform/data/sys/stat.h-data: Likewise.
39971         * conform/data/sys/statvfs.h-data: Likewise.
39972         * conform/data/sys/time.h-data: Likewise.
39973         * conform/data/sys/timeb.h-data: Likewise.
39974         * conform/data/sys/times.h-data: Likewise.
39975         * conform/data/sys/types.h-data: Likewise.
39976         * conform/data/sys/uio.h-data: Likewise.
39977         * conform/data/sys/un.h-data: Likewise.
39978         * conform/data/sys/utsname.h-data: Likewise.
39979         * conform/data/sys/wait.h-data: Likewise.
39980         * conform/data/syslog.h-data: Likewise.
39981         * conform/data/tar.h-data: Likewise.
39982         * conform/data/termios.h-data: Likewise.
39983         * conform/data/utime.h-data: Likewise.
39984         * conform/data/utmpx.h-data: Likewise.
39985         * conform/data/varargs.h-data: Likewise.
39986         * conform/data/wchar.h-data: Likewise.
39987         * conform/data/wctype.h-data: Likewise.
39988         * conform/data/wordexp.h-data: Likewise.
39989
39990         * include/stropts.h: New file.
39991         * include/uchar.h: New file.
39992         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39993         * include/assert.h: Likewise.
39994         * include/ctype.h: Likewise.
39995         * include/dirent.h: Likewise.
39996         * include/dlfcn.h: Likewise.
39997         * include/fcntl.h: Likewise.
39998         * include/fnmatch.h: Likewise.
39999         * include/glob.h: Likewise.
40000         * include/grp.h: Likewise.
40001         * include/libio.h: Likewise.
40002         * include/locale.h: Likewise.
40003         * include/math.h: Likewise.
40004         * include/net/if.h: Likewise.
40005         * include/netdb.h: Likewise.
40006         * include/netinet/in.h: Likewise.
40007         * include/pthread.h: Likewise.
40008         * include/pwd.h: Likewise.
40009         * include/regex.h: Likewise.
40010         * include/sched.h: Likewise.
40011         * include/search.h: Likewise.
40012         * include/setjmp.h: Likewise.
40013         * include/signal.h: Likewise.
40014         * include/stdio.h: Likewise.
40015         * include/stdlib.h: Likewise.
40016         * include/string.h: Likewise.
40017         * include/sys/cdefs.h: Likewise.
40018         * include/sys/mman.h: Likewise.
40019         * include/sys/msg.h: Likewise.
40020         * include/sys/resource.h: Likewise.
40021         * include/sys/select.h: Likewise.
40022         * include/sys/socket.h: Likewise.
40023         * include/sys/stat.h: Likewise.
40024         * include/sys/statvfs.h: Likewise.
40025         * include/sys/time.h: Likewise.
40026         * include/sys/times.h: Likewise.
40027         * include/sys/uio.h: Likewise.
40028         * include/sys/utsname.h: Likewise.
40029         * include/sys/wait.h: Likewise.
40030         * include/termios.h: Likewise.
40031         * include/time.h: Likewise.
40032         * include/ulimit.h: Likewise.
40033         * include/unistd.h: Likewise.
40034         * include/utime.h: Likewise.
40035         * include/wchar.h: Likewise.
40036         * include/wctype.h: Likewise.
40037         * include/wordexp.h: Likewise.
40038
40039         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40040
40041         * time/time.h: TIME_UTC must be a macro.
40042         Make timespec_get available for ISO C11 only as well.
40043
40044 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40045
40046         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40047         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40048
40049 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40050
40051         * configure.in: Use -o not -a in test for unsupported multi-arch.
40052
40053 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40054
40055         * manual/texinfo.tex: Update to version 2012-01-19.16.
40056
40057 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40058
40059         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40060
40061 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40062
40063         [BZ #13738]
40064         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40065         * manual/fdl-1.3.texi: New file.
40066         * manual/fdl-1.1.texi: File removed.
40067
40068         [BZ #13738]
40069         * manual/libc.texinfo (FDL_VERSION): New @set.
40070         Use it for mention of FDL in cover text.
40071         (Documentation License): Use it in @include file name.
40072
40073 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40074             Roland McGrath  <roland@hack.frob.com>
40075
40076         [BZ #5461]
40077         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40078         (not LONG_LONG_MAX and LONG_LONG_MIN.
40079         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40080         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40081         name.
40082         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40083
40084 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40085
40086         [BZ #2547]
40087         [BZ #11365]
40088         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40089         manipulate bits before adding and subtracting TWO23[sx].
40090         * math/libm-test.inc (nearbyint_test): Add more tests.
40091
40092 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40093
40094         [BZ #2548]
40095         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40096         bits before adding and subtracting TWO23[sx].
40097         * math/libm-test.inc (rint_test): Add more tests.
40098         (rint_test_tonearest): Likewise.
40099         (rint_test_towardzero): Likewise.
40100         (rint_test_downward): Likewise.
40101         (rint_test_upward: Likewise.
40102
40103 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40104
40105         [BZ #10110]
40106         * include/stdc-predef.h: New file.  Extracted from features.h.
40107         * include/features.h: Include stdc-predef.h.
40108         * Makefile (headers): Add stdc-predef.h.
40109         * CONFORMANCE (Compiler limitations): Update.
40110
40111 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40112
40113         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40114
40115 2012-02-21  David S. Miller  <davem@davemloft.net>
40116
40117         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40118         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40119
40120 2012-02-20  David S. Miller  <davem@davemloft.net>
40121
40122         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40123         using a normal save/restore sequence, rather than allocating a
40124         dummy stack frame just to store a frame pointer and restore.
40125         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40126
40127 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40128
40129         * manual/install.texi: Fix stray word in line-wrapped comment.
40130
40131 2012-02-20  David S. Miller  <davem@davemloft.net>
40132
40133         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40134         both binutils and gcc support GOTDATA.
40135
40136         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40137         "rd %pc" in the PIC register setup sequences.
40138
40139         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40140         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40141         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40142         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40143         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40144         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40145         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40146         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40147         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40148         (SYSCALL_ERROR_HANDLER): Likewise.
40149         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40150         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40151         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40152         (SYSCALL_ERROR_HANDLER): Likewise.
40153
40154         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40155         (HAVE_GCC_GOTDATA): New.
40156         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40157         relocation support in both binutils and gcc.
40158         * sysdeps/sparc/elf/configure: Regenerate.
40159
40160         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40161         * sysdeps/sparc/sparc32/elf/configure: Delete.
40162         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40163         * sysdeps/sparc/sparc64/elf/configure: Delete.
40164         * sysdeps/sparc/elf/configure.in: New file.
40165         * sysdeps/sparc/elf/configure: Generate.
40166
40167         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40168         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40169         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40170         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40171         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40172
40173 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40174
40175         * manual/install.texi: Do not mention specific glibc version
40176         numbers.
40177         * manual/libc.texinfo (VERSION, UPDATED): Update.
40178         (@copying): Use @copyright{} and range of years.
40179
40180 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40181
40182         [BZ #13695]
40183         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40184         [crti.S not in sysdirs] (generated): Do not append.
40185         [crti.S not in sysdirs] (omit-deps): Likewise.
40186         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40187         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40188         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40189         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40190         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40191         Likewise.
40192         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40193         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40194         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40195         * csu/defs.awk: Remove file.
40196         * sysdeps/generic/initfini.c: Likewise.
40197         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40198         variable.
40199         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40200         Likewise.
40201
40202 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40203
40204         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40205         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40206         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40207         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40208         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40209         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40210         <bits/epoll.h>.
40211         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40212         (__EPOLL_PACKED): Define to empty if not defined by
40213         <bits/epoll.h>.
40214         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40216         bits/epoll.h.
40217
40218 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40219
40220         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40221         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40222         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40223         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40224         <bits/timerfd.h>.
40225         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40226         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40227         bits/timerfd.h.
40228
40229 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40230
40231         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40232         in C locale.
40233         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40234         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40235         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40237
40238 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40239
40240         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40241         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40242
40243 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40244
40245         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40246         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40247         defined.
40248         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40249         Likewise.
40250         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40251         entry for 2.16.
40252
40253 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40254
40255         * math/w_acos.c: Use non-signaling floating-point comparisons.
40256         * math/w_acosf.c: Likewise.
40257         * math/w_acosh.c: Likewise.
40258         * math/w_acoshf.c: Likewise.
40259         * math/w_acoshl.c: Likewise.
40260         * math/w_acosl.c: Likewise.
40261         * math/w_asin.c: Likewise.
40262         * math/w_asinf.c: Likewise.
40263         * math/w_asinl.c: Likewise.
40264         * math/w_atanh.c: Likewise.
40265         * math/w_atanhf.c: Likewise.
40266         * math/w_atanhl.c: Likewise.
40267         * math/w_exp2.c: Likewise.
40268         * math/w_exp2f.c: Likewise.
40269         * math/w_exp2l.c: Likewise.
40270         * math/w_j0.c: Likewise.
40271         * math/w_j0f.c: Likewise.
40272         * math/w_j0l.c: Likewise.
40273         * math/w_j1.c: Likewise.
40274         * math/w_j1f.c: Likewise.
40275         * math/w_j1l.c: Likewise.
40276         * math/w_jn.c: Likewise.
40277         * math/w_jnf.c: Likewise.
40278         * math/w_log.c: Likewise.
40279         * math/w_log10.c: Likewise.
40280         * math/w_log10f.c: Likewise.
40281         * math/w_log10l.c: Likewise.
40282         * math/w_log2.c: Likewise.
40283         * math/w_log2f.c: Likewise.
40284         * math/w_log2l.c: Likewise.
40285         * math/w_logf.c: Likewise.
40286         * math/w_logl.c: Likewise.
40287         * math/w_sqrt.c: Likewise.
40288         * math/w_sqrtf.c: Likewise.
40289         * math/w_sqrtl.c: Likewise.
40290         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40291         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40292         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40293         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40294         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40295
40296 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40297
40298         [BZ #9739]
40299         * manual/string.texi (strnlen): Use correct parameter name in
40300         equivalent expression.
40301
40302 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40303
40304         [BZ #11174]
40305         * manual/users.texi (seteuid): Consistently use neweuid for
40306         argument name.
40307
40308 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40309
40310         [BZ #13704]
40311         * manual/nss.texi (Services in the NSS configuration): Correct
40312         list of services in example configuration file.
40313
40314 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40315
40316         [BZ #11322]
40317         * manual/arith.texi: Remove statements about negative zero
40318         behaving identically to zero.
40319
40320 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40321
40322         [BZ #5993]
40323         * manual/install.texi: Do not document upgrading from libc5.
40324
40325 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40326
40327         [BZ #4596]
40328         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40329
40330 2012-02-18  David S. Miller  <davem@davemloft.net>
40331
40332         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40333         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40334         %o7 across the call.
40335         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40336         instead.
40337         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40338         SETUP_PIC_REG_LEAF.
40339         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40340         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40341         * sysdeps/sparc/crtn.S: Likewise.
40342
40343 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40344
40345         * aout/Makefile: Remove.
40346
40347 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40348
40349         [BZ #13058]
40350         * manual/examples/argp-ex1.c (main): Format definition in GNU
40351         style.
40352         * manual/examples/argp-ex2.c (main): Likewise.
40353         * manual/examples/argp-ex3.c (main): Likewise.
40354         * manual/examples/argp-ex4.c (main): Likewise.
40355         * manual/examples/longopt.c (main): Use new-style prototype
40356         definition.
40357         * manual/examples/strncat.c (main): Specify return type and use
40358         (void) for arguments.
40359         * manual/examples/subopt.c (main): Use char **argv argument.
40360
40361 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40362
40363         [BZ #5077]
40364         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40365         rounding modes.
40366
40367 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40368
40369         [BZ #6907]
40370         * manual/string.texi (strchr): Change when strchrnul is
40371         recommended.
40372
40373 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40374
40375         [BZ #174]
40376         * manual/locale.texi (setlocale): Document LOCPATH.
40377
40378 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40379
40380         [BZ #10210]
40381         * manual/process.texi (execle): Move @dots{} before last argument.
40382
40383 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40384
40385         [BZ #12047]
40386         * manual/charset.texi (Generic Charset Conversion): Fix typo
40387         (LC_TYPE -> LC_CTYPE).
40388
40389 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40390
40391         [BZ #5805]
40392         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40393         (scalbnf): Likewise.
40394         (scalbnl): Likewise.
40395         (scalbln): Likewise.
40396         (scalblnf): Likewise.
40397         (scalblnl): Likewise.
40398         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40399         (vwarnx): Likewise.
40400         (verr): Likewise.
40401         (verrx): Likewise.
40402         * manual/filesys.texi (telldir): Use braces around return type.
40403         * manual/llio.texi (mmap): Add space after comma.
40404         (mmap64): Likewise.
40405         * manual/math.texi (jn): Use @var{} on parameter names.
40406         (jnf): Likewise.
40407         (jnl): Likewise.
40408         (yn): Likewise.
40409         (ynf): Likewise.
40410         (ynl): Likewise.
40411         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40412         line.
40413         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40414         "...".
40415         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40416         (sched_get_priority_max): Likewise.
40417         * manual/signal.texi (sigvec): Add space after comma.
40418         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40419         names.
40420         (if_indextoname): Likewise.
40421         (if_freenameindex): Likewise.
40422         (sendto): Use ',' instead of '.' in prototype.
40423         * manual/startup.texi (syscall): Use @dots{} instead of literal
40424         "...".
40425         * manual/stdio.texi (__fpending): Separate initial words of
40426         paragraph from @deftypefun line.
40427         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40428         "...".
40429         (vsyslog): Use @var{} on parameter names.
40430         * manual/terminal.texi (stty): Use @var{} on parameter names.
40431         * manual/users.texi (getutmp): Use @var{} on parameter names.
40432         (getutmpx): Likewise.
40433
40434 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40435
40436         [BZ #6884]
40437         * manual/stdio.texi (fopen): Fix typos in description of
40438         ",ccs=STRING".
40439
40440 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40441
40442         [BZ #4026]
40443         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40444         get clock_id definition.
40445
40446 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40447
40448         [BZ #4822]
40449         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40450         (madvise): Cast every argument to void on its own.
40451
40452 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40453
40454         [BZ #9902]
40455         * manual/startup.texi (Exit Status): Fix typo.
40456
40457 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40458
40459         [BZ #10140]
40460         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40461         * manual/examples/argp-ex2.c: Likewise.
40462         * manual/examples/argp-ex3.c: Likewise.
40463
40464 2012-02-16  Richard Henderson  <rth@redhat.com>
40465
40466         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40467         * sysdeps/s390/s390-32/initfini.c: Remove.
40468         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40469         * sysdeps/s390/s390-64/initfini.c: Remove.
40470
40471 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40472
40473         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40474         compiler output for sysdeps/generic/initfini.c.
40475         * sysdeps/sh/elf/initfini.c: Remove file.
40476
40477 2012-02-16  David S. Miller  <davem@davemloft.net>
40478
40479         [BZ #11494]
40480         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40481
40482         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40483         * sysdeps/sparc/crti.S: New file.
40484         * sysdeps/sparc/crtn.S: New file.
40485         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40486         * sysdeps/sparc/sparc64/Makefile: Likewise.
40487
40488 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40489
40490         [BZ #3335]
40491         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40492
40493 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40494
40495         [BZ #4822]
40496         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40497
40498         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40499         (write, read, close): Likewise.
40500         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40501
40502 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40503
40504         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40505         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40506         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40507         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40508         <bits/signalfd.h>.
40509         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40510         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40511         bits/signalfd.h.
40512
40513 2012-02-14  Marek Polacek  <polacek@redhat.com>
40514
40515         * sysdeps/x86_64/crti.S: New file.
40516         * sysdeps/x86_64/crtn.S: New file.
40517         * sysdeps/x86_64/elf/initfini.c: Remove file.
40518
40519 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40520
40521         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40522         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40523         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40524         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40525         <bits/inotify.h>.
40526         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40527         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40528         bits/inotify.h.
40529
40530 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40531
40532         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40533         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40534         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40535         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40536         <bits/eventfd.h>.
40537         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40538         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40539         bits/eventfd.h.
40540
40541 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40542
40543         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40544         __feraiseexcept instead of feraiseexcept.
40545
40546         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40547         nanosleep invocations.
40548         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40549         strings, and add error checking for a nanosleep invocations.
40550
40551 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40552
40553         Replace FSF snail mail address with URLs, as per GNU coding standards.
40554         Most of the snail mail addresses were wrong anyway, and omitting
40555         them makes the source code easier to maintain.  Almost all of the
40556         changes are to license notices and to locale LC_IDENTIFICATION
40557         addresses, except for this one:
40558         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40559         not its snail mail address.
40560
40561 2012-02-09  Richard Henderson  <rth@twiddle.net>
40562
40563         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40564         of kernel-features.h.
40565
40566         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40567
40568 2012-02-08  Marek Polacek  <polacek@redhat.com>
40569
40570         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40571         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40572         * sysdeps/gnu/_G_config.h: Likewise.
40573         * sysdeps/generic/_G_config.h: Likewise.
40574
40575 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40576
40577         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40578         tests.
40579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40580
40581         * sysdeps/powerpc/powerpc32/crti.S: New file.
40582         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40583         * sysdeps/powerpc/powerpc64/crti.S: New file.
40584         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40585
40586         * Makeconfig (have-initfini): Don't set.
40587         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40588         * configure.in (nopic_initfini): Don't substitute.
40589         * config.h.in (HAVE_INITFINI): Don't #undef.
40590         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40591         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40592
40593 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40594
40595         Support crti.S and crtn.S provided directly by architectures.
40596         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40597         [crti.S in sysdirs] (omit-deps): Likewise.
40598         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40599         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40600         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40601         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40602         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40603         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40604         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40605         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40606         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40607         compiler output for sysdeps/generic/initfini.c.
40608         * sysdeps/i386/elf/Makefile: Remove file.
40609         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40610
40611 2012-02-07  Marek Polacek  <polacek@redhat.com>
40612
40613         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40614         * sysdeps/gnu/_G_config.h: Likewise.
40615         * sysdeps/mach/hurd/_G_config.h: Likewise.
40616
40617 2012-02-07  Marek Polacek  <polacek@redhat.com>
40618
40619         * math/Makefile (tests): Add tst-CMPLX2.
40620         * math/tst-CMPLX2.c: New file.
40621
40622 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40623
40624         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40625
40626         * math/libm-test.inc (jn_test): Add missing L suffix.
40627
40628 2012-02-06  Marek Polacek  <polacek@redhat.com>
40629
40630         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40631         * sysdeps/i386/fpu/e_powf.S: Likewise.
40632         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40633         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40634         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40635         * sysdeps/i386/fpu/e_pow.S: Likewise.
40636         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40637         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40638         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40639         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40640         * sysdeps/i386/fpu/e_log2.S: Likewise.
40641         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40642         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40643         * sysdeps/i386/fpu/e_powl.S: Likewise.
40644         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40645         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40646         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40647         * sysdeps/i386/fpu/e_logl.S: Likewise.
40648         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40649         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40650         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40651         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40652         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40653         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40654         * sysdeps/i386/fpu/e_log.S: Likewise.
40655         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40656         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40657         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40658         * sysdeps/i386/fpu/e_logf.S: Likewise.
40659         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40660         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40661         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40662         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40663         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40664         * sysdeps/i386/fpu/e_log10.S: Likewise.
40665         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40666         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40667         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40668         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40669         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40670         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40671         * sysdeps/i386/asm-syntax.h: Likewise.
40672         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40673         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40674         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40675         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40676         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40677         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40678         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40679         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40680         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40681         * sysdeps/powerpc/sysdep.h: Likewise.
40682         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40683         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40684
40685 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40686
40687         [BZ #411]
40688         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40689
40690 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40691
40692         * sysdeps/i386/sysdep.h: Include <features.h>.
40693         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40694         version.
40695
40696 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40697
40698         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40699         Define.
40700         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40701         LOAD_PIC_REG_STR.
40702
40703 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40704
40705         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40706         (SETUP_PIC_REG): Use GET_PC_THUNK.
40707         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40708         macro.
40709
40710 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40711
40712         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40713         for non-PIC compilation.
40714         (SETUP_PIC_REG): Add .p2align directive.
40715         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40716         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40717         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40718         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40719         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40720         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40721         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40722         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40723         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40724         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40725         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40726         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40727         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40728         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40729         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40730         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40731         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40732         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40733         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40734         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40735         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40736         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40737         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40738         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40739         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40741         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40742         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40743         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40744         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40745         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40746         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40747         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40748         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40749         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40750         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40751         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40752         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40753         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40754         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40755         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40756
40757 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40758
40759         * math/tst-CMPLX.c: Include <stdio.h>.
40760
40761 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40762
40763         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40764         float.
40765         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40766         * sysdeps/sparc/bits/mathdef.h: Likewise.
40767
40768 2012-01-31  Marek Polacek  <polacek@redhat.com>
40769
40770         * libio/libio.h: Don't define _PARAMS.
40771         * locale/programs/config.h: Don't define PARAMS.
40772         * stdlib/strtol_l.c: Likewise.
40773         (__strtol_l): Remove PARAMS from the prototype.
40774
40775 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40776
40777         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40778         names.  Just use the correct names.  Remove unnecessary wrapper
40779         functions.
40780         * malloc/arena.c: Likewise.
40781         * malloc/hooks.c: Likewise.
40782
40783         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40784         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40785         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40786
40787 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40788
40789         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40790         into tail calls.
40791         (update_get_addr): New function.
40792         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40793         GET_ADDR_MODULE parameter.
40794
40795 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40796
40797         * crypt/cert.c: Remove __STDC__ conditionals.
40798         * crypt/crypt-entry.c: Likewise.
40799         * crypt/crypt_util.c: Likewise.
40800         * libio/filedoalloc.c: Likewise.
40801         * libio/fileops.c: Likewise.
40802         * libio/genops.c: Likewise.
40803         * libio/iofclose.c: Likewise.
40804         * libio/iofdopen.c: Likewise.
40805         * libio/iofopen.c: Likewise.
40806         * libio/iofopen64.c: Likewise.
40807         * libio/iogetdelim.c: Likewise.
40808         * libio/iopopen.c: Likewise.
40809         * libio/obprintf.c: Likewise.
40810         * libio/oldfileops.c: Likewise.
40811         * libio/oldiofclose.c: Likewise.
40812         * libio/oldiofdopen.c: Likewise.
40813         * libio/oldiofopen.c: Likewise.
40814         * libio/oldiopopen.c: Likewise.
40815         * libio/wfiledoalloc.c: Likewise.
40816         * libio/wgenops.c: Likewise.
40817         * locale/programs/xmalloc.c: Likewise.
40818         * misc/syslog.c: Likewise.
40819         * stdio-common/xbug.c: Likewise.
40820         * string/memchr.c: Likewise.
40821         * string/memcmp.c: Likewise.
40822         * string/memrchr.c: Likewise.
40823         * string/rawmemchr.c: Likewise.
40824         * sysdeps/posix/getcwd.c: Likewise.
40825         * time/strftime_l.c: Likewise.
40826
40827 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40828
40829         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40830         * config.make.in (config-cflags-sse2avx): Define.
40831         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40832         Fix typo.
40833
40834 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40835
40836         * scripts/config.guess: Update from upstream config git repository.
40837         * scripts/config.sub: Likewise.
40838
40839 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40840
40841         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40842         (EM_NUM): Update.
40843         (R_TILEPRO_*, R_TILEGX_*): New macros.
40844
40845         * scripts/firstversions.awk: Fix bug in version range handling.
40846
40847         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40848
40849         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40850
40851         * include/sys/epoll.h: New file.
40852         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40853         libc_hidden_def.
40854
40855 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40856
40857         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40858         Avoid unnecessary __WORDSIZE == 64 test.
40859         (fmaxf): Use VEX format if possible.
40860         (fmax): Likewise.
40861         (fminf): Likewise.
40862         (fmin): Likewise.
40863
40864         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40865         * math/math_private.h: Remove libc_fegetround* and
40866         libc_fesetround*.
40867         * sysdeps/i386/configure.in: Check for -msse2avx.
40868         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40869         also if SSE2AVX is defined.
40870         Remove libc_fegetround* and libc_fesetround*.
40871         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40872         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40873         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40874         of HAS_YMM_USABLE.
40875         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40876         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40877         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40878         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40879         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40880
40881         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40882
40883 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40884
40885         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40886         size is not set.
40887         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40888
40889 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40890
40891         [BZ #13618]
40892         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40893         relocation.
40894         * Makeconfig (libm): Define.
40895         * elf/Makefile: Add rules to build and run tst-relsort1.
40896         * elf/tst-relsort1.c: New file.
40897         * elf/tst-relsort1mod1.c: New file.
40898         * elf/tst-relsort1mod2.c: New file.
40899
40900 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40901
40902         * math/s_ldexp.c: Remove __STDC__ conditionals.
40903         * math/s_ldexpf.c: Likewise.
40904         * math/s_ldexpl.c: Likewise.
40905         * math/s_nextafter.c: Likewise.
40906         * math/s_nexttowardf.c: Likewise.
40907         * math/s_significand.c: Likewise.
40908         * math/s_significandf.c: Likewise.
40909         * math/s_significandl.c: Likewise.
40910         * math/w_jnl.c: Likewise.
40911         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40912         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40913         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40914         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40915         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40916         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40917         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40918         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40919         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40920         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40921         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40922         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40923         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40924         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40925         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40926         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40927         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40928         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40929         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40930         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40931         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40932         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40933         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40934         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40935         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40936         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40937         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40938         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40939         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40940         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40941         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40942         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40943         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40944         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40945         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40946         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40947         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40948         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40949         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40950         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40951         * sysdeps/ieee754/k_standard.c: Likewise.
40952         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40953         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40954         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40955         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40956         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40957         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40958         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40959         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40960         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40961         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40962         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40963         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40964         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40965         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40966         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40967         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40968         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40969         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40970         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40971         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40972         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40973         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40974         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40975         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40976         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40977         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40978         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40979         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40980         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40981         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40982         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40983         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40984         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40985         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40986         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40987         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40988         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40989         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40990         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40991         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40992         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40993         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40994         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40995         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40996         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40997         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40998         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40999         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41000         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41001         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41002         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41003         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41004         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41005         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41006         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41007         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41008         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41009         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41010         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41011         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41012         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41013         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41014         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41015         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41016         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41017         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41018         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41019         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41020         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41021         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41022         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41023         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41024         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41025         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41026         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41027         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41028         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41029         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41030         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41031         * sysdeps/ieee754/s_matherr.c: Likewise.
41032         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41033         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41034         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41035         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41036
41037 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41038
41039         * crypt/md5.h: Remove __STDC__ conditionals.
41040         * libio/libioP.h: Likewise.
41041         * locale/programs/config.h: Likewise.
41042         * sysdeps/generic/sysdep.h: Likewise.
41043         * sysdeps/i386/asm-syntax.h: Likewise.
41044         * sysdeps/s390/asm-syntax.h: Likewise.
41045         * sysdeps/unix/sysdep.h: Likewise.
41046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41048
41049 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41050
41051         * libio/libio.h: Remove __STDC__ conditionals.
41052         * malloc/obstack.h: Likewise.
41053         * math/complex.h: Likewise.
41054         * math/math.h: Likewise.
41055         * sysdeps/generic/_G_config.h: Likewise.
41056         * sysdeps/gnu/_G_config.h: Likewise.
41057         * sysdeps/mach/hurd/_G_config.h: Likewise.
41058         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41059         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41060         * sysdeps/sparc/bits/mathdef.h: Likewise.
41061
41062 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41063
41064         [BZ #13583]
41065         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41066         Clean up HAS_* macros.
41067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41068         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41069         possible.
41070         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41071         HAS_AVX.
41072         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41073         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41074         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41075         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41076         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41077
41078 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41079
41080         * elf/tst-unique3.cc (gets): Remove declaration.
41081         * elf/tst-unique3lib.cc (gets): Likewise.
41082         * elf/tst-unique3lib2.cc (gets): Likewise.
41083         * elf/tst-unique4.cc (gets): Likewise.
41084
41085 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41086
41087         * include/stdio.h: Add C++ protection.  Add gets declarations and
41088         definitions.
41089         * debug/tst-chk1.c: Don't declare gets here.
41090         * stdio-common/tst-gets.c: Likewise.
41091
41092 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41093
41094         * posix/glob: Remove directory.
41095
41096 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41097
41098         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41099
41100 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41101
41102         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41103         of the non-standard EPFNOSUPPORT.
41104
41105 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41106
41107         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41108         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41109         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41110
41111 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41112
41113         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41114
41115 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41116
41117         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41118         transient errors.
41119         * nscd/grpcache.c (cache_addgr): Likewise.
41120         * nscd/hstcache.c (cache_addhst): Likewise.
41121         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41122         * nscd/pwdcache.c (cache_addpw): Likewise.
41123         * nscd/servicescache.c (cache_addserv): Likewise.
41124
41125 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41126
41127         * malloc/malloc.c: Various cleanups.
41128         * malloc/hooks.c: Likewise.
41129
41130         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41131         * stdlib/bug-fmtmsg1.c: New file.
41132
41133         * stdlib/fmtmsg.c (init): Add missing unlock.
41134         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41135
41136 2012-01-12  Marek Polacek  <polacek@redhat.com>
41137
41138         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41139         and _GNU_SOURCE.
41140
41141 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41142
41143         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41144         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41145         macro to ensure uniqueness of label name.
41146         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41147         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41148
41149 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41150
41151         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41152
41153         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41154         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41155         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41156         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41157
41158 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41159
41160         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41161
41162         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41163         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41164         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41165
41166         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41167
41168         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41169         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41170         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41171         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41172
41173         * math/bits/math-finite.h: Add ldexp support.
41174
41175 2012-01-10  Marek Polacek  <polacek@redhat.com>
41176
41177         * locale/programs/localedef.h (show_archive_content): Add noreturn
41178         attribute.
41179
41180 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41181
41182         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41183
41184 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41185
41186         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41187
41188         * io/Makefile (headers): Add bits/poll2.h.
41189
41190 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41191
41192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41193         typo #include statement.
41194
41195 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41196
41197         * include/sys/cdefs.h: Define __attribute_alloc_size.
41198         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41199         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41200         * elf/pldd.c: Likewise.
41201         * iconv/iconv_charmap.c: Likewise.
41202         * iconv/iconvconfig.c: Likewise.
41203         * iconv/strtab.c: Likewise.
41204         * locale/programs/locale.c: Likewise.
41205         * locale/programs/localedef.h: Likewise.
41206         * locale/programs/simple-hash.c: Likewise.
41207         * nscd/nscd.h: Likewise.
41208         * nss/makedb.c: Likewise.
41209         * sysdeps/generic/ldconfig.h: Likewise.
41210         * locale/programs/localedef.c: Remove xmalloc prototype.
41211         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41212
41213 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41214
41215         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41216         appropriate.
41217
41218 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41219
41220         * math/Makefile (tests): Add tst-CMPLX.
41221         * math/tst-CMPLX.c: New file.
41222
41223         * math/complex.h (CMPLXL): Fix typo.
41224
41225         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41226         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41227         GLIBC_2.16.
41228         * debug/tst-chk1.c: Add poll and ppoll tests.
41229         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41230         * include/sys/poll.h: Add hidden proto for ppoll.
41231         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41232         * sysdeps/mach/hurd/ppoll.c: Likewise.
41233         * io/ppoll.c: Likewise.
41234         * debug/poll_chk.c: New file.
41235         * debug/ppoll_chk.c: New file.
41236         * include/bits/poll2.h: New file.
41237         * io/bits/poll2.h: New file.
41238
41239         [BZ #1350]
41240         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41241
41242         * configure.in: static is always set to yes.  Remove.
41243         * config.make.in: Don't set build-static.
41244         * Makeconfig: Remove use of build-static.
41245         * dlfcn/Makefile: Likewise.
41246         * elf/Makefile: Likewise.
41247         * math/Makefile: Likewise.
41248         * misc/Makefile: Likewise.
41249         * nptl/Makefile: Likewise.
41250         * sysdeps/mach/hurd/Makefile: Likewise.
41251
41252         * configure.in: PWD_P is not used anymore.
41253         * config.make.in: Remove PWD_P entry.
41254
41255         * configure.in: Remove last remnants of RANLIB.
41256         No need to check for signed size_t anymore.
41257         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41258         and IA-64.
41259         Remove __builtin_expect test because we require at least gcc 3.4.
41260         * aclocal.m4: Likewise.
41261
41262         * wcsmbs/mbrtoc16.c: Implement using towc function.
41263         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41264         * wcsmbs/wcsmbsload.c: Likewise.
41265         * iconv/gconv_simple.c: Likewise.
41266         * iconv/gconv_int.h: Likewise.
41267         * iconv/gconv_builtin.h: Likewise.
41268         * iconv/iconv_prog.c: Remove CHAR16 handling.
41269
41270         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41271
41272         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41273
41274         * configure.in: Remove --with-elf and --enable-bounded options.
41275         Dont set base_machine for ia64.  More non-ELF conditions removed.
41276         Remove testing and setting of leading underscore information.
41277         * config.make.in (build-bounded): Set to no.
41278         * config.h.in: Remove NO_UNDERSCORES entry.
41279         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41280         them.
41281         * csu/start.c: Remove !NO_UNDERSCORE code.
41282         * locale/localeinfo.h: Likewise.
41283         * sysdeps/generic/machine-gmon.h: Likewise.
41284         * sysdeps/generic/sysdep.h: Likewise.
41285         * sysdeps/i386/sysdep.h: Likewise.
41286         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41287         * sysdeps/mach/sysdep.h: Likewise.
41288         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41289         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41290         * sysdeps/sh/sysdep.h: Likewise.
41291         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41292         * sysdeps/unix/i386/sysdep.S: Likewise.
41293         * sysdeps/unix/sparc/start.c: Likewise.
41294         * sysdeps/unix/sparc/sysdep.S: Likewise.
41295         * sysdeps/unix/sparc/sysdep.h: Likewise.
41296         * sysdeps/unix/start.c: Likewise.
41297         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41298         * sysdeps/x86_64/sysdep.h: Likewise.
41299
41300 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41301
41302         [BZ #13553]
41303         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41304         for non-gcc.
41305         * argp/argp-fmtstream.h: Use const instead __const.
41306         * argp/argp.h: Likewise.
41307         * assert/assert.h: Likewise.
41308         * bits/fenv.h: Likewise.
41309         * bits/sched.h: Likewise.
41310         * bits/sigset.h: Likewise.
41311         * bits/sigthread.h: Likewise.
41312         * catgets/nl_types.h: Likewise.
41313         * conform/data/pthread.h-data: Likewise.
41314         * crypt/crypt-private.h: Likewise.
41315         * crypt/crypt.h: Likewise.
41316         * crypt/crypt_util.c: Likewise.
41317         * ctype/ctype.h: Likewise.
41318         * debug/execinfo.h: Likewise.
41319         * debug/mbsnrtowcs_chk.c: Likewise.
41320         * debug/mbsrtowcs_chk.c: Likewise.
41321         * debug/wcsnrtombs_chk.c: Likewise.
41322         * debug/wcsrtombs_chk.c: Likewise.
41323         * debug/wcstombs_chk.c: Likewise.
41324         * dirent/dirent.h: Likewise.
41325         * dlfcn/dlfcn.h: Likewise.
41326         * elf/neededtest4.c: Likewise.
41327         * grp/grp.h: Likewise.
41328         * gshadow/gshadow.h: Likewise.
41329         * iconv/gconv.h: Likewise.
41330         * iconv/gconv_int.h: Likewise.
41331         * iconv/gconv_simple.c: Likewise.
41332         * iconv/iconv.h: Likewise.
41333         * iconv/loop.c: Likewise.
41334         * iconv/skeleton.c: Likewise.
41335         * include/aio.h: Likewise.
41336         * include/aliases.h: Likewise.
41337         * include/argz.h: Likewise.
41338         * include/arpa/inet.h: Likewise.
41339         * include/assert.h: Likewise.
41340         * include/dirent.h: Likewise.
41341         * include/dlfcn.h: Likewise.
41342         * include/execinfo.h: Likewise.
41343         * include/fcntl.h: Likewise.
41344         * include/fenv.h: Likewise.
41345         * include/glob.h: Likewise.
41346         * include/grp.h: Likewise.
41347         * include/libintl.h: Likewise.
41348         * include/mntent.h: Likewise.
41349         * include/netdb.h: Likewise.
41350         * include/pwd.h: Likewise.
41351         * include/rpc/netdb.h: Likewise.
41352         * include/sched.h: Likewise.
41353         * include/search.h: Likewise.
41354         * include/shadow.h: Likewise.
41355         * include/signal.h: Likewise.
41356         * include/stdio.h: Likewise.
41357         * include/stdlib.h: Likewise.
41358         * include/string.h: Likewise.
41359         * include/sys/socket.h: Likewise.
41360         * include/sys/stat.h: Likewise.
41361         * include/sys/statfs.h: Likewise.
41362         * include/sys/statvfs.h: Likewise.
41363         * include/sys/syslog.h: Likewise.
41364         * include/sys/time.h: Likewise.
41365         * include/sys/uio.h: Likewise.
41366         * include/time.h: Likewise.
41367         * include/unistd.h: Likewise.
41368         * include/utmp.h: Likewise.
41369         * include/wchar.h: Likewise.
41370         * include/wctype.h: Likewise.
41371         * inet/aliases.h: Likewise.
41372         * inet/arpa/inet.h: Likewise.
41373         * inet/netinet/ether.h: Likewise.
41374         * inet/netinet/in.h: Likewise.
41375         * intl/libintl.h: Likewise.
41376         * io/bits/fcntl2.h: Likewise.
41377         * io/fcntl.h: Likewise.
41378         * io/ftw.h: Likewise.
41379         * io/sys/poll.h: Likewise.
41380         * io/sys/stat.h: Likewise.
41381         * io/sys/statfs.h: Likewise.
41382         * io/sys/statvfs.h: Likewise.
41383         * io/utime.h: Likewise.
41384         * libio/bits/stdio.h: Likewise.
41385         * libio/bits/stdio2.h: Likewise.
41386         * libio/libio.h: Likewise.
41387         * libio/libioP.h: Likewise.
41388         * libio/stdio.h: Likewise.
41389         * locale/lc-ctype.c: Likewise.
41390         * locale/locale.h: Likewise.
41391         * login/utmp.h: Likewise.
41392         * malloc/arena.c: Likewise.
41393         * malloc/malloc.c: Likewise.
41394         * malloc/malloc.h: Likewise.
41395         * malloc/mcheck.c: Likewise.
41396         * malloc/mtrace.c: Likewise.
41397         * math/bits/mathcalls.h: Likewise.
41398         * math/fenv.h: Likewise.
41399         * math/math_private.h: Likewise.
41400         * misc/bits/error.h: Likewise.
41401         * misc/bits/syslog.h: Likewise.
41402         * misc/err.h: Likewise.
41403         * misc/error.h: Likewise.
41404         * misc/fstab.h: Likewise.
41405         * misc/mntent.h: Likewise.
41406         * misc/regexp.h: Likewise.
41407         * misc/search.h: Likewise.
41408         * misc/sgtty.h: Likewise.
41409         * misc/sys/mman.h: Likewise.
41410         * misc/sys/syslog.h: Likewise.
41411         * misc/sys/uio.h: Likewise.
41412         * misc/sys/xattr.h: Likewise.
41413         * misc/ttyent.h: Likewise.
41414         * nis/rpcsvc/ypclnt.h: Likewise.
41415         * nss/nss.h: Likewise.
41416         * posix/bits/unistd.h: Likewise.
41417         * posix/fnmatch.h: Likewise.
41418         * posix/glob.h: Likewise.
41419         * posix/sched.h: Likewise.
41420         * posix/spawn.h: Likewise.
41421         * posix/sys/wait.h: Likewise.
41422         * posix/unistd.h: Likewise.
41423         * posix/wordexp.h: Likewise.
41424         * pwd/pwd.h: Likewise.
41425         * resolv/netdb.h: Likewise.
41426         * resource/sys/resource.h: Likewise.
41427         * rt/aio.h: Likewise.
41428         * rt/bits/mqueue2.h: Likewise.
41429         * rt/mqueue.h: Likewise.
41430         * shadow/shadow.h: Likewise.
41431         * signal/signal.h: Likewise.
41432         * socket/send.c: Likewise.
41433         * socket/sendto.c: Likewise.
41434         * socket/sys/socket.h: Likewise.
41435         * stdio-common/printf.h: Likewise.
41436         * stdlib/bits/stdlib.h: Likewise.
41437         * stdlib/fmtmsg.h: Likewise.
41438         * stdlib/monetary.h: Likewise.
41439         * stdlib/stdlib.h: Likewise.
41440         * stdlib/ucontext.h: Likewise.
41441         * streams/stropts.h: Likewise.
41442         * string/argz.h: Likewise.
41443         * string/bits/string2.h: Likewise.
41444         * string/string.h: Likewise.
41445         * string/strings.h: Likewise.
41446         * sunrpc/rpc/auth.h: Likewise.
41447         * sunrpc/rpc/auth_des.h: Likewise.
41448         * sunrpc/rpc/clnt.h: Likewise.
41449         * sunrpc/rpc/netdb.h: Likewise.
41450         * sunrpc/rpc/pmap_clnt.h: Likewise.
41451         * sunrpc/rpc/xdr.h: Likewise.
41452         * sysdeps/generic/inttypes.h: Likewise.
41453         * sysdeps/generic/net/if.h: Likewise.
41454         * sysdeps/generic/sys/swap.h: Likewise.
41455         * sysdeps/gnu/net/if.h: Likewise.
41456         * sysdeps/gnu/utmpx.h: Likewise.
41457         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41458         * sysdeps/i386/i486/bits/string.h: Likewise.
41459         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41460         * sysdeps/s390/bits/string.h: Likewise.
41461         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41462         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41463         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41464         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41465         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41466         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41467         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41468         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41469         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41470         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41471         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41472         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41473         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41474         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41475         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41476         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41477         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41478         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41479         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41480         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41481         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41482         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41483         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41484         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41485         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41486         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41487         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41488         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41489         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41490         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41491         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41492         * sysvipc/sys/ipc.h: Likewise.
41493         * sysvipc/sys/msg.h: Likewise.
41494         * sysvipc/sys/sem.h: Likewise.
41495         * sysvipc/sys/shm.h: Likewise.
41496         * termios/termios.h: Likewise.
41497         * time/sys/time.h: Likewise.
41498         * time/time.h: Likewise.
41499         * wcsmbs/bits/wchar2.h: Likewise.
41500         * wcsmbs/uchar.h: Likewise.
41501         * wcsmbs/wchar.h: Likewise.
41502         * wctype/wctype.h: Likewise.
41503
41504         [BZ #13551]
41505         * Makeconfig: Remove all but ELF support including AIX support.
41506         * Makerules: Likewise.
41507         * config.h.in: Likewise.
41508         * config.make.in: Likewise.
41509         * configure: Likewise.
41510         * configure.in: Likewise.
41511         * csu/Makefile: Likewise.
41512         * csu/version.c: Likewise.
41513         * debug/Makefile: Likewise.
41514         * dlfcn/Makefile: Likewise.
41515         * elf/Makefile: Likewise.
41516         * extra-lib.mk: Likewise.
41517         * iconv/Makefile: Likewise.
41518         * include/libc-symbols.h: Likewise.
41519         * include/shlib-compat.h: Likewise.
41520         * resolv/Makefile: Likewise.
41521         * resolv/res_libc.c: Likewise.
41522         * rt/Makefile: Likewise.
41523         * sysdeps/i386/asm-syntax.h: Likewise.
41524         * sysdeps/i386/sysdep.h: Likewise.
41525         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41526         * sysdeps/mach/sysdep.h: Likewise.
41527         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41528         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41529         * sysdeps/s390/asm-syntax.h: Likewise.
41530         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41531         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41532         * sysdeps/sh/sysdep.h: Likewise.
41533         * sysdeps/unix/sparc/sysdep.h: Likewise.
41534         * sysdeps/wordsize-32/divdi3.c: Likewise.
41535         * sysdeps/x86_64/sysdep.h: Likewise.
41536
41537         * argp/Versions: Remove _argp_unlock_xxx.
41538
41539         [BZ #13559]
41540         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41541         * abilist/libBrokenLocale.abilist: Likewise.
41542         * abilist/libanl.abilist: Likewise.
41543         * abilist/libc.abilist: Likewise.
41544         * abilist/libcrypt.abilist: Likewise.
41545         * abilist/libdl.abilist: Likewise.
41546         * abilist/libm.abilist: Likewise.
41547         * abilist/libnsl.abilist: Likewise.
41548         * abilist/libpthread.abilist: Likewise.
41549         * abilist/libresolv.abilist: Likewise.
41550         * abilist/librt.abilist: Likewise.
41551         * abilist/libthread_db.abilist: Likewise.
41552         * abilist/libutil.abilist: Likewise.
41553         * abilist/libnss_db.abilist: New file.
41554
41555         * scripts/abilist.awk: Add support for indirect functions.
41556
41557         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41558
41559         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41560
41561         * shlib-versions: Remove entries for ports architectures.
41562
41563         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41564         files in ports.
41565         * elf/stackguard-macros.h: Remove support for IA-64.
41566         * elf/tst-auditmod1.c: Likewise.
41567         * sysdeps/generic/ldsodefs.h: Likewise.
41568
41569         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41570         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41571         configure files.
41572
41573         [BZ #13552]
41574         * configure.in: Remove --enable-omitfp support.
41575         * FAQ.in: Adjust.
41576         * config.make.in: Likewise.
41577         * Makeconfig: Likewise.
41578         * manual/install.texi: Likewise.
41579
41580         In case anyone cares, the IA-64 architecture could move to ports.
41581         * sysdeps/ia64/*: Removed.
41582         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41583         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41584
41585         [BZ #13555]
41586         * configure.in: Remove entries for unsupported architectures.
41587
41588         [BZ #13533]
41589         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41590         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41591         routines.
41592         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41593         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41594         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41595         fall back to using wcrtomb.
41596         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41597         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41598         renaming.
41599         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41600         * wcsmbs/tst-c16c32-1.c: New file.
41601
41602         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41603         local variable.
41604
41605         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41606
41607         * elf/tst-unique3.cc: Add explicit declaration of gets.
41608         * elf/tst-unique3lib.cc: Likewise.
41609         * elf/tst-unique3lib2.cc: Likewise.
41610         * elf/tst-unique4.cc: Likewise.
41611
41612         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41613
41614 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41615
41616         [BZ #13566]
41617         * assert/assert.h (static_assert): Don't define for C++.
41618         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41619         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41620
41621 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41622
41623         * iconv/loop.c (single loop): Fix assertion in storing of
41624         remaining bytes.
41625
41626         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41627
41628 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41629
41630         * posix/getconf.c: Update copyright year.
41631         * nss/getent.c: Likewise.
41632         * nss/makedb.c: Likewise.
41633         * iconv/iconvconfig.c: Likewise.
41634         * iconv/iconv_prog.c: Likewise.
41635         * elf/ldconfig.c: Likewise.
41636         * elf/pldd.c: Likewise.
41637         * elf/sotruss.ksh: Likewise.
41638         * catgets/gencat.c: Likewise.
41639         * csu/version.c: Likewise.
41640         * elf/ldd.bash.in: Likewise.
41641         * elf/sprof.c (print_version): Likewise.
41642         * locale/programs/locale.c: Likewise.
41643         * locale/programs/localedef.c: Likewise.
41644         * login/programs/pt_chown.c: Likewise.
41645         * nscd/nscd.c (print_version): Likewise.
41646         * debug/xtrace.sh: Likewise.
41647         * malloc/memusage.sh: Likewise.
41648         * malloc/mtrace.pl: Likewise.
41649         * debug/catchsegv.sh: Likewise.
41650
41651 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41652
41653         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41654         pure attribute.
41655
41656 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41657
41658         [BZ #13533]
41659         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41660         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41661         transformations.
41662         * iconv/gconv_int.h: Likewise.
41663         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41664         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41665         from libc for GLIBC_2.16.
41666         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41667         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41668         * wcsmbs/uchar.h: Really define mbstate_t.
41669         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41670         * wcsmbs/c16rtomb.c: New file.
41671         * wcsmbs/mbrtoc16.c: New file.
41672         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41673         for C/POSIX locale.
41674         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41675         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41676
41677         * wcsmbs/wchar.h: Add missing __restrict.
41678
41679 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41680
41681         [BZ #13532]
41682         * time/Makefile (routines): Add timespec_get.
41683         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41684         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41685         timespec for ISO C11.
41686         * time/timespec_get.c: New file.
41687         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41688         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41689
41690         [BZ #13531]
41691         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41692         * stdlib/stdlib.h: Declare aligned_alloc.
41693         * Versions.def: Add GLIBC_2.16 for libc.
41694         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41695
41696         [BZ 13527]
41697         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41698         ISO C11.
41699
41700         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41701         code.
41702
41703         [BZ #13528]
41704         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41705
41706         [BZ #13529]
41707         * assert/assert.h (static_assert): Define.
41708
41709         * version.h: Update for 2.16 development version.
41710
41711         [BZ #13526]
41712         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41713         _ISOC11_SOURCE.
41714
41715         * version.h (RELEASE): Bump for 2.15 release.
41716         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41717
41718         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41719         Patch by Marek Polacek <mpolacek@redhat.com>.
41720
41721         * bits/byteswap.h: Protect long long constants with __extension__.
41722         * sysdeps/i386/bits/byteswap.h: Likewise.
41723         * sysdeps/ia64/bits/byteswap.h: Likewise.
41724         * sysdeps/s390/bits/byteswap.h: Likewise.
41725         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41726
41727 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41728
41729         [BZ #13540]
41730         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41731         destination buffer.
41732         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41733
41734 2011-12-23  Marek Polacek  <polacek@redhat.com>
41735
41736         * elf/dl-addr.c (determine_info): Add inline keyword.
41737         * elf/tst-auditmod4b.c (check_avx): Likewise.
41738         * elf/tst-auditmod6b.c (check_avx): Likewise.
41739         * elf/tst-auditmod6c.c (check_avx): Likewise.
41740         * elf/tst-auditmod7b.c (check_avx): Likewise.
41741
41742 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41743
41744         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41745         !__SSE_MATH__.
41746
41747 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41748
41749         [BZ #13540]
41750         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41751         processing for last bytes.
41752
41753 2011-08-06  Bruno Haible  <bruno@clisp.org>
41754
41755         [BZ #13061]
41756         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41757         U+0385, not to U+1FEE.
41758
41759         [BZ #13062]
41760         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41761         entry for U+00A5 U+0301.
41762
41763 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41764
41765         [BZ #13166]
41766         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41767         buffer for the output is too small.
41768
41769         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41770         optimization.
41771
41772         [BZ #13185]
41773         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41774         SSE flags if possible.
41775
41776 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41777
41778         [BZ #13540]
41779         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41780         processing for last bytes.
41781
41782 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41783
41784         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41785         (syscall-list-default-options, syscall-list-default-condition)
41786         (syscall-list-includes): Define.
41787         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41788         list of ABIs and options and #if conditions for each ABI.  Do not
41789         handle common syscalls between ABIs specially.
41790         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41791         Remove.
41792         (syscall-list-variants, syscall-list-32bit-options)
41793         (syscall-list-32bit-condition, syscall-list-64bit-options)
41794         (syscall-list-64bit-condition): Define.
41795         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41796         (syscall-list-variants, syscall-list-32bit-options)
41797         (syscall-list-32bit-condition, syscall-list-64bit-options)
41798         (syscall-list-64bit-condition): Define.
41799         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41800         Remove.
41801         (syscall-list-variants, syscall-list-32bit-options)
41802         (syscall-list-32bit-condition, syscall-list-64bit-options)
41803         (syscall-list-64bit-condition): Define.
41804         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41805         Remove.
41806         (syscall-list-variants, syscall-list-32bit-options)
41807         (syscall-list-32bit-condition, syscall-list-64bit-options)
41808         (syscall-list-64bit-condition): Define.
41809
41810 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41811
41812         * locale/iso-639.def: Add brx entry.
41813
41814         [BZ #13328]
41815         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41816         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41817
41818         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41819         __feraiseexcept_renamed.
41820
41821 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41822
41823         [BZ #13538]
41824         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41825         EPOLLET with unsigned values.
41826         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41827         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41828
41829         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41830         to large cancellation.
41831         * math/s_cacoshf.c: Likewise.
41832         * math/s_cacoshl.c: Likewise.
41833
41834 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41835
41836         [BZ #13305]
41837         [BZ #12786]
41838         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41839         * math/s_cacoshf.c: Likewise.
41840         * math/s_cacoshl.c: Likewise.
41841
41842 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41843
41844         [BZ #13439]
41845         * iconv/gconv.h: Define __GCONV_SWAP.
41846         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41847         * iconvdata/utf-16.c: Likewise.
41848         * iconvdata/utf-32.c: Likewise.
41849
41850 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41851
41852         [BZ #13524]
41853         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41854         numerator after shifting it by one limb.
41855
41856 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41857
41858         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41859         under [__USE_EXTERN_INLINES].
41860
41861 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41862
41863         [BZ #13446]
41864         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41865
41866 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41867
41868         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41869         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41870         optimized code.
41871         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41872         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41873         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41874         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41875         for strncasecmp/strncasecmp_l compilation.
41876         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41877         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41878
41879 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41880
41881         [BZ #13484]
41882         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41883         of __asm__.
41884
41885 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41886
41887         [BZ #13506]
41888         * time/tzfile.c (__tzfile_read): Check values from file header.
41889
41890 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41891
41892         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41893         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41894         * powerpc/powerpc32/dl-start.S: Likewise.
41895         * powerpc/powerpc32/elf/start.S: Likewise.
41896         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41897         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41898         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41899         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41900         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41901         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41902         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41903         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41904         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41905         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41906         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41907         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41908         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41909         * powerpc/powerpc32/memset.S: Likewise.
41910         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41911         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41912         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41913         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41914         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41915         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41916         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41917         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41918         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41919         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41920         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41921         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41922         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41923
41924 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41925
41926         * math/libm-test.inc: Added more nearbyint tests.
41927         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41928         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41929         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41930         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41931
41932 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41933
41934         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41935         FD_CLOEXEC.
41936
41937 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41938
41939         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41940         Add wcscpy-ssse3 wcscpy-c.
41941         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41942         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41943         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41944         * sysdeps/x86_64/wcschr.S: New file.
41945         * sysdeps/x86_64/wcsrchr.S: New file.
41946         * string/test-strcmp.c: Remove checking of wcscmp function for
41947         wrong alignments.
41948         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41949         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41950         wcsrchr-sse2 wcsrchr-c.
41951         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41952         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41953         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41954         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41955         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41956         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41957         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41958         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41959         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41960         * wcsmbc/wcschr.c (WCSCHR): New macro.
41961
41962 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41963
41964         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41965         * wcsmbs/test-wcsrchr.c: New file.
41966         * string/test-strrchr.c: Add wcsrchr support.
41967         (WIDE): New macro.
41968         * wcsmbs/test-wcscpy.c: New file.
41969         * string/test-strcpy.c: Add wcscpy support.
41970         (WIDE): New macro.
41971
41972 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41973
41974         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41975         the inner loop.
41976
41977 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41978
41979         [BZ #13472]
41980         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41981
41982 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41983
41984         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41985         Minor optimizations.
41986
41987         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41988         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41989         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41990
41991 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41992
41993         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41994         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41995         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41996         for gcc to avoid warnings.
41997         * inet/Makefile (tests): Add tst-checks.
41998         * inet/tst-checks.c: New file.
41999
42000         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42001         warning.
42002
42003         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42004         __wmemcmp_sse2.
42005
42006         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42007         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42008
42009         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42010
42011 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42012
42013         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42014         problem.
42015
42016         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42017
42018 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42019
42020         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42021         conditional on GCC version.
42022         (__arch_compare_and_exchange_val_8_acq)
42023         (__arch_compare_and_exchange_val_16_acq)
42024         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42025         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42026         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42027
42028 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42029
42030         * sysdeps/sh/backtrace.c: New file.
42031
42032 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42033
42034         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42035         parenthesis.
42036
42037 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42038
42039         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42040         falling back to utime.
42041
42042 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42043
42044         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42045         expectations for float.
42046
42047 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42048
42049         * locale/weight.h (findidx): Add parameter len.
42050         * locale/weightwc.h (findidx): Likewise.
42051         * posix/fnmatch_loop.c (FCT): Adjust caller.
42052         * posix/regcomp.c (build_equiv_class): Likewise.
42053         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42054         * posix/regexec.c (check_node_accept_bytes): Likewise.
42055         * string/strcoll_l.c (STRCOLL): Likewise.
42056         * string/strxfrm_l.c (STRXFRM): Likewise.
42057
42058 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42059
42060         * Makefile.in: Remove CVSOPT handling.
42061         * configure.in: Remove use of AC_REVISION.
42062         * iconvdata/Makefile (distribute): No need to filter out CVS.
42063         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42064         handling.
42065
42066 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42067
42068         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42069         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42070         [USE_AS_STRNCASECMP_L]: Likewise.
42071         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42072         NO_TLS_DIRECT_SEG_REFS.
42073         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42074         Fix argument offsets for non-PIC.
42075         [USE_AS_STRNCASECMP_L]: Likewise.
42076         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42077         NO_TLS_DIRECT_SEG_REFS.
42078
42079 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42080
42081         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42082         O_CLOEXEC.
42083         * locale/loadlocale.c (_nl_load_locale): Likewise.
42084
42085 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42086
42087         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42088         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42089         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42090         (SYSCALL_GETTIME): Set errno on error.
42091
42092         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42093         count references to noai6ai_cached.
42094
42095 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42096
42097         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42098
42099         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42100         FD_CLOEXEC for /proc/self/maps.
42101
42102         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42103         FD_CLOEXEC for /proc/meminfo.
42104
42105         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42106         gai.conf.
42107
42108         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42109         FD_CLOEXEC for given file.
42110
42111         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42112
42113         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42114         FD_CLOEXEC for /etc/hosts.
42115         (_gethtent): Likewise.
42116
42117         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42118
42119         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42120         cancellation and set FD_CLOEXEC for /etc/netgroup.
42121
42122         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42123         reading /etc/publickey.
42124
42125         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42126         allow cancellation when reading /etc/group.
42127
42128         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42129         cancellation.
42130         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42131
42132         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42133         when using data file.
42134
42135         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42136
42137         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42138         (write_nis_obj): Use "c" and "e" in fopen.
42139
42140         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42141
42142         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42143
42144         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42145
42146         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42147
42148         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42149         locale.alias.
42150
42151         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42152
42153         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42154
42155         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42156
42157         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42158         file parsing and set FD_CLOEXEC.
42159
42160 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42161
42162         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42163
42164 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42165
42166         * malloc/arena.c (arena_get2): Don't call reused_arena when
42167         _int_new_arena failed.
42168
42169 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42170
42171         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42172         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42173         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42174         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42175         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42176         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42177         to compile strcasecmp and strncasecmp.
42178         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42179         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42180
42181         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42182
42183 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42184
42185         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42186         locale-defines.sym to gen-as-const-headers.
42187         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42188         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42189         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42190         to compile strcasecmp and strncasecmp.
42191         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42192         strcasecmp_l and strncasecmp_l.
42193         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42194         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42195         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42196         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42197         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42198         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42199         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42200         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42201         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42202         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42203         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42204
42205 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42206
42207         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42208         result of SYSDEP_GETTIME_CPU to retval.
42209         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42210         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42211
42212         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42213         variable.
42214
42215         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42216         mantissa words.
42217         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42218
42219         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42220         from unused variable.
42221
42222         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42223         DWARF definitions.
42224         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42225         for assembling.
42226
42227         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42228         over namespaces.
42229
42230         * sunrpc/rpc_prot.c (rejected): Fix case value.
42231
42232         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42233         unsigned long long int to avoid warnings in shift.
42234
42235         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42236         of use of trans.
42237         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42238         variable tmp.
42239
42240         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42241         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42242         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42243
42244         * nis/nis_table.c (nis_list): Use variable of correct type for
42245         result of __follow_path call.
42246
42247 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42248
42249         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42250         of math functions ceil, trunc, floor, round, and sqrt, when
42251         avaliable on the platform.
42252         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42253         name clash.
42254         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42255         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42256         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42257
42258 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42259
42260         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42261         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42262
42263 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42264
42265         * include/unistd.h: Fix __readlink return type.
42266         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42267
42268 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42269
42270         * stdlib/ucontext.h: Undo last change for makecontext.
42271
42272 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42273
42274         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42275
42276         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42277         * setjmp/setjmp.h: Mark functions as non-leaf.
42278         * setjmp/bits/setjmp2.h: Likewise.
42279         * stdlib/ucontext.h: Likewise.
42280
42281 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42282
42283         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42284         (reused_arena): Don't check arena limit.
42285         (arena_get2): Atomically check arena limit.
42286
42287 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42288
42289         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42290         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42291
42292         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42293         instructions.
42294
42295 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42296
42297         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42298         handler when locking.
42299
42300         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42301         Fix size of allocated buffer.
42302
42303 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42304
42305         [BZ #10103]
42306         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42307         declarations for long double functions.
42308         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42309
42310         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42311
42312 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42313
42314         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42315         installed.
42316
42317         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42318         is disabled.
42319
42320 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42321
42322         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42323
42324 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42325
42326         * include/alloca.h (stackinfo_alloca_round): Define.
42327         (extend_alloca): Use it.
42328         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42329         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42330         here.
42331
42332         * scripts/check-local-headers.sh: Ignore libaudit.h.
42333
42334         * nscd/Makefile (extra-objs): Make recursively expanded.
42335
42336 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42337
42338         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42339         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42340
42341         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42342         * posix/tst-rfc3484-2.c: Likewise.
42343         * posix/tst-rfc3484-3.c: Likewise.
42344
42345         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42346         process_vm_writev.
42347         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42348         process_vm_writev.
42349         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42350         process_vm_writev from libc using GLIBC_2.15 version.
42351
42352         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42353
42354 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42355
42356         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42357         stack usage.
42358
42359 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42360
42361         [BZ #13367]
42362         * nss/getent.c (initgroups_keys): Show error message in case no group
42363         names are given.
42364
42365         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42366         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42367         __bump_nl_timestamp.
42368         * nscd/connections (nscd_init): When host database is served open
42369         netlink socket and request notification about configuration changes.
42370         (main_loop_poll): Track netlink file descriptor and bump timestamp
42371         in case data becomes available.
42372         (main_loop_epoll): Likewise.
42373         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42374         (database_pers_head): Add extra_data fileds.
42375         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42376         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42377         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42378         Adjust caller.
42379         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42380         in6ai data, call __free_in6ai.
42381         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42382         Add -DHAVE_NETLINK.
42383         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42384         interface information.  Reuse previous data if netlink timestamp
42385         is not changed.
42386         (__bump_nl_timestamp): New function.
42387         (__free_in6ai): New function.
42388
42389 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42390
42391         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42392         close_not_cancel_no_status here.
42393         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42394
42395 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42396
42397         [BZ #13276]
42398         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42399         return value.
42400
42401         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42402         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42403         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42404
42405 2011-07-03  Andreas Jaeger  <aj@suse.de>
42406
42407         [BZ #10709]
42408         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42409         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42410         * math/libm-test.inc (sin_test): Add test case.
42411
42412 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42413
42414         [BZ #13337]
42415         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42416         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42417
42418         * elf/chroot_canon.c (chroot_canon): Cleanups.
42419
42420         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42421
42422         [BZ #13335]
42423         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42424         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42425
42426         * string/test-strchr.c: Make usable for strchrnul testing.
42427         * string/test-strchrnul.c: New file.
42428         * string/Makefile (strop-tests): Add strchrnul.
42429
42430         * po/it.po: Update from translation team.
42431         * po/es.po: Likewise.
42432
42433 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42434
42435         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42436         the three constants needed as parameters.  Drop the others.
42437         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42438         __m128i_strloadu_tolower.
42439         Create and initialize variable zero and use it in all the places
42440         where _mm_setzero_si128 was used.
42441
42442         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42443         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42444         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42445         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42446         anymore.
42447         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42448         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42449         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42450         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42451         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42452         __mpranred, __mptan.
42453         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42454         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42455         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42456         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42457         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42458         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42459         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42460         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42461         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42462
42463 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42464
42465         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42466         redefine if SHARED.
42467         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42468
42469         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42470         wide char related routines to wcsmbs subdir.
42471
42472 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42473
42474         [BZ #13344]
42475         * misc/sys/cdefs.h (__THROWNL): Define.
42476         * posix/unistd.h: Use __THREADNL instead of __THREAD
42477         for memory synchronization functions.
42478
42479 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42480
42481         [BZ #13349]
42482         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42483         doesn't exist.
42484         * manual/stdio.texi (Obstack Streams): Node removed.
42485
42486 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42487
42488         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42489         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42490         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42491
42492         * math/math_private.h (math_force_eval): Allow non-addressable
42493         arguments.
42494         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42495
42496 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42497
42498         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42499         file is not needed.
42500
42501         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42502         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42503         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42504         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42505         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42506         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42507         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42508         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42509         Add AVX variants.
42510         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42511         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42512         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42513         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42514         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42515         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42516         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42517         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42518         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42519         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42520         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42521         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42522         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42523         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42524         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42525         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42526         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42527         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42528         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42529
42530         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42531         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42532
42533         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42534         place.  Use VEX encoding when compiling for AVX.
42535
42536 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42537
42538         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42539         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42540
42541         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42542
42543 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42544
42545         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42546         useless if() expression.
42547         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42548         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42549         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42550         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42551         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42552         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42553         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42554         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42555         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42556         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42557         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42558         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42559         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42560         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42561         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42562         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42563         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42564         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42565         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42566
42567         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42568
42569 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42570
42571         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42572         condition.
42573         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42574
42575 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42576
42577         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42578         .text section.  Avoid duplicate constants.
42579         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42580         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42581         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42582         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42583         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42584         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42585         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42586         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42587         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42588         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42589         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42590         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42591         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42592         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42593         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42594         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42595         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42596         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42597         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42598         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42599         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42600         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42601         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42602         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42603         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42604         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42605         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42606         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42607         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42608         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42609         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42610         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42611         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42612         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42613         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42614         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42615         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42616         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42617         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42618         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42619         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42620         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42621         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42622         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42623         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42624
42625 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42626
42627         * sysdeps/x86_64/dla.h: Move to ...
42628         * sysdeps/x86_64/fpu/dla.h: ...here.
42629         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42630         situations.  Use __builtin_fma only for gcc 4.6 and up.
42631
42632         * config.make.in: Add have-mfma4 entry.
42633         * configure.in: Substitute libc_cv_cc_fma4.
42634         * math/Makefile (dbl-only-routines): Add sincostab.
42635         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42636         Use __sincostab not sincos.
42637         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42638         name is a macro.
42639         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42640         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42641         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42642         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42643         using __copysign.
42644         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42645         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42646         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42647         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42648         and __inv.
42649         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42650         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42651         __copysign.
42652         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42653         define aliases when function name is a macro.
42654         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42655         sysdeps/ieee754/dbl-64/sincos.tbl.
42656         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42657         fma4-enabled routines.
42658         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42659         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42660         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42661         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42662         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42663         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42664         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42665         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42666         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42667         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42668         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42669         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42670         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42671         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42672         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42673         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42674         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42675         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42676         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42677         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42678         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42679         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42680         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42681         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42682         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42683         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42684         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42685         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42686         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42687         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42688
42689         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42690         rename.
42691         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42692         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42693         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42695         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42696         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42697         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42698         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42699
42700 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42701
42702         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42703
42704 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42705
42706         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42707
42708         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42709         prediction.
42710         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42711
42712         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42713         Remove unused variable magic_bits.
42714         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42715
42716         * string/strnlen.c: Define and use STRNLEN macro.
42717         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42718         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42719         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42720         * wcsmbs/wcslen.c: Define and use WCSLEN.
42721         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42722         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42723         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42724         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42725         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42726         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42727         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42728
42729 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42730
42731         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42732         strnlen-sse2-no-bsf.
42733         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42734         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42735         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42736         Add strnlen support.
42737         (USE_AS_STRNLEN): New macro.
42738         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42739         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42740         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42741         * sysdeps/x86_64/wcslen.S: New file.
42742
42743 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42744
42745         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42746         XMM-moves are used for copying on small sizes.
42747
42748 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42749
42750         * wcsmbs/Makefile (strop-tests): Add wcschr.
42751         * wcsmbs/test-wcschr.c: New file.
42752         * string/test-strchr.c: Update.
42753         Add wcschr support.
42754         (WIDE): New macro.
42755
42756 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42757
42758         * wcsmbs/Makefile (strop-tests): Add wcslen.
42759         * wcsmbs/test-wcslen.c: New file.
42760         * string/test-strlen.c: Update.
42761         Add wcslen support.
42762         (WIDE): New macro.
42763
42764 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42765
42766         * po/it.po: Update from translation team.
42767
42768 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42769
42770         * sysdeps/x86_64/wcscmp.S: Update.
42771         Fix wrong comparison semantics.
42772         wcscmp shall use signed comparison not unsigned.
42773         Don't use substraction to avoid overflow bug.
42774         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42775         * wcsmbc/wcscmp.c: Likewise.
42776         * string/test-strcmp.c: Likewise.
42777         Add new tests to check cases with negative values.
42778
42779 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42780
42781         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42782         * sysdeps/x86_64/dla.h: ...here.  New file.
42783         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42784         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42785         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42786         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42787         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42788         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42789         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42790         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42791         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42792
42793 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42794
42795         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42796         __ynl_finite aliases.
42797
42798 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42799
42800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42801
42802         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42803         define DLA_FMA.
42804         [DLA_FMA] (EMULV): Use DLA_FMA.
42805         [DLA_FMA] (MUL12): Use EMULV.
42806         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42807         that are not needed.
42808         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42809         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42810         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42811         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42812         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42813         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42814         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42815
42816 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42817
42818         * math/s_nan.c: Undef __nan.
42819         * math/s_nanf.c: Undef __nanf.
42820         * math/s_nanl.c: Undef __nanl.
42821         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42822         "math_private.h".
42823
42824 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42825
42826         * math/s_catan.c: Add branch predictions.
42827         * math/s_catanf.c: Likewise.
42828         * math/s_catanh.c: Likewise.
42829         * math/s_catanhf.c: Likewise.
42830         * math/s_catanhl.c: Likewise.
42831         * math/s_catanl.c: Likewise.
42832         * math/s_cexp.c: Likewise.
42833         * math/s_cexpf.c: Likewise.
42834         * math/s_cexpl.c: Likewise.
42835         * math/s_clog.c: Likewise.
42836         * math/s_clog10.c: Likewise.
42837         * math/s_clog10f.c: Likewise.
42838         * math/s_clog10l.c: Likewise.
42839         * math/s_clogf.c: Likewise.
42840         * math/s_clogl.c: Likewise.
42841         * math/s_csqrt.c: Likewise.
42842         * math/s_csqrtf.c: Likewise.
42843         * math/s_csqrtl.c: Likewise.
42844         * math/s_ctanf.c: Likewise.
42845         * math/s_ctanh.c: Likewise.
42846         * math/s_ctanhf.c: Likewise.
42847         * math/s_ctanhl.c: Likewise.
42848         * math/s_ctanl.c: Likewise.
42849
42850         * math/math_private.h: Define __nan, __nanf, __nanl.
42851         * math/s_cacosh.c: Include <math_private.h>.
42852         * math/s_cacoshl.c: Likewise.
42853         * math/s_casinh.c: Likewise.
42854         * math/s_casinhf.c: Likewise.
42855         * math/s_casinhl.c: Likewise.
42856         * math/s_ccos.c: Rely entire on ccosh.
42857         * math/s_ccosf.c: Rely entire on ccoshf.
42858         * math/s_ccosl.c: Rely entirely on ccoshl.
42859         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42860         Remove tests for FE_INVALID.
42861         * math/s_ccoshf.c: Likewise.
42862         * math/s_ccoshl.c: Likewise.
42863         * math/s_csin.c: Likewise.
42864         * math/s_csinf.c: Likewise.
42865         * math/s_csinh.c Likewise.
42866         * math/s_csinhf.c: Likewise.
42867         * math/s_csinhl.c: Likewise.
42868         * math/s_csinl.c: Likewise.
42869         * math/s_ctan.c: Likewise.
42870         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42871         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42872         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42873
42874 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42875
42876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42877         compilation problems.
42878
42879         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42880         __builtin_expect.
42881
42882 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42883
42884         * sysdeps/i386/configure.in: Test for -mfma4 option.
42885         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42886         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42887         COMMON_CPUID_INDEX_80000001.
42888         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42889         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42890         use it if FMA3 is not supported.
42891         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42892
42893         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42894         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42895
42896 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42897
42898         [BZ #12892]
42899         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42900         it would create a cycle with a link time dependency.
42901
42902 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42903
42904         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42905         instruction.
42906         * string/Makefile (strop-tests): Add rawmemchr.
42907         * string/test-rawmemchr.c: New file.
42908
42909         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42910         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42911         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42912         when compiling str{,n}casecmp and when AVX is available.  Hook up
42913         new optimized code in initializers.
42914
42915 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42916
42917         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42918         __feraiseexcept instead of feraiseexcept.
42919
42920 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42921
42922         * math/math_private.h: Define defaults for libc_fetestexcept and
42923         libc_feupdateenv.
42924         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42925         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42926         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42927         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42928         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42929         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42930         libc_fetestexcept and libc_feupdateenv.
42931
42932         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42933         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42934         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42935         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42936         libc_feholdexcept_setround.
42937
42938         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42939         Add s_nearbyint-c and s_nearbyintf-c.
42940         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42941         nearbyintf inlines.
42942         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42943         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42944         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42945         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42946
42947         * math/math_private.h: Define defaults for libc_fegetround,
42948         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42949         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42950         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42951         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42952         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42953         standard functions.
42954         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42955         Remove comments and hacks for old compiler versions.
42956         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42957         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42958         libc_feholdexceptl.
42959
42960 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42961
42962         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42963         (__feraiseexcept_renamed): Add __NTH.
42964         (feraiseexcept): Add __NTH.  Rename local variables to fix
42965         namespace violations.
42966
42967 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42968
42969         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42970
42971         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42972
42973         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42974         recently added interfaces.
42975         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42976
42977         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42978         about macro parameter expansion.
42979
42980         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42981         __NO_MATH_INLINES is defined.  Cleanups.
42982
42983         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42984         and __floorf is target has SSE4.1.
42985         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42986         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42987         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42988         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42989
42990         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42991         name.
42992         (floorf): Likewise.
42993
42994         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42995
42996 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42997
42998         * misc/sys/cdefs.h: Fix last change.
42999
43000         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43001         database lookup.
43002
43003 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43004
43005         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43006
43007         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43008         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43009         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43010         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43011         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43012         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43013         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43014         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43015         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43016         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43017         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43018         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43019         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43020         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43021         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43022         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43023         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43024         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43025         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43026         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43027         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43028         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43029
43030         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43031         ceil, ceilf, floor, floorf.
43032
43033         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43034         Perform IRELATIVE relocations last.
43035
43036         * elf/do-rel.h: Add another parameter nrelative, replacing the
43037         local variable with the same name.  Change name of the function
43038         to end in Rel or Rela (uppercase).
43039         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43040         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43041         elf_dynamic_do_##reloc function.
43042
43043 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43044
43045         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43046         is sufficient, at least on modern CPUs.
43047
43048         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43049
43050         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43051         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43052
43053         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43054         __expl_finite.
43055         * math/bits/math-finite.h: Add entries for exp.
43056         * math/e_expl.c: Add __*_finite alias.
43057         * sysdeps/i386/fpu/e_exp.S: Likewise.
43058         * sysdeps/i386/fpu/e_expf.S: Likewise.
43059         * sysdeps/i386/fpu/e_expl.c: Likewise.
43060         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43061         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43062         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43063         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43064         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43065         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43066         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43067
43068         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43069         is sufficient, at least on modern CPUs.
43070
43071         * ctype/ctype-info.c (__ctype_init): Define.
43072         * include/ctype.h (__ctype_init): Declare.
43073         (__ctype_b_loc): The variable is always initialized.
43074         (__ctype_toupper_loc): Likewise.
43075         (__ctype_tolower_loc): Likewise.
43076         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43077         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43078
43079 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43080
43081         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43082
43083         * configure.in: Also look in $cxxmachine/include for C++ system
43084         headers.
43085
43086 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43087
43088         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43089         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43090         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43091         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43092         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43093         (USE_AS_WMEMCMP): New macro.
43094         Fixing indents.
43095         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43096         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43097         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43098         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43099         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43100         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43101         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43102         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43103         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43104         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43105         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43106         (USE_AS_WMEMCMP): New macro.
43107         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43108         * sysdeps/string/test-memcmp.c: Update.
43109         Fix simple_wmemcmp.
43110         Add new tests.
43111         * wcsmbs/wmemcmp.c: Update.
43112         (WMEMCMP): New macro.
43113         Fix overflow bug.
43114
43115 2011-10-12  Andreas Jaeger  <aj@suse.de>
43116
43117         [BZ #13268]
43118         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43119
43120 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43121
43122         * libio/iofwide.c (do_length): Avoid warning.
43123
43124         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43125
43126 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43127
43128         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43129
43130         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43131         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43132         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43133         * sysdeps/i386/i686/fpu/e_log.S: New file.
43134         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43135         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43136
43137         * ctype/ctype.h: Add support for inlined isXXX functions when
43138         compiling C++ code.
43139
43140 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43141
43142         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43143
43144         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43145
43146 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43147
43148         [BZ #13291]
43149         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43150
43151 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43152
43153         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43154         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43155         feraiseexcept.
43156
43157         * sysdeps/x86_64/memrchr.S: Check for zero size.
43158
43159         * string/stratcliff.c: Add memrchr tests.
43160
43161 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43162
43163         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43164         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43165         rawmemchr-sse2 rawmemchr-sse2-bsf.
43166         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43167         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43168         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43169         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43170         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43171         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43172         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43173         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43174         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43175         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43176         * string/memrchr.c (MEMRCHR): New macro.
43177
43178 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43179
43180         Add integration with gcc's -ffinite-math-only and optimize wrapper
43181         functions in libm.
43182         * Versions.def: Define GLIBC_2.15 version for libm.
43183         * math/Makefile (headers): Add bits/math-finite.h.
43184         * math/bits/math-finite.h: New file.
43185         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43186         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43187         * math/e_acoshl.c: Add __*_finite alias.
43188         * math/e_acosl.c: Likewise.
43189         * math/e_asinl.c: Likewise.
43190         * math/e_atan2l.c: Likewise.
43191         * math/e_atanhl.c: Likewise.
43192         * math/e_coshl.c: Likewise.
43193         * math/e_exp10.c: Likewise.
43194         * math/e_exp10f.c: Likewise.
43195         * math/e_exp10l.c: Likewise.
43196         * math/e_exp2l.c: Likewise.
43197         * math/e_fmodl.c: Likewise.
43198         * math/e_gammal_r.c: Likewise.
43199         * math/e_hypotl.c: Likewise.
43200         * math/e_j0l.c: Likewise.
43201         * math/e_j1l.c: Likewise.
43202         * math/e_jnl.c: Likewise.
43203         * math/e_lgammal_r.c: Likewise.
43204         * math/e_log10l.c: Likewise.
43205         * math/e_log2l.c: Likewise.
43206         * math/e_logl.c: Likewise.
43207         * math/e_powl.c: Likewise.
43208         * math/e_sinhl.c: Likewise.
43209         * math/e_sqrtl.c: Likewise.
43210         * math/e_scalb.c: Completely rewritten and optimized.
43211         * math/e_scalbf.c: Likewise.
43212         * math/e_scalbl.c: Likewise.
43213         * math/w_acos.c: Likewise.
43214         * math/w_acosf.c: Likewise.
43215         * math/w_acosl.c: Likewise.
43216         * math/w_acosh.c: Likewise.
43217         * math/w_acoshf.c: Likewise.
43218         * math/w_acoshl.c: Likewise.
43219         * math/w_asin.c: Likewise.
43220         * math/w_asinf.c: Likewise.
43221         * math/w_asinl.c: Likewise.
43222         * math/w_atan2.c: Likewise.
43223         * math/w_atan2f.c: Likewise.
43224         * math/w_atan2l.c: Likewise.
43225         * math/w_atanh.c: Likewise.
43226         * math/w_atanhf.c: Likewise.
43227         * math/w_atanhl.c: Likewise.
43228         * math/w_exp10.c: Likewise.
43229         * math/w_exp10f.c: Likewise.
43230         * math/w_exp10l.c: Likewise.
43231         * math/w_fmod.c: Likewise.
43232         * math/w_fmodf.c: Likewise.
43233         * math/w_fmodl.c: Likewise.
43234         * math/w_j0.c: Likewise.
43235         * math/w_j0f.c: Likewise.
43236         * math/w_j0l.c: Likewise.
43237         * math/w_j1.c: Likewise.
43238         * math/w_j1f.c: Likewise.
43239         * math/w_j1l.c: Likewise.
43240         * math/w_jn.c: Likewise.
43241         * math/w_jnf.c: Likewise.
43242         * math/w_log.c: Likewise.
43243         * math/w_logf.c: Likewise.
43244         * math/w_logl.c: Likewise.
43245         * math/w_log10.c: Likewise.
43246         * math/w_log10f.c: Likewise.
43247         * math/w_log10l.c: Likewise.
43248         * math/w_log2.c: Likewise.
43249         * math/w_log2f.c: Likewise.
43250         * math/w_log2l.c: Likewise.
43251         * math/w_pow.c: Likewise.
43252         * math/w_powf.c: Likewise.
43253         * math/w_powl.c: Likewise.
43254         * math/w_remainder.c: Likewise.
43255         * math/w_remainderf.c: Likewise.
43256         * math/w_remainderl.c: Likewise.
43257         * math/w_scalb.c: Likewise.
43258         * math/w_scalbf.c: Likewise.
43259         * math/w_scalbl.c: Likewise.
43260         * math/w_sqrt.c: Likewise.
43261         * math/w_sqrtf.c: Likewise.
43262         * math/w_sqrtl.c: Likewise.
43263         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43264         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43265         used.
43266         * math/math_private.h: Declare __kernel_standard_f.
43267         * math/w_cosh.c: Remove cruft and optimize a bit.
43268         * math/w_coshf.c: Likewise.
43269         * math/w_coshl.c: Likewise.
43270         * math/w_exp2.c: Likewise.
43271         * math/w_exp2f.c: Likewise.
43272         * math/w_exp2l.c: Likewise.
43273         * math/w_hypot.c: Likewise.
43274         * math/w_hypotf.c: Likewise.
43275         * math/w_hypotl.c: Likewise.
43276         * math/w_lgamma.c: Likewise.
43277         * math/w_lgamma_r.c: Likewise.
43278         * math/w_lgammaf.c: Likewise.
43279         * math/w_lgammaf_r.c: Likewise.
43280         * math/w_lgammal.c: Likewise.
43281         * math/w_lgammal_r.c: Likewise.
43282         * math/w_sinh.c: Likewise.
43283         * math/w_sinhf.c: Likewise.
43284         * math/w_sinhl.c: Likewise.
43285         * math/w_tgamma.c: Likewise.
43286         * math/w_tgammaf.c: Likewise.
43287         * math/w_tgammal.c: Likewise.
43288         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43289         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43290         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43291         Minor optimizations.  Pretty printing.  Remove cruft.
43292         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43293         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43294         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43295         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43296         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43297         * sysdeps/i386/fpu/e_asin.S: Likewise.
43298         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43299         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43300         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43301         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43302         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43303         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43304         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43305         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43306         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43307         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43308         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43309         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43310         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43311         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43312         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43313         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43314         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43315         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43316         * sysdeps/i386/fpu/e_log.S: Likewise.
43317         * sysdeps/i386/fpu/e_log10.S: Likewise.
43318         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43319         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43320         * sysdeps/i386/fpu/e_log2.S: Likewise.
43321         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43322         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43323         * sysdeps/i386/fpu/e_logf.S: Likewise.
43324         * sysdeps/i386/fpu/e_logl.S: Likewise.
43325         * sysdeps/i386/fpu/e_pow.S: Likewise.
43326         * sysdeps/i386/fpu/e_powf.S: Likewise.
43327         * sysdeps/i386/fpu/e_powl.S: Likewise.
43328         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43329         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43330         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43331         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43332         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43333         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43334         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43335         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43336         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43337         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43338         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43339         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43340         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43341         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43342         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43343         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43344         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43345         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43346         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43347         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43348         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43349         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43350         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43351         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43352         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43353         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43354         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43355         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43356         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43357         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43358         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43359         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43360         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43361         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43362         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43363         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43364         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43365         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43366         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43367         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43368         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43369         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43370         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43371         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43372         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43373         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43374         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43375         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43376         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43377         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43378         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43379         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43380         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43381         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43382         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43383         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43384         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43385         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43386         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43387         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43388         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43389         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43390         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43391         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43392         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43393         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43394         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43395         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43396         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43397         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43398         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43399         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43400         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43401         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43402         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43403         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43404         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43405         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43406         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43407         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43408         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43409         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43410         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43411         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43412         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43413         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43414         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43415         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43416         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43417         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43418         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43419         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43420         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43421         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43422         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43423         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43424         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43425         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43426         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43427         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43428         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43429         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43430         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43431         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43432         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43433         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43434         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43435         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43436         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43437         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43438         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43439         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43440         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43441         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43442         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43443         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43444         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43445         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43446         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43447         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43448         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43449         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43450         (__isnanf): Likewise.
43451         (__isinf_ns): Likewise.
43452         (__isinf_nsf): Likewise.
43453         (__finite): Likewise.
43454         (__finitef): Likewise.
43455         (__ieee754_sqrt): Define as macro.
43456         (__ieee754_sqrtf): Define as macro.
43457         (__ieee754_sqrtl): Define as macro.
43458         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43459         inlined copy.
43460         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43461         __FINITE_MATH_ONLY__ consistent.
43462         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43463
43464 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43465
43466         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43467         of rawmemchr.
43468
43469         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43470
43471 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43472
43473         * po/ja.po: Update from translation team.
43474
43475 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43476
43477         * locale/programs/locarchive.c (prepare_address_space): New function.
43478         (create_archive, enlarge_archive, open_archive): Use it.
43479
43480         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43481         inside [SHARED], where it is used.
43482
43483         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43484
43485         * nss/getent.c (netgroup_keys): Remove unused variable.
43486         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43487
43488 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43489
43490         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43491         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43492         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43493         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43494         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43495         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43496         * math/Makefile (libm-calls): Add s_isinf_ns.
43497         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43498         * math/multc3.c: Likewise.
43499         * math/s_casin.c: Likewise.
43500         * math/s_casinf.c: Likewise.
43501         * math/s_casinl.c: Likewise.
43502         * math/s_ccos.c: Likewise.
43503         * math/s_ccosf.c: Likewise.
43504         * math/s_ccosl.c: Likewise.
43505         * math/s_ctan.c: Likewise.
43506         * math/s_ctanf.c: Likewise.
43507         * math/s_ctanh.c: Likewise.
43508         * math/s_ctanhf.c: Likewise.
43509         * math/s_ctanhl.c: Likewise.
43510         * math/s_ctanl.c: Likewise.
43511         * math/w_fmod.c: Likewise.
43512         * math/w_fmodf.c: Likewise.
43513         * math/w_fmodl.c: Likewise.
43514         * math/w_remainder.c: Likewise.
43515         * math/w_remainderf.c: Likewise.
43516         * math/w_remainderl.c: Likewise.
43517         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43518         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43519         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43520         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43521         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43522         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43523         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43524         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43525
43526         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43527         of the number.
43528         * stdio-common/printf_fphex.c: Likewise.
43529         * stdio-common/printf_size.c: Likewise.
43530
43531         * math/e_exp10.c: Include math_private.h using <...> not "...".
43532         * math/e_exp10f.c: Likewise.
43533         * math/e_exp10l.c: Likewise.
43534         * math/e_exp2l.c: Likewise.
43535         * math/e_j0l.c: Likewise.
43536         * math/e_j1l.c: Likewise.
43537         * math/e_jnl.c: Likewise.
43538         * math/e_lgammal_r.c: Likewise.
43539         * math/e_rem_pio2l.c: Likewise.
43540         * math/e_scalb.c: Likewise.
43541         * math/e_scalbf.c: Likewise.
43542         * math/e_scalbl.c: Likewise.
43543         * math/k_cosl.c: Likewise.
43544         * math/k_sinl.c: Likewise.
43545         * math/k_tanl.c: Likewise.
43546         * math/s_cacoshf.c: Likewise.
43547         * math/s_catan.c: Likewise.
43548         * math/s_catanf.c: Likewise.
43549         * math/s_catanh.c: Likewise.
43550         * math/s_catanhf.c: Likewise.
43551         * math/s_catanhl.c: Likewise.
43552         * math/s_catanl.c: Likewise.
43553         * math/s_ccosh.c: Likewise.
43554         * math/s_ccoshf.c: Likewise.
43555         * math/s_ccoshl.c: Likewise.
43556         * math/s_cexp.c: Likewise.
43557         * math/s_cexpf.c: Likewise.
43558         * math/s_cexpl.c: Likewise.
43559         * math/s_clog.c: Likewise.
43560         * math/s_clog10.c: Likewise.
43561         * math/s_clog10f.c: Likewise.
43562         * math/s_clog10l.c: Likewise.
43563         * math/s_clogf.c: Likewise.
43564         * math/s_clogl.c: Likewise.
43565         * math/s_csin.c: Likewise.
43566         * math/s_csinf.c: Likewise.
43567         * math/s_csinh.c: Likewise.
43568         * math/s_csinhf.c: Likewise.
43569         * math/s_csinhl.c: Likewise.
43570         * math/s_csinl.c: Likewise.
43571         * math/s_csqrt.c: Likewise.
43572         * math/s_csqrtf.c: Likewise.
43573         * math/s_csqrtl.c: Likewise.
43574         * math/s_ctan.c: Likewise.
43575         * math/s_ctanf.c: Likewise.
43576         * math/s_ctanh.c: Likewise.
43577         * math/s_ctanhf.c: Likewise.
43578         * math/s_ctanhl.c: Likewise.
43579         * math/s_ctanl.c: Likewise.
43580         * math/s_ldexp.c: Likewise.
43581         * math/s_ldexpf.c: Likewise.
43582         * math/s_ldexpl.c: Likewise.
43583         * math/s_significand.c: Likewise.
43584         * math/s_significandf.c: Likewise.
43585         * math/s_significandl.c: Likewise.
43586         * math/w_acos.c: Likewise.
43587         * math/w_acosf.c: Likewise.
43588         * math/w_acosh.c: Likewise.
43589         * math/w_acoshf.c: Likewise.
43590         * math/w_acoshl.c: Likewise.
43591         * math/w_acosl.c: Likewise.
43592         * math/w_asin.c: Likewise.
43593         * math/w_asinf.c: Likewise.
43594         * math/w_asinl.c: Likewise.
43595         * math/w_atan2.c: Likewise.
43596         * math/w_atan2f.c: Likewise.
43597         * math/w_atan2l.c: Likewise.
43598         * math/w_atanh.c: Likewise.
43599         * math/w_atanhf.c: Likewise.
43600         * math/w_atanhl.c: Likewise.
43601         * math/w_cosh.c: Likewise.
43602         * math/w_coshf.c: Likewise.
43603         * math/w_coshl.c: Likewise.
43604         * math/w_dremf.c: Likewise.
43605         * math/w_exp10.c: Likewise.
43606         * math/w_exp10f.c: Likewise.
43607         * math/w_exp10l.c: Likewise.
43608         * math/w_exp2.c: Likewise.
43609         * math/w_exp2f.c: Likewise.
43610         * math/w_fmod.c: Likewise.
43611         * math/w_fmodf.c: Likewise.
43612         * math/w_fmodl.c: Likewise.
43613         * math/w_hypot.c: Likewise.
43614         * math/w_hypotf.c: Likewise.
43615         * math/w_hypotl.c: Likewise.
43616         * math/w_j0.c: Likewise.
43617         * math/w_j0f.c: Likewise.
43618         * math/w_j0l.c: Likewise.
43619         * math/w_j1.c: Likewise.
43620         * math/w_j1f.c: Likewise.
43621         * math/w_j1l.c: Likewise.
43622         * math/w_jn.c: Likewise.
43623         * math/w_jnf.c: Likewise.
43624         * math/w_jnl.c: Likewise.
43625         * math/w_lgamma.c: Likewise.
43626         * math/w_lgamma_r.c: Likewise.
43627         * math/w_lgammaf.c: Likewise.
43628         * math/w_lgammaf_r.c: Likewise.
43629         * math/w_lgammal.c: Likewise.
43630         * math/w_lgammal_r.c: Likewise.
43631         * math/w_log.c: Likewise.
43632         * math/w_log10.c: Likewise.
43633         * math/w_log10f.c: Likewise.
43634         * math/w_log10l.c: Likewise.
43635         * math/w_log2.c: Likewise.
43636         * math/w_log2f.c: Likewise.
43637         * math/w_log2l.c: Likewise.
43638         * math/w_logf.c: Likewise.
43639         * math/w_logl.c: Likewise.
43640         * math/w_pow.c: Likewise.
43641         * math/w_powf.c: Likewise.
43642         * math/w_powl.c: Likewise.
43643         * math/w_remainder.c: Likewise.
43644         * math/w_remainderf.c: Likewise.
43645         * math/w_remainderl.c: Likewise.
43646         * math/w_scalb.c: Likewise.
43647         * math/w_scalbf.c: Likewise.
43648         * math/w_scalbl.c: Likewise.
43649         * math/w_sinh.c: Likewise.
43650         * math/w_sinhf.c: Likewise.
43651         * math/w_sinhl.c: Likewise.
43652         * math/w_sqrt.c: Likewise.
43653         * math/w_sqrtf.c: Likewise.
43654         * math/w_sqrtl.c: Likewise.
43655         * math/w_tgamma.c: Likewise.
43656         * math/w_tgammaf.c: Likewise.
43657         * math/w_tgammal.c: Likewise.
43658
43659         * po/ja.po: Update from translation team.
43660
43661 2011-09-29  Andreas Jaeger  <aj@suse.de>
43662
43663         [BZ #13179]
43664         * sunrpc/netname.c (netname2host): Fix logic.
43665
43666         [BZ #6779]
43667         [BZ #6783]
43668         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43669         correctly.
43670         * math/w_remainder.c (__remainder): Likewise.
43671         * math/w_remainderf.c (__remainderf): Likewise.
43672         * math/libm-test.inc (remainder_test): Add test cases.
43673
43674 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43675
43676         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43677         sdiv_qrnnd.
43678
43679 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43680
43681         * string/test-memcmp.c: Avoid unncessary #defines.
43682         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43683
43684 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43685
43686         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43687         Use new sse2 version for core i3 - i7 as it's faster
43688         than sse42 version.
43689         (bit_Prefer_PMINUB_for_stringop): New.
43690         * sysdeps/x86_64/rawmemchr.S: Update.
43691         Replace with faster SSE2 version.
43692         * sysdeps/x86_64/memrchr.S: New file.
43693         * sysdeps/x86_64/memchr.S: Update.
43694         Replace with faster SSE2 version.
43695
43696 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43697
43698         * elf/dl-load.c (lose): Add cast to avoid warning.
43699
43700 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43701
43702         * po/ca.po: Update from translation team.
43703
43704         * inet/getnetgrent_r.c: Hook up nscd.
43705         * nscd/Makefile (routines): Add nscd_netgroup.
43706         (nscd-modules): Add netgroupcache.
43707         (CFLAGS-netgroupcache.c): Define.
43708         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43709         (cache_search): Add const to second parameter.
43710         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43711         INNETGR.
43712         (dbs): Add netgrdb entry.
43713         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43714         (verify_persistent_db): Handle netgrdb.
43715         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43716         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43717         GETFDNETGR.
43718         (netgroup_response_header): Define.
43719         (innetgroup_response_header): Define.
43720         (datahead): Add netgroup_response_header and innetgroup_response_header
43721         elements.
43722         * nscd/nscd.conf: Add entries for netgroup cache.
43723         * nscd/nscd.h (dbtype): Add netgrdb.
43724         (_PATH_NSCD_NETGROUP_DB): Define.
43725         (netgroup_iov_disabled): Declare.
43726         (xmalloc, xcalloc, xrealloc): Move declarations here.
43727         (cache_search): Adjust prototype.
43728         Add netgroup-related prototypes.
43729         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43730         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43731         (__nscd_innetgr): Declare.
43732         * nscd/selinux.c (perms): Use access_vector_t as element type and
43733         add netgroup-related initializers.
43734         * nscd/netgroupcache.c: New file.
43735         * nscd/nscd_netgroup.c: New file.
43736         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43737         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43738         For four parameters use innetgr.
43739         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43740         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43741         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43742         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43743
43744         * nscd/connections.c (register_traced_file): Don't register file
43745         for disabled databases.
43746
43747 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43748
43749         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43750
43751         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43752         from tree and freeing node.
43753
43754 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43755
43756         * nss/nsswitch.c (__nss_database_lookup): Handle
43757         nss_parse_service_list out of memory case.
43758
43759 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43760
43761         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43762         out of memory case.
43763
43764 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43765
43766         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43767         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43768         pass it down.
43769         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43770         elf_machine_rela, elf_machine_lazy_rel.
43771         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43772         (ELF_DYNAMIC_DO_REL): Likewise.
43773         (ELF_DYNAMIC_DO_RELA): Likewise.
43774         (ELF_DYNAMIC_RELOCATE): Likewise.
43775         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43776         to ELF_DYNAMIC_DO_REL.
43777         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43778         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43779         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43780         elf_machine_rela.
43781         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43782         skip_ifunc, don't call ifunc function if non-zero.
43783         (elf_machine_rela): Likewise.
43784         (elf_machine_lazy_rel): Likewise.
43785         (elf_machine_lazy_rela): Likewise.
43786         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43787         (elf_machine_lazy_rel): Likewise.
43788         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43789         Likewise.
43790         (elf_machine_lazy_rel): Likewise.
43791         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43792         Likewise.
43793         (elf_machine_lazy_rel): Likewise.
43794         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43795         (elf_machine_lazy_rel): Likewise.
43796         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43797         (elf_machine_lazy_rel): Likewise.
43798         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43799         (elf_machine_lazy_rel): Likewise.
43800         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43801         (elf_machine_lazy_rel): Likewise.
43802         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43803         (elf_machine_lazy_rel): Likewise.
43804         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43805         (elf_machine_lazy_rel): Likewise.
43806
43807 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43808
43809         * nss/nss_files/files-init.c (_nss_files_init): Use static
43810         initialization for all the *_traced_file variables.
43811
43812 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43813
43814         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43815
43816 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43817
43818         [BZ #13226]
43819         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43820
43821 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43822
43823         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43824         Reread the line before reparsing it.
43825
43826 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43827
43828         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43829
43830 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43831             Maxim Kuvyrkov  <maxim@codesourcery.com>
43832             Joseph Myers  <joseph@codesourcery.com>
43833
43834         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43835         if needed for __stack_chk_guard.
43836
43837 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43838
43839         * sysdeps/posix/spawni.c (script_execute): Always define it.
43840         It will be optimized away if unused.
43841         (maybe_script_execute): New function.
43842         (__spawni): Call it.
43843
43844         * Makerules: Don't include tls.make.
43845         (config-tls): Always set to thread.
43846         * tls.make.c: File removed.
43847
43848 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43849
43850         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43851         * config.make.in (CPPFLAGS-config): New substituted variable.
43852
43853 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43854
43855         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43856
43857         [BZ #13192]
43858         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43859         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43860
43861 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43862
43863         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43864         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43865         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43866         (CALL_FAIL): Likewise.
43867         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43868         (CALL_FAIL): Macro removed.
43869         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43870
43871 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43872
43873         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43874         for __FINITE_MATH_ONLY__ == 1.
43875
43876 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43877
43878         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43879         __ieee754_sqrt instead of sqrt.
43880         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43881         __ieee754_sqrtf instead of sqrtf.
43882         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43883         __floorf instead of floorf.
43884         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43885         __floorf, __truncf instead of floorf, truncf.
43886
43887 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43888
43889         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43890
43891         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43892         __extern_always_inline.
43893         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43894         32-bit.
43895
43896 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43897
43898         * elf/rtld.c (dl_main): Also relocate in dependency order when
43899         doing symbol dependency testing.
43900
43901 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43902
43903         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43904         Always define `refsym'.
43905
43906 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43907
43908         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43909         (__FD_ELT): Renamed from __FDELT.
43910         * misc/bits/select2.h (__FD_ELT): Likewise.
43911         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43912         __FD_MASK instead of __FDELT, __FDMASK.
43913         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43914         Likewise.
43915         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43916         Likewise.
43917
43918         * elf/Makefile (gen-ldd): Fix pattern.
43919
43920         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43921         (init_tls): Likewise.
43922
43923 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43924
43925         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43926
43927 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43928
43929         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43930         `struct cmsghdr *' instead of `void *'.
43931         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43932         Likewise.
43933
43934 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43935
43936         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43937         if non-absolute.
43938         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43939         ldd_rewrite_script.
43940
43941 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43942
43943         * configure.in: Remove --with-tls option.
43944         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43945         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43946         out in case it is missing.
43947         * sysdeps/ia64/elf/configure.in: Likewise.
43948         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43949         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43950         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43951         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43952         * sysdeps/sh/elf/configure.in: Likewise.
43953         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43954         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43955         * sysdeps/x86_64/elf/configure.in: Likewise.
43956         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43957         * sysdeps/mach/hurd/tls.h: Likewise.
43958
43959         [BZ #13067]
43960         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43961
43962         [BZ #13090]
43963         * configure.in: Fix use of AC_INIT.
43964
43965         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43966
43967 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43968
43969         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43970         __set_errno.
43971         * malloc/hooks.c: Likewise.
43972
43973         [BZ #11929]
43974         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43975         variables statically.
43976         (narenas): Initialize.
43977         (list_lock): Initialize.
43978         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43979         initializtion of main_arena and list_lock.  Small cleanups.
43980         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43981         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43982         Add initializers to main_arena and mp_.
43983         (malloc_state): Remove pagesize member.  Change all users to use
43984         GLRO(dl_pagesize).
43985
43986         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43987         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43988         is always initialized.
43989
43990         * malloc/malloc.c: Removed unused configurations and dead code.
43991         * malloc/arena.c: Likewise.
43992         * malloc/hooks.c: Likewise.
43993         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43994
43995         * include/tls.h: Removed.  USE___THREAD must always be defined.
43996         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43997         * elf/dl-libc.c: Likewise.
43998         * elf/dl-tsd.c: Likewise.
43999         * include/errno.h: Likewise.
44000         * include/netdb.h: Likewise.
44001         * include/resolv.h: Likewise.
44002         * inet/herrno-loc.c: Likewise.
44003         * inet/herrno.c: Likewise.
44004         * malloc/arena.c: Likewise.
44005         * malloc/hooks.c: Likewise.
44006         * malloc/malloc.c: Likewise.
44007         * resolv/res-state.c: Likewise.
44008         * resolv/res_libc.c: Likewise.
44009         * sysdeps/i386/dl-machine.h: Likewise.
44010         * sysdeps/ia64/dl-machine.h: Likewise.
44011         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44012         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44013         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44014         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44015         * sysdeps/sh/dl-machine.h: Likewise.
44016         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44017         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44018         * sysdeps/unix/i386/sysdep.S: Likewise.
44019         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44020         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44021         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44022         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44023         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44024         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44025         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44026         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44027         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44029         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44030         * sysdeps/x86_64/dl-machine.h: Likewise.
44031         * tls.make.c: Likewise.
44032
44033         * configure.in: Remove --with-__thread option.  Make tests for
44034         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44035         tls_model attribute fail if no support is available.  Remove
44036         USE_IN_LIBIO.
44037         * Makeconfig: Adjust for dropped configure option.  All features are
44038         now mandatory.
44039         * Makerules: Likewise.
44040         * Versions.def: Likewise.
44041         * argp/argp-fmtstream.c: Likewise.
44042         * argp/argp-fmtstream.h: Likewise.
44043         * argp/argp-help.c: Likewise.
44044         * assert/assert.c: Likewise.
44045         * config.h.in: Likewise.
44046         * config.make.in: Likewise.
44047         * configure: Likewise.
44048         * configure.in: Likewise.
44049         * csu/Versions: Likewise.
44050         * csu/init.c: Likewise.
44051         * elf/tst-audit2.c: Likewise.
44052         * elf/tst-tls10.c: Likewise.
44053         * elf/tst-tls10.h: Likewise.
44054         * elf/tst-tls11.c: Likewise.
44055         * elf/tst-tls12.c: Likewise.
44056         * elf/tst-tls14.c: Likewise.
44057         * elf/tst-tlsmod11.c: Likewise.
44058         * elf/tst-tlsmod12.c: Likewise.
44059         * elf/tst-tlsmod13.c: Likewise.
44060         * elf/tst-tlsmod13a.c: Likewise.
44061         * elf/tst-tlsmod14a.c: Likewise.
44062         * elf/tst-tlsmod15b.c: Likewise.
44063         * elf/tst-tlsmod16a.c: Likewise.
44064         * elf/tst-tlsmod16b.c: Likewise.
44065         * elf/tst-tlsmod7.c: Likewise.
44066         * elf/tst-tlsmod8.c: Likewise.
44067         * elf/tst-tlsmod9.c: Likewise.
44068         * gmon/gmon.c: Likewise.
44069         * grp/fgetgrent_r.c: Likewise.
44070         * grp/putgrent.c: Likewise.
44071         * hurd/fopenport.c: Likewise.
44072         * include/libc-symbols.h: Likewise.
44073         * include/tls.h: Likewise.
44074         * intl/gettextP.h: Likewise.
44075         * intl/loadinfo.h: Likewise.
44076         * locale/global-locale.c: Likewise.
44077         * locale/localeinfo.h: Likewise.
44078         * mach/devstream.c: Likewise.
44079         * malloc/arena.c: Likewise.
44080         * malloc/set-freeres.c: Likewise.
44081         * misc/err.c: Likewise.
44082         * misc/getttyent.c: Likewise.
44083         * misc/mntent_r.c: Likewise.
44084         * posix/getopt.c: Likewise.
44085         * posix/wordexp.c: Likewise.
44086         * pwd/fgetpwent_r.c: Likewise.
44087         * resolv/Versions: Likewise.
44088         * resolv/res_hconf.c: Likewise.
44089         * shadow/fgetspent_r.c: Likewise.
44090         * shadow/putspent.c: Likewise.
44091         * stdio-common/printf_fphex.c: Likewise.
44092         * stdio-common/tmpfile.c: Likewise.
44093         * stdlib/abort.c: Likewise.
44094         * stdlib/fmtmsg.c: Likewise.
44095         * sunrpc/auth_unix.c: Likewise.
44096         * sunrpc/clnt_perr.c: Likewise.
44097         * sunrpc/clnt_tcp.c: Likewise.
44098         * sunrpc/clnt_udp.c: Likewise.
44099         * sunrpc/clnt_unix.c: Likewise.
44100         * sunrpc/openchild.c: Likewise.
44101         * sunrpc/svc_simple.c: Likewise.
44102         * sunrpc/svc_tcp.c: Likewise.
44103         * sunrpc/svc_udp.c: Likewise.
44104         * sunrpc/svc_unix.c: Likewise.
44105         * sunrpc/xdr.c: Likewise.
44106         * sunrpc/xdr_array.c: Likewise.
44107         * sunrpc/xdr_rec.c: Likewise.
44108         * sunrpc/xdr_ref.c: Likewise.
44109         * sunrpc/xdr_stdio.c: Likewise.
44110
44111 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44112
44113         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44114
44115 2011-07-03  Andreas Jaeger  <aj@suse.de>
44116
44117         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44118         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44119         regenerate with gen-libm-tests.pl.
44120
44121 2010-05-12  Petr Baudis  <pasky@suse.cz>
44122
44123         [BZ #11589]
44124         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44125         around j0() zero points by switching to j1().
44126         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44127         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44128         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44129         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44130
44131 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44132
44133         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44134         instead of 0.
44135         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44136         instead of 0.
44137         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44138         Patch in part by Pavel Roskin <proski@gnu.org>.
44139
44140         [BZ #13138]
44141         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44142         realloc.
44143         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44144         Free memory block if necessary.
44145
44146         [BZ #12847]
44147         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44148         be NULL.  Don't lock in this case.
44149
44150 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44151
44152         * elf/elf.h (ELFOSABI_GNU): New macro.
44153         (ELFOSABI_LINUX): Define to that.
44154
44155 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44156
44157         * string/strncat.c (strncat): Undef the symbol in case it has been
44158         defined in bits/string.h.
44159
44160 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44161
44162         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44163
44164         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44165         link map.
44166
44167 2011-08-17  Andreas Jaeger  <aj@suse.de>
44168
44169         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44170
44171 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44172             Ian Lance Taylor  <iant@google.com>
44173
44174         * math/libm-test.inc (lround_test): New testcase.
44175         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44176
44177 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44178
44179         * Makefile: Remove support for automatic cvs check-ins.
44180         * Makerules: Likewise.
44181         * config.make.in: Likewise.
44182         * configure.in: Likewise.
44183         * intl/Makefile: Likewise.
44184         * locale/Makefile: Likewise.
44185         * po/Makefile: Likewise.
44186         * posix/Makefile: Likewise.
44187         * sysdeps/gnu/Makefile: Likewise.
44188         * sysdeps/mach/hurd/Makefile: Likewise.
44189         * sysdeps/sparc/sparc32/Makefile: Likewise.
44190
44191         [BZ #13118]
44192         * posix/Makefile (bug-regex32-ENV): Define.
44193         Patch by John Stanley <jpsinthemix@verizon.net>.
44194
44195         * misc/Makefile (headers): Add bits/select2.h.
44196         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44197         * misc/bits/select2.h: New file.
44198         * include/bits/select2.h: New file.
44199         * debug/Makefile (routines): Add fdelt_chk.
44200         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44201         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44202         FD_ISSET.
44203         * debug/fdelt_chk.c: New file.
44204
44205         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44206         * wcsmbs/test-wmemcmp.c: Likewise.
44207         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44208         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44209
44210 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44211
44212         * string/Makefile (strop-tests): Add memcmp.
44213         * string/test-wmemcmp.c: New file.
44214         * string/test-memcmp.c: Add wmemcmp support.
44215
44216 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44217
44218         [BZ #13153]
44219         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44220         2011-07-19 change.
44221
44222         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44223         garbage value in a __mach_port_mod_refs call in the cases of the
44224         task-self and thread-self ports.
44225
44226 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44227
44228         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44229
44230 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44231
44232         * elf/dl-load.c (lose): Check for non-null L.
44233
44234 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44235
44236         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44237
44238         * elf/dl-libc.c (dlerror_run): Pass back error code from
44239         dl_catch_error.
44240
44241         [BZ #13123]
44242         * elf/dl-load.c (lose): Free l_origin if it is valid.
44243
44244         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44245         names.
44246         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44247         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44248         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44249         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44250         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44251         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44252
44253 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44254
44255         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44256         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44257         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44258         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44259         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44260         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44261         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44262         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44263         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44264         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44265
44266 2011-08-15  Alan Modra  <amodra@gmail.com>
44267
44268         [BZ #13092]
44269         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44270         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44271         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44272         ppc_mcount to static-only-routines.
44273         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44274         __mcount_internal.
44275         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44276         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44277
44278 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44279
44280         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44281         for finite and infinity parameters.
44282
44283 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44284
44285         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44286         and add nop instructions for throughput optimization.
44287         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44288
44289 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44290
44291         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44292         aligned copy for power7 with vector-scalar instructions.
44293         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44294
44295 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44296
44297         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44298         AVX check.
44299
44300 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44301
44302         [BZ #13144]
44303         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44304         last change.
44305
44306 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44307
44308         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44309         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44310         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44311         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44312         clock_gettime.
44313
44314 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44315
44316         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44317         Forgot to demangle the pointer.
44318
44319         * sysdeps/i386/sysdep.h: Define atom_text_section.
44320         * sysdeps/x86_64/sysdep.h: Likewise.
44321         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44322         section with atom_text_section.
44323         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44324         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44325         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44326         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44327         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44328
44329         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44330         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44331         already be defined.  Change to take two parameters and don't assign
44332         result to variable.  Adjust all users.
44333         Define INTERNAL_GETTIME if not already defined.
44334         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44335         call.
44336         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44337         HAVE_CLOCK_GETTIME_VSYSCALL.
44338         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44339
44340         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44341         gettimeofday vsyscall, just use time.
44342
44343 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44344
44345         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44346         <errno.h>.
44347
44348 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44349
44350         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44351         syscall on x86-64.
44352         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44353         syscall.
44354         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44355         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44356         syscall if possible.
44357
44358 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44359
44360         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44361         e_ident.  Don't pass to find_mapsXX.
44362         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44363
44364 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44365
44366         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44367         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44368         * sysdeps/x86_64/multiarch/strchr.S: Update.
44369         Check bit_slow_BSF bit.
44370         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44371         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44372         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44373
44374 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44375
44376         [BZ #13134]
44377         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44378         before glibc 2.15.
44379         (tryshell): Define.
44380         (__spawni): Change last parameter to be flag.  Test
44381         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44382         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44383         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44384         * posix/spawni.c: Likewise.
44385         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44386         * posix/spawnp.c: Likewise.  Change normal version to use
44387         SPAWN_XFLAGS_USE_PATH.
44388         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44389         SPAWN_XFLAGS_TRY_SHELL.
44390
44391         [BZ #13150]
44392         * posix/glob.h: Remove gcc 1.x support.
44393
44394         [BZ #13068]
44395         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44396
44397 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44398
44399         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44400         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44401         strrchr-sse2-bsf
44402         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44403         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44404         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44405         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44406         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44407         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44408
44409 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44410
44411         * sysdeps/x86_64/wcscmp.S: New file.
44412
44413         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44414         wcscmp-c wcscmp-sse2
44415         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44416         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44417         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44418         * wcsmbs/wcscmp.c: Allow renaming.
44419
44420 2011-09-05  David S. Miller  <davem@davemloft.net>
44421
44422         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44423         stack slot, rather than the struct return pointer slot.
44424         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44425         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44427         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44428
44429 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44430
44431         * po/ja.po: Update from translation team.
44432
44433         [BZ #13144]
44434         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44435         kernel in 64-bit binaries.
44436
44437 2011-09-01  David S. Miller  <davem@davemloft.net>
44438
44439         * elf/elf.h (HWCAP_SPARC_*): Move to..
44440         * sysdeps/sparc/sysdep.h: this new file and add new values.
44441         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44442         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44443         _DL_HWCAP_COUNT to 24.
44444         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44445         entries.
44446         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44447         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44448         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44450         instead of magic constants.
44451         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44452
44453 2011-08-31  David S. Miller  <davem@davemloft.net>
44454
44455         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44456         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44457         Reimplement to do errno handling inline.
44458         (SYSCALL_ERROR_HANDLER): New macro.
44459         (__SYSCALL_STRING): Do not do errno handling in asm.
44460         (__CLONE_SYSCALL_STRING): Delete.
44461         (__INTERNAL_SYSCALL_STRING): Delete.
44462         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44463         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44464         (PSEUDO): Reimplement to do errno handling inline.
44465         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44466         (SYSCALL_ERROR_HANDLER): New macro.
44467         (__SYSCALL_STRING): Do not do errno handling in asm.
44468         (__CLONE_SYSCALL_STRING): Delete.
44469         (__INTERNAL_SYSCALL_STRING): Delete.
44470         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44471         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44472         i386.
44473         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44474         (inline_syscall*): Add 'err' argument.
44475         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44476         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44477         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44478         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44479
44480         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44481         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44482
44483 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44484
44485         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44486
44487 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44488
44489         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44490         directive.
44491
44492 2011-08-24  David S. Miller  <davem@davemloft.net>
44493
44494         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44495
44496 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44497
44498         * elf/Makefile: Add rules to build and run unload8 test.
44499         * elf/unload8.c: New file.
44500         * elf/unload8mod1.c: New file.
44501         * elf/unload8mod1x.c: New file.
44502         * elf/unload8mod2.c: New file.
44503         * elf/unload8mod3.c: New file.
44504
44505         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44506         it wasn't used.
44507
44508 2011-08-23  David S. Miller  <davem@davemloft.net>
44509
44510         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44511         subtract stack bias.
44512         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44513         %sp not %fp in calculations.
44514         (_JMPBUF_UNWINDS_ADJ): Likewise.
44515
44516         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44517         (aio_suspend): Call it to force an exception region around the
44518         AIO_MISC_WAIT() invocation.
44519
44520 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44521
44522         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44523         backslash.
44524
44525 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44526
44527         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44528         protection macro.
44529         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44530         and <dl-machine.h>.
44531         (Elf64_FuncDesc): Remove.
44532
44533 2011-08-22  David S. Miller  <davem@davemloft.net>
44534
44535         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44536         sigaltstack check, add missing cfi directives.
44537         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44538         missing cfi directives, and sigaltstack handling.
44539
44540 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44541
44542         [BZ #11724]
44543         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44544         object is seen twice.
44545         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44546
44547         * elf/Makefile (distribute): Add tst-initorder2.c.
44548         (tests): Add tst-initorder2.
44549         (modules-names): Add tst-initorder2a tst-initorder2b
44550         tst-initorder2c tst-initorder2d.  Add rules to build them.
44551         ($(objpfx)tst-initorder2.out): New rule.
44552         * elf/tst-initorder2.c: New file.
44553         * elf/tst-initorder2.exp: New file.
44554
44555 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44556
44557         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44558
44559         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44560         dependencies back to end of function.
44561
44562         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44563         $(elfobjdir)/ld.so.
44564
44565 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44566
44567         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44568         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44569         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44570         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44571         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44572         of __vdso_gettimeofday.
44573         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44574         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44575         attribute_hidden.
44576         (_libc_vdso_platform_setup): Remove initialization of
44577         __vdso_gettimeofday and __vdso_time.
44578
44579 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44580
44581         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44582         and fgetc_unlocked.
44583         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44584         getc_unlocked.
44585
44586         * elf/dl-open.c (add_to_global): Report additions to the global scope
44587         for LD_DEBUG=scopes.
44588         (dl_open_worker): Also print scope of newly loaded dependencies.
44589         (_dl_show_scope): Indicate if there is no scope.
44590
44591         [BZ #13114]
44592         * stdio-common/Makefile (tests): Add bug24.
44593         * stdio-common/bug24.c: New file.
44594
44595 2011-08-19  Andreas Jaeger  <aj@suse.de>
44596
44597         [BZ #13114]
44598         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44599         non-existant file when using close-on-exec mode.
44600
44601 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44602
44603         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44604         the very first instruction.
44605
44606         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44607         the CFI state in the end.
44608         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44609         inclusion of dl-trampoline.h.
44610         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44611
44612 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44613
44614         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44615         expectations for long double.
44616
44617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44618         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44619
44620 2011-08-14  David S. Miller  <davem@davemloft.net>
44621
44622         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44623         artificual limit depends upon the system page size.
44624
44625 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44626
44627         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44628         * resolv/Makefile: Define CFLAGS-libresolv.
44629
44630 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44631
44632         * nss/makedb.c (compute_tables): Make variables used in nested
44633         function static.
44634
44635 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44636
44637         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44638         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44639         if buffer was too small.
44640
44641         * elf/pldd.c (main): Attach to all threads in the process.
44642         Rewrite /proc handling to use *at functions.
44643
44644 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44645
44646         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44647         specifies first scope to show.
44648         (dl_open_worker): Update callers.  Move printing scope of new
44649         object to before the relocation.
44650         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44651         * sysdeps/generic/ldsodefs.h: Update declaration.
44652
44653         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44654         string for the scope number.
44655
44656 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44657
44658         * nscd/servicescache.c (cache_addserv): Make sure written is always
44659         initialized.
44660
44661 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44662
44663         * sysdeps/i386/i486/bits/atomic.h
44664         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44665         statement expression, so as to suppress "set but not used" warning.
44666         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44667
44668         * string/strncat.c (STRNCAT): Use prototype definition.
44669
44670         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44671         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44672         -Iprograms here.
44673         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44674         (localedef-modules): Add localedef.
44675         (locale-modules): Add locale.
44676
44677         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44678         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44679         to avoid a warning.
44680
44681 2011-08-14  David S. Miller  <davem@davemloft.net>
44682
44683         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44684         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44685
44686 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44687
44688         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44689         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44690         * elf/rtld.c (dl_main): Set l_name of vDSO.
44691         Call _dl_show_scope when DL_DEBUG_SCOPES.
44692         (process_dl_debug): Recognize scopes flag and also set it for all.
44693         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44694         Declare _dl_show_scope.
44695
44696         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44697         (do_dlopen): Pass caller_dlopen to dl_open.
44698         (__libc_dlopen_mode): Initialize caller_dlopen.
44699
44700         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44701         of libc.  Make tolower call locale-independent.  Optimize a bit by
44702         using isdigit instead of isalnum.
44703         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44704
44705 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44706
44707         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44708         was a dependency or dynamically loaded.
44709
44710 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44711
44712         * intl/l10nflist.c: Allow architecture-specific pop function.
44713         * sysdeps/x86_64/l10nflist.c: New file.
44714
44715         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44716         classification.
44717
44718 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44719
44720         * include/dirent.h: Add libc_hidden_proto for scandirat and
44721         scandirat64.  Don't declare __scandirat64.
44722         * dirent/scandirat.c: Add libc_hidden_def.
44723         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44724         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44725
44726 2011-08-10  David S. Miller  <davem@davemloft.net>
44727
44728         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44729         enum.
44730         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44731         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44732         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44733
44734 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44735
44736         * Versions.def [libc]: Add GLIBC_2.15.
44737         * dirent/Makefile (routines): Add scandirat and scandirat64.
44738         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44739         GLIBC_2.15.
44740         * dirent/dirent.h: Declare scandirat and scandirat64.
44741         * dirent/scandirat.c: New file.
44742         * dirent/scandirat64.c: New file.
44743         * sysdeps/wordsize-64/scandirat.c: New file.
44744         * sysdeps/wordsize-64/scandirat64.c: New file.
44745         * dirent/opendir.c: Define opendirat.
44746         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44747         using scandirat.
44748         * dirent/scandir64.c: Adjust for scandir.c change.
44749         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44750         __scandirat64, and __scandir_cancel_handler.
44751         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44752         additional parameter and use openat instead of open (outside of ld.so).
44753         Add new __opendir as wrapper around __opendirat.
44754         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44755         here without requiring old scandirat implementation.
44756
44757 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44758
44759         * dirent/scandir.c (cancel_handler): Renamed to
44760         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44761         defined.  Adjust users.
44762         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44763         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44764
44765 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44766
44767         * string/test-string.h (IMPL): Use __STRING to expand name and then
44768         stringify it.
44769
44770         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44771         of cleanups.
44772
44773 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44774
44775         * string/Makefile: Update.
44776         (strop-tests): Append strncat.
44777         * string/test-wcscmp.c: New file.
44778         New comprehensive test for wcscmp.
44779         * string/test-strcmp.c: Update.
44780         (WIDE): New define.
44781
44782 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44783
44784         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44785         line.
44786
44787 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44788
44789         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44790         encoding to ACE if AI_IDN.
44791
44792 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44793
44794         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44795         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44796
44797 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44798
44799         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44800         Fix overflow bug in strncat.
44801         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44802
44803         * string/test-strncat.c: Update.
44804         Add new tests for checking overflow bugs.
44805
44806 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44807
44808         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44809         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44810         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44811         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44812         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44813         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44814         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44815         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44816         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44817
44818         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44819         (USE_AS_STRCAT): Define.
44820         Add strcat and strncat support.
44821         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44822
44823 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44824
44825         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44826         __n bigger than INT_MAX+1.
44827         (__strncmp_g): Likewise.
44828
44829 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44830
44831         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44832         * libio/stido.h: Likewise.
44833
44834         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44835         (AF_NFC): Define.
44836         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44837         (AF_NFC): Define.
44838
44839         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44840         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44841         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44842         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44843         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44844
44845         [BZ #13021]
44846         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44847         installed.
44848
44849         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44850         typo.
44851         (_dl_x86_64_save_sse): Likewise.
44852
44853 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44854
44855         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44856         OSXSAVE.
44857         (_dl_x86_64_save_sse): Likewise.
44858
44859         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44860
44861         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44862
44863 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44864
44865         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44866         change.
44867         (_dl_x86_64_save_sse): Use correct AVX check.
44868
44869 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44870
44871         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44872         bug in strncpy/strncat.
44873         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44874
44875 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44876
44877         * string/tester.c (test_strcat): Add tests for different alignments
44878         of source and destination.
44879         (test_strncat): Likewise.
44880
44881 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44882
44883         [BZ #12852]
44884         * posix/glob.c (glob): Check passed in values before using them in
44885         expressions to avoid some overflows.
44886         (glob_in_dir): Likewise.
44887
44888         [BZ #13007]
44889         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44890         check for AVX enablement so that we don't crash with old kernels and
44891         new hardware.
44892         * elf/tst-audit4.c: Add same checks here.
44893         * elf/tst-audit6.c: Likewise.
44894
44895         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44896
44897 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44898
44899         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44900
44901 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44902
44903         * po/cs.po: Update from translation team.
44904         * po/bg.po: Likewise.
44905
44906 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44907
44908         * misc/sys/cdefs.h: Add support for const attribute.
44909         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44910         to gnu_dev_{major,minor,makedev} functions.
44911
44912 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44913
44914         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44915
44916 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44917
44918         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44919         strlen results.
44920
44921 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44922
44923         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44924         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44925         register in order to avoid conflicts with the soft frame pointer
44926         being held in r11 when necessary.
44927         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44928         (INTERNAL_VSYSCALL_NCS): Likewise.
44929
44930 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44931
44932         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44933         * elf/dl-fini.c (_dl_fini): Adjust caller.
44934         * elf/dl-close.c (_dl_close_worker): Likewise.
44935         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44936
44937 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44938
44939         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44940         "aux_cache->nlibs < 0".
44941
44942         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44943         in the reload-count case.
44944
44945 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44946
44947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44948         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44949         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44950         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44951         * sysdeps/x86_64/multiarch/strcat.S: New file.
44952         * sysdeps/x86_64/multiarch/strncat.S: New file.
44953         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44954         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44955         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44956         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44957         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44958         (USE_AS_STRCAT): Define.
44959         Add strcat and strncat support.
44960         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44961         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44962         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44963         * string/strncat.c: Update.
44964         (USE_AS_STRNCAT): Define.
44965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44966         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44967         and i7.
44968         * sysdeps/x86_64/multiarch/init-arch.h
44969         (bit_Prefer_PMINUB_for_stringop): New.
44970         (index_Prefer_PMINUB_for_stringop): Likewise.
44971         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44972         bit_Prefer_PMINUB_for_stringop.
44973
44974 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44975
44976         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44977         buffer64.
44978         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44979         of casting of buffer.
44980         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44981         buffer32 and buffer64.
44982         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44983         writes instead of casting of buffer.
44984         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44985         buffer32.
44986         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44987         casting of buffer.
44988
44989 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44990
44991         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44992
44993 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44994
44995         * nscd/nscd.c (termination_handler): Don't do anything for a database
44996         if it has not yet been initialized.
44997
44998 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44999
45000         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45001
45002 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45003
45004         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45005
45006 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45007
45008         * po/nl.po: Update from translation team.
45009         * po/sv.po: Likewise.
45010
45011 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45012
45013         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45014         now disallowed by GCC.
45015
45016         * configure.in (use-default-link): Default to yes if a test -shared
45017         link meets our qualifications.
45018         * configure: Regenerated.
45019
45020         * config.make.in (output-format): New variable.
45021         * configure.in: Check for ld --print-output-format support.
45022         * configure: Regenerated.
45023         * Makerules ($(common-objpfx)format.lds)
45024         [$(output-format) != unknown]: Just use $(output-format),
45025         instead of the linker-script munging.
45026
45027 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45028
45029         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45030         of $(common-objpfx)shlib.lds.
45031         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45032
45033         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45034         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45035
45036         * configure.in (-z relro check): Adjust test code to add a large
45037         writable data section after it.
45038         * configure: Regenerated.
45039
45040 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45041
45042         * configure.in (-z relro check): Fix test code to make the variable
45043         truly const.
45044         * configure: Regenerated.
45045
45046 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45047
45048         * nscd/nscd.h (struct traced_file): Define.
45049         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45050         elements.  Add traced_files.
45051         (inotify_fd): Declare.
45052         (register_traced_file): Declare.
45053         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45054         (inotify_fd): Export.
45055         (resolv_conf_descr): Remove.
45056         (nscd_init): Move inotify descriptor creation to main.
45057         Don't register files for notification here.
45058         (register_traced_file): New function.
45059         (invalidate_cache): Don't use reset_res to determine whether to call
45060         res_init, go through the list of registered files.
45061         (main_loop_poll): The inotify descriptors are now stored in the
45062         structures for the traced files.
45063         (main_loop_epoll): Likewise
45064         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45065         to __nss_disable_nscd.
45066         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45067         for a database anymore.  Check the records for all the registered
45068         files instead.
45069         * nss/Makefile (libnss_files-routines): Add files-init.
45070         (libnss_db-routines): Add db-init.
45071         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45072         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45073         * nss/nss_db/db-init.c: New file.
45074         * nss/nss_files/files-init.c: New file.
45075         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45076         __nss_lookup_function.
45077         (__nss_lookup_function): Call nss_load_library.
45078         (nss_load_all_libraries): New function.
45079         (__nss_disable_nscd): Take parameter with callback function for files
45080         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45081         used for the cached services.
45082         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45083         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45084         options for features to all the files in nscd.
45085
45086         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45087
45088 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45089
45090         * csu/elf-init.c (__libc_csu_init): Comment typo.
45091
45092 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45093
45094         * po/pl.po: Update from translation team.
45095         * po/ja.po: Likewise.
45096         * po/ru.po: Likewise.
45097         * po/ko.po: Likewise.
45098         * po/fr.po: Likewise.
45099
45100 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45101
45102         * configure.in (.ctors/.dtors header and trailer check):
45103         Use an empirical test on a built program.
45104         * configure: Regenerated.
45105
45106         * configure.in (-z relro check): Use an empirical test on a built DSO.
45107         Detect, but do not require, on ia64.
45108         * configure: Regenerated.
45109
45110         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45111         Update tests that use readelf to use $READELF instead.
45112         * configure: Regenerated.
45113
45114 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45115
45116         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45117         if the result is not used.
45118
45119 2011-07-05  Andreas Jaeger  <aj@suse.de>
45120
45121         [BZ#9696]
45122         * stdlib/tst-strtod.c: Add testcase.
45123
45124 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45125
45126         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45127         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45128         The latter has a higher limit.  Take additional parameter to pass to
45129         the new function.
45130         (__pathconf): Pass file to __statfs_link_max.
45131         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45132         __statfs_link_max.
45133         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45134         __statfs_link_max.
45135
45136         [BZ #12868]
45137         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45138         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45139         Handle Lustre.
45140         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45141         (__statfs_filesize_max): Likewise.
45142         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45143
45144 2011-07-05  Andreas Jaeger  <aj@suse.de>
45145
45146         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45147
45148 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45149
45150         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45151         `status' variable.
45152         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45153         Likewise.
45154
45155 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45156
45157         * Makefile (strop-tests): Add strncat.
45158         * string/test-strncat.c: New file.
45159
45160 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45161
45162         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45163
45164 2011-06-21  Andreas Jaeger  <aj@suse.de>
45165
45166         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45167         Copy rule from iconvdata/Makefile.
45168
45169 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45170
45171         [BZ #12922]
45172         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45173         but no long options are defined, just return 'W'.
45174
45175 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45176
45177         [BZ #9696]
45178         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45179
45180 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45181
45182         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45183         netgroups to read.
45184         (innetgr): Likewise.
45185
45186 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45187
45188         * config.make.in (install_root): Default to $(DESTDIR).
45189
45190 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45191
45192         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45193
45194 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45195
45196         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45197
45198         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45199         containing directory rather than embedding absolute directory names.
45200
45201         * scripts/check-local-headers.sh: Rewritten using awk.
45202         Match by word, not by line.  Print error messages for matches.
45203         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45204
45205         * Makerules [shlib-lds-flags empty]:
45206         ($(common-objpfx)libc_pic.opts): New target.
45207         ($(common-objpfx)libc_pic.os.clean): New target.
45208         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45209
45210         * config.make.in (OBJCOPY): New variable.
45211         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45212         * configure: Regenerated.
45213
45214         * config.make.in (use-default-link): New variable.
45215         * configure.in (use_default_link): Grok --with-default-link to set it.
45216         * configure: Regenerated.
45217         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45218         (shlib-lds, shlib-lds-flags): Define to empty.
45219
45220         * Makerules (shlib-lds): New variable.
45221         (shlib-lds-flags): New variable.
45222         (build-shlib, build-moduile, build-module-asneeded): Use it.
45223         ($(common-objpfx)libc.so): Use $(shlib-lds).
45224         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45225         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45226
45227         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45228         DT_FLAGS/DT_FLAGS_1 with zero flags.
45229
45230         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45231         linker script munging.
45232
45233 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45234
45235         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45236         as 128-bit value.
45237         * crypt/sha512.c (sha512_process_block): Perform total addition using
45238         128-bit if possible.
45239         (__sha512_finish_ctx): Likewise.
45240         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45241         as 64-bit value.
45242         * crypt/sha256.c (SWAP64): Define.
45243         (sha256_process_block): Perform total addition using 64-bit if
45244         possible.
45245         (__sha256_finish_ctx): Likewise.
45246
45247 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45248
45249         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45250         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45251         * nscd/hstcache.c (cache_addhst): Likewise.
45252         * nscd/grpcache.c (cache_addgr): Likewise.
45253         * nscd/aicache.c (addhstaiX): Likewise
45254         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45255
45256 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45257
45258         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45259         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45260         * nscd/hstcache.c (cache_addhst): Likewise.
45261         * nscd/grpcache.c (cache_addgr): Likewise.
45262         * nscd/aicache.c (addhstaiX): Likewise
45263
45264 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45265
45266         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45267         domain only when needed.
45268
45269 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45270
45271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45272         is always restored.
45273
45274 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45275
45276         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45277         are re-adding the entry.
45278         * nscd/servicescache.c (cache_addserv): Likewise.
45279
45280 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45281
45282         * sysdeps/generic/dl-irel.h: fix protection against multiple
45283         inclusions.
45284         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45285
45286 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45287
45288         [BZ #12935]
45289         * malloc/memusage.sh: Fix quoting in message.
45290         * debug/xtrace.sh: Likewise.
45291
45292         * configure.in: Remove support for --experimental-malloc option, make
45293         it the default.
45294         * config.make.in: Likewise.
45295         * malloc/Makefile: Likewise.
45296
45297 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45298
45299         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45300         two-byte characters.
45301
45302 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45303
45304         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45305         AC_CACHE_CHECK invocation.
45306         * configure: Regenerated.
45307
45308         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45309
45310 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45311
45312         [BZ #12350]
45313         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45314         bit from old_res_options.
45315
45316         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45317
45318         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45319         value type for setfct.
45320
45321 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45322
45323         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45324         __gettimeofday instead of gettimeofday.
45325
45326 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45327
45328         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45329
45330 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45331
45332         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45333
45334         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45335         info.
45336
45337 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45338
45339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45340         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45341         strcpy-sse2-unaligned strncpy-sse2-unaligned
45342         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45343         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45344         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45345         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45346         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45347         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45348         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45349         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45350         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45351         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45352         (STRCPY): Support SSE2 and SSSE3 versions.
45353
45354 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45355
45356         [BZ #12874]
45357         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45358         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45359         kernels which artificially limit size of requests.
45360
45361 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45362
45363         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45364         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45365         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45366         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45367         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45368         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45369         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45370         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45371         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45372         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45373         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45374         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45375         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45376         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45377         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45379         Enable unaligned load optimization for Intel Core i3, i5 and i7
45380         processors.
45381         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45382         Define.
45383         (index_Fast_Unaligned_Load): Define.
45384         (HAS_FAST_UNALIGNED_LOAD): Define.
45385
45386 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45387
45388         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45389
45390 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45391
45392         [BZ #12907]
45393         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45394         until it is clear that the information is realy needed.
45395         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45396
45397 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45398
45399         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45400
45401 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45402
45403         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45404         /sys/devices/system/cpu/online if it is usable.
45405
45406         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45407         reading the information from the /proc filesystem to once a second.
45408
45409 2011-06-21  Andreas Jaeger  <aj@suse.de>
45410
45411         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45412         NULL after inclusion of kernel headers.
45413
45414 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45415
45416         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45417         calls to internal_setent.
45418
45419         [BZ #12885]
45420         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45421         addresses using gethostbyname4_r ignore IPv4 addresses.
45422
45423         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45424         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45425
45426         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45427
45428 2011-06-20  David S. Miller  <davem@davemloft.net>
45429
45430         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45431         inclusions.
45432         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45433
45434         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45435         (elf_irel): Use it.
45436         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45437         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45438         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45439         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45440         * sysdeps/x86_64/dl-irel.h: Likewise.
45441
45442         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45443         * elf/dl-sym.c: Likewise.
45444
45445 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45446
45447         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45448         need to dereference resplen2.
45449
45450 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45451
45452         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45453
45454 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45455
45456         * Makeconfig: Define vardbdir and inst_vardbdir.
45457         * nss/Makefile: Add rules to install db-Makefile.
45458
45459         * nss/nss_db/db-XXX.c: Cleanup.
45460
45461         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45462         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45463         GLIBC_PRIVATE.
45464         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45465         * nss/makedb.c: Implement -g option to specify that value strings
45466         are generated and should not be added to table iterated over for
45467         get*ent calls.
45468         * nss/nss_db/db-initgroups.c: New file.
45469
45470         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45471         interface.
45472
45473         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45474         (internal_getgrouplist): Adjust to name change.
45475         Update use_initgroups_entry if this is not the first call.
45476         * nss/databases.def: Add initgroups entry.
45477
45478         * nss/makedb.c (compute_tables): Check result of multiple hash table
45479         sizes to minimize maximum chain length.
45480
45481 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45482
45483         * Versions.def: Add entry for libnss_db.
45484         * shlib-versions: Likewise.
45485         * nss/Makefile: Add rules to build libnss_db.
45486         * nss/Versions: Add libnss_db information.  Organize libnss_files
45487         entries better.
45488         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45489         makedb progra.  Some minor improvements to generate smaller files.
45490         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45491         here from...
45492         * nss/makedb.c: ...here.
45493         Improve database format to be smaller and require less memory at
45494         runtime.
45495         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45496         db anymore.
45497         * nss/nss_db/db-netgrp.c: Likewise.
45498         * nss/nss_db/db-open.c: Likewise.
45499         * nss/nss_files/flies-XXX.x: Adjust comments.
45500         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45501         * nss/nss_files/files-grp.c: Likewise.
45502         * nss/nss_files/files-hosts.c: Likewise.
45503         * nss/nss_files/files-network.c: Likewise.
45504         * nss/nss_files/files-proto.c: Likewise.
45505         * nss/nss_files/files-pwd.c: Likewise.
45506         * nss/nss_files/files-rpc.c: Likewise.
45507         * nss/nss_files/files-service.c: Likewise.
45508         * nss/nss_files/files-sgrp.c: Likewise.
45509         * nss/nss_files/files-spwd.c: Likewise.
45510         * nss/nss_db/db-alias.c: Removed.
45511         * nss/nss_db/dummy-db.h: Removed.
45512
45513 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45514
45515         * nss/makedb.c: Rewritten to not use database library.
45516         * nss/Makefile: Update to build new makedb program.
45517
45518 2011-06-14  Andreas Jaeger  <aj@suse.de>
45519
45520         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45521         memset declaration.
45522
45523 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45524
45525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45526         tmpbuf.
45527
45528 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45529
45530         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45531         * elf/Makefile ($(objpfx)ld.so): Likewise.
45532
45533         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45534         Don't list ld.so twice in dependencies.
45535
45536         * posix/bug-regex31.c: Include <stdlib.h>.
45537
45538         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45539
45540         * nis/nss_compat/compat-spwd.c
45541         (getspent_next_nss_netgr): Remove unused variable.
45542         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45543
45544         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45545         nonmembers" output to use the right array.
45546
45547         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45548
45549         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45550
45551         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45552         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45553         * catgets/gencat.c (read_input_file): Likewise.
45554         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45555
45556         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45557         variable definition inside #if's controlling its use.
45558
45559         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45560
45561         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45562
45563         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45564
45565         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45566         unreachable code.
45567
45568         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45569
45570         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45571         * configure: Regenerated.
45572
45573         * Makerules: Revert last change.
45574         * elf/Makefile: Likewise.
45575
45576 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45577
45578         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45579         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45580         (reloc-link): Likewise.
45581
45582 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45583
45584         * elf/Makefile: Add rules to build pldd.
45585         * elf/pldd.c: New file.
45586         * elf/pldd-xx.c: New file.
45587
45588 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45589
45590         * version.h: Update for 2.15 development version.
45591
45592 2011-06-07  David S. Miller  <davem@davemloft.net>
45593
45594         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45595         ifuncs.
45596         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45597         elf_machine_lazy_rel): Likewise.
45598         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45599         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45600         elf_machine_lazy_rel): Likewise.
45601         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45602         dl_hwcap via passed in argument.
45603         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45604         Likewise.
45605
45606 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45607
45608         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45609
45610 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45611
45612         [BZ #12849]
45613         * manual/fdl-1.1.texi: New file, verbatim from:
45614         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45615         * manual/lgpl-2.1.texi: New file, verbatim from:
45616         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45617         * manual/Makefile (licenses): New variable, list those new file names.
45618         (texis): Use it.
45619         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45620
45621         * manual/fdl.texi: File removed.
45622         * manual/lesser.texi: File removed.
45623         * manual/libc.texinfo (Copying, Documentation License):
45624         Use new @include file names, put @appendix directive before @include.
45625
45626 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45627
45628         [BZ #12841]
45629         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45630         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45631         (mq_open): Add __NTH.
45632
45633 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45634
45635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45636         Assume Intel Core i3/i5/i7 processor if AVX is available.
45637
45638 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45639
45640         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45641         typo.
45642
45643 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45644
45645         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45646         memory.  Use alloca_account.  Fix memory leak when retrying.
45647
45648 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45649
45650         * version.h (RELEASE): Bump for 2.14 release.
45651         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45652
45653         * config.make.in (RANLIB): Remove entry.
45654
45655 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45656
45657         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45658         (libc.pot): Work around missing support for .ksh extension in xgettext.
45659
45660         [BZ #12684]
45661         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45662         if both request failed.
45663         (send_dg): In case of server errors clear resplen or *resplen2.
45664
45665         [BZ #12454]
45666         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45667         when there are multiple maps.
45668         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45669         (_dl_fini): Remove test here.
45670
45671         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45672
45673 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45674
45675         [BZ #12350]
45676         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45677         bit from old_res_options.
45678         (gaih_inet): Likewise.
45679
45680         [BZ #11099]
45681         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45682         as signed.
45683
45684         * resolv/res_init.c (res_setoptions): Make the code more compact.
45685
45686         [BZ #11558]
45687         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45688         set RES_USEVC.
45689
45690         [BZ #11634]
45691         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45692
45693         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45694
45695         [BZ #11781]
45696         * malloc/malloc.h: Declare malloc hook variables as volatile.
45697
45698         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45699         in last patch.
45700
45701         [BZ #11799]
45702         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45703         raise in the comment.
45704         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45705         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45706         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45707
45708 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45709
45710         [BZ #12811]
45711         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45712         grow the buffers more if it already has to be sufficient.
45713         (build_wcs_upper_buffer): Likewise.
45714         * posix/regexec.c (check_matching): Likewise.
45715         (clean_state_log_if_needed): Likewise.
45716         (extend_buffers): Don't enlarge buffers beyond size of the input
45717         buffer.
45718         Patches mostly by Emil Wojak <emil@wojak.eu>.
45719         * posix/bug-regex32.c: New file.
45720         * posix/Makefile (tests): Add bug-regex32.
45721
45722         * locale/findlocale.c (_nl_find_locale): Return right away if
45723         _nl_explode_name failed.
45724         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45725
45726         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45727
45728         * debug/xtrace.sh: Unify messages.
45729         * malloc/memusage.sh: Likewise.
45730
45731         [BZ #12813]
45732         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45733         time symbol from vDSO.  Substitute with vsyscall if not available.
45734         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45735         __vdso_time.
45736
45737         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45738         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45739         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45740         Add sendmmsg and internal_sendmmsg.
45741         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45742         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45743         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45744
45745         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45746         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45747         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45748
45749 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45750
45751         [BZ #12813]
45752         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45753         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45754         available.
45755         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45756         __vdso_getcpu.
45757
45758         [BZ #12814]
45759         * iconvdata/Makefile (tests): Add bug-iconv9.
45760         * iconvdata/bug-iconv9.c: New file.
45761
45762 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45763
45764         [BZ #12814]
45765         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45766
45767 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45768
45769         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45770         (struct user_regs_struct): Change intcs field back to cs.
45771
45772 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45773
45774         * po/ja.po: Update from translation team.
45775
45776 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45777
45778         [BZ #12795]
45779         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45780         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45781
45782 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45783
45784         * stdlib/longlong.h: Update from GCC.
45785
45786 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45787
45788         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45789         parameter name.
45790         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45791         Add parameter name.
45792         (__sysconf): Pass it down.
45793
45794 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45795
45796         [BZ #12671]
45797         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45798         some situations.
45799         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45800         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45801         add in in __libc_use_alloca calls.  Adjust callers.
45802         (glob): Use malloc in some situations.
45803
45804         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45805         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45806         pltexit.
45807
45808 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45809
45810         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45811         and CLOCK_BOOTTIME_ALARM.
45812
45813         [BZ #12782]
45814         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45815         is returned.
45816
45817         * string/_strerror.c (__strerror_r): Print negative errors as signed
45818         numbers.
45819
45820         [BZ #12777]
45821         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45822         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45823         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45824
45825         * configure.in: Fix typo in redirection and correct removal of test
45826         files in two cases.
45827
45828         [BZ #12788]
45829         * locale/setlocale.c (new_composite_name): Fix test to check for
45830         identical name of all categories.
45831
45832         [BZ #12792]
45833         * libio/filedoalloc.c (local_isatty): New function.
45834         (_IO_file_doallocate): Use local_isatty.
45835         * stdio-common/perror.c (perror): In case a new stream is used
45836         forward the stream error.
45837         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45838         error flag.
45839
45840 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45841
45842         [BZ #11869]
45843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45844         alloca.
45845         * include/alloca.h (extend_alloca_account): Define.
45846
45847         [BZ #11857]
45848         * posix/regex.h: Fix comments with documentation of user-accessible
45849         fields after compilation and describe correct free'ing of pattern
45850         after re_compile_pattern.
45851         Patch by Reuben Thomas <rrt@sc3d.org>.
45852
45853 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45854
45855         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45856         and -mno-altivec to prevent the compiler from using Altivec and/or
45857         VSX instructions when the corresponding registers are not available.
45858
45859 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45860
45861         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45862
45863 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45864
45865         * libio/freopen.c (freopen): Use __dup2, not dup2.
45866         * libio/freopen64.c (freopen64): Likewise.
45867
45868 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45869
45870         [BZ #12775]
45871         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45872         * math/Makefile (tests): Add test-powl.
45873         (CFLAGS-test-powl.c): Define.
45874         * math/test-powl.c: New file.
45875
45876 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45877
45878         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45879
45880 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45881
45882         [BZ #11837]
45883         * iconvdata/gb18030.c: Update to GB18020-2005.
45884
45885 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45886
45887         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45888         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45889         Patch by Aharon Robbins <arnold@skeeve.com>.
45890
45891         [BZ #11892]
45892         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45893         on the stack.
45894
45895         [BZ #11895]
45896         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45897         through underflows.
45898
45899         [BZ #12766]
45900         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45901         point to strings before performing equality test for error_one_per_line
45902         mode.
45903
45904         [BZ #11697]
45905         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45906
45907         [BZ #11820]
45908         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45909         (struct user_fpregs_struct): Avoid __uint*_t types.
45910
45911         [BZ #6420]
45912         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45913         symbol info.  Use it instead of calling _dl_addr locally.
45914         (lock_and_info): New function.
45915         (tr_freehook): Call lock_and_info and pass symbol info as additional
45916         parameter to tr_where.
45917         (tr_mallochook): Likewise.
45918         (tr_reallochook): Likewise.
45919         (tr_memalignhook): Likewise.
45920
45921         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45922         used and couldn't be at all thread-safe.
45923
45924 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45925
45926         * libio/freopen.c (freopen): Don't close old file descriptor
45927         before the new one is opened.  Instead dup the new file descriptor
45928         to the old one after the new stream is created.
45929         * libio/freopen64.c (freopen64): Likewise.
45930         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45931         * libio/fileops.c (_IO_new_file_close_it): Handle new
45932         _IO_FLAGS2_NOCLOSE flag.
45933         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45934         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45935         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45936         _IO_FLAGS2_NOCLOSE flag.
45937         * include/unistd.h: Add hidden_proto for dup3.
45938         Define __have_dup3.
45939         * io/dup3.c: Define hidden symbol.
45940         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45941
45942         [BZ #7101]
45943         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45944         when an incomplete long option is used.
45945         * posix/tst-getopt_long1.c: New file.
45946         * posix/Makefile (tests): Add tst-getopt_long1.
45947
45948         [BZ #10138]
45949         * scripts/config.guess: Update from autoconf-2.68.
45950         * scripts/config.sub: Likewise.
45951
45952         [BZ #10157]
45953         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45954         tests into ...
45955         (has_cpuclock): ...this.  New function.
45956         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45957         macro here based on has_cpuclock code.
45958
45959         [BZ #10149]
45960         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45961         First byte (not low byte) is now always NUL.
45962         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45963
45964         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45965         Use non-cancelable interfaces.
45966
45967         [BZ #9809]
45968         * locale/iso-639.def: Add entry for Sorani.
45969
45970         [BZ #11901]
45971         * include/stdlib.h: Move include protection to the right place.
45972         Define abort_msg_s.  Declare __abort_msg with it.
45973         * stdlib/abort.c (__abort_msg): Adjust type.
45974         * assert/assert.c (__assert_fail_base): New function.  Majority
45975         of code from __assert_fail.  Allocate memory for __abort_msg with
45976         mmap.
45977         (__assert_fail): Now call __assert_fail_base.
45978         * assert/assert-perr.c: Remove bulk of implementation.  Use
45979         __assert_fail_base.
45980         * include/assert.hL Declare __assert_fail_base.
45981         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45982         mmap.
45983         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45984
45985 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45986
45987         [BZ #11952]
45988         [BZ #12453]
45989         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45990         until all modules are registered in the DTV.
45991         * elf/Makefile: Add rules to build and run tst-tls19.
45992         * elf/tst-tls19.c: New file.
45993         * elf/tst-tls19mod1.c: New file.
45994         * elf/tst-tls19mod2.c: New file.
45995         * elf/tst-tls19mod3.c: New file.
45996         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45997
45998         [BZ #12083]
45999         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46000         correctly.
46001
46002         [BZ #12601]
46003         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46004         two-byte sequence errors.
46005         * iconvdata/Makefile (tests): Add bug-iconv8.
46006         * iconvdata/bug-iconv8.c: New file.
46007
46008         [BZ #12626]
46009         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46010         buf2 definition.
46011
46012         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46013
46014         [BZ #12432]
46015         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46016         (dummy_getcfa): New function.
46017         (init): Get _Unwind_GetCFA address, use dummy if not found.
46018         (backtrace_helper): In recursion check, also check whether CFA changes.
46019         (__backtrace): Completely initialize arg.
46020
46021         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46022         storing incomplete byte sequence in state object.  Avoid testing for
46023         guaranteed too small input if we know there is enough data available.
46024
46025 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46026
46027         * Makeconfig (+link-pie): Indent.
46028         * Rules (binaries-pie): Define if $(have-fpie) and
46029         $(build-shared).
46030         (binaries-shared): Also filter out $(binaries-pie).
46031         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46032         * nscd/Makefile (others-pie): Add nscd.
46033         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46034         ($(objpfx)nscd): Remove command override.
46035         * login/Makefile (others-pie): Add pt_chown.
46036         ($(objpfx)pt_chown): Remove command override.
46037         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46038         remove command overrides.
46039
46040 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46041
46042         * libio/tst_putwc.c: Fix error messages.
46043
46044         [BZ #12724]
46045         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46046         currently writing and seek to current position when not.
46047         * libio/Makefile (tests): Add bug-fclose1.
46048         * libio/bug-fclose1.c: New file.
46049
46050 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46051
46052         [BZ #12511]
46053         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46054         don't set DF_1_NODELETE here.
46055         (do_lookup_x): When entering new entry test for copy relocation
46056         and if necessary set DF_1_NODELETE flag.
46057         * elf/tst-unique4.cc: New file.
46058         * elf/tst-unique4.h: New file.
46059         * elf/tst-unique4lib.cc: New file.
46060         * elf/Makefile: Add rules to build and run tst-unique4.
46061         Patch by Piotr Bury <pbury@goahead.com>.
46062
46063 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46064
46065         [BZ #12052]
46066         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46067
46068         [BZ #12625]
46069         * misc/mntent_r.c (addmntent): Flush the stream after the output
46070
46071         [BZ #12393]
46072         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46073         (is_trusted_path_normalize): Skip initial colon.  Append slash
46074         to empty buffer.  Duplicate is_trusted_path code but allow
46075         constructed patch to be prefix.
46076         (is_dst): Allow $ORIGIN followed by /.
46077         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46078         Correct testing of result of is_trusted_path_normalize
46079         (decompose_rpath): Fix warning.
46080
46081 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46082
46083         [BZ #11257]
46084         * grp/initgroups.c (internal_getgrouplist): When we found the service
46085         list through the initgroups entry in nsswitch.conf do not always
46086         continue on a successful lookup.  Don't always use the
46087         __nss_group_database value if it is set.
46088         * nss/nsswitch.conf (initgroups): Change action for successful db
46089         lookup to continue for compatibility.
46090
46091 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46092
46093         [BZ #11532]
46094         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46095         and CP774 modules.
46096         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46097         and CP774 modules.
46098         * iconvdata/tst-tables.sh: Likewise.
46099         * iconvdata/cp770.c: New file.
46100         * iconvdata/cp771.c: New file.
46101         * iconvdata/cp772.c: New file.
46102         * iconvdata/cp773.c: New file.
46103         * iconvdata/cp774.c: New file.
46104         * iconvdata/testdata/CP770: New file.
46105         * iconvdata/testdata/CP770..UTF8: New file.
46106         * iconvdata/testdata/CP771: New file.
46107         * iconvdata/testdata/CP771..UTF8: New file.
46108         * iconvdata/testdata/CP772: New file.
46109         * iconvdata/testdata/CP772..UTF8: New file.
46110         * iconvdata/testdata/CP773: New file.
46111         * iconvdata/testdata/CP773..UTF8: New file.
46112         * iconvdata/testdata/CP774: New file.
46113         * iconvdata/testdata/CP774..UTF8: New file.
46114
46115         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46116         END CHARMAP line.
46117         * iconvdata/gen-8bit-gap.sh: Likewise.
46118         * iconvdata/gen-8bit.sh: Likewise.
46119
46120         * locale/iso-639.def: Add ary entry.
46121
46122         [BZ #11258]
46123         * locale/C-translit.h.in: Add U20A1 transliteration.
46124
46125         [BZ #12178]
46126         * locale/iso-639.def: Add wae entry.
46127         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46128
46129         [BZ #12545]
46130         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46131         for n.
46132
46133         [BZ #12711]
46134         * locale/C-translit.h.in: Add entry for U20B9.
46135         Patch by pravin.d.s@gmail.com.
46136
46137 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46138
46139         [BZ #12713]
46140         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46141         ENAMETOOLONG use generic getcwd.
46142         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46143         in rtld.  Use *stat64.
46144         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46145         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46146         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46147         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46148         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46149         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46150         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46151         __fstatat64 macros.
46152         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46153         * dirent/rewinddir.c: Add libc_hidden_def.
46154         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46155         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46156
46157         * include/dirent.h (__alloc_dir): Add flags parameter.
46158         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46159         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46160         __alloc_dir.
46161         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46162         from fdopendir if O_CLOEXEC is already set.
46163
46164 2011-03-15  Alan Modra  <amodra@gmail.com>
46165
46166         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46167         l_tls_firstbyte_offset non-zero.  Save padding offset in
46168         l_tls_firstbyte_offset for later use.
46169         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46170         freeing static tls block.
46171
46172 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46173
46174         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46175         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46176         being defined by the kernel headers.
46177
46178 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46179
46180         [BZ #12734]
46181         * resolv/resolv.h: Define RES_NOTLDQUERY.
46182         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46183         no-tld-query and set RES_NOTLDQUERY.
46184         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46185         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46186         modern BIND to search name as TLD unless forbidden.
46187
46188 2011-05-07  Petr Baudis  <pasky@suse.cz>
46189             Ulrich Drepper  <drepper@gmail.com>
46190
46191         [BZ #12393]
46192         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46193         (is_trusted_path): ...to here.
46194         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46195         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46196         using is_trusted_path_normalize() in setuid scripts.
46197
46198 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46199
46200         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46201         __BEGIN/__END_DECLS.
46202
46203 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46204
46205         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46206         NSS_STATUS_NOTFOUND if no record was found.
46207
46208 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46209
46210         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46211         (headers-not-in-tirpc): Remove rpc/netdb.h
46212         * resolv/netdb.h: Revert last change.
46213
46214 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46215
46216         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46217         circular dependency between libgcc.a and libc.a.
46218
46219 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46220
46221         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46222         * nis/Makefile: Don't install rpcsvc/*.
46223         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46224         instead of <rpc/types.h>.
46225         (MAXHOSTNAMELEN): Define.
46226
46227 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46228
46229         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46230
46231 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46232
46233         [BZ #12714]
46234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46235         gethostbyname4_r when IPv6 results are possible.
46236
46237 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46238
46239         [BZ #12723]
46240         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46241         _PC_PIPE_BUF handling.
46242
46243 2011-04-30  Bruno Haible  <bruno@clisp.org>
46244
46245         [BZ #12717]
46246         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46247         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46248         to 'int'.
46249         * inet/getnameinfo.c (getnameinfo): Likewise.
46250
46251 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46252
46253         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46254         to groups setting in database lookup.
46255         * nss/nsswitch.conf: Add initgroups entry.
46256
46257 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46258
46259         [BZ #12685]
46260         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46261         mode string.
46262         Patch by Eric Blake <eblake@redhat.com>.
46263
46264 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46265
46266         * sunrpc/Makefile (need-export-routines): Add svc_run.
46267         (routines): Remove svc_run.
46268         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46269         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46270         * sunrpc/svc_run.c (svc_run): Likewise.
46271         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46272
46273 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46274
46275         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46276         problem in reallocation in last patch.
46277
46278 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46279
46280         * sunrpc/Makefile: Move inclusion of Rules.
46281
46282 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46283
46284         * nss/nss_files/files-initgroups.c: New file.
46285         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46286         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46287         _nss_files_initgroups_dyn.
46288
46289 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46290
46291         * elf/elf.h (R_ARM_IRELATIVE): Define.
46292
46293 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46294
46295         * po/ru.po: Update from translation team.
46296
46297 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46298
46299         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46300         dependencies.
46301
46302 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46303
46304         [BZ #12653]
46305         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46306         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46307         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46308         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46309         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46310
46311 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46312
46313         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46314         differing bytes.
46315         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46316         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46317         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46318
46319 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46320
46321         [BZ #12420]
46322         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46323         storing it.
46324         * stdlib/bug-getcontext.c: New file.
46325         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46326
46327 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46328
46329         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46330         instructions into .machine "z9-109".
46331         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46332         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46333
46334 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46335
46336         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46337         between environment variables and auxiliary vector.
46338
46339 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46340
46341         * Makefile: Add rules to build linkobj/libc.so.
46342         * include/libc-symbols.h: Define libc_hidden_nolink.
46343         * include/rpc/auth.h: Mark functions which are to be hidden.
46344         * include/rpc/auth_des.h: Likewise.
46345         * include/rpc/auth_unix.h: Likewise.
46346         * include/rpc/clnt.h: Likewise.
46347         * include/rpc/des_crypt.h: Likewise.
46348         * include/rpc/key_prot.h: Likewise.
46349         * include/rpc/pmap_clnt.h: Likewise.
46350         * include/rpc/pmap_prot.h: Likewise.
46351         * include/rpc/pmap_rmt.h: Likewise.
46352         * include/rpc/rpc_msg.h: Likewise.
46353         * include/rpc/svc.h: Likewise.
46354         * include/rpc/svc_auth.h: Likewise.
46355         * include/rpc/xdr.h: Likewise.
46356         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46357         * nss/Makefile: Likewise.
46358         * sunrpc/Makefile: Don't install headers.  Build library with normal
46359         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46360         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46361         for the compat linking library.  Remove use of INTDEF/INTUSE.
46362         * sunrpc/auth_none.c: Likewise.
46363         * sunrpc/auth_unix.c: Likewise.
46364         * sunrpc/authdes_prot.c: Likewise.
46365         * sunrpc/authuxprot.c: Likewise.
46366         * sunrpc/clnt_gen.c: Likewise.
46367         * sunrpc/clnt_perr.c: Likewise.
46368         * sunrpc/clnt_raw.c: Likewise.
46369         * sunrpc/clnt_simp.c: Likewise.
46370         * sunrpc/clnt_tcp.c: Likewise.
46371         * sunrpc/clnt_udp.c: Likewise.
46372         * sunrpc/clnt_unix.c: Likewise.
46373         * sunrpc/des_crypt.c: Likewise.
46374         * sunrpc/des_soft.c: Likewise.
46375         * sunrpc/get_myaddr.c: Likewise.
46376         * sunrpc/key_call.c: Likewise.
46377         * sunrpc/key_prot.c: Likewise.
46378         * sunrpc/netname.c: Likewise.
46379         * sunrpc/pm_getmaps.c: Likewise.
46380         * sunrpc/pm_getport.c: Likewise.
46381         * sunrpc/pmap_clnt.c: Likewise.
46382         * sunrpc/pmap_prot.c: Likewise.
46383         * sunrpc/pmap_prot2.c: Likewise.
46384         * sunrpc/pmap_rmt.c: Likewise.
46385         * sunrpc/publickey.c: Likewise.
46386         * sunrpc/rpc_cmsg.c: Likewise.
46387         * sunrpc/rpc_common.c: Likewise.
46388         * sunrpc/rpc_dtable.c: Likewise.
46389         * sunrpc/rpc_prot.c: Likewise.
46390         * sunrpc/rpc_thread.c: Likewise.
46391         * sunrpc/rtime.c: Likewise.
46392         * sunrpc/svc.c: Likewise.
46393         * sunrpc/svc_auth.c: Likewise.
46394         * sunrpc/svc_authux.c: Likewise.
46395         * sunrpc/svc_raw.c: Likewise.
46396         * sunrpc/svc_run.c: Likewise.
46397         * sunrpc/svc_simple.c: Likewise.
46398         * sunrpc/svc_tcp.c: Likewise.
46399         * sunrpc/svc_udp.c: Likewise.
46400         * sunrpc/svc_unix.c: Likewise.
46401         * sunrpc/svcauth_des.c: Likewise.
46402         * sunrpc/xcrypt.c: Likewise.
46403         * sunrpc/xdr.c: Likewise.
46404         * sunrpc/xdr_array.c: Likewise.
46405         * sunrpc/xdr_float.c: Likewise.
46406         * sunrpc/xdr_intXX_t.c: Likewise.
46407         * sunrpc/xdr_mem.c: Likewise.
46408         * sunrpc/xdr_rec.c: Likewise.
46409         * sunrpc/xdr_ref.c: Likewise.
46410         * sunrpc/xdr_sizeof.c: Likewise.
46411         * sunrpc/xdr_stdio.c: Likewise.
46412
46413 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46414
46415         [BZ #12650]
46416         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46417         * sysdeps/ia64/dl-tls.h: Likewise.
46418         * sysdeps/powerpc/dl-tls.h: Likewise.
46419         * sysdeps/s390/dl-tls.h: Likewise.
46420         * sysdeps/sh/dl-tls.h: Likewise.
46421         * sysdeps/sparc/dl-tls.h: Likewise.
46422         * sysdeps/x86_64/dl-tls.h: Likewise.
46423         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46424
46425 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46426
46427         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46428         rpath element also skip the following colon.
46429         (expand_dynamic_string_token): Add is_path parameter and pass
46430         down to DL_DST_REQUIRED and _dl_dst_substitute.
46431         (decompose_rpath): Call expand_dynamic_string_token with
46432         non-zero is_path.  Ignore empty rpaths.
46433         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46434         with zero is_path.
46435
46436 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46437
46438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46439         Make cancelable.
46440
46441 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46442
46443         [BZ #12655]
46444         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46445         Patch by Filipe David Manana <fdmanana@apache.org>.
46446
46447 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46448
46449         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46450         Maintain aligned stack.
46451         (CHECK_RSP): Remove unused macro.
46452
46453 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46454
46455         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46456         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46457
46458 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46459
46460         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46461
46462         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46463
46464 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46465
46466         [BZ #12518]
46467         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46468         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46469         * sysdeps/x86_64/memmove.c: New file.
46470         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46471         (memcpy): Renamed to ...
46472         (__new_memcpy): This.
46473         (memcpy): Provide GLIBC_2_14 memcpy.
46474         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46475         (memcpy): Provide GLIBC_2_2_5 memcpy.
46476
46477 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46478
46479         [BZ #12631]
46480         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46481
46482 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46483
46484         * misc/syncfs.c: New file.
46485         * misc/Makefile (routines): Add syncfs.
46486         * posix/unistd.h: Declare syncfs.
46487         * sysdeps/unix/syscalls.list: Add syncfs.
46488
46489 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46490
46491         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46492         open_by_handle_at.
46493         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46494         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46495         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46496         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46497         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46498         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46499         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46500
46501 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46502
46503         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46504         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46505         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46506         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46507         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46508         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46509         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46510
46511         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46512         sync_file_range.c with -fexceptions.
46513         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46514         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46515         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46516         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46517         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46518         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46519         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46520         sync_file_range as cancellation point
46521         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46522         now a wrapper around __call_sync_file_range with cancellation handling.
46523         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46524         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46525         function name to __call_sync_file_range.
46526         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46527         Add call_sync_file_range.
46528
46529 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46530
46531         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46532         bits/timex.h.
46533
46534 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46535
46536         * iconv/iconv.h: Fix typo in comment.
46537         * io/fcntl.h: Likewise.
46538         * libio/stdio.h: Likewise.
46539         * posix/spawn.h: Likewise.
46540         * posix/unistd.h: Likewise.
46541         * stdlib/stdlib.h: Likewise.
46542         * time/time.h: Likewise.
46543         * wcsmbs/wchar.h: Likewise.
46544
46545         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46546         open_by_handle): Add.
46547         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46548         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46549         Augment a few comments.
46550         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46551         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46552         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46553         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46554         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46555         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46556         open_by_handle.
46557
46558         * io/fcntl.h (AT_EMPTY_PATH): Define.
46559
46560 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46561
46562         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46563         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46564         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46565         to...
46566         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46567         * Versions.def: Add GLIBC_2.14.
46568         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46569         Export.
46570
46571 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46572
46573         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46574         round counter.
46575         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46576
46577 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46578
46579         [BZ #12597]
46580         * string/test-strncmp.c (do_page_test): New function.
46581         (check2): Likewise.
46582         (test_main): Call check2.
46583         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46584
46585 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46586
46587         [BZ #12587]
46588         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46589         Handle cache information in CPU leaf 4.
46590         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46591
46592 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46593
46594         [BZ #12583]
46595         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46596         character representation.
46597         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46598
46599 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46600
46601         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46602         END(__isnan) to END(__isnanf) to match function entry point/label
46603         EALIGN(__isnanf,...).
46604
46605 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46606
46607         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46608
46609 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46610
46611         [BZ #12510]
46612         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46613         copy from the symbol referenced in the relocation to initialize the
46614         used variable.
46615         Patch by Piotr Bury <pbury@goahead.com>.
46616         * elf/Makefile: Add rules to build and tst-unique3.
46617         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46618         * elf/tst-unique3.cc: New file.
46619         * elf/tst-unique3.h: New file.
46620         * elf/tst-unique3lib.cc: New file.
46621         * elf/tst-unique3lib2.cc: New file.
46622
46623         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46624
46625 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46626
46627         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46628         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46629         to _start.
46630
46631 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46632
46633         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46634         to-be-loaded object along a path to loader is ld.so.
46635
46636 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46637             Ulrich Drepper  <drepper@gmail.com>
46638
46639         * sysdeps/x86_64/memset.S: After aligning destination, code
46640         branches to different locations depending on the value of
46641         misalignment, when multiarch is enabled. Fix this.
46642
46643 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46644
46645         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46646         Set _x86_64_preferred_memory_instruction for AMD processsors.
46647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46648         Set bit_Prefer_SSE_for_memop for AMD processors.
46649
46650 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46651
46652         * libio/fmemopen.c (fmemopen): Optimize a bit.
46653
46654 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46655
46656         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46657
46658 2011-03-03  Roland McGrath  <roland@redhat.com>
46659
46660         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46661
46662 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46663
46664         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46665         __bzero_ultra1 instead of __memset_ultra1.
46666
46667 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46668             Ulrich Drepper  <drepper@gmail.com>
46669
46670         [BZ #12509]
46671         * include/link.h (struct link_map): Add l_orig_initfini.
46672         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46673         returning unsuccessfully.
46674         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46675         close of a file loaded at startup, restore the original l_initfini
46676         list.
46677         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46678         list, store the pointer.
46679         * elf/Makefile ($(objpfx)noload-mem): New rule.
46680         (noload-ENV): Define.
46681         (tests): Add $(objpfx)noload-mem.
46682         * elf/noload.c: Include <memcheck.h>.
46683         (main): Call mtrace.  Close all opened handles.
46684
46685 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46686
46687         [BZ #12454]
46688         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46689         dependencies are missing.
46690
46691 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46692
46693         Fix __if_freereq crash: Unlike the generic version which uses free,
46694         Hurd needs munmap.
46695         * sysdeps/mach/hurd/ifreq.h: New file.
46696
46697 2011-01-27  Petr Baudis  <pasky@suse.cz>
46698             Ulrich Drepper  <drepper@gmail.com>
46699
46700         [BZ 12445]#
46701         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46702         to extend_alloca().
46703         * stdio-common/bug23.c: New file.
46704         * stdio-common/Makefile (tests): Add bug23.
46705
46706 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46707             Ulrich Drepper  <drepper@gmail.com>
46708
46709         [BZ #12489]
46710         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46711         before performing relro protection.  At old place add assertion
46712         to make sure nothing changed.
46713
46714 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46715             Glauber de Oliveira Costa  <glommer@gmail.com>
46716
46717         * elf/elf.h: Add new ARM TLS relocs.
46718
46719 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46720
46721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46722         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46723         cast from r3.
46724         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46725         'tests' variable.
46726         * sysdeps/wordsize-64/tst-writev.c: New file.
46727
46728 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46729
46730         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46731         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46732         insns in _dl_start to prevent a TOC reference before relocs are
46733         resolved.
46734
46735 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46736
46737         [BZ #12469]
46738         * Makeconfig: Remove RANLIB definition.
46739         * Makerules: Don't use RANLIB.
46740         * aclocal.m4: Remove ranlib test.
46741         * configure.in: No need to check for ranlib.
46742         * elf/rtld-Rules: Don't use RANLIB.
46743
46744 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46745
46746         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46747         protection macro.
46748         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46749         inclusion protection macro.
46750
46751         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46752         SIGRTMIN and SIGRTMAX and print information in that case only when
46753         SIGRTMIN is defined.
46754
46755 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46756
46757         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46758         arginfo fn returning -1.
46759
46760         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46761         and thousands string is zero terminated.
46762
46763 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46764
46765         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46766         sysdeps/unix/sysv/linux/bits/socket.h.
46767
46768 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46769
46770         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46771         (__CPU_COUNT): Remove old macros.
46772         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46773         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46774         (__CPU_ALLOC, __CPU_FREE): Add macros.
46775         (__sched_cpualloc, __sched_cpufree): Add declarations.
46776
46777 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46778
46779         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46780         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46781         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46782         (readdhstai): Return value of addhstaiX call.
46783         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46784         (addgrbyX): Return value returned by cache_addgr.
46785         (readdgrbyname): Return value returned by addgrbyX.
46786         (readdgrbygid): Likewise.
46787         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46788         (addpwbyX): Return value returned by cache_addpw.
46789         (readdpwbyname): Return value returned by addhstbyX.
46790         (readdpwbyuid): Likewise.
46791         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46792         (addservbyX): Return value returned by cache_addserv.
46793         (readdservbyname): Return value returned by addservbyX:
46794         (readdservbyport): Likewise.
46795         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46796         (addhstbyX): Return value returned by cache_addhst.
46797         (readdhstbyname): Return value returned by addhstbyX.
46798         (readdhstbyaddr): Likewise.
46799         (readdhstbynamev6): Likewise.
46800         (readdhstbyaddrv6): Likewise.
46801         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46802         (readdinitgroups): Return value returned by addinitgroupsX.
46803         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46804         (prune_cache): Keep track of timeout value of re-added entries.
46805         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46806         * nscd/nscd.h: Adjust prototypes of readd* functions.
46807
46808 2011-02-04  Roland McGrath  <roland@redhat.com>
46809
46810         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46811         (nis_stats): Likewise.
46812         * nis/nis_modify.c (nis_modify): Likewise.
46813         * nis/nis_remove.c (nis_remove): Likewise.
46814         * nis/nis_add.c (nis_add): Likewise.
46815
46816         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46817
46818         * posix/fnmatch_loop.c: Add some consts.
46819
46820         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46821
46822 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46823
46824         [BZ #12460]
46825         * config.make.in (config-cflags-novzeroupper): Define.
46826         * configure.in: Substitute libc_cv_cc_novzeroupper.
46827         * elf/Makefile (AVX-CFLAGS): Define.
46828         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46829         (CFLAGS-tst-auditmod4a.c): Likewise.
46830         (CFLAGS-tst-auditmod4b.c): Likewise.
46831         (CFLAGS-tst-auditmod6b.c): Likewise.
46832         (CFLAGS-tst-auditmod6c.c): Likewise.
46833         (CFLAGS-tst-auditmod7b.c): Likewise.
46834         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46835
46836 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46837
46838         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46839         function to the callback.
46840         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46841
46842 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46843
46844         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46845         of errno.
46846
46847 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46848
46849         [BZ #11724]
46850         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46851         of constructors.
46852         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46853         of destructors.
46854         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46855
46856         [BZ #11724]
46857         * elf/Makefile: Add rules to build and run new test.
46858         * elf/tst-initorder.c: New file.
46859         * elf/tst-initorder.exp: New file.
46860         * elf/tst-initordera1.c: New file.
46861         * elf/tst-initordera2.c: New file.
46862         * elf/tst-initordera3.c: New file.
46863         * elf/tst-initordera4.c: New file.
46864         * elf/tst-initorderb1.c: New file.
46865         * elf/tst-initorderb2.c: New file.
46866         * elf/tst-order-a1.c: New file.
46867         * elf/tst-order-a2.c: New file.
46868         * elf/tst-order-a3.c: New file.
46869         * elf/tst-order-a4.c: New file.
46870         * elf/tst-order-b1.c: New file.
46871         * elf/tst-order-b2.c: New file.
46872         * elf/tst-order-main.c: New file.
46873         New test case by George Gensure <werkt0@gmail.com>.
46874
46875 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46876
46877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46878         decoding ACE if AI_CANONIDN.
46879
46880 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46881
46882         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46883
46884 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46885
46886         * version.h (RELEASE): Bump for 2.13 release.
46887         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46888
46889         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46890
46891         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46892         MADV_NOHUGEPAGE.
46893         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46894         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46895         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46896         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46897         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46898         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46899
46900         * posix/getconf.c: Update copyright year.
46901         * catgets/gencat.c: Likewise.
46902         * csu/version.c: Likewise.
46903         * debug/catchsegv.sh: Likewise.
46904         * debug/xtrace.sh: Likewise.
46905         * elf/ldconfig.c: Likewise.
46906         * elf/ldd.bash.in: Likewise.
46907         * elf/sprof.c (print_version): Likewise.
46908         * iconv/iconv_prog.c: Likewise.
46909         * iconv/iconvconfig.c: Likewise.
46910         * locale/programs/locale.c: Likewise.
46911         * locale/programs/localedef.c: Likewise.
46912         * malloc/memusage.sh: Likewise.
46913         * malloc/mtrace.pl: Likewise.
46914         * nscd/nscd.c (print_version): Likewise.
46915         * nss/getent.c: Likewise.
46916
46917         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46918         PF_CAIF, and PF_ALG.
46919         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46920
46921 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46922
46923         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46924         (modules-names): Use them.
46925         (ifunc-test-modules, ifunc-pie-tests): Define.
46926         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46927         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46928         (test-extras): Likewise.
46929         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46930         $(compile-command.c).
46931         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46932         (all-built-dso): Define.
46933         (check-textrel.out, check-execstack.out): Depend on it.
46934
46935         * configure.in: Don't override --enable-multi-arch.
46936
46937 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46938
46939         [BZ #6812]
46940         * nscd/hstcache.c (tryagain): Define.
46941         (cache_addhst): Return tryagain not notfound for temporary errors.
46942         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46943         failed.
46944
46945 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46946
46947         [BZ #10563]
46948         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46949         to make the syscall.
46950         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46951
46952         [BZ #12378]
46953         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46954         and fall back to matching as normal character if the string ends before
46955         the matching ']' is found.  This is what POSIX requires.
46956         * posix/testfnm.c: Adjust test result.
46957         * posix/globtest.sh: Adjust test result.  Add new test.
46958         * posix/tst-fnmatch.input: Likewise.
46959         * posix/tst-fnmatch2.c: Add new test.
46960
46961 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46962
46963         * elf/Makefile (check-execstack): Revert last change.  Depend on
46964         check-execstack.h.
46965         (check-execstack.h): New target.
46966         (generated): Add check-execstack.h.
46967         * elf/check-execstack.c: Include "check-execstack.h".
46968         (main): Revert last change.
46969         (handle_file): Return zero if GNU_STACK is absent and
46970         DEFAULT_STACK_PERMS doesn't include PF_X.
46971
46972 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46973
46974         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46975         in child fails because the descriptor is already closed.
46976         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46977         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46978         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46979
46980         [BZ #12397]
46981         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46982         syscall.
46983
46984         [BZ #10484]
46985         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46986         temporary buffer used to handle multi lookups locally.
46987         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46988
46989 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46990
46991         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46992         loader is ld.so.
46993
46994 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46995
46996         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46997         alignment for SSE2.
46998
46999 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47000
47001         [BZ #12394]
47002         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47003         characters.  When rounding increased number of integer digits recompute
47004         number of groups.
47005         * stdio-common/tst-grouping.c: New file.
47006         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47007
47008 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47009
47010         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47011         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47012
47013         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47014         void.
47015         * bits/select.h: Likewise.
47016
47017 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47018
47019         * po/ja.po: Update from translation team.
47020
47021 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47022
47023         [BZ #11155]
47024         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47025         implementation just like for lxstat, fxstatat, et al.
47026
47027 2010-12-27  Jim Meyering  <meyering@redhat.com>
47028
47029         [BZ #12348]
47030         * posix/regexec.c (build_trtable): Return failure indication upon
47031         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47032
47033 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47034
47035         [BZ #12201]
47036         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47037         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47038         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47039         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47040
47041         [BZ #12207]
47042         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47043
47044         [BZ #12204]
47045         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47046         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47047
47048 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47049
47050         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47051         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47052         script has SORT_BY_INIT_PRIORITY.
47053         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47054         NO_CTORS_DTORS_SECTIONS is defined.
47055         * elf/soinit.c: Likewise.
47056         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47057         NO_CTORS_DTORS_SECTIONS is defined.
47058         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47059         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47060         * sysdeps/sh/init-first.c: Likewise.
47061         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47062
47063 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47064
47065         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47066         always use the slow path.
47067
47068 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47069
47070         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47071         similar rule which adds the sysdep directories to the header search in
47072         order to pick up the correct platform stackinfo.h.
47073         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47074         perform test if it is, otherwise return successfully without testing.
47075         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47076         DEFAULT_STACK_PERMS define in stackinfo.h.
47077         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47078         defined in stackinfo.h.
47079         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47080         DEFAULT_STACK_PERMS defined in stackinfo.h.
47081         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47082         * sysdeps/ia64/stackinfo.h: Likewise.
47083         * sysdeps/s390/stackinfo.h: Likewise.
47084         * sysdeps/sh/stackinfo.h: Likewise.
47085         * sysdeps/sparc/stackinfo.h: Likewise.
47086         * sysdeps/x86_64/stackinfo.h: Likewise.
47087         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47088         PF_X for powerpc64.  Retain PF_X for powerpc32.
47089
47090 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47091
47092         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47093         accurately.
47094         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47095         GETDENTS_64BIT_ALIGNED.
47096
47097 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47098
47099         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47100
47101 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47102
47103         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47104         _GNU_SOURCE.
47105
47106         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47107         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47108         Remove __restrict.
47109         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47110         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47111
47112 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47113
47114         [BZ #11655]
47115         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47116         are initialized.
47117
47118 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47119
47120         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47121
47122 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47123
47124         * po/it.po: Update from translation team.
47125
47126 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47127
47128         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47129         unused codes.
47130
47131 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47132
47133         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47134
47135 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47136
47137         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47138         specially.
47139         (gaih_getanswer_slice): Likewise.
47140
47141 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47142
47143         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47144
47145 2010-05-31  Petr Baudis  <pasky@suse.cz>
47146
47147         [BZ #11149]
47148         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47149         silently even in the chroot mode.
47150
47151 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47152
47153         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47154         last patch a bit.  Pretty printing
47155
47156 2010-05-31  Petr Baudis <pasky@suse.cz>
47157
47158         [BZ #10085]
47159         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47160         initialization of skip_initgroups_dyn.
47161
47162 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47163
47164         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47165         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47166
47167 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47168
47169         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47170
47171 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47172
47173         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47174         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47175         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47176         ($(objpfx)tst-fnmatch-mem): New rule.
47177         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47178         * posix/tst-fnmatch.c (main): Call mtrace.
47179
47180 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47181
47182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47183         Support Intel processor model 6 and model 0x2c.
47184
47185 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47186
47187         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47188           signed comparison.
47189
47190 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47191
47192         [BZ #12205]
47193         * string/test-strncasecmp.c (check_result): New function.
47194         (do_one_test): Use it.
47195         (check1): New function.
47196         (test_main): Use it.
47197         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47198         Support strcasecmp and strncasecmp.
47199
47200 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47201
47202         [BZ #12194]
47203         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47204         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47205
47206 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47207
47208         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47209         IFUNC support.
47210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47211         memset-x86-64.
47212         * sysdeps/x86_64/multiarch/bzero.S: New file.
47213         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47214         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47215         * sysdeps/x86_64/multiarch/memset.S: New file.
47216         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47218         Set bit_Prefer_SSE_for_memop for Intel processors.
47219         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47220         Define.
47221         (index_Prefer_SSE_for_memop): Define.
47222         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47223
47224 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47225
47226         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47227         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47228
47229 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47230
47231         [BZ #12191]
47232         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47233         (__x86_64_raw_data_cache_size_half): Likewise.
47234         (__x86_64_raw_shared_cache_size): Likewise.
47235         (__x86_64_raw_shared_cache_size_half): Likewise.
47236
47237         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47238         (__x86_64_raw_data_cache_size_half): Likewise.
47239         (__x86_64_raw_shared_cache_size): Likewise.
47240         (__x86_64_raw_shared_cache_size_half): Likewise.
47241         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47242         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47243         and __x86_64_raw_shared_cache_size_half.  Round
47244         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47245         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47246         to multiple of 256 bytes.
47247
47248 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47249
47250         [BZ #12167]
47251         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47252         of inacessible symlinks.  Verify result of symlink before returning it.
47253         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47254         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47255
47256 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47257
47258         * math/math.h (isinf): Fix typo in comment.
47259
47260 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47261
47262         * po/da.po: Update from translation team.
47263
47264 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47265
47266         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47267         is added to the list.
47268
47269 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47270             Ulrich Drepper  <drepper@gmail.com>
47271
47272         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47273         the global list here.  Move code to...
47274         (_dl_add_to_namespace_list): ...here.  New function.
47275         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47276         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47277         * elf/dl-load.c (lose): Don't remove the element from the list.
47278         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47279         (_dl_map_object): Likewise.
47280
47281 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47282
47283         [BZ #12159]
47284         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47285         into all bytes of SSE register.
47286         Patch by Richard Li <richardpku@gmail.com>.
47287
47288 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47289
47290         [BZ #12140]
47291         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47292         perturbing.
47293
47294 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47295
47296         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47297         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47298         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47299         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47301         submachine.
47302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47303
47304 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47305
47306         * include/dlfcn.h (__RTLD_SECURE): Define.
47307         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47308         mode & __RTLD_SECURE instead.
47309         (open_path): Rename preloaded parameter to secure.
47310         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47311         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47312         * elf/dl-deps.c (openaux): Likewise.
47313         * elf/rtld.c (struct map_args): Remove is_preloaded.
47314         (map_doit): Don't use it.
47315         (dl_main): Likewise.
47316         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47317         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47318
47319 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47320
47321         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47322         (sysd-rules-targets): Remove duplicates.
47323         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47324         rtld-%.$o dependency.
47325
47326 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47327
47328         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47329         _dl_map_object do it.
47330
47331 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47332
47333         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47334         fast fma builtins, define the macros in the C99 standard.
47335         (FP_FAST_FMAF): Likewise.
47336         (FP_FAST_FMAL): Likewise.
47337         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47338
47339         * bits/mathdef.h: Update copyright year.
47340         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47341
47342 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47343
47344         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47345         builtins, define the macros in the C99 standard.
47346         (FP_FAST_FMAF): Likewise.
47347         (FP_FAST_FMAL): Likewise.
47348         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47349         multiply/add.
47350         (FP_FAST_FMAF): Likewise.
47351
47352 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47353
47354         [BZ #3268]
47355         * math/libm-test.inc (fma_test): Some new testcases.
47356         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47357         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47358         y and infinite z.  Do multiplication by C already in long double.
47359         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47361         y and infinite z.  Do bitwise or of inexact bit into u.d.
47362         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47363         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47364         * sysdeps/i386/fpu/s_fma.S: Removed.
47365         * sysdeps/i386/fpu/s_fmal.S: Removed.
47366
47367 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47368
47369         [BZ #3268]
47370         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47371         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47372         computation is not scheduled after fetestexcept.  Fix value
47373         of minimum denormal long double.
47374
47375 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47376
47377         [BZ #3268]
47378         * math/libm-test.inc (fma_test): Add some more tests.
47379         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47380         correctly.
47381
47382 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47383
47384         * scripts/data/localplt-s390-linux-gnu.data: New file.
47385         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47386
47387 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47388
47389         [BZ #3268]
47390         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47391         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47392         instead of dbl-64.
47393         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47394         inlines.
47395         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47396         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47397         if one of x and y is very large and the other is subnormal.
47398         * sysdeps/s390/fpu/s_fmaf.c: New file.
47399         * sysdeps/s390/fpu/s_fma.c: New file.
47400         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47401         * sysdeps/powerpc/fpu/s_fma.S: New file.
47402         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47403         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47404         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47405
47406 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47407
47408         [BZ #3268]
47409         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47410         fma tests.
47411         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47412         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47413         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47414         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47415         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47416         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47417         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47418
47419 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47420
47421         [BZ #12078]
47422         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47423         * posix/bug-regex31.input: Add test case.
47424
47425 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47426
47427         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47428         * posix/bug-regex31.input: New file.
47429
47430         [BZ #12078]
47431         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47432         (parse_sub_exp): Fix last change, use postorder.
47433
47434         * posix/bug-regex31.c: New file.
47435         * posix/Makefile: Add rules to build and run bug-regex31.
47436
47437         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47438
47439         [BZ #12078]
47440         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47441
47442         [BZ #12108]
47443         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47444         to have entries in sys_siglist.
47445
47446         [BZ #12093]
47447         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47448         be NULL.
47449
47450 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47451
47452         [BZ #3268]
47453         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47454         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47455         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47456         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47457         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47458         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47459         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47460         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47461         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47462         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47463         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47464         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47465         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47466         * math/ftestexcept.c (fetestexcept): Likewise.
47467         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47468         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47469         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47470         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47471         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47472         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47473         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47474
47475 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47476
47477         [BZ #12107]
47478         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47479         newline.
47480
47481 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47482
47483         * string/bug-strstr1.c: New file.
47484         * string/Makefile: Add rules to build and run bug-strstr1.
47485
47486 2010-10-05  Eric Blake  <eblake@redhat.com>
47487
47488         [BZ #12092]
47489         * string/str-two-way.h (two_way_long_needle): Always clear memory
47490         when skipping input due to the shift table.
47491
47492 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47493
47494         [BZ #12005]
47495         * malloc/mcheck.c: Handle large requests.
47496
47497         [BZ #12077]
47498         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47499         for strncmp and strncasecmp.
47500         * string/stratcliff.c: Add tests for strcmp and strncmp.
47501         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47502
47503 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47504
47505         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47506         __set_fpscr.
47507
47508 2010-09-30  Andreas Jaeger  <aj@suse.de>
47509
47510         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47511         (CGROUP_SUPER_MAGIC): Define.
47512         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47513         Handle btrfs and cgroup file systems.
47514         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47515         Likewise.
47516
47517 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47518
47519         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47520         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47521
47522 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47523
47524         [BZ #12067]
47525         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47526         trying to locate the ELF header.
47527
47528 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47529
47530         [BZ #11611]
47531         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47532         Mask out sign-bit copies when constructing f_fsid.
47533
47534 2010-09-24  Petr Baudis <pasky@suse.cz>
47535
47536         * debug/stack_chk_fail_local.c: Add missing licence exception.
47537         * debug/warning-nop.c: Likewise.
47538
47539 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47540
47541         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47542         implementing getdents64 using getdents syscall, set d_type if
47543         __ASSUME_GETDENTS32_D_TYPE.
47544
47545 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47546
47547         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47548         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47549
47550 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47551
47552         [BZ #12037]
47553         * posix/unistd.h: Undo change of feature selection for ftruncate from
47554         2010-01-11.
47555
47556 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47557
47558         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47559         detection.
47560
47561 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47562
47563         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47564         fanotify_mark.
47565         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47566
47567 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47568
47569         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47570         variables after CHECK_SP call.
47571         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47572
47573 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47574             Ulrich Drepper  <drepper@redhat.com>
47575
47576         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47577         re-relocationg ld.so.
47578         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47579         _dl_init_paths call.
47580         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47581         here anymore.
47582
47583 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47584
47585         * resolv/res_init.c (__res_vinit): Count the default server we added.
47586
47587 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47588             Ulrich Drepper  <drepper@redhat.com>
47589
47590         [BZ #11968]
47591         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47592         (____longjmp_chk): Use %ebx for saving value across system call.
47593         Add unwind info.
47594
47595 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47596
47597         * manual/Makefile: Don't mix pattern rules with normal rules.
47598
47599 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47600
47601         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47602         operation.
47603         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47604         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47605         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47606         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47607         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47608         Likewise.
47609
47610 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47611
47612         [BZ #11979]
47613         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47614         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47615
47616 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47617
47618         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47619         * sysdeps/x86_64/addmul_1.S: Likewise.
47620         * sysdeps/x86_64/lshift.S: Likewise.
47621         * sysdeps/x86_64/mul_1.S: Likewise.
47622         * sysdeps/x86_64/rshift.S: Likewise.
47623         * sysdeps/x86_64/sub_n.S: Likewise.
47624         * sysdeps/x86_64/submul_1.S: Likewise.
47625
47626 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47627
47628         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47629         Define __sched_param instead of SCHED_* and sched_param when
47630         <bits/sched.h> is included with __need_schedparam defined.
47631         * bits/sched.h [__need_schedparam]
47632         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47633         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47634         (__defined_schedparam): Define to 1.
47635         (__sched_param): New structure, identical to sched_param.
47636         (__need_schedparam): Undefine.
47637
47638 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47639
47640         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47641         (epoll_create1): Declare.
47642
47643         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47644
47645 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47646
47647         [BZ #7066]
47648         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47649         shifting retval into place.
47650
47651 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47652
47653         * nis/rpcsvc/nis.h: Update copyright notice.
47654         * nis/rpcsvc/nis.x: Likewise.
47655         * nis/rpcsvc/nis_callback.h: Likewise.
47656         * nis/rpcsvc/nis_callback.x: Likewise.
47657         * nis/rpcsvc/nis_object.x: Likewise.
47658         * nis/rpcsvc/nis_tags.h: Likewise.
47659         * nis/rpcsvc/yp.h: Likewise.
47660         * nis/rpcsvc/yp.x: Likewise.
47661         * nis/rpcsvc/ypupd.h: Likewise.
47662         * nis/yp_xdr.c: Likewise.
47663         * nis/ypupdate_xdr.c: Likewise.
47664
47665         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47666         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47667         (pmap_getport): Use __libc_rpc_getport.
47668         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47669         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47670         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47671
47672 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47673
47674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47675         fanotify_mark.
47676
47677 2010-08-27  Roland McGrath  <roland@redhat.com>
47678
47679         * sysdeps/i386/i686/multiarch/Makefile
47680         (CFLAGS-varshift.c): New variable.
47681
47682 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47683
47684         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47685         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47686
47687         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47688
47689         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47690
47691 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47692
47693         * sysdeps/x86_64/strlen.S: Unroll the loop.
47694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47695         strlen-sse2 strlen-sse2-bsf.
47696         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47697         __strlen_no_bsf if bit_Slow_BSF is set.
47698         (__strlen_sse42): Removed.
47699         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47700         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47701
47702 2010-08-25  Roland McGrath  <roland@redhat.com>
47703
47704         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47705         * sysdeps/x86_64/multiarch/varshift.c: New file.
47706         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47707         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47708         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47709         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47710
47711 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47712
47713         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47714         strlen-sse2 strlen-sse2-bsf.
47715         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47716         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47717         (__strlen_sse2): Removed.
47718         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47719         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47720         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47721         bit_Slow_BSF for Atom.
47722         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47723         (index_Slow_BSF): Define.
47724         (HAS_SLOW_BSF): Define.
47725
47726 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47727
47728         [BZ #10851]
47729         * resolv/res_init.c (__res_vinit): When no server address at all
47730         is given default to loopback.
47731
47732 2010-08-24  Roland McGrath  <roland@redhat.com>
47733
47734         * configure.in: Remove config-name.h generation.
47735         * configure: Regenerated.
47736         * config-name.in: File removed.
47737         * scripts/config-uname.sh: New file.
47738         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47739         ($(objdir)config-name.h): New target.
47740
47741         * sunrpc/rpc_parse.h: Avoid nested comment.
47742
47743 2010-08-24  Richard Henderson  <rth@redhat.com>
47744             Ulrich Drepper  <drepper@redhat.com>
47745             H.J. Lu  <hongjiu.lu@intel.com>
47746
47747         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47748         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47749         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47750         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47751         _mm_alignr_epi8 with _mm_loadu_si128.
47752         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47753         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47754         (__m128i_shift_right): Removed.
47755         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47756         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47757         * sysdeps/x86_64/multiarch/varshift.h: New file.
47758         * sysdeps/x86_64/multiarch/varshift.S: New file.
47759
47760 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47761
47762         * configure.in: Move assembler checks to before sysdep dir checking.
47763
47764 2010-08-20  Petr Baudis  <pasky@suse.cz>
47765
47766         * LICENSES: Sync the sunrpc license.
47767
47768 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47769
47770         * sunrpc/auth_des.c: Update copyright notice once again.
47771         * sunrpc/auth_none.c: Likewise.
47772         * sunrpc/auth_unix.c: Likewise.
47773         * sunrpc/authdes_prot.c: Likewise.
47774         * sunrpc/authuxprot.c: Likewise.
47775         * sunrpc/bindrsvprt.c: Likewise.
47776         * sunrpc/clnt_gen.c: Likewise.
47777         * sunrpc/clnt_perr.c: Likewise.
47778         * sunrpc/clnt_raw.c: Likewise.
47779         * sunrpc/clnt_simp.c: Likewise.
47780         * sunrpc/clnt_tcp.c: Likewise.
47781         * sunrpc/clnt_udp.c: Likewise.
47782         * sunrpc/clnt_unix.c: Likewise.
47783         * sunrpc/des_crypt.c: Likewise.
47784         * sunrpc/des_soft.c: Likewise.
47785         * sunrpc/get_myaddr.c: Likewise.
47786         * sunrpc/getrpcport.c: Likewise.
47787         * sunrpc/key_call.c: Likewise.
47788         * sunrpc/key_prot.c: Likewise.
47789         * sunrpc/openchild.c: Likewise.
47790         * sunrpc/pm_getmaps.c: Likewise.
47791         * sunrpc/pm_getport.c: Likewise.
47792         * sunrpc/pmap_clnt.c: Likewise.
47793         * sunrpc/pmap_prot.c: Likewise.
47794         * sunrpc/pmap_prot2.c: Likewise.
47795         * sunrpc/pmap_rmt.c: Likewise.
47796         * sunrpc/rpc/auth.h: Likewise.
47797         * sunrpc/rpc/auth_unix.h: Likewise.
47798         * sunrpc/rpc/clnt.h: Likewise.
47799         * sunrpc/rpc/des_crypt.h: Likewise.
47800         * sunrpc/rpc/key_prot.h: Likewise.
47801         * sunrpc/rpc/netdb.h: Likewise.
47802         * sunrpc/rpc/pmap_clnt.h: Likewise.
47803         * sunrpc/rpc/pmap_prot.h: Likewise.
47804         * sunrpc/rpc/pmap_rmt.h: Likewise.
47805         * sunrpc/rpc/rpc.h: Likewise.
47806         * sunrpc/rpc/rpc_des.h: Likewise.
47807         * sunrpc/rpc/rpc_msg.h: Likewise.
47808         * sunrpc/rpc/svc.h: Likewise.
47809         * sunrpc/rpc/svc_auth.h: Likewise.
47810         * sunrpc/rpc/types.h: Likewise.
47811         * sunrpc/rpc/xdr.h: Likewise.
47812         * sunrpc/rpc_clntout.c: Likewise.
47813         * sunrpc/rpc_cmsg.c: Likewise.
47814         * sunrpc/rpc_common.c: Likewise.
47815         * sunrpc/rpc_cout.c: Likewise.
47816         * sunrpc/rpc_dtable.c: Likewise.
47817         * sunrpc/rpc_hout.c: Likewise.
47818         * sunrpc/rpc_main.c: Likewise.
47819         * sunrpc/rpc_parse.c: Likewise.
47820         * sunrpc/rpc_parse.h: Likewise.
47821         * sunrpc/rpc_prot.c: Likewise.
47822         * sunrpc/rpc_sample.c: Likewise.
47823         * sunrpc/rpc_scan.c: Likewise.
47824         * sunrpc/rpc_scan.h: Likewise.
47825         * sunrpc/rpc_svcout.c: Likewise.
47826         * sunrpc/rpc_tblout.c: Likewise.
47827         * sunrpc/rpc_util.c: Likewise.
47828         * sunrpc/rpc_util.h: Likewise.
47829         * sunrpc/rpcinfo.c: Likewise.
47830         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47831         * sunrpc/rpcsvc/key_prot.x: Likewise.
47832         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47833         * sunrpc/rpcsvc/mount.x: Likewise.
47834         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47835         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47836         * sunrpc/rpcsvc/rex.x: Likewise.
47837         * sunrpc/rpcsvc/rstat.x: Likewise.
47838         * sunrpc/rpcsvc/rusers.x: Likewise.
47839         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47840         * sunrpc/rpcsvc/spray.x: Likewise.
47841         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47842         * sunrpc/rtime.c: Likewise.
47843         * sunrpc/svc.c: Likewise.
47844         * sunrpc/svc_auth.c: Likewise.
47845         * sunrpc/svc_authux.c: Likewise.
47846         * sunrpc/svc_raw.c: Likewise.
47847         * sunrpc/svc_run.c: Likewise.
47848         * sunrpc/svc_simple.c: Likewise.
47849         * sunrpc/svc_tcp.c: Likewise.
47850         * sunrpc/svc_udp.c: Likewise.
47851         * sunrpc/svc_unix.c: Likewise.
47852         * sunrpc/svcauth_des.c: Likewise.
47853         * sunrpc/xcrypt.c: Likewise.
47854         * sunrpc/xdr.c: Likewise.
47855         * sunrpc/xdr_array.c: Likewise.
47856         * sunrpc/xdr_float.c: Likewise.
47857         * sunrpc/xdr_mem.c: Likewise.
47858         * sunrpc/xdr_rec.c: Likewise.
47859         * sunrpc/xdr_ref.c: Likewise.
47860         * sunrpc/xdr_sizeof.c: Likewise.
47861         * sunrpc/xdr_stdio.c: Likewise.
47862
47863         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47864         handling.
47865
47866 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47867
47868         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47869
47870 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47871
47872         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47873         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47874         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47875         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47876         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47877         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47878         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47879         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47880         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47881         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47882         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47883         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47884         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47885         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47886
47887 2010-07-26  Anton Blanchard  <anton@samba.org>
47888
47889         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47890         * malloc/arena.c (heap_trim): Likewise.
47891
47892 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47893
47894         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47895         here.  Not...
47896         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47897         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47898
47899 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47900
47901         * sysdeps/i386/elf/Makefile: New file.
47902
47903 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47904
47905         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47906         from fanotify_init.
47907         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47908         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47909
47910 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47911
47912         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47913         of strncasecmp_l.
47914         * sysdeps/multiarch/strcmp.S: Likewise.
47915
47916 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47917
47918         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47919         strncase_l-nonascii.
47920         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47921         Add strncase_l-ssse3.
47922         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47923         * sysdeps/x86_64/strcmp.S: Likewise.
47924         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47925         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47926         * sysdeps/x86_64/strncase.S: New file.
47927         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47928         * sysdeps/x86_64/strncase_l.S: New file.
47929         * string/Makefile (strop-tests): Add strncasecmp.
47930         * string/test-strncasecmp.c: New file.
47931
47932         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47933         warning.
47934
47935         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47936         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47937
47938 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47939
47940         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47941
47942 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47943
47944         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47945         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47946         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47947
47948 2010-05-01  Alan Modra  <amodra@gmail.com>
47949
47950         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47951         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47952         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47953         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47954         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47955         tidying.  Don't tail-call __sigjmp_save for static lib.
47956         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47957         save location.
47958         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47959         (CALL_MCOUNT): Add eh info, and nop after bl.
47960         (TAIL_CALL_SYSCALL_ERROR): New macro.
47961         (PSEUDO_RET): Use it.
47962         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47963         Correct save location of integer regs and cr.
47964         (_dl_profile_resolve): Correct cr save location.  Delete nops
47965         after bl when SHARED.  Reduce cfi size a little by better
47966         placement of cfi directives.
47967         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47968         make a stack frame.  Instead use parm save area as a temp.
47969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47970         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47972         Don't make a stack frame for parent, use parm save area.
47973         Increase child stack frame to 112 bytes.  Don't save unused reg,
47974         and adjust reg usage.  Set up cfi on error recovery and
47975         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47977         (__makecontext): Add dummy nop after jump to exit.
47978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47979         Use correct parm save area and cr save, reduce stack frame.
47980         Correct cfi for possible PSEUDO_RET frame setup.
47981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47982         Branch to local label emitted by PSEUDO_RET rather than
47983         __syscall_error.
47984
47985 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47986
47987         [BZ #11904]
47988         * locale/programs/locale.c (print_assignment): New function.
47989         (show_locale_vars): Use it.
47990
47991 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47992
47993         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47994         field.
47995         (struct statfs64): Likewise.
47996         (_STATFS_F_FLAGS): Define.
47997         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47998         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47999         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48000         (ST_VALID): Define locally.
48001         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48002         __statvfs_getflags, use the provided value.
48003         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48004         __ASSUME_STATFS_F_FLAGS.
48005
48006         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48007
48008         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48009         Add sys/fanotify.h.
48010         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48011         fanotify_mask for GLIBC_2.13.
48012         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48013         fanotify_init and fanotify_mark.
48014         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48015         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48016
48017         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48018         Add prlimit.
48019         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48020         prlimit64 for GLIBC_2.13.
48021         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48022         prlimit64.
48023         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48024         syscall.
48025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48026         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48027         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48028         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48029         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48030         add prlimit alias.
48031         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48032
48033         [BZ #11903]
48034         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48035         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48036
48037         * nss/Makefile: Add rules to build and run tst-nss-test1.
48038         * shlib-versions: Add entry for libnss_test1.
48039         * nss/nss_test1.c: New file.
48040         * nss/tst-nss-test1.c: New file.
48041
48042         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48043         (__nss_configure_lookup): Set appropriate entry in
48044         __nss_configure_lookup to true.
48045         * nss/nsswitch.h: Define enum with indeces of databases in
48046         databases and __nss_database_custom arrays.  Declare
48047         __nss_database_custom.
48048         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48049         to avoid using nscd when custom rules are installed.
48050         * nss/getXXbyYY_r.c: Likewise.
48051         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48052
48053         * nss/nss_files/files-parse.c: Whitespace fixes.
48054
48055 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48056
48057         [BZ #11883]
48058         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48059         * posix/fnmatch_loop.c: Likewise.
48060
48061 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48062
48063         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48064         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48065         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48066         * Versions.def [GLIBC_2.13]: Add.
48067
48068 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48069
48070         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48071         Also fail if tpwd after pwuid call is NULL.
48072
48073 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48074
48075         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48076         when converting to ms.
48077
48078 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48079
48080         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48081         EOPNOTSUPP errors with ENOTTY.
48082         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48083         EOPNOTSUPP errors with ENOTTY.
48084
48085 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48086
48087         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48088         Add strcasecmp_l-ssse3.
48089         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48090         strcasecmp.
48091         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48092         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48093         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48094
48095 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48096
48097         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48098
48099         * string/Makefile (strop-tests): Add strcasecmp.
48100         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48101         strcasecmp_l-nonascii.
48102         (gen-as-const-headers): Add locale-defines.sym.
48103         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48104         * sysdeps/x86_64/strcasecmp.S: New file.
48105         * sysdeps/x86_64/strcasecmp_l.S: New file.
48106         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48107         * sysdeps/x86_64/locale-defines.sym: New file.
48108         * string/test-strcasecmp.c: New file.
48109
48110         * string/test-strcasestr.c: Test both ends of the range of characters.
48111         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48112
48113 2010-07-29  Roland McGrath  <roland@redhat.com>
48114
48115         [BZ #11856]
48116         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48117
48118 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48119
48120         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48121         for ld.so.
48122
48123 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48124
48125         * manual/memory.texi (Malloc Tunable Parameters): Document
48126         M_PERTURB.
48127
48128 2010-07-26  Roland McGrath  <roland@redhat.com>
48129
48130         [BZ #11840]
48131         * configure.in (-fgnu89-inline check): Set and substitute
48132         gnu89_inline, not libc_cv_gnu89_inline.
48133         * configure: Regenerated.
48134         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48135
48136 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48137
48138         * string/test-strnlen.c: New file.
48139         * string/Makefile (strop-tests): Add strnlen.
48140         * string/tester.c (test_strnlen): Add a few more test cases.
48141         * string/tst-strlen.c: Better error reporting.
48142
48143         * sysdeps/x86_64/strnlen.S: New file.
48144
48145 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48146
48147         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48148         lower-latency instructions.
48149
48150 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48151
48152         * string/test-strcasestr.c: New file.
48153         * string/test-strstr.c: New file.
48154         * string/Makefile (strop-tests): Add strstr and strcasestr.
48155         * string/str-two-way.h: Don't undefine MAX.
48156         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48157
48158 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48159
48160         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48161         strcasestr-nonascii.
48162         (CFLAGS-strcasestr-nonascii.c): Define.
48163         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48164         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48165         Remove unused attribute.
48166
48167 2010-07-20  Roland McGrath  <roland@redhat.com>
48168
48169         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48170         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48171         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48172         like LD_HWCAP_MASK can disable hwcaps.
48173
48174 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48175
48176         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48177
48178 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48179
48180         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48181         call in strcasestr.
48182         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48183         __strcasestr_sse42_nonascii.
48184         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48185         strcasestr-nonascii.c.
48186         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48187
48188 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48189
48190         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48191         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48192         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48193         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48194
48195 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48196
48197         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48198         fcntl.
48199
48200 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48201
48202         [BZ #11577]
48203         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48204         dl_signal_cerror.
48205
48206 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48207
48208         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48209         _PC_PIPE_BUF using F_GETPIPE_SZ.
48210
48211 2010-07-05  Roland McGrath  <roland@redhat.com>
48212
48213         * manual/arith.texi (Rounding Functions): Fix rint description
48214         implicit in round description.
48215
48216 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48217
48218         * elf/Makefile: Fix linking for a few tests to make recent linker
48219         happy.
48220
48221 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48222
48223         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48224         $(common-objpfx)libc_nonshared.a.
48225
48226 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48227
48228         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48229         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48230         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48231         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48232         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48233         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48234         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48235         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48250         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48251         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48252         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48253         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48254         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48255         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48256         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48257         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48258         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48259         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48260         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48261         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48276
48277 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48278
48279         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48280         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48281         * string/memmove.c (memmove): Renamed to ...
48282         (MEMMOVE): ...this.  Default to memmove.
48283         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48284         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48285         (END_CHK): Define.
48286         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48287         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48288         mempcpy-ssse3-back memmove-ssse3-back.
48289         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48290         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48291         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48292         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48293         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48294         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48295         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48296         * sysdeps/x86_64/multiarch/memmove.c: New file.
48297         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48298         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48299         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48300         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48301         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48302         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48303         Define.
48304         (index_Fast_Copy_Backward): Define.
48305         (HAS_ARCH_FEATURE): Define.
48306         (HAS_FAST_REP_STRING): Define.
48307         (HAS_FAST_COPY_BACKWARD): Define.
48308
48309 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48310
48311         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48312         Restore proper fallback handling.
48313
48314 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48315
48316         [BZ #11701]
48317         * posix/group_member.c (__group_member): Correct checking loop.
48318
48319         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48320         OOM in getpwuid_r correctly.  Return error number when the caller
48321         should return, otherwise -1.
48322         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48323         call returning > 0 value.
48324         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48325
48326 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48327
48328         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48329         libc_nonshared.a from targets in modules-names.
48330
48331 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48332
48333         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48334         requires it.
48335
48336 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48337
48338         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48339         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48340         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48341         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48342
48343 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48344
48345         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48346
48347 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48348
48349         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48350         and F_GETPIPE_SZ.
48351         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48352         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48353         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48354         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48355         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48356         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48357
48358 2010-06-14  Roland McGrath  <roland@redhat.com>
48359
48360         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48361
48362 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48363
48364         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48365         __REDIRECT followed by __THROW.
48366         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48367         * posix/getopt.h (getopt): Likewise.
48368
48369 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48370
48371         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48372         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48373         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48374         in AT_FLAGS.
48375         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48376         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48377
48378 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48379
48380         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48381
48382 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48383
48384         [BZ #11640]
48385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48386         Properly check family and model.
48387
48388 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48389
48390         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48391
48392 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48393
48394         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48395
48396 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48397
48398         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48399         symbol reference.
48400
48401 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48402
48403         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48404         symbol reference.
48405
48406 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48407
48408         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48409         and internal_recvmmsg.
48410         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48411         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48412         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48413         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48414
48415         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48416         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48417         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48418
48419 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48420
48421         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48422
48423 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48424
48425         POWER7 optimizations.
48426         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48427         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48428
48429 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48430
48431         * version.h: Update for 2.13 development version.
48432
48433 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48434
48435         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48436         exceptions.  Return 0.
48437
48438 2010-05-07  Roland McGrath  <roland@redhat.com>
48439
48440         * elf/ldconfig.c (main): Add a const.
48441
48442 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48443
48444         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48445         (args_options): Add no-idn option.
48446         (ahosts_keys_int): Add idn_flags to ai_flags.
48447         (parse_option): Handle 'i' option to clear idn_flags.
48448
48449         * malloc/malloc.c (_int_free): Possible race in the most recently
48450         added check.  Only act on the data if no current modification
48451         happened.
48452
48453 See ChangeLog.17 for earlier changes.