hppa: Add ABI baselines.
[glibc.git] / ChangeLog
blobff1797d17dbaa70b11bbe81c4ce38da2e36aec49
1 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
3         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4         entry for aio_cancel and aio_cancel64.
5         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
19 2014-07-01  Roland McGrath  <roland@hack.frob.com>
21         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22         * nptl/pthread_mutex_lock.c: Likewise.
23         * nptl/pthread_mutex_timedlock.c: Likewise.
24         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
26 2014-07-01  Richard henderson  <rth@redhat.com>
28         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29         (__isnan, __isnanl): Remove.
30         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40         * resolv/nss_dns/dns-host.c (getanswer_r)
41         [MULTI_PTRS_ARE_ALIASES]: Remove code.
43 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
45         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47         undefine.
48         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
49         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
51 2014-07-01  Roland McGrath <roland@hack.frob.com>
53         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
54         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
56         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
57         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
59         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
60         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
61         ... here.
62         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
63         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
65         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
66         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
67         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
68         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
70         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
71         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
72         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
73         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
74         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
75         Moved ...
76         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
77         ... here.
78         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
79         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
80         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
81         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
82         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
83         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
84         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
85         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
86         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
87         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
88         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
89         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
90         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
91         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
92         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
93         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
94         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
95         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
96         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
97         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
98         ... here.
99         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
100         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
101         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
102         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
103         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
104         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
105         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
106         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
108 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
110         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
111         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
112         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
113         Add sysdep.
115 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
119 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
121         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
122         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
124         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
126         * sysdeps/arm/libm-test-ulps: Regenerated.
128 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
129             Roland McGrath <roland@hack.frob.com>
131         * test-skeleton.c (signal_handler): Kill the whole process group
132         before killing the child individually.
133         (main): Report any failure on `setpgid'.
135 2014-06-30  Roland McGrath  <roland@hack.frob.com>
137         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
138         from _TLS_H to _ARM_NPTL_TLS_H.
139         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
140         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
142 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
144         [BZ #16539]
145         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
146         (__expm1l): Return argument unchanged when small but not
147         subnormal.
149         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
150         include macro name.
151         (_FP_UNPACK_RAW_1_P): Likewise.
152         (_FP_PACK_RAW_1): Likewise.
153         (_FP_PACK_RAW_1_P): Likewise.
154         (_FP_MUL_MEAT_1_wide): Likewise.
155         (_FP_MUL_MEAT_DW_1_hard): Likewise.
156         (_FP_MUL_MEAT_1_hard): Likewise.
157         (_FP_DIV_MEAT_1_imm): Likewise.
158         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
159         (_FP_DIV_MEAT_1_udiv): Likewise.
160         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
161         (_FP_UNPACK_RAW_2): Likewise.
162         (_FP_UNPACK_RAW_2_P): Likewise.
163         (_FP_PACK_RAW_2): Likewise.
164         (_FP_PACK_RAW_2_P): Likewise.
165         (_FP_MUL_MEAT_DW_2_wide): Likewise.
166         (_FP_MUL_MEAT_2_wide): Likewise.
167         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
168         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
169         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
170         (_FP_MUL_MEAT_2_gmp): Likewise.
171         (_FP_DIV_MEAT_2_udiv): Likewise.
172         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
173         (_FP_FRAC_SRL_4): Likewise.
174         (_FP_FRAC_SRST_4): Likewise.
175         (_FP_FRAC_SRS_4): Likewise.
176         (_FP_UNPACK_RAW_4): Likewise.
177         (_FP_UNPACK_RAW_4_P): Likewise.
178         (_FP_PACK_RAW_4): Likewise.
179         (_FP_PACK_RAW_4_P): Likewise.
180         (_FP_MUL_MEAT_DW_4_wide): Likewise.
181         (_FP_MUL_MEAT_4_wide): Likewise.
182         (_FP_MUL_MEAT_4_gmp): Likewise.
183         (umul_ppppmnnn): Likewise.
184         (_FP_DIV_MEAT_4_udiv): Likewise.
185         (__FP_FRAC_ADD_4): Likewise.
186         (__FP_FRAC_SUB_3): Likewise.
187         (__FP_FRAC_SUB_4): Likewise.
188         (__FP_FRAC_DEC_3): Likewise.
189         (__FP_FRAC_DEC_4): Likewise.
190         (__FP_FRAC_ADDI_4): Likewise.
191         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
192         (_FP_FRAC_SRL_8): Likewise.
193         (_FP_FRAC_SRS_8): Likewise.
195         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
196         include macro name.
197         (FP_UNPACK_RAW_EP): Likewise.
198         (FP_PACK_RAW_E): Likewise.
199         (FP_PACK_RAW_EP): Likewise.
200         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
201         (_FP_ISSIGNAN): Likewise.
202         (_FP_ADD_INTERNAL): Likewise.
203         (_FP_FMA): Likewise.
204         (_FP_CMP): Likewise.
205         (_FP_SQRT): Likewise.
206         (_FP_TO_INT): Likewise.
207         (_FP_FROM_INT): Likewise.
208         (FP_EXTEND): Likewise.
209         (_FP_DIV_MEAT_N_loop): Likewise.
211 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
213         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
214         throughout.
216 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
218         [BZ #17097]
219         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
220         result with correct sign in case of exponents that produce
221         overflow except for X very close to 1.
223 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
225         mktime: merge #if/#ifdef usage from glibc
226         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
227         as that works with both Glibc's and Gnulib's style.
228         See thread starting at Siddhesh Poyarekar's bug report at:
229         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
231 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
233         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
234         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
235         * sysdeps/tile/tilegx/memmove.c: Remove file.
237 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
239         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
240         abi-name definition.
241         * scripts/soversions.awk: Do not handle or generate ABI lines.
242         * shlib-versions: Remove ABI entries.
243         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
244         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
246 2014-06-27  Roland McGrath  <roland@hack.frob.com>
248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
249         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
250         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
251         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
253         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
255         Moved ...
256         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
257         ... here.
258         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
259         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
261         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
263         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
265         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
267         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
268         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
269         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
270         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
271         Moved ...
272         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
273         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
274         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
275         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
276         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
278         Moved ...
279         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
280         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
281         Moved ...
282         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
284         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
285         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
286         Moved ...
287         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
289         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
291         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
292         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
293         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
295         Moved ...
296         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
298         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
299         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
300         Moved ...
301         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
302         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
303         Moved ...
304         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
306         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
308         Moved ...
309         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
310         ... here.
311         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
312         Identical file removed.
313         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
314         Moved ...
315         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
317         Identical file removed.
318         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
319         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
320         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
321         Moved ...
322         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
323         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
324         Identical file removed.
325         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
326         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
327         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
328         Identical file removed.
329         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
330         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
331         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
332         Identical file removed.
333         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
334         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
335         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
336         Identical file removed.
337         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
338         Moved ...
339         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
340         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
341         Identical file removed.
342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
343         Moved ...
344         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
345         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
346         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
348         Identical file removed.
349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
350         Moved ...
351         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
352         ... here.
353         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
354         Identical file removed.
355         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
356         Moved ...
357         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
358         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
359         Identical file removed.
360         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
361         Moved ...
362         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
363         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
364         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
366         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
368         Moved ...
369         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
370         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
371         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
373         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
374         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
375         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
376         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
377         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
379 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
381         [BZ #17092]
382         * nscd/nscd.c (monitor_child): Return exit status of child
383         instead of return value from wait syscall.
385 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
387         * configure.ac (libc_commonpagesize): Remove variable.
388         (libc_relro_required): Likewise.
389         (libc_cv_z_relro): Remove configure test.
390         * configure: Regenerated.
391         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
392         variable.
393         (libc_relro_required): Likewise.
394         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
395         (libc_relro_required): Likewise.
396         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
397         (libc_relro_required): Likewise.
398         * sysdeps/arm/preconfigure: Regenerated.
399         * sysdeps/ia64/preconfigure: Remove file.
400         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
401         variable.
402         (libc_relro_required): Likewise.
404         [BZ #16561]
405         [BZ #16562]
406         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
407         (__ieee754_yn): Set FE_TONEAREST mode internally and then
408         recompute overflowing results in original rounding mode.
409         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
410         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
411         recompute overflowing results in original rounding mode.
412         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
413         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
414         recompute overflowing results in original rounding mode.
415         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
416         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
417         recompute overflowing results in original rounding mode.
418         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
419         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
420         recompute overflowing results in original rounding mode.
421         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
422         (libc_feholdsetround_ctx): New macro.
423         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
424         * sysdeps/i386/fpu/libm-test-ulps: Update.
425         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
427 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
429         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
430         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
431         corresponding .cpsetup call.
433 2014-06-26  Roland McGrath  <roland@hack.frob.com>
435         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
436         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
437         * sysdeps/arm/Makefile [$(subdir) = csu]
438         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
439         (static-only-routines): Add aeabi_read_tp here.
440         (shared-only-routines): Add libc-aeabi_read_tp here.
441         (CFLAGS-libc-start.c): Add -fexceptions here.
442         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
443         (sysdep_routines, static-only-routines, shared-only-routines):
444         Don't add to these here.
445         (CFLAGS-libc-start.c): Likewise.
447         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
448         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
449         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
450         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
451         * sysdeps/arm/Makefile [$(subdir) = rt]
452         (librt-sysdep_routines, librt-shared-only-routines):
453         Append rt-aeabi_unwind_cpp_pr1 here.
454         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
455         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
456         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
457         (libpthread-sysdep_routines, libpthread-shared-only-routines):
458         Append nptl-aeabi_unwind_cpp_pr1 here.
459         (tests): Filter out tst-cleanupx4 here.
460         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
461         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
462         Don't do those here.
464 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
466         * scripts/list-sources.sh: Do not handle ports specially.
468 2014-06-26  Roland McGrath  <roland@hack.frob.com>
470         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
471         * sysdeps/arm/feupdateenv.c: Likewise.
473         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
475 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
477         * manual/texinfo.tex: Update to version 2014-05-05.10 with
478         trailing whitespace removed.
479         * scripts/config.guess: Update to version 2014-03-23.
480         * scripts/config.sub: Update to version 2014-05-01
481         * scripts/install-sh: Update to version 2013-12-25.23.
482         * scripts/move-if-change: Update from gnulib.
484 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
486         * debug/memmove_chk.c: Remove pagecopy.h include.
488 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
490         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
491         identical to gnulib mktime.
493 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
495         * configure.ac: Do not test for machine being rs6000.  Do not test
496         for powerpc*-*soft.
497         * configure: Regenerated.
499         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
500         test.
501         * configure: Regenerated.
502         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
503         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
504         Remove configure test.
505         * sysdeps/arm/configure: Regenerated.
506         * sysdeps/nptl/configure.ac: Do not check
507         libc_cv_asm_cfi_directives.
508         * sysdeps/nptl/configure: Regenerated.
509         * sysdeps/x86_64/nptl/configure.ac: Remove file.
510         * sysdeps/x86_64/nptl/configure: Remove generated file.
511         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
512         unconditional.
513         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
515 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
517         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
518         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
519         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
520         it is defined.
522         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
523         instead of whether it is defined.
524         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
525         * sysdeps/hppa/dl-machine.h: Likewise.
526         * sysdeps/ia64/dl-machine.h: Likewise.
527         * sysdeps/m68k/dl-machine.h: Likewise.
528         * sysdeps/microblaze/dl-machine.h: Likewise.
529         * sysdeps/mips/dl-machine.: Likewise.
530         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
531         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
532         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
533         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
534         * sysdeps/sh/dl-machine.h: Likewise.
535         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
536         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
537         * sysdeps/tile/dl-machine.h: Likewise.
538         * sysdeps/x86_64/dl-machine.h: Likewise.
540         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
541         code.
542         (verify_persistent_db): Likewise.
544 2014-06-26  Roland McGrath  <roland@hack.frob.com>
546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
547         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
549         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
551         Moved ...
552         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
553         ... here.
554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
555         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
557         Identical file removed.
558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
559         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
561         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
563         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
565         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
567         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
569         Moved ...
570         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
572         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
574         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
576         Moved ...
577         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
579         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
581         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
583         Identical file removed.
584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
585         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
587         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
589         Moved ...
590         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
591         ... here.
592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
593         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
595         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
597         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
599         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
601         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
603         Moved ...
604         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
606         Moved ...
607         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
609         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
611         Moved ...
612         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
614         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
616         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
617         folded into ...
618         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
619         * sysdeps/unix/sysv/linux/s390/Versions
620         (libpthread: GLIBC_2.19): New version set.
621         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
622         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
623         (librt: GLIBC_2.3.3): New version set.
624         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
625         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
626         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
627         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
628         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
629         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
630         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
631         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
632         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
633         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
634         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
635         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
636         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
637         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
638         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
639         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
640         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
641         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
642         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
643         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
644         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
645         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
646         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
647         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
648         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
649         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
650         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
651         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
652         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
653         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
654         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
655         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
658         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
659         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
660         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
661         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
662         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
663         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
664         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
665         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
666         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
667         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
668         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
670         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
671         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
672         (__libc_vfork): Define the function under this name.
673         [!NOT_IN_libc] (__vfork): Make this an alias.
674         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
675         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
676         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
677         (__libc_vfork): Define the function under this name.
678         [!NOT_IN_libc] (__vfork): Make this an alias.
679         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
680         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
681         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
682         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
683         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
684         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
686         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
687         code that was previously under [RESET_PID].
688         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
689         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
690         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
692         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
693         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
694         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
695         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
696         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
697         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
698         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
699         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
700         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
701         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
702         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
703         Moved ...
704         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
705         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
706         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
707         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
708         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
709         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
710         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
711         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
712         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
713         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
714         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
715         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
716         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
717         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
718         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
719         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
720         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
721         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
722         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
723         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
724         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
725         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
726         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
727         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
728         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
729         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
730         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
731         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
732         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
734 2014-06-25  Roland McGrath  <roland@hack.frob.com>
736         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
737         that was previously under [RESET_PID].
738         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
740 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
742         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
743         not undefine and redefine.
744         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
745         [O_CLOEXEC]: Make code unconditional.
746         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
747         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
748         <kernel-features.h>.
749         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
750         conditional variable definition.
751         (shm_open) [O_CLOEXEC]: Make code unconditional.
752         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
753         code.
755         * configure.ac (USE_REGPARMS): Don't define here.
756         * configure: Regenerated.
757         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
758         * sysdeps/i386/configure: Regenerated.
760         * nptl/createthread.c: Don't include kernel-features.h.
761         * nptl/pthread_cancel.c: Likewise.
762         * nptl/pthread_condattr_setclock.c: Likewise.
763         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
764         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
765         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
766         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
767         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
768         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
769         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
770         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
771         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
772         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
773         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
774         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
775         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
776         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
777         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
778         * nscd/gai.c: Likewise.
779         * nss/nss_db/db-open.c: Likewise.
780         * sysdeps/generic/ldsodefs.h: Likewise.
781         * sysdeps/sh/nptl/tls.h: Likewise.
782         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
783         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
784         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
785         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
786         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
787         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
788         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
789         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
790         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
791         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
792         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
793         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
794         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
795         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
796         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
797         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
798         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
799         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
800         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
801         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
802         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
803         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
804         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
805         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
806         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
807         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
808         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
810         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
811         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
812         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
813         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
814         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
815         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
816         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
817         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
818         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
819         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
820         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
821         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
822         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
823         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
824         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
825         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
826         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
827         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
828         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
829         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
830         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
831         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
832         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
833         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
834         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
835         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
836         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
837         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
838         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
839         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
862         * sysdeps/unix/sysv/linux/pread.c: Likewise.
863         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
864         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
865         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
866         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
867         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
868         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
869         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
870         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
871         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
872         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
873         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
874         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
875         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
876         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
877         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
878         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
879         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
880         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
881         * sysdeps/unix/sysv/linux/system.c: Likewise.
882         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
883         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
884         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
885         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
886         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
887         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
888         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
890         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
891         * configure: Regenerated.
892         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
894         * configure.ac (base_machine): Do not set specially for particular
895         machines here.
896         * configure: Regenerated.
897         * sysdeps/powerpc/preconfigure: Move machine and base_machine
898         settings from configure.ac.
899         * sysdeps/i386/preconfigure: New file.
900         * sysdeps/s390/preconfigure: Likewise.
901         * sysdeps/sh/preconfigure: Likewise.
902         * sysdeps/sparc/preconfigure: Likewise.
904 2014-06-25  Roland McGrath  <roland@hack.frob.com>
906         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
907         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
908         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
909         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
910         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
911         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
912         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
913         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
914         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
915         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
916         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
917         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
918         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
919         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
920         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
921         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
922         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
923         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
924         * sysdeps/sparc/sparc64/Makefile: ... appended here.
926         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
927         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
928         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
929         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
930         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
931         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
932         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
933         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
934         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
935         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
936         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
937         * sysdeps/sparc/sparc32/sem_post.c: ... here.
938         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
939         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
940         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
941         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
942         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
943         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
944         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
945         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
946         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
947         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
948         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
949         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
950         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
951         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
952         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
953         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
954         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
955         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
956         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
957         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
958         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
959         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
960         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
961         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
962         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
963         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
966         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
968         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
970         Moved ...
971         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
972         ... here.
973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
974         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
976         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
978         Moved ...
979         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
981         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
983         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
985         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
987         Moved ...
988         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
990         Moved ...
991         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
993         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
995         Moved ...
996         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
998         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1000         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1002         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1004         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1006         Moved ...
1007         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1008         ... here.
1009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1010         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1012         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1014         Moved ...
1015         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1017         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1019         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1021         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1023         Moved ...
1024         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1026         Moved ...
1027         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1029         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1031         Moved ...
1032         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1034         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1036         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1038 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1040         * timezone/checktab.awk: Update from tzcode 2014e.
1041         * timezone/private.h: Likewise.
1042         * timezone/tzfile.h: Likewise.
1043         * timezone/zdump.c: Likewise.
1044         * timezone/zic.c: Likewise.
1046         * sysdeps/unix/sysv/linux/kernel-features.h
1047         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1048         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1049         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1050         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1051         Remove conditional code.
1053 2014-06-25  Will Newton  <will.newton@linaro.org>
1055         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1056         (_dl_arm_cap_flags): Add HWCAP2 values.
1057         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1058         (_DL_HWCAP_COUNT): Increase to 37.
1059         (_DL_HWCAP_LAST): New define.
1060         (_DL_HWCAP2_LAST): New define.
1061         (_dl_procinfo): Add support for printing
1062         AT_HWCAP2 entries.
1063         (_dl_string_hwcap): Use _dl_hwcap_string.
1065 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1069 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1071         * README: Do not mention ports directory.
1073         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1074         Remove macro.
1075         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1076         <kernel-features.h>.
1077         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1078         conditional variable definition.
1079         (__futimes): Update comment.
1080         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1081         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1083         [BZ #16560]
1084         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1085         arguments close to 0.
1086         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1087         Likewise.
1088         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1089         Likewise.
1090         * math/auto-libm-test-in: Add more tests of exp10.
1091         * math/auto-libm-test-out: Regenerated.
1092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1094         * sysdeps/unix/sysv/linux/kernel-features.h
1095         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1096         * sysdeps/unix/sysv/linux/readv.c: Do not include
1097         <kernel-features.h>.
1098         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1099         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1100         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1101         unconditional.
1102         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1103         conditional code.
1104         * sysdeps/unix/sysv/linux/writev.c: Do not include
1105         <kernel-features.h>.
1106         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1107         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1108         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1109         unconditional.
1110         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1111         conditional code.
1113 2014-06-25  Will Newton  <will.newton@linaro.org>
1115         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1116         comment changes throughout the file.  Remove checks
1117         for HAVE_*_H definitions that are not required.
1118         (__gen_tempname): Call abort if an unknown kind value is
1119         passed.
1121 2014-06-25  Andreas Schwab  <schwab@suse.de>
1123         [BZ #17086]
1124         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1125         scalbln, scalblnf, scalblnl in libc.
1127 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1129         [BZ #17086]
1130         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1131         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1132         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1134 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1136         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1137         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1138         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1139         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1140         Update #include.
1141         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1142         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1143         Update #include.
1144         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1145         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1146         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1147         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1148         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1149         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1150         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1151         * sysdeps/x86/bits/semaphore.h: ... here.
1152         * sysdeps/x86/nptl/elide.h: Moved ...
1153         * sysdeps/x86/elide.h: ... here.
1154         * sysdeps/x86_64/nptl/Implies: File removed.
1155         * sysdeps/i386/nptl/Implies: File removed.
1157 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1159         [BZ #16539]
1160         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1161         return the argument for normal arguments with exponent below -64.
1162         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1163         Likewise.
1164         * math/auto-libm-test-in: Add another test of expm1.
1165         * math/auto-libm-test-out: Regenerated.
1167         [BZ #16287]
1168         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1169         calling __erfcl for arguments at least 16.
1170         * math/auto-libm-test-in: Add more tests of erf.
1171         * math/auto-libm-test-out: Regenerated.
1173         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1174         individual architectures.
1175         * sysdeps/unix/sysv/linux/configure: Regenerated.
1176         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1177         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1178         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1179         (ldd_rewrite_script): Define variable.
1180         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1182         file.
1183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1184         generated file.
1185         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1186         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1187         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1188         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1189         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1190         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1191         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1192         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1194 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1196         [BZ #17084]
1197         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1198         Rename member __data.d to __data.__elision_data.
1200 2014-06-24  Wilco  <wdijkstr@arm.com>
1202         * NEWS: Add 16918 to fixed bug list.
1204 2014-06-24  Wilco  <wdijkstr@arm.com>
1206         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1208 2014-06-24  Wilco  <wdijkstr@arm.com>
1210         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1211         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1212         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1213         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1214         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1215         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1216         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1217         Use _FPU_MASK_RM.
1219 2014-06-24  Wilco  <wdijkstr@arm.com>
1221         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1223 2014-06-24  Wilco  <wdijkstr@arm.com>
1225         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1226         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1227         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1228         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1230 2014-06-24  Wilco  <wdijkstr@arm.com>
1232         [BZ #16918]
1233         * sysdeps/arm/feupdateenv.c (feupdateenv):
1234         Rewrite to reduce FPSCR accesses and fix return value.
1236 2014-06-24  Wilco  <wdijkstr@arm.com>
1238         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1239         Optimize to avoid unnecessary FPSCR writes.
1240         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1241         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1242         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1243         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1245 2014-06-24  Wilco  <wdijkstr@arm.com>
1247         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1248         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1249         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1250         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1251         Call libc_fetestexcept_vfp.
1252         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1253         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1254         __SOFTFP__ ifdef so that they can be built for softfp.
1256 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1258         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1259         argument type signed char.
1261         * Makerules (check-abi): Dump diff of symlist if the test
1262         fails.
1264 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1266         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1267         using abort.
1269         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1270         Remove unused variable ST.
1272 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1274         [BZ #16354]
1275         [BZ #17061]
1276         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1277         small arguments before calling __expm1.
1278         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1279         small arguments before calling __expm1f.
1280         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1281         small arguments before calling __expm1l.
1282         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1283         Likewise.
1284         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1285         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1286         spurious underflow for some cosh tests.
1287         * math/auto-libm-test-out: Regenerated.
1288         * sysdeps/i386/fpu/libm-test-ulps: Update.
1290         [BZ #17050]
1291         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1292         (__ieee754_y1): Set errno if return value overflows.
1293         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1294         (__ieee754_y1f): Set errno if return value overflows.
1295         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1296         (__ieee754_y1l): Set errno if return value overflows.
1297         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1298         (__ieee754_y1l): Set errno if return value overflows.
1299         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1300         * math/auto-libm-test-out: Regenerated.
1302         * math/gen-auto-libm-tests.c: Document use of
1303         ignore-zero-inf-sign.
1304         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1305         (input_flags): Add ignore-zero-inf-sign.
1306         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1307         * math/gen-libm-test.pl (generate_testfile): Handle
1308         ignore-zero-inf-sign.
1309         * math/auto-libm-test-in: Mark some cpow tests with
1310         ignore-zero-inf-sign and some with xfail-rounding.
1311         * math/auto-libm-test-out: Regenerated.
1312         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1313         * sysdeps/i386/fpu/libm-test-ulps: Update.
1314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1316         [BZ #16315]
1317         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1318         overflowing or underflowing operations take place with sign of
1319         result.
1320         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1321         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1322         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1323         (__ieee754_pow): Recompute overflowing and underflowing results in
1324         original rounding mode.
1325         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1326         (__powl_helper): Allow negative argument X and scale negated value
1327         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1328         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1329         overflowing or underflowing operations take place with sign of
1330         result.
1331         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1332         Include <math.h>.
1333         * math/auto-libm-test-in: Add more tests of pow.
1334         * math/auto-libm-test-out: Regenerated.
1335         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1336         (pow_tonearest_test_data): Remove.
1337         (pow_test_tonearest): Likewise.
1338         (pow_towardzero_test_data): Likewise.
1339         (pow_test_towardzero): Likewise.
1340         (pow_downward_test_data): Likewise.
1341         (pow_test_downward): Likewise.
1342         (pow_upward_test_data): Likewise.
1343         (pow_test_upward): Likewise.
1344         (main): Don't call removed functions.
1345         * sysdeps/i386/fpu/libm-test-ulps: Update.
1346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1348 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1351         Moved ...
1352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1354         Moved ...
1355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1357         Moved ...
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1360         Moved ...
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1363         File removed.
1364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1365         File removed.
1366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1367         File removed.
1368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1369         File removed.
1370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1371         File removed.
1372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1373         File removed.
1374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1375         File removed.
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1377         File removed.
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1379         File removed.
1380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1381         File removed.
1382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1383         File removed.
1384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1385         File removed.
1386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1387         Moved ...
1388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1390         Moved ...
1391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1392         ... here.
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1394         Moved ...
1395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1397         Moved ...
1398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1400         Moved ...
1401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1403         Moved ...
1404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1406         Moved ...
1407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1409         Moved ...
1410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1412         Moved ...
1413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1416         ... here.
1417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1418         Moved ...
1419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1421         Moved ...
1422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1423         ... here.
1424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1425         Moved ...
1426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1427         ... here.
1428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1429         Moved ...
1430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1431         ... here.
1432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1433         Moved ...
1434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1436         Moved ...
1437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1441         Moved ...
1442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1443         ... here.
1444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1445         Moved ...
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1447         ... here.
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1449         Moved ...
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1452         Moved ...
1453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1455         Moved ...
1456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1458         Moved ...
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1461         Moved ...
1462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1463         ... here.
1464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1465         Moved ...
1466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1468         Moved ...
1469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1471         Moved ...
1472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1474         Moved ...
1475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1479         Moved ...
1480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1482         Moved ...
1483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1485         Moved ...
1486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1487         ... here.
1488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1489         Moved ...
1490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1491         ... here.
1492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1493         Moved ...
1494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1495         ... here.
1496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1497         Moved ...
1498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1500         Moved ...
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1503         Moved ...
1504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1506         Moved ...
1507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1508         ... here.
1509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1510         Moved ...
1511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1512         ... here.
1513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1514         Moved ...
1515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1516         ... here.
1517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1518         Moved ...
1519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1521         Moved ...
1522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1524 2014-06-23  Will Newton  <will.newton@linaro.org>
1525             Wilco  <wdijkstr@arm.com>
1527         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1528         implementation.  Include get-rounding-mode.h.
1529         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1530         [!libc_feholdsetround_noex_ctx]: Define
1531         libc_feholdsetround_noex_ctx.
1532         [!libc_feholdsetround_noexf_ctx]: Define
1533         libc_feholdsetround_noexf_ctx.
1534         [!libc_feholdsetround_noexl_ctx]: Define
1535         libc_feholdsetround_noexl_ctx.
1536         (libc_feholdsetround_ctx): New function.
1537         (libc_feresetround_ctx): New function.
1538         (libc_feholdsetround_noex_ctx): New function.
1539         (libc_feresetround_noex_ctx): New function.
1541 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1543         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1544         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1545         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1546         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1547         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1548         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1550         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1551         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1552         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1553         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1554         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1555         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1556         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1557         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1558         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1559         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1560         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1561         Moved ...
1562         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1563         ... here.
1564         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1565         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1566         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1567         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1568         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1569         Moved ...
1570         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1571         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1572         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1573         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1574         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1575         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1576         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1577         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1578         Moved ...
1579         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1580         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1581         Moved ...
1582         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1583         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1584         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1585         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1586         Moved ...
1587         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1588         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1589         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1590         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1591         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1592         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1593         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1594         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1595         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1596         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1597         Moved ...
1598         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1599         ... here.
1600         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1601         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1602         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1603         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1604         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1605         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1606         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1607         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1608         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1609         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1610         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1611         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1612         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1613         Moved ...
1614         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1615         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1616         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1617         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1618         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1619         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1620         Moved ...
1621         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1622         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1623         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1624         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1625         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1627         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1628         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1629         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1630         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1631         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1632         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1633         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1634         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1635         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1636         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1637         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1638         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1639         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1640         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1641         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1642         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1643         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1644         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1645         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1646         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1647         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1648         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1649         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1650         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1651         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1652         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1653         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1654         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1656 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1658         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1659         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1660         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1661         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1662         (IPV6_PMTUDISC_INTERFACE): Likewise.
1663         (IPV6_PMTUDISC_OMIT): Likewise.
1665 2014-06-23  Andreas Schwab  <schwab@suse.de>
1667         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1668         Remove unused errout label.
1670 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1672         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1673         macro: hardware supports Vector Crypto instructions.
1675 2014-06-23  Will Newton  <will.newton@linaro.org>
1677         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1678         rather than __builtin_expect.
1680         * elf/dl-lookup.c (undefined_msg): Remove variable.
1681         (_dl_lookup_symbol_x): Replace undefined_msg with string
1682         literal.
1684         * elf/dl-lookup.c (do_lookup_unique): New function.
1685         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1686         to a separate function.
1688 2014-06-23  Andreas Schwab  <schwab@suse.de>
1690         [BZ #17079]
1691         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1692         before reading the next line.
1694 2014-06-23  Will Newton  <will.newton@linaro.org>
1696         * test-skeleton.c (signal_handler): Use printf and %m
1697         rather than perror.  Use printf rather than fprintf to
1698         stderr.  Use puts rather than fputs to stderr.
1699         (main): Likewise.
1701 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1703         * nscd/nscd.c (thread_info_t): Remove typedef.
1704         (thread_info): Remove variable.
1706 2014-06-21  Allan McRae  <allan@archlinux.org>
1708         * NEWS: Mention CVE-2014-4043.
1710 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1712         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1713         * nptl/smp.h: ... here.
1715         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1717         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1718         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1719         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1720         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1722         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1723         * nptl/stack-aliasing.h: New file.
1724         * sysdeps/i386/i686/stack-aliasing.h: New file.
1725         * sysdeps/i386/i686/nptl/Makefile: File removed.
1726         * sysdeps/x86_64/stack-aliasing.h: New file.
1727         * sysdeps/x86_64/nptl/Makefile
1728         (CFLAGS-pthread_create.c): Variable removed.
1730         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1731         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1732         old file.
1733         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1734         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1735         old file.
1737 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1739         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1740         (__ASSUME_SIGFRAME_V2): Remove macro.
1741         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1742         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1743         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1744         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1745         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1746         Declare as function.  Remove conditional macro definitions.
1747         (__default_rt_sa_restorer): Likewise.
1748         (__default_sa_restorer_v1): Remove declaration.
1749         (__default_sa_restorer_v2): Likewise.
1750         (__default_rt_sa_restorer_v1): Likewise.
1751         (__default_rt_sa_restorer_v2): Likewise.
1752         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1753         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1754         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1756 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1758         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1759         (libpthread-routines): Add sysdep.
1760         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1761         * sysdeps/unix/sysv/linux/sparc/Versions
1762         (libpthread: GLIBC_2.3.3): New version set.
1763         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1764         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1765         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1766         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1767         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1768         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1769         Moved ...
1770         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1771         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1772         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1773         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1774         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1775         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1776         * sysdeps/sparc/nptl/sem_init.c: ... here.
1777         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1778         * sysdeps/sparc/nptl/sem_post.c: ... here.
1779         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1780         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1781         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1782         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1783         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1784         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1785         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1786         (libpthread-routines): Add cpu_relax.
1787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1788         File removed.
1789         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1790         (librt: GLIBC_2.3.3): New version set.
1791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1792         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1793         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1794         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1797         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1799         Moved ...
1800         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1802         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1804         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1806         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1808         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1810         Moved ...
1811         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1812         Update #include.
1813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1814         Moved ...
1815         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1816         Update #include.
1817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1818         Moved ...
1819         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1820         Update #include.
1821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1822         Moved ...
1823         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1824         Update #include.
1825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1826         Moved ...
1827         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1828         Update #include.
1829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1830         Moved ...
1831         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1832         Update #include.
1833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1834         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1836         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1838         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1840         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1842         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1844         Moved ...
1845         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1847         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1849         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1851 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1853         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1854         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1855         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1856         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1857         * nscd/nscd.c: Likewise.
1858         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1859         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1860         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1861         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1863         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1864         <kernel-features.h>.
1865         (init_mq_netlink): Remove conditional have_sock_cloexec
1866         definitions.  Remove code conditional on have_sock_cloexec < 0.
1867         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1868         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1869         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1870         <kernel-features.h>.
1871         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1872         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1874 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1876         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1877         Add tests for memset_chk and memset.
1879         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1880         with AVX2_Usable.
1882 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1884         [BZ #16046]
1885         * elf/tst-dl-iter-static.c: New file.
1886         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1888         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1889         error.
1891 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1893         * sysdeps/unix/sysv/linux/kernel-features.h
1894         (__ASSUME_F_GETOWN_EX): Remove macro.
1895         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1896         <kernel-features.h>.
1897         (miss_F_GETOWN_EX): Remove variable or macro.
1898         (do_fcntl): Do not check miss_F_GETOWN_EX.
1899         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1901         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1902         Remove macro.
1903         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1904         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1905         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1907         * sysdeps/unix/sysv/linux/kernel-features.h
1908         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1909         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1910         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1911         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1913 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1915         [BZ #17075]
1916         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1917         Fix calculation of the symbol's value.
1918         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1919         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1920         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1921         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1922         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1923         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1924         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1925         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1926         (modules-names): Add `tst-armtlsdescmod',
1927         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1928         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1929         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1930         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1931         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1932         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1933         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1934         ($(objpfx)tst-armtlsdescloc): New dependency.
1935         ($(objpfx)tst-armtlsdescextnow): Likewise.
1936         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1937         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1938         TLS scheme support.
1939         * sysdeps/arm/configure: Regenerate.
1941 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1943         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1944         (__atfct_seterrno_2): Likewise.
1945         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1946         <kernel-features.h>.
1947         (__ASSUME_ATFCTS): Do not undefine and redefine.
1948         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1949         (__have_atfcts): Remove conditional definition.
1950         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1951         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1952         unreachable if [__ASSUME_ATFCTS].
1953         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1954         not undefine and redefine.
1955         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1956         <kernel-features.h>.
1957         (faccessat) [__NR_faccessat]: Make code unconditional.
1958         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1959         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1960         <kernel-features.h>.
1961         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1962         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1963         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1964         <kernel-features.h>.
1965         (fchownat) [__NR_fchownat]: Make code unconditional.
1966         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1967         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1968         <kernel-features.h>.
1969         (futimesat) [__NR_futimesat]: Make code unconditional.
1970         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1971         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1972         <kernel-features.h>.
1973         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1974         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1975         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1976         <kernel-features.h>.
1977         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1978         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1979         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1980         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1981         <kernel-features.h>.
1982         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1983         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1984         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1985         <kernel-features.h>.
1986         (linkat) [__NR_linkat]: Make code unconditional.
1987         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1988         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1989         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1990         <kernel-features.h>.
1991         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1992         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1993         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1994         <kernel-features.h>.
1995         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1996         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1997         * sysdeps/unix/sysv/linux/openat.c: Do not include
1998         <kernel-features.h>.
1999         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2000         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2001         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2002         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2003         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2004         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2005         <kernel-features.h>.
2006         (readlinkat) [__NR_readlinkat]: Make code unconditional.
2007         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
2008         result of INLINE_SYSCALL directly, not via int variable.
2009         * sysdeps/unix/sysv/linux/renameat.c: Do not include
2010         <kernel-features.h>.
2011         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2012         (renameat) [__NR_renameat]: Make code unconditional.
2013         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2014         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2015         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2016         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2017         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2018         (__ASSUME_ATFCTS): Do not undefine and redefine.
2019         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2020         <kernel-features.h>.
2021         (symlinkat) [__NR_symlinkat]: Make code unconditional.
2022         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2023         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2024         <kernel-features.h>.
2025         (unlinkat) [__NR_unlinkat]: Make code unconditional.
2026         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2027         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2028         (__ASSUME_ATFCTS): Do not undefine and redefine.
2029         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2030         <kernel-features.h>.
2031         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2032         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2033         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2034         <kernel-features.h>.
2035         (__xmknodat) [__NR_mknodat]: Make code unconditional.
2036         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2038 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2040         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2042 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2044         [BZ #17069]
2045         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2046         constructed tree before returning error.
2047         * posix/bug-regexp36.c: Expand test case.
2049 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2051         [BZ #6803]
2052         * math/libm-test.inc (scalbln_test_date):
2053         Add errno expectations.
2054         * math/w_scalblnf.c: New File.
2055         Add wrapper which checks for setting errno to ERANGE.
2056         Add weak_alias for corresponding scalbln function.
2057         * math/w_scalbln.c: Likewise.
2058         * math/w_scalblnl.c: Likewise.
2059         * math/Makefile (libm-calls): Add w_scalbln.
2060         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2061         Remove weak_alias for corresponding scalbln function.
2062         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2063         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2064         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2065         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2066         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2067         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2068         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2069         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2070         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2071         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2072         Remove long_double_symbol for scalblnl function in libm, libc.
2073         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2074         Add wrapper which checks for setting errno to ERANGE.
2075         Add long_double_symbol for scalblnl function in libm, libc.
2076         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2077         Remove long_double_symbol for scalblnl in libm.
2078         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2079         Add wrapper which checks for setting errno to ERANGE.
2080         Add long_double_symbol for scalblnl function in libm.
2081         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2082         Do not use wrapper because of own implementation.
2084 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2086         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2087         3 bytes for __pad1 for x32.
2088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2090 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2091             H.J. Lu  <hongjiu.lu@intel.com>
2093         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2094         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2095         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2096         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2097         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2099 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2101         [BZ #17069]
2102         * posix/regcomp.c (parse_expression): Deallocate partially
2103         constructed tree before returning error.
2104         * posix/Makefile.c (tests): Add bug-regex36.
2105         (generated): Add bug-regex36.mtrace.
2106         (tests-special): Add $(objpfx)bug-regex36-mem.out
2107         (bug-regex36-ENV): New variable.
2108         ($(objpfx)bug-regex36-mem.out): New rule.
2109         * posix/bug-regex36.c: New file.
2111 2014-06-19  Will Newton  <will.newton@linaro.org>
2113         * malloc/malloc.c (systrim): If extra is zero then return
2114         early.
2116 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2118         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2120 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2122         * sysdeps/aarch64/strchr.S: New file.
2124 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2126         [BZ #17022]
2127         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2128         from arguments -2 or below.
2129         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2130         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2132 2014-06-18  Andreas Schwab  <schwab@suse.de>
2134         [BZ #17062]
2135         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2136         of a bracket expr not to run off the end of the string.
2137         * posix/Makefile (tests): Add tst-fnmatch3.
2138         * posix/tst-fnmatch3.c: New file.
2140 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2142         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2143         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2144         [$(cross-compiling) = no]: Likewise.
2145         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2146         [$(cross-compiling) = no]: Likewise.
2148 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2150         [BZ #17031]
2151         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2152         double, adjusted for any remainder from the high double.
2153         * math/libm-test.inc (nearbyint): Add tests.
2154         (rint): Likewise.
2156 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2158         * nptl/sysdeps/powerpc/Makefile: Moved ...
2159         * sysdeps/powerpc/nptl/Makefile: ... here.
2160         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2161         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2162         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2163         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2164         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2165         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2166         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2167         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2168         * nptl/sysdeps/powerpc/tls.h: Moved ...
2169         * sysdeps/powerpc/nptl/tls.h: ... here.
2171 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2173         [BZ #16681]
2174         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2175         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2176         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2177         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2178         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2179         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2180         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2181         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2182         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2184 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2186         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2188 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2190         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2191         defined operator.
2193         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2194         $TIMEOUTFACTOR.
2196 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2198         [BZ #17058]
2199         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2200         non-executed part of the test.
2202 2014-06-16  Andreas Schwab  <schwab@suse.de>
2204         * string/bits/string2.h (strdup, strndup): Update feature guard.
2206 2014-06-14  David S. Miller  <davem@davemloft.net>
2208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2210 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2212         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2213         that was previously under [RESET_PID].
2214         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2216         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2217         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2218         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2219         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2220         (__libc_vfork): New strong alias.
2221         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2223 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2225         * sysdeps/generic/elide.h: New file.
2227 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2229         * Makefile (installed-headers): Adjust path of pthread.h header.
2231 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2233         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2234         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2235         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2236         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2238         * nptl/sysdeps/s390/Makefile: Moved ...
2239         * sysdeps/s390/nptl/Makefile: ... here.
2240         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2241         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2242         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2243         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2244         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2245         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2246         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2247         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2248         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2249         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2250         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2251         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2252         * nptl/sysdeps/s390/tls.h: Moved ...
2253         * sysdeps/s390/nptl/tls.h: ... here.
2255         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2256         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2258 2014-06-13  David S. Miller  <davem@davemloft.net>
2260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2262         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2263         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2267         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2268         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2269         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2270         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2271         Remove RESET_PID cpp guards.
2272         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2273         Remove RESET_PID cpp guards.
2274         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2276 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2278         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2279         __sp to uintptr_t.
2281 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2283         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2284         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2285         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2286         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2287         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2288         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2289         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2290         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2291         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2292         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2293         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2294         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2295         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2297         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2298         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2299         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2300         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2301         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2302         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2304         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2305         (pthread_rwlock_rdlock): Add elision.
2306         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2307         (pthread_rwlock_wrlock): Add elision.
2308         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2309         (pthread_rwlock_trywrlock): Add elision.
2310         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2311         (pthread_rwlock_tryrdlock): Add elision.
2312         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2313         (pthread_rwlock_tryrdlock): Add elision unlock.
2314         * nptl/sysdeps/pthread/pthread.h:
2315         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2316         (PTHREAD_RWLOCK_INITIALIZER,
2317         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2318         Handle new elision field.
2319         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2320         * sysdeps/arm/nptl/bits/pthreadtypes.h
2321         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2322         * sysdeps/sh/nptl/bits/pthreadtypes.h
2323         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2324         * sysdeps/tile/nptl/bits/pthreadtypes.h
2325         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2326         * sysdeps/a/nptl/bits/pthreadtypes.h
2327         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2328         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2329         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2330         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2331         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2332         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2333         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2334         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2335         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2336         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2337         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2338         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2339         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2340         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2341         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2342         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2343         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2344         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2345         (elision_init): Set try_xbegin to zero when no RTM.
2346         * sysdeps/x86/nptl/bits/pthreadtypes.h
2347         (pthread_rwlock_t): Change __pad1 to __rwelision.
2348         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2350 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2352         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2353         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2354         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2355         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2357 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2359         [BZ #16996]
2360         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2361         that the cached result has been set before returning it.
2363 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2365         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2366         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2367         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2368         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2369         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2370         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2372         * nptl/sysdeps/sparc/Makefile: Moved ...
2373         * sysdeps/sparc/nptl/Makefile: ... here.
2374         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2375         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2376         * nptl/sysdeps/sparc/tls.h: Moved ...
2377         * sysdeps/sparc/nptl/tls.h: ... here.
2378         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2379         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2380         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2381         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2382         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2383         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2384         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2385         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2386         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2387         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2388         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2389         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2390         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2391         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2392         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2393         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2394         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2395         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2396         Update #include.
2397         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2398         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2399         Update #include.
2400         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2401         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2402         Update #include.
2403         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2404         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2405         Update #include.
2407         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2409         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2410         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2412         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2413         (struct list_links): Type removed.
2414         (struct thread_node, struct timer_node): Replace struct list_links
2415         with struct list_head.
2416         (list_unlink_ip): Likewise.
2417         * sysdeps/pthread/timer_routines.c
2418         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2419         (list_append, list_insbefore): Likewise.
2420         (list_init): Function removed.
2421         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2422         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2423         * sysdeps/pthread/Makefile: ... here, new file.
2425         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2426         * sysdeps/nptl/Implies: ... here.
2427         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2428         * nptl/sysdeps/pthread/list.h: Moved ...
2429         * include/list.h: ... here.
2430         * nptl/sysdeps/pthread/createthread.c: Moved ...
2431         * nptl/createthread.c: ... here.
2432         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2433         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2434         * nptl/pt-longjmp.c: ... here.
2435         * nptl/sysdeps/pthread/Makefile: Moved ...
2436         * sysdeps/nptl/Makefile: ... here.
2437         * nptl/sysdeps/pthread/Subdirs: Moved ...
2438         * sysdeps/nptl/Subdirs: ... here.
2439         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2440         * sysdeps/nptl/aio_misc.h: ... here.
2441         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2442         * sysdeps/nptl/bits/libc-lock.h: ... here.
2443         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2444         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2445         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2446         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2447         * nptl/sysdeps/pthread/configure: Moved ...
2448         * sysdeps/nptl/configure: ... here.
2449         * nptl/sysdeps/pthread/configure.ac: Moved ...
2450         * sysdeps/nptl/configure.ac: ... here.
2451         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2452         * sysdeps/nptl/gai_misc.h: ... here.
2453         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2454         * sysdeps/nptl/librt-cancellation.c: ... here.
2455         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2456         * sysdeps/nptl/malloc-machine.h: ... here.
2457         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2458         * sysdeps/nptl/pthread-functions.h: ... here.
2459         * nptl/sysdeps/pthread/pthread.h: Moved ...
2460         * sysdeps/nptl/pthread.h: ... here.
2461         * nptl/sysdeps/pthread/setxid.h: Moved ...
2462         * sysdeps/nptl/setxid.h: ... here.
2463         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2464         * sysdeps/nptl/sigfillset.c: ... here.
2465         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2466         * sysdeps/nptl/tcb-offsets.h: ... here.
2467         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2468         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2469         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2470         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2471         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2472         * sysdeps/pthread/allocalim.h: ... here.
2473         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2474         * sysdeps/pthread/bits/sigthread.h: ... here.
2475         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2476         * sysdeps/pthread/flockfile.c: ... here.
2477         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2478         * sysdeps/pthread/ftrylockfile.c: ... here.
2479         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2480         * sysdeps/pthread/funlockfile.c: ... here.
2481         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2482         * sysdeps/pthread/posix-timer.h: ... here.
2483         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2484         * sysdeps/pthread/timer_create.c: ... here.
2485         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2486         * sysdeps/pthread/timer_delete.c: ... here.
2487         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2488         * sysdeps/pthread/timer_getoverr.c: ... here.
2489         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2490         * sysdeps/pthread/timer_gettime.c: ... here.
2491         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2492         * sysdeps/pthread/timer_routines.c: ... here.
2493         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2494         * sysdeps/pthread/timer_settime.c: ... here.
2495         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2496         * sysdeps/pthread/tst-timer.c: ... here.
2497         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2498         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2500         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2501         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2503         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2504         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2505         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2506         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2507         Update #include target.
2508         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2509         * sysdeps/i386/i686/nptl/Makefile: ... here.
2510         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2511         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2512         Update #include target.
2513         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2514         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2515         * nptl/sysdeps/i386/Makefile: Moved ...
2516         * sysdeps/i386/nptl/Makefile: ... here.
2517         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2518         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2519         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2520         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2521         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2522         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2523         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2524         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2525         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2526         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2527         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2528         * nptl/sysdeps/i386/tls.h: Moved ...
2529         * sysdeps/i386/nptl/tls.h: ... here.
2531         * sysdeps/sh/Makefile [$(subdir) = csu]
2532         (gen-as-const-headers): Add tcb-offsets.sym.
2533         * nptl/sysdeps/sh/Makefile: File removed.
2534         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2535         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2536         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2537         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2538         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2539         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2540         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2541         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2542         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2543         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2544         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2545         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2546         * nptl/sysdeps/sh/tls.h: Moved ...
2547         * sysdeps/sh/nptl/tls.h: ... here.
2548         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2549         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2550         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2551         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2552         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2553         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2554         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2555         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2556         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2557         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2558         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2559         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2560         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2561         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2562         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2563         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2564         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2565         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2566         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2567         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2568         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2569         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2570         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2571         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2572         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2573         Moved ...
2574         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2575         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2576         Moved ...
2577         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2578         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2579         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2580         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2581         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2582         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2583         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2584         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2585         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2586         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2587         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2588         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2589         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2590         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2591         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2592         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2593         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2594         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2595         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2597 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2599         * posix/spawn_faction_addopen.c: Include string.h.
2601 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2603         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2604         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2605         * nptl/sysdeps/x86_64/Makefile: Moved ...
2606         * sysdeps/x86_64/nptl/Makefile: ... here.
2607         * nptl/sysdeps/x86_64/configure: Moved ...
2608         * sysdeps/x86_64/nptl/configure: ... here.
2609         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2610         * sysdeps/x86_64/nptl/configure.ac: ... here.
2611         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2612         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2613         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2614         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2615         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2616         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2617         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2618         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2619         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2620         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2621         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2622         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2623         * nptl/sysdeps/x86_64/tls.h: Moved ...
2624         * sysdeps/x86_64/nptl/tls.h: ... here.
2625         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2626         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2627         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2628         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2630         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2632 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2636 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2638         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2639         type.
2640         [POSIX] (off_t): Likewise.
2641         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2642         [POSIX] (S_ISBLK): Require macro.
2643         [POSIX] (S_ISCHR): Likewise.
2644         [POSIX] (S_ISDIR): Likewise.
2645         [POSIX] (S_ISFIFO): Likewise.
2646         [POSIX] (S_ISREG): Likewise.
2647         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2648         optional-macro.
2649         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2650         type.
2651         [POSIX] (time_t): Likewise.
2652         [POSIX] (timer_t): Likewise.
2654 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2656         [BZ #17048]
2657         * posix/spawn_int.h (struct __spawn_action): Make the path string
2658         non-const to support deallocation.
2659         * posix/spawn_faction_addopen.c
2660         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2661         * posix/spawn_faction_destroy.c
2662         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2663         path in all spawn_do_open actions.
2664         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2665         posix_spawn_file_actions_addopen.
2667 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2669         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2670         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2671         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2672         conditional code always true.
2673         (__libc_vfork): New alias.
2675 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2677         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2678         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2680         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2682         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2683         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2685         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2686         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2688         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2689         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2691 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2693         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2694         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2695         multiarch strcmp for PPC64.
2696         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2697         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2699         multiarch optimizations.
2700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2701         (__libc_ifunc_impl_list): Likewise.
2703 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2705         * benchtests/scripts/validate_benchout.py: New script.
2706         * benchtests/Makefile (bench-func): Call it.
2707         * benchtests/scripts/benchout.schema.json: New file.
2709 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2711         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2712         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2713         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2714         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2715         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2716         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2717         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2718         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2719         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2720         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2721         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2722         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2723         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2724         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2725         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2726         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2728         Moved ...
2729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2730         ... here.
2731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2732         Moved ...
2733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2735         Moved ...
2736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2737         ... here.
2738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2739         Moved ...
2740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2741         ... here.
2742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2743         Moved ...
2744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2746         Moved ...
2747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2748         ... here.
2749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2750         Moved ...
2751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2752         ... here.
2753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2754         Moved ...
2755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2757         Moved ...
2758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2759         ... here.
2760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2761         Moved ...
2762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2763         ... here.
2764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2765         Moved ...
2766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2767         ... here.
2768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2769         Moved ...
2770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2772         Moved ...
2773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2774         ... here.
2775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2776         Moved ...
2777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2778         ... here.
2779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2780         Moved ...
2781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2782         ... here.
2783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2784         Moved ...
2785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2787         Moved ...
2788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2789         ... here.
2790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2791         Moved ...
2792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2793         ... here.
2794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2795         Moved ...
2796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2798         Moved ...
2799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2800         ... here.
2801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2802         Moved ...
2803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2805         Moved ...
2806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2808         Moved ...
2809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2810         ... here.
2811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2812         Moved ...
2813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2814         ... here.
2815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2816         Moved ...
2817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2818         ... here.
2819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2820         Moved ...
2821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2823         Moved ...
2824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2825         ... here.
2826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2827         Moved ...
2828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2829         ... here.
2830         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2831         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2832         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2833         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2834         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2835         Moved ...
2836         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2837         ... here.
2838         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2839         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2840         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2841         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2842         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2843         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2844         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2845         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2846         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2847         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2848         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2849         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2850         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2851         Moved ...
2852         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2853         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2854         Moved ...
2855         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2857         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2858         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2859         Moved ...
2860         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2861         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2862         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2863         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2864         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2865         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2866         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2868 2014-06-10  Wilco  <wdijkstr@arm.com>
2870         * math/test-fenv-return.c: New file.
2871         * math/Makefile: Add new test test-fenv-return.
2873 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2875         [BZ #17042]
2876         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2877         when x - 1 is zero.
2878         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2879         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2880         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2881         0.0L for an argument of 1.0L.
2882         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2883         Likewise.
2884         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2885         value when x - 1 is zero.
2886         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2887         * sysdeps/i386/fpu/libm-test-ulps: Update.
2888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2890 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2892         [BZ #15119]
2893         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2895 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2897         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2898         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2900 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2902         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2903         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2905         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2906         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2908         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2909         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2911         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2912         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2914         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2915         if not already defined.
2916         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2917         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2918         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2919         (TLS_INIT_TP): Use it.
2920         (TLS_DEFINE_INIT_TP): New macro.
2921         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2923 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2925         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2926         constant.
2927         [POSIX] (IXANY): Likewise.
2928         [POSIX] (OLCUC): Likewise.
2929         [POSIX || POSIX2008] (CBAUD): Do not allow.
2930         [POSIX || POSIX2008] (DEFECHO): Likewise.
2931         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2932         [POSIX || POSIX2008] (ECHOKE): Likewise.
2933         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2934         [POSIX || POSIX2008] (EXTA): Likewise.
2935         [POSIX || POSIX2008] (EXTB): Likewise.
2936         [POSIX || POSIX2008] (FLUSHO): Likewise.
2937         [POSIX || POSIX2008] (LOBLK): Likewise.
2938         [POSIX || POSIX2008] (PENDIN): Likewise.
2939         [POSIX || POSIX2008] (SWTCH): Likewise.
2940         [POSIX || POSIX2008] (VDISCARD): Likewise.
2941         [POSIX || POSIX2008] (VDSUSP): Likewise.
2942         [POSIX || POSIX2008] (VLNEXT): Likewise.
2943         [POSIX || POSIX2008] (VREPRINT): Likewise.
2944         [POSIX || POSIX2008] (VSTATUS): Likewise.
2945         [POSIX || POSIX2008] (VWERASE): Likewise.
2946         (B*): Change to B[0123456789]*.
2947         * conform/data/time.h-data [POSIX || UNIX98]
2948         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2949         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2950         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2951         [POSIX] (tm_*): Do not allow.
2953 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2955         * Makefile (install): Don't set LANGUAGE.
2956         * Makefile.in (install): Likewise.
2957         * assert/Makefile (test-assert-ENV): Remove variable.
2958         (test-assert-perr-ENV): Likewise.
2959         * elf/Makefile (neededtest4-ENV): Likewise.
2960         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2961         [$(cross-compiling) = no]: Don't set LANGUAGE.
2962         * io/ftwtest-sh (LANG): Remove variable.
2963         * libio/Makefile (tst-widetext-ENV): Likewise.
2964         * manual/install.texi (Running make install): Don't refer to
2965         environment settings for make install.
2966         * INSTALL: Regenerated.
2967         * nptl/tst-tls6.sh: Don't set LANG.
2968         * posix/globtest.sh (LANG): Remove variable.
2969         * string/Makefile (tester-ENV): Likewise.
2970         (inl-tester-ENV): Likewise.
2971         (noinl-tester-ENV): Likewise.
2972         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2973         [$(cross-compiling) = no]: Don't set LANGUAGE.
2974         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2975         without explicit environment settings.
2977 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2979         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2980         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2981         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2982         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2984 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2986         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2987         other files in the crypt directory.
2988         * crypt/crypt.c: Remove duplicate includes.
2989         * crypt/crypt-entry.c: Likewise.
2990         * crypt/crypt_util.c: Likewise.
2992 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2994         * Makeconfig (run-program-env): New variable.
2995         (run-program-prefix-before-env): Likewise.
2996         (run-program-prefix-after-env): Likewise.
2997         (run-program-prefix): Define in terms of new variables.
2998         (built-program-cmd-before-env): New variable.
2999         (built-program-cmd-after-env): Likewise.
3000         (built-program-cmd): Define in terms of new variables.
3001         (test-program-prefix-before-env): New variable.
3002         (test-program-prefix-after-env): Likewise.
3003         (test-program-prefix): Define in terms of new variables.
3004         (test-program-cmd-before-env): New variable.
3005         (test-program-cmd-after-env): Likewise.
3006         (test-program-cmd): Define in terms of new variables.
3007         * Rules (make-test-out): Use $(run-program-env).
3008         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3009         (help): Do not mention environment variables.  Mention
3010         --timeoutfactor option.
3011         (timeoutfactor): New variable.
3012         (blacklist_exports): Remove function.
3013         (exports): Remove variable.
3014         (command): Do not include ${exports}.
3015         * manual/install.texi (Configuring and compiling): Do not mention
3016         test wrappers preserving environment variables.  Mention that last
3017         assignment to a variable must take precedence.
3018         * INSTALL: Regenerated.
3019         * benchtests/Makefile (run-bench): Use $(run-program-env).
3020         * catgets/Makefile ($(objpfx)test1.cat): Use
3021         $(built-program-cmd-before-env), $(run-program-env) and
3022         $(built-program-cmd-after-env).
3023         ($(objpfx)test2.cat): Do not specify environment variables
3024         explicitly.
3025         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3026         $(run-program-env) and $(built-program-cmd-after-env).
3027         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3028         $(run-program-env) and $(test-program-cmd-after-env).
3029         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3030         explicitly.
3031         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3032         run_program_env and test_program_cmd_after_env arguments.
3033         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3034         * elf/tst-pathopt.sh: Use run_program_env argument.
3035         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3036         $(test-wrapper-env) and $(run-program-env).
3037         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3038         run_program_env arguments.
3039         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3040         * intl/Makefile ($(objpfx)tst-gettext.out): Use
3041         $(test-program-prefix-before-env), $(run-program-env) and
3042         $(test-program-prefix-after-env).
3043         ($(objpfx)tst-gettext2.out): Likewise.
3044         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3045         run_program_env and test_program_prefix_after_env arguments.
3046         * intl/tst-gettext2.sh: Likewise.
3047         * intl/tst-gettext4.sh: Do not set environment variables
3048         explicitly.
3049         * intl/tst-gettext6.sh: Likewise.
3050         * intl/tst-translit.sh: Likewise.
3051         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3052         $(test-program-prefix-before-env), $(run-program-env) and
3053         $(test-program-prefix-after-env).
3054         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3055         run_program_env and test_program_prefix_after_env arguments.
3056         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3057         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3058         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3059         explicitly with each use of ${test_wrapper_env}.
3060         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3061         $(test-program-prefix-before-env), $(run-program-env) and
3062         $(test-program-prefix-after-env).
3063         * posix/tst-getconf.sh: Do not set environment variables
3064         explicitly.
3065         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3066         run_program_env and test_program_prefix_after_env arguments.
3067         * stdio-common/tst-printf.sh: Do not set environment variables
3068         explicitly.
3069         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3070         $(test-program-prefix-before-env), $(run-program-env) and
3071         $(test-program-prefix-after-env).
3072         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3073         run_program_env and test_program_prefix_after_env arguments.
3074         Split $test calls into $test_pre and $test.
3075         * timezone/Makefile (build-testdata): Use
3076         $(built-program-cmd-before-env), $(run-program-env) and
3077         $(built-program-cmd-after-env).
3079 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3081         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3082         strlen for non SHARED builds.
3084 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3086         * nptl/allocatestack.c (check_list): Inlined function...
3087         (__reclaim_stacks): ... here.
3089 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3091         [BZ #15698]
3092         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3093         memory overrun.
3095 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3097         * Rules (make-test-out): Include
3098         LOCPATH=$(common-objpfx)localedata in default environment.
3099         * debug/Makefile (tst-chk1-ENV): Remove variable.
3100         (tst-chk2-ENV): Likewise.
3101         (tst-chk3-ENV): Likewise.
3102         (tst-chk4-ENV): Likewise.
3103         (tst-chk5-ENV): Likewise.
3104         (tst-chk6-ENV): Likewise.
3105         (tst-lfschk1-ENV): Likewise.
3106         (tst-lfschk2-ENV): Likewise.
3107         (tst-lfschk3-ENV): Likewise.
3108         (tst-lfschk4-ENV): Likewise.
3109         (tst-lfschk5-ENV): Likewise.
3110         (tst-lfschk6-ENV): Likewise.
3111         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3112         (tst-iconv7-ENV): Likewise.
3113         * intl/Makefile (LOCPATH-ENV): Likewise.
3114         (tst-codeset-ENV): Likewise.
3115         (tst-gettext3-ENV): Likewise.
3116         (tst-gettext5-ENV): Likewise.
3117         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3118         (tst-fopenloc-ENV): Likewise.
3119         (tst-fgetws-ENV): Remove variable.
3120         (tst-ungetwc1-ENV): Likewise.
3121         (tst-ungetwc2-ENV): Likewise.
3122         (bug-ungetwc2-ENV): Likewise.
3123         (tst-swscanf-ENV): Likewise.
3124         (bug-ftell-ENV): Likewise.
3125         (tst-fgetwc-ENV): Likewise.
3126         (tst-fseek-ENV): Likewise.
3127         (tst-ftell-partial-wide-ENV): Likewise.
3128         (tst-ftell-active-handler-ENV): Likewise.
3129         (tst-ftell-append-ENV): Likewise.
3130         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3131         (tst-regexloc-ENV): Likewise.
3132         (bug-regex1-ENV): Likewise.
3133         (tst-regex-ENV): Likewise.
3134         (tst-regex2-ENV): Likewise.
3135         (bug-regex5-ENV): Likewise.
3136         (bug-regex6-ENV): Likewise.
3137         (bug-regex17-ENV): Likewise.
3138         (bug-regex18-ENV): Likewise.
3139         (bug-regex19-ENV): Likewise.
3140         (bug-regex20-ENV): Likewise.
3141         (bug-regex22-ENV): Likewise.
3142         (bug-regex23-ENV): Likewise.
3143         (bug-regex25-ENV): Likewise.
3144         (bug-regex26-ENV): Likewise.
3145         (bug-regex30-ENV): Likewise.
3146         (bug-regex32-ENV): Likewise.
3147         (bug-regex33-ENV): Likewise.
3148         (bug-regex34-ENV): Likewise.
3149         (bug-regex35-ENV): Likewise.
3150         (tst-rxspencer-ENV): Likewise.
3151         (tst-rxspencer-no-utf8-ENV): Likewise.
3152         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3153         (tst-sscanf-ENV): Likewise.
3154         (tst-swprintf-ENV): Likewise.
3155         (tst-swscanf-ENV): Likewise.
3156         (test-vfprintf-ENV): Likewise.
3157         (scanf13-ENV): Likewise.
3158         (bug14-ENV): Likewise.
3159         (tst-grouping-ENV): Likewise.
3160         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3161         (tst-strtod3-ENV): Likewise.
3162         (tst-strtod4-ENV): Likewise.
3163         (tst-strtod5-ENV): Likewise.
3164         (testmb2-ENV): Likewise./
3165         * string/Makefile (tst-strxfrm-ENV): Likewise.
3166         (tst-strxfrm2-ENV): Likewise.
3167         (bug-strcoll1-ENV): Likewise.
3168         (test-strcasecmp-ENV): Likewise.
3169         (test-strncasecmp-ENV): Likewise.
3170         * time/Makefile (tst-strptime-ENV): Likewise.
3171         (tst-ftime_l-ENV): Likewise.
3172         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3173         (tst-mbrtowc-ENV): Likewise.
3174         (tst-wcrtomb-ENV): Likewise.
3175         (tst-mbrtowc2-ENV): Likewise.
3176         (tst-c16c32-1-ENV): Likewise.
3177         (tst-mbsnrtowcs-ENV): Likewise.
3179 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3181         * manual/resource.texi (How to get information about the memory
3182         subsystem?): Fix typo.
3183         Reported by Peon de la Parra Ivan <peon@keba.com>
3185 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3187         [BZ #16882]
3188         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3189         (pthread_spin_lock): Branch out of spin loop to proper location.
3190         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3191         (pthread_spin_lock): Likewise.
3193         * nptl/tst-spin4.c: New test.
3194         * nptl/Makefile (tests): Add tst-spin4.
3196 2014-06-03  Andreas Schwab  <schwab@suse.de>
3198         [BZ #15946]
3199         * resolv/res_send.c (send_dg): Reload file descriptor after
3200         calling reopen.
3202 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3204         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3206 2014-06-03  Richard Henderson  <rth@redhat.com>
3208         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3209         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3210         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3211         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3212         in the SAVE_PID block.
3213         (__libc_vfork): New alias.
3214         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3216         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3217         child in registers, not on the stack.  Remove RESET_PID conditionals.
3218         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3220 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3222         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3224 2014-06-03  Wilco  <wdijkstr@arm.com>
3226         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3227         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3228         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3229         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3230         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3231         Likewise.
3233 2014-06-03  Wilco  <wdijkstr@arm.com>
3235         * sysdeps/aarch64/fpu/math_private.h
3236         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3237         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3238         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3239         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3240         Fix declarations.
3242 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3244         * crypt/crypt-private.h: Include ufc-crypt.h.
3245         (__b64_from_24bit): Declare extern.
3246         * crypt/crypt_util.c(__b64_from_24bit): New function.
3247         (b64t): New static const variable.
3248         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3249         (b64t): Remove variable.
3250         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3251         * crypt/sha256-crypt.c: Include crypt-private.h.
3252         (b64t): Remove variable.
3253         (__sha256_crypt_r): Remove b64_from_24bit and replace
3254         with __b64_from_24bit.
3255         * crypt/sha512-crypt.c: Likewise.
3257 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3259         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3260         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3261         Label the code __libc_vfork rather than __vfork.
3262         [!NOT_IN_libc] (vfork): Define as weak alias.
3263         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3264         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3265         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3267 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3269         * malloc/malloc.c (malloc_info): Fix format specifier for
3270         n_mmaps.
3272 2014-06-02  Wilco  <wdijkstr@arm.com>
3274         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3275         FPCR write.
3277 2014-06-02  Wilco  <wdijkstr@arm.com>
3279         [BZ #17009]
3280         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3281         Rewrite to reduce FPCR/FPSR accesses.
3283 2014-06-01  David S. Miller  <davem@davemloft.net>
3285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3287 2014-05-31  David S. Miller  <davem@davemloft.net>
3289         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3290         to occur in round to nearest mode when |x| >= 2.0
3292 2014-05-30  Richard Henderson  <rth@twiddle.net>
3294         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3295         (PSEUDO_RET_NOERRNO): Remove.
3296         (ret): Don't redefine.
3297         (ret_NOERRNO): Define in terms of ret.
3298         (ret_ERRVAL): Likewise.
3300         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3301         use of PSEUDO_RET; perform the error check directly.
3303 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3305         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3306         with __int128_t.
3308 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3310         * malloc/malloc (malloc_info): Fix formatting.
3312 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3313             Roland McGrath  <roland@hack.frob.com>
3315         * malloc/malloc (malloc_info): Also print mmapped statistics.
3317 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3319         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3320         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3322 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3324         * malloc/malloc.c (malloc_info): Inline mi_arena.
3326 2014-05-29  Richard Henderson  <rth@twiddle.net>
3328         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3329         Remove comma before expanding ASM_ARGS_##nr.
3330         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3331         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3332         of ASM_ARGS_##nr.
3333         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3334         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3335         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3336         (ASM_ARGS_1): Add leading comma.
3338         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3339         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3340         to __errno_location.
3341         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3342         Remove the expected plt for __errno_location.
3344         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3345         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3346         call to __read_tp.
3348         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3349         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3350         it and break it down.
3351         (DOCARGS_0, DOCARGS_1): Do nothing.
3352         (DOCARGS_2): Update to store into the new stack frame.
3353         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3354         (UNDOCARGS_1): Update to restore from the new stack frame.
3355         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3356         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3358         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3359         (SINGLE_THREAD_P): New parameter for result regno.
3360         (PSEUDO): Update to match; use cbz instead of beq.
3362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3363         Use ENTRY to define the _nocancel entry point.  Share the syscall
3364         and syscall error check paths with the cancel path.
3365         (PSEUDO_END): New.
3367         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3368         whitespace; tabs before and after asm mnemonics.
3370 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3372         [BZ #15132]
3373         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3374         Call fstat64 or stat64 internally, depending on arguments passed.
3375         Replace stat buffer argument with file descriptor argument.
3376         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3377         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3378         Pass fd to __internal_statvfs instead of calling fstat64.
3379         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3380         Pass fd to __internal_statvfs64 instead of calling fstat64.
3381         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3382         Pass -1 to __internal_statvfs instead of calling stat64.
3383         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3384         Pass -1 to __internal_statvfs64 instead of calling stat64.
3386 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3388         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3389         that was previously under [RESET_PID].
3390         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3392         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3393         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3395 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3397         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3399         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3400         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3402 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3404         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3406 2014-05-27  Andreas Schwab  <schwab@suse.de>
3408         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3409         TLS_INIT_TP macro.
3410         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3411         * elf/rtld.c (init_tls, dl_main): Likewise.
3412         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3413         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3414         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3415         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3416         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3417         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3418         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3419         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3420         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3421         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3422         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3423         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3424         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3425         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3426         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3427         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3428         * sysdeps/generic/tls.h: Update description.
3430 2014-05-27  Will Newton  <will.newton@linaro.org>
3432         [BZ #16990]
3433         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3434         and restore r2 rather than just restoring.
3436 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3438         [BZ #16724]
3439         * libio/tst-ftell-append.c: New test case.
3440         * libio/Makefile (tests): Add test case.
3441         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3442         append mode.
3443         * libio/wfileops.c (do_ftell_wide): Likewise.
3445 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3449         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3450         ...
3451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3453         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3454         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3455         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3456         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3457         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3458         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3460         Moved ...
3461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3463         Moved ...
3464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3465         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3466         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3467         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3468         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3469         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3470         ...
3471         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3472         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3473         Moved ...
3474         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3475         here.
3476         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3477         ...
3478         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3479         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3480         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3482         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3483         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3484         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3485         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3487         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3488         merge into ...
3489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3491         ...
3492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3493         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3494         ...
3495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3496         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3497         Moved ...
3498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3499         here.
3500         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3501         Moved ...
3502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3503         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3504         Moved ...
3505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3508         conditional [RESET_PID].
3509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3510         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3511         removed.
3512         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3513         removed.
3515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3516         <tcb-offsets.h>.
3517         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3518         (__libc_vfork): New strong alias.
3519         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3520         removed.
3521         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3522         Removed.
3524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3525         <tcb-offsets.h>.
3526         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3527         (__libc_vfork): New strong alias.
3528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3529         removed.
3530         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3531         removed.
3533 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3535         * malloc/malloc.c (mi_arena): New function.
3536         (malloc_info): Remove nested function mi_arena. Call non-nosted
3537         function mi_arena.
3539 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3541         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3542         by insrwi.
3543         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3544         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3545         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3546         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3547         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3548         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3549         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3551 2014-05-26  Andreas Schwab  <schwab@suse.de>
3553         [BZ #16984]
3554         * locale/programs/repertoire.c (repertoire_read): Add slash
3555         between I18NPATH element and file name.
3556         * locale/programs/locfile.c (locfile_read): Likewise.
3558 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3560         * nptl/pthread_mutexattr_settype.c
3561         (__pthread_mutexattr_settype):
3562         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3564 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3566         * nptl/tst-mutex5 (do_test):
3567         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3569 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3571         * benchtests/README: Document 'init' directive.
3572         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3573         BENCH_INIT.
3574         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3575         (parse_file): Recognize 'init' directive.
3577 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3579         [BZ #16796]
3580         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3581         alignment of struct pthread.
3583 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3585         [BZ #16878]
3586         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3587         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3588         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3589         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3591 2014-05-25  Richard Henderson  <rth@twiddle.net>
3593         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3594         (SINGLE_THREAD_P_PIC): Remove.
3595         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3596         (SINGLE_THREAD_P_PIC): Remove.
3598         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3599         branch to syscall error ...
3600         (PSEUDO): ... here.
3601         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3602         from __local_syscall_error to .Lsyscall_error.
3603         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3604         (SYSCALL_ERROR): Update label name.
3606         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3607         Do not use DOARGS/UNDOARGS.
3608         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3609         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3610         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3611         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3612         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3615         block comment.
3617         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3618         define if !NOT_IN_libc.
3619         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3620         define with non-default symbol versions.
3622 2014-05-23  Richard Henderson  <rth@twiddle.net>
3624         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3625         (vfork, __vfork): Define via compat_symbol.
3627         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3628         [!HAVE_IFUNC] (vfork_compat): Remove.
3629         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3631 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3633         [BZ #16978]
3634         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3635         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3636         variable.
3638 2014-05-23  Richard Henderson  <rth@twiddle.net>
3640         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3641         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3642         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3643         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3645         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3646         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3647         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3648         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3649         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3650         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3651         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3652         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3653         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3654         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3655         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3656         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3657         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3658         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3659         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3660         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3661         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3662         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3663         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3664         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3665         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3666         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3667         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3668         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3669         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3670         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3671         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3672         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3673         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3674         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3675         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3676         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3677         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3678         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3679         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3680         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3681         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3682         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3683         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3684         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3685         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3686         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3687         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3688         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3689         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3690         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3691         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3692         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3693         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3694         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3695         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3696         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3697         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3698         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3699         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3700         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3702         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3703         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3704         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3705         before exiting on error.
3706         (__libc_vfork): New strong alias.
3707         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3708         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3710         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3711         that was previously under [RESET_PID].
3712         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3714         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3716 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3718         [BZ #16977]
3719         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3720         value when x - 1 is zero.
3721         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3722         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3723         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3724         0.0L for an argument of 1.0L.
3725         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3726         Likewise.
3727         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3728         value when x - 1 is zero.
3729         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3730         * sysdeps/i386/fpu/libm-test-ulps: Update.
3731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3733 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3735         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3736         alphasort and versionsort.
3738 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3740         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3741         macro.
3742         [copysignf]: Likewise.
3744 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3746         * crypt/md5-crypt.c: Fix formatting.
3748 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3750         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3751         (b64_from_24bit): New function.
3753 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3755         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3756         libc_hidden_builtin_def to ifunc.
3757         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3758         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3760 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3762         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3763         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3765 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3767         * nscd/Depend (linuxthreads): Remove.
3768         (nptl): Add.
3769         * resolv/Depend (linuxthreads): Remove.
3770         * rt/Depend (linuxthreads): Remove.
3772         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3773         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3774         $(common-objpfx)elf/.
3775         (link-libc-before-gnulib): Likewise.
3776         (elfobjdir): Remove variable.
3777         * Makefile (install): Use $(elf-objpfx) instead of
3778         $(common-objpfx)elf/.
3779         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3780         $(elfobjdir)/.
3781         (link-libc-deps): Likewise.
3782         ($(common-objpfx)libc.so): Likewise.
3783         ($(common-objpfx)linkobj/libc.so): Likewise.
3784         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3785         instead of $(common-objpfx)elf/.
3786         (symbolic-link-list): Likewise.
3787         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3788         [$(cross-compiling) = no]: Likewise.
3789         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3790         $(elfobjdir)/.
3791         (static-gnulib-arch): Likewise.
3792         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3793         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3794         $(common-objpfx)elf/.
3796 2014-05-21  Richard Henderson  <rth@redhat.com>
3798         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3799         (SINGLE_THREAD_P): Use the correct width load.  Fold
3800         into the ldr offset.
3802         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3803         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3805 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3807         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3808         (libgcc_s_resume): Use __attribute_used__.
3809         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3810         Likewise.
3812 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3814         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3815         optimization when used with float constants.
3817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3819 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3821         [BZ #16915]
3822         * locale/nl_langinfo_l.c: Make direct reference to every
3823         _nl_current_CATEGORY symbol.
3824         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3825         (tests-static): Add tst-langinfo-static.
3826         (tests-special): Add tst-langinfo-static.out.
3827         ($(objpfx)tst-langinfo.out): Redirect output.
3828         ($(objpfx)tst-langinfo-static.out): New.
3829         * localedata/tst-langinfo.sh: Send output to stdout.
3830         * localedata/tst-langinfo-static.c: New file.
3832         [BZ #16965]
3833         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3834         when the shift amount is modulo the limb size.
3836 2014-05-20  Richard Henderson  <rth@redhat.com>
3838         [BZ #16967]
3839         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3840         Change type of sa_flags from unsigned int to int.
3842         [BZ #16966]
3843         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3845         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3847 2014-05-20  Will Newton  <will.newton@linaro.org>
3849         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3850         Test the return value of the system call in the nocancel case.
3852 2014-05-20  Will Newton  <will.newton@linaro.org>
3853             Yvan Roux  <yvan.roux@linaro.org>
3855         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3856         #include of asm/ptrace.h.
3857         (PTRACE_GET_THREAD_AREA): Remove #undef.
3858         (PTRACE_GETHBPREGS): Likewise.
3859         (PTRACE_SETHBPREGS): Likewise.
3860         (struct user_regs_struct): New structure.
3861         (struct user_fpsimd_struct): New structure.
3862         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3863         #include of asm/ptrace.h and second #include of sys/user.h.
3864         (PTRACE_GET_THREAD_AREA): Remove #undef.
3865         (PTRACE_GETHBPREGS): Likewise.
3866         (PTRACE_SETHBPREGS): Likewise.
3867         (ELF_NGREG): Use new struct user_regs_struct.
3868         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3870 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3872         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3873         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3875 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3877         [BZ #16958]
3878         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3879         membar to avoid block loads/stores to overlap previous stores.
3881 2014-05-17  Richard Henderson  <rth@redhat.com>
3883         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3884         Create the __##syscall_name##_nocancel entry point.
3885         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3886         Remove; let the sysdep-cancel.h code create it.
3888 2014-05-17  David S. Miller  <davem@davemloft.net>
3890         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3891         Protect with __USE_GNU.
3892         (TIOCSET_TEMPT): Likewise.
3893         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3894         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3895         these are already provided in bits/ioctl-types.h
3897 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3899         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3900         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3902         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3903         Use wait4 regardless of [__NR_waitpid].
3905 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3907         PR libgcc/60166
3908         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3909         (_FP_NANSIGN_Q): Set the quiet bit.
3911 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3913         * benchtests/Makefile
3914         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3915         not $(common-objpfx)math/libm.so.
3916         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3917         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3918         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3919         $(common-objpfx)dlfcn/libdl.so.
3920         ($(objpfx)tst-audit8): Depend on $(libm), not
3921         $(common-objpfx)math/libm.so.
3922         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3923         not $(common-objpfx)dlfcn/libdl.so.
3924         * math/Makefile
3925         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3926         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3927         [$(build-shared) = yes].
3928         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3929         $(common-objpfx)nptl/libpthread.so.
3930         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3931         $(common-objpfx)math/libm.so$(libm.so-version) or
3932         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3933         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3934         $(common-objpfx)dlfcn/libdl.so.
3935         * setjmp/Makefile (link-libm): Remove variable.
3936         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3937         * stdio-common/Makefile (link-libm): Remove variable.
3938         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3939         * stdlib/Makefile (link-libm): Remove variable.
3940         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3941         ($(objpfx)tst-strtod-round): Likewise.
3942         ($(objpfx)tst-tininess): Likewise.
3943         ($(objpfx)tst-strtod-underflow): Likewise.
3944         ($(objpfx)tst-strtod6): Likewise.
3945         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3946         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3947         $(common-objpfx)dlfcn/libdl.so.
3949 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3951         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3952         BSD terminal modes definitions.
3954 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3956         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3957         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3959         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3960         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3961         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3962         Don't do #include_next.
3963         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3964         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3965         Don't do #include_next.
3966         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3967         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3968         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3969         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3971 2014-05-16  Allan McRae  <allan@archlinux.org>
3973         * po/sv.po: Update Swedish translation from translation project.
3975         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3976         in sed expression.
3978 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3980         [BZ #16917]
3981         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3982         errno if the TIOCGPTN ioctl fails with an error different than
3983         EINVAL.
3984         * login/tst-ptsname.c: New file.
3985         * login/Makefile (tests): Add tst-ptsname.
3987         [BZ #16943]
3988         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3989         and prlimit64.
3991 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3993         [BZ #16849]
3994         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3995         herrno to return EAI_AGAIN.
3997 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3999         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4000         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4001         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4002         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4003         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4004         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4005         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4006         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4007         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4008         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4009         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4010         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4011         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4012         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4013         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4014         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4015         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4016         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4017         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4018         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4019         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4020         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4021         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4022         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4023         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4024         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4025         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4026         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4027         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4028         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4030         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4032         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4034         Moved ...
4035         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4037         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4039         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4041         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4043         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4045         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4047         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4049         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4051         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4053         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4055         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4057         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4059         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4061         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4063         Moved ...
4064         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4066         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4068         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4070         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4072         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4074         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4076         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4078         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4080         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4082         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4084         Moved ...
4085         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4087         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4089         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4090         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4091         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4092         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4093         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4094         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4095         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4096         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4097         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4098         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4099         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4100         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4101         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4102         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4103         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4104         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4105         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4106         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4107         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4108         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4109         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4110         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4111         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4112         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4113         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4114         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4115         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4116         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4117         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4118         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4119         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4121         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4122         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4124         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4125         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4126         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4127         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4128         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4129         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4130         Moved ...
4131         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4132         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4133         Moved ...
4134         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4135         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4136         Moved ...
4137         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4138         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4139         Moved ...
4140         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4141         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4142         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4143         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4144         Moved ...
4145         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4146         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4147         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4148         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4149         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4150         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4151         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4152         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4153         Moved ...
4154         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4155         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4156         Moved ...
4157         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4158         ... here.
4159         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4160         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4161         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4162         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4163         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4164         Moved ...
4165         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4166         ... here.
4167         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4168         Moved ...
4169         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4170         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4171         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4172         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4173         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4174         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4175         Moved ...
4176         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4177         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4178         Moved ...
4179         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4180         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4181         Moved ...
4182         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4183         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4184         Moved ...
4185         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4186         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4187         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4188         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4189         Moved ...
4190         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4191         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4192         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4193         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4194         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4195         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4196         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4197         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4198         Moved ...
4199         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4200         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4201         Moved ...
4202         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4203         ... here.
4204         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4205         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4206         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4207         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4208         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4209         Moved ...
4210         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4211         ... here.
4212         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4213         Moved ...
4214         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4215         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4216         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4217         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4218         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4219         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4220         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4221         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4222         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4223         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4224         Moved ...
4225         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4226         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4227         Moved ...
4228         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4229         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4230         Moved ...
4231         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4232         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4233         Moved ...
4234         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4235         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4236         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4237         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4238         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4239         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4240         Moved ...
4241         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4242         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4243         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4244         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4245         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4246         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4247         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4248         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4249         Moved ...
4250         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4251         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4252         Moved ...
4253         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4254         ... here.
4255         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4256         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4257         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4258         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4259         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4260         Moved ...
4261         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4262         ... here.
4263         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4264         Moved ...
4265         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4266         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4267         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4268         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4269         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4270         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4271         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4272         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4273         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4274         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4275         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4277         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4278         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4280         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4281         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4283         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4284         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4285         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4286         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4287         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4288         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4289         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4290         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4291         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4292         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4293         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4294         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4295         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4296         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4297         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4298         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4299         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4300         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4301         Moved ...
4302         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4303         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4304         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4305         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4306         Moved ...
4307         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4308         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4309         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4310         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4311         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4313         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4314         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4315         Moved ...
4316         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4318         Moved ...
4319         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4320         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4321         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4322         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4323         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4324         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4325         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4326         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4327         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4328         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4329         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4330         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4331         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4332         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4333         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4334         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4335         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4337         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4338         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4339         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4340         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4341         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4343         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4344         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4345         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4346         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4347         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4348         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4349         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4350         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4351         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4352         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4354         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4357         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4358         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4359         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4360         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4361         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4362         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4363         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4364         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4365         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4366         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4367         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4368         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4369         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4370         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4371         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4372         Update #include.
4373         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4374         Likewise.
4375         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4376         Likewise.
4377         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4378         Likewise.
4379         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4380         Likewise.
4381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4382         Likewise.
4383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4384         Likewise.
4385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4386         Likewise.
4387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4388         Likewise.
4389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4390         Likewise.
4391         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4392         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4393         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4395         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4396         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4397         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4398         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4399         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4400         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4401         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4402         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4403         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4404         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4405         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4407         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4408         that was previously under [RESET_PID].
4409         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4410         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4411         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4413         * sysdeps/i386/nptl/Implies: New file.
4414         * sysdeps/x86_64/nptl/Implies: New file.
4415         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4416         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4417         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4418         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4420         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4421         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4422         (__libc_vfork): New strong alias.
4423         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4424         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4426         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4427         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4428         (__libc_vfork): New strong alias.
4429         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4430         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4432         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4433         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4434         (__libc_vfork): New strong alias.
4435         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4436         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4437         * nptl/pt-vfork.c: New file.
4438         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4439         (libpthread: GLIBC_2.20): New version set (empty).
4441 2014-05-14  Will Newton  <will.newton@linaro.org>
4443         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4444         rather than #if.
4446 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4448         [BZ #16564]
4449         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4450         arguments with exponent 65 or above.
4451         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4452         arguments 0x1p113L or above.
4453         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4454         to arguments 0x1p107L or above.
4455         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4456         positive arguments with exponent 65 or above.
4457         * math/auto-libm-test-in: Add more tests of log1p.
4458         * math/auto-libm-test-out: Regenerated.
4460         [BZ #16928]
4461         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4462         non-finite arguments is +0.
4463         * math/s_cacosf.c (__cacosf): Likewise.
4464         * math/s_cacosl.c (__cacosl): Likewise.
4465         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4466         * sysdeps/i386/fpu/libm-test-ulps: Update.
4467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4469         [BZ #16927]
4470         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4471         value.
4472         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4473         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4474         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4475         for explicit high bit of mantissa when testing for argument equal
4476         to 1.
4477         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4478         * sysdeps/i386/fpu/libm-test-ulps: Update.
4479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4481         [BZ #16516]
4482         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4483         (__erf): Scale by 16 instead of 8 in potentially underflowing
4484         case.  Ensure exception if result actually underflows.
4485         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4486         (__erff): Scale by 16 instead of 8 in potentially underflowing
4487         case.  Ensure exception if result actually underflows.
4488         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4489         (efx8): Remove variable.
4490         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4491         case.  Ensure exception if result actually underflows.
4492         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4493         (efx8): Remove variable.
4494         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4495         case.  Ensure exception if result actually underflows.
4496         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4497         (efx8): Remove variable.
4498         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4499         case.  Ensure exception if result actually underflows.
4500         * math/auto-libm-test-in: Add more tests of erf.
4501         * math/auto-libm-test-out: Regenerated.
4503 2014-05-14  Andreas Schwab  <schwab@suse.de>
4505         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4506         Remove code conditionalized on USE___THREAD.
4508         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4509         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4510         not definedness.
4512 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4514         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4515         Define unconditionally.
4516         (__ASSUME_O_CLOEXEC): Likewise.
4517         (__ASSUME_SOCK_CLOEXEC): Likewise.
4518         (__ASSUME_IN_NONBLOCK): Likewise.
4519         (__ASSUME_PIPE2): Likewise.
4520         (__ASSUME_EVENTFD2): Likewise.
4521         (__ASSUME_SIGNALFD4): Likewise.
4522         (__ASSUME_DUP3): Likewise.
4523         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4524         (__ASSUME_DUP3): Do not define.
4525         (__ASSUME_EVENTFD2): Likewise.
4526         (__ASSUME_IN_NONBLOCK): Likewise.
4527         (__ASSUME_O_CLOEXEC): Likewise.
4528         (__ASSUME_PIPE2): Likewise.
4529         (__ASSUME_SIGNALFD4): Likewise.
4530         (__ASSUME_SOCK_CLOEXEC): Likewise.
4531         (__ASSUME_UTIMES): Undefine.
4532         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4533         (__ASSUME_UTIMES): Do not define.
4534         (__ASSUME_O_CLOEXEC): Likewise.
4535         (__ASSUME_SOCK_CLOEXEC): Likewise.
4536         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4537         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4538         0x020621].
4539         (__ASSUME_PIPE2): Likewise.
4540         (__ASSUME_EVENTFD2): Likewise.
4541         (__ASSUME_SIGNALFD4): Likewise.
4542         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4543         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4544         Do not define.
4545         (__ASSUME_EVENTFD2): Likewise.
4546         (__ASSUME_SIGNALFD4): Likewise.
4547         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4548         (__ASSUME_32BITUIDS): Likewise.
4549         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4550         (__ASSUME_IPC64): Likewise.
4551         (__ASSUME_ST_INO_64_BIT): Likewise.
4552         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4553         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4554         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4555         (__ASSUME_UTIMES): Do not define.
4556         (__ASSUME_PSELECT): Likewise.
4557         (__ASSUME_PPOLL): 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/m68k/kernel-features.h
4566         (__ASSUME_UTIMES): Likewise.
4567         (__ASSUME_O_CLOEXEC): Likewise.
4568         (__ASSUME_SOCK_CLOEXEC): Likewise.
4569         (__ASSUME_IN_NONBLOCK): Likewise.
4570         (__ASSUME_PIPE2): Likewise.
4571         (__ASSUME_EVENTFD2): Likewise.
4572         (__ASSUME_SIGNALFD4): Likewise.
4573         (__ASSUME_DUP3): Likewise.
4574         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4575         (__ASSUME_UTIMES): Likewise.
4576         (__ASSUME_O_CLOEXEC): Likewise.
4577         (__ASSUME_SOCK_CLOEXEC): Likewise.
4578         (__ASSUME_IN_NONBLOCK): Likewise.
4579         (__ASSUME_PIPE2): Likewise.
4580         (__ASSUME_EVENTFD2): Likewise.
4581         (__ASSUME_SIGNALFD4): Likewise.
4582         (__ASSUME_DUP3): Likewise.
4583         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4584         Likewise.
4585         (__ASSUME_UTIMES): Likewise.
4586         (__ASSUME_EVENTFD2): Likewise.
4587         (__ASSUME_SIGNALFD4): Likewise.
4588         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4589         (__ASSUME_O_CLOEXEC): Likewise.
4590         (__ASSUME_SOCK_CLOEXEC): Likewise.
4591         (__ASSUME_IN_NONBLOCK): Likewise.
4592         (__ASSUME_PIPE2): Likewise.
4593         (__ASSUME_EVENTFD2): Likewise.
4594         (__ASSUME_SIGNALFD4): Likewise.
4595         (__ASSUME_DUP3): Likewise.
4596         (__ASSUME_UTIMES): Undefine.
4598         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4599         feclearexcept.  Remove symbol versioning code.
4600         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4601         symbol versioning code.
4602         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4603         symbol versioning code.
4604         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4605         feupdateenv.  Remove symbol versioning code.
4606         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4607         fegetexceptflag.  Remove symbol versioning code.
4608         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4609         fesetexceptflag.  Remove symbol versioning code.
4610         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4611         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4612         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4613         (__posix_fadvise64_l32): Remove prototype.
4614         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4615         code.
4617 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4619         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4620         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4621         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4622         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4624 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4626         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4627         current working directory
4629 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4631         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4632         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4633         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4634         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4635         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4636         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4637         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4638         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4639         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4640         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4641         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4642         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4643         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4644         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4645         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4646         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4647         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4648         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4649         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4650         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4651         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4652         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4653         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4654         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4655         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4656         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4657         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4658         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4659         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4660         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4661         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4662         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4663         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4664         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4665         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4666         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4667         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4668         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4669         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4670         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4671         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4672         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4674         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4675         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4677         * sysdeps/unix/sysv/linux/arm/Makefile
4678         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4679         Add rt-aeabi_unwind_cpp_pr1.
4680         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4681         Add nptl-aeabi_unwind_cpp_pr1.
4682         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4683         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4684         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4685         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4686         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4687         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4689         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4690         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4691         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4692         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4694         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4695         Deconditionalize the code that was previously under [RESET_PID].
4696         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4698         * sysdeps/generic/exit-thread.h: New file.
4699         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4700         * include/unistd.h (__exit_thread): Remove declaration.
4701         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4702         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4703         * csu/libc-start.c: Include <exit-thread.h>.
4704         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4705         * nptl/pthread_create.c: Include <exit-thread.h>.
4706         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4707         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4708         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4709         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4710         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4711         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4712         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4713         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4714         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4715         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4716         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4717         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4718         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4719         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4720         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4721         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4722         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4724 2014-05-13  Andreas Schwab  <schwab@suse.de>
4726         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4728 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4730         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4731         (__ASSUME_UTIMES): Do not condition on kernel version.
4732         (__ASSUME_PSELECT): Define unconditionally.
4733         (__ASSUME_PPOLL): Likewise.
4734         (__ASSUME_ATFCTS): Likewise.
4735         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4736         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4737         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4738         (__ASSUME_UTIMENSAT): Define unconditionally.
4739         (__ASSUME_PRIVATE_FUTEX): Likewise.
4740         (__ASSUME_FALLOCATE): Likewise.
4741         (__ASSUME_O_CLOEXEC): Likewise.
4742         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4743         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4744         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4745         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4746         (__ASSUME_IN_NONBLOCK): Likewise.
4747         (__ASSUME_PIPE2): Likewise.
4748         (__ASSUME_EVENTFD2): Likewise.
4749         (__ASSUME_SIGNALFD4): Likewise.
4750         (__ASSUME_DUP3): Likewise.
4751         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4752         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4753         (__ASSUME_AT_RANDOM): Likewise.
4754         (__ASSUME_PREADV): Likewise.
4755         (__ASSUME_PWRITEV): Likewise.
4756         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4757         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4758         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4759         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4760         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4761         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4762         (__ASSUME_O_CLOEXEC): Define unconditionally.
4763         (__ASSUME_PSELECT): Do not undefine conditionally.
4764         (__ASSUME_PPOLL): Likewise.
4765         (__ASSUME_ATFCTS): Likewise.
4766         (__ASSUME_SET_ROBUST_LIST): Likewise.
4767         (__ASSUME_UTIMENSAT): Likewise.
4768         (__ASSUME_FDATASYNC): Define unconditionally.
4769         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4770         (__ASSUME_SIGFRAME_V2): Likewise.
4771         )__ASSUME_EVENTFD2): Likewise.
4772         (__ASSUME_SIGNALFD4): Likewise.
4773         (__ASSUME_PSELECT): Do not undefine conditionally.
4774         (__ASSUME_PPOLL): Likewise.
4775         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4776         (__ASSUME_PSELECT): Define unconditionally.
4777         (__ASSUME_PPOLL): Likewise.
4778         (__ASSUME_O_CLOEXEC): Likewise.
4779         (__ASSUME_SOCK_CLOEXEC): Likewise.
4780         (__ASSUME_IN_NONBLOCK): Likewise.
4781         (__ASSUME_PIPE2): Likewise.
4782         (__ASSUME_EVENTFD2): Likewise.
4783         (__ASSUME_SIGNALFD4): Likewise.
4784         (__ASSUME_DUP3): Likewise.
4785         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4786         (__ASSUME_O_CLOEXEC): Likewise.
4787         (__ASSUME_SOCK_CLOEXEC): Likewise.
4788         (__ASSUME_IN_NONBLOCK): Likewise.
4789         (__ASSUME_PIPE2): Likewise.
4790         (__ASSUME_EVENTFD2): Likewise.
4791         (__ASSUME_SIGNALFD4): Likewise.
4792         (__ASSUME_DUP3): Likewise.
4793         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4794         (__ASSUME_EVENTFD2): Likewise.
4795         (__ASSUME_SIGNALFD4): Likewise.
4796         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4798 2014-05-12  Andreas Schwab  <schwab@suse.de>
4800         [BZ #16932]
4801         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4802         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4803         than maximum RPC packet size.
4804         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4805         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4806         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4807         (_nss_nis_getservbyport_r): Likewise.
4809 2014-05-12  Will Newton  <will.newton@linaro.org>
4811         * malloc/Makefile (tests): Add tst-mallopt.
4812         * malloc/tst-mallopt.c: New file.
4814 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4816         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4817         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4819 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4821         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4822         (tst-tlsmod6.so): Likewise.
4824 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4826         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4828 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4830         [BZ #16064]
4831         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4832         and <dl-procinfo.h>.
4833         (__fegetenv): Save SSE state in envp->__eip if supported.
4834         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4835         envp->__eip if supported.
4836         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4837         and <dl-procinfo.h>.
4838         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4839         __data_offset and __data_selector in environment to 0.  Set SSE
4840         state if supported.
4841         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4842         test-fenv-sse.
4843         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4844         -mfpmath=sse.
4845         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4847 2014-05-09  Will Newton  <will.newton@linaro.org>
4849         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4850         and libc_relro_required for ARM.
4851         * sysdeps/arm/preconfigure: Regenerate.
4853 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4854             Stefan Liebler  <stli@linux.vnet.ibm.com>
4856         * config.make.in (enable-lock-elision): New Makefile variable.
4857         * configure.ac: Likewise.
4858         * configure: Regenerate.
4859         * sysdeps/s390/configure.ac:
4860         Add check for gcc transactions support.
4861         * sysdeps/s390/configure: Regenerate.
4862         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4863         Build elision files if enabled.
4864         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4865         Add lock elision support for s390.
4866         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4867         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4868         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4869         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4870         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4871         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4872         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4873         Likewise.
4874         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4875         Likewise.
4876         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4877         Likewise.
4878         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4879         Likewise.
4880         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4881         (__lll_timedlock_elision, __lll_lock_elision)
4882         (__lll_unlock_elision, __lll_trylock_elision)
4883         (lll_timedlock_elision, lll_lock_elision)
4884         (lll_unlock_elision, lll_trylock_elision): Add.
4885         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4886         (pthread_mutex_t): Add lock elision support for s390.
4888 2014-05-14  Wilco  <wdijkstr@arm.com>
4890         * sysdeps/arm/fclrexcpt.c: Cleanup.
4891         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4892         * sysdeps/arm/feenablxcpt.c: Cleanup.
4893         * sysdeps/arm/fegetenv.c: Cleanup.
4894         * sysdeps/arm/fegetexcept.c: Cleanup.
4895         * sysdeps/arm/fegetround.c: Cleanup.
4896         * sysdeps/arm/feholdexcpt.c: Cleanup.
4897         * sysdeps/arm/fesetenv.c: Cleanup.
4898         * sysdeps/arm/fesetround.c: Cleanup.
4899         * sysdeps/arm/feupdateenv.c: Cleanup.
4900         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4901         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4902         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4903         * sysdeps/arm/ftestexcept.c: Cleanup.
4904         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4905         * sysdeps/arm/setfpucw.c: Cleanup.
4907 2014-05-09  Will Newton  <will.newton@linaro.org>
4909         * sysdeps/arm/armv7/strcmp.S: New file.
4910         * NEWS: Mention addition of ARMv7 optimized strcmp.
4912 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4914         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4915         look for %.ac rather than %.in.
4917         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4918         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4919         * sysdeps/mach/hurd/configure: Regenerated.
4920         * sysdeps/unix/sysv/linux/configure: Regenerated.
4922         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4924 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4926         [BZ# 16922]
4927         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4928         (LONG_SUB): Ditto.
4929         (PTR_SUB): Ditto.
4931 2014-05-07  Andreas Schwab  <schwab@suse.de>
4933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4934         when skipping over non-matching result from nscd.
4936 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4938         [BZ #16876]
4939         * nptl/sockperf.c (client): Check socket return value.
4941         [BZ #16877]
4942         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4943         nscd security class.
4945 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4947         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4948         * sysdeps/arm/unwind.h: ... here.
4950 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4952         [BZ# 16916]
4953         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4954         Define.
4956 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4958         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4959         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4960         multiarch strncpy for PPC64.
4961         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4962         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4964         multiarch optimizations.
4965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4966         (__libc_ifunc_impl_list): Likewise.
4967         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4968         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4969         multiarch stpncpy for PPC64.
4970         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4971         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4973 2014-05-06  Andreas Schwab  <schwab@suse.de>
4975         [BZ #16912]
4976         * gmon/mcount.c (_MCOUNT_DECL): Use
4977         atomic_compare_and_exchange_bool_acq instead of
4978         catomic_compare_and_exchange_bool_acq.
4980 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4982         * elf/Makefile (others, install-bin): Remove pldd.
4983         (pldd-modules): Variable removed.
4984         ($(objpfx)pldd): Target removed.
4985         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4986         (others, install-bin): Append pldd here.
4987         ($(objpfx)pldd): New target.
4989         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4990         to 0, so the first #if test emitted later doesn't see it undefined.
4991         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4992         * sysdeps/gnu/errlist.c: Regenerated.
4994 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4996         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4997         [libc_hidden_builtin_def]: Define to empty value.
4998         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4999         [libc_hidden_builtin_def]: Likewise.
5000         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5001         [libc_hidden_builtin_def]: Likewise.
5002         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5003         [libc_hidden_builtin_def]: Likewise.
5004         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5005         __redirect_memcpy and define ifunc as default hidden symbol.
5006         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5007         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5009 2014-05-04  Adam Conrad  <adconrad@0c3.net>
5011         * locale/iso-4217.def: Reintroduce XDR currency.
5013 2014-05-04  Allan McRae  <allan@archlinux.org>
5015         * po/eo.po: Update Esperanto translation from translation project.
5017 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
5019         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5020         and FEATURE_INDEX_MAX to 1.
5021         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5023 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5025         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5026         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5027         * iconvdata/big5.c (ONE_DIRECTION): Define.
5028         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5029         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5030         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5031         * iconvdata/cp932.c (ONE_DIRECTION): Define.
5032         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5033         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5034         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5035         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5036         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5037         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5038         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5039         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5040         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5041         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5042         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5043         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5044         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5045         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5046         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5047         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5048         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5049         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5050         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5051         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5052         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5053         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5054         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5055         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5056         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5057         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5058         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5059         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5060         * iconvdata/johab.c (ONE_DIRECTION): Define.
5061         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5062         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5063         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5064         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5065         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5066         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5067         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5068         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5069         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5070         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5072 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5074         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5075         (_IO_JUMPS_OFFSET): Define to 0.
5077         * nptl/sysdeps/pthread/bits/libc-lock.h
5078         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5079         (__libc_lock_define_initialized_recursive): Always define using
5080         initializer.  Modern compilers treat uninitialized (implicit zero) and
5081         explicit zero initializers the same (i.e. put the datum in bss).
5083 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5085         * nscd/nscd-client.h: Include <string.h>.
5087 2014-05-01  David S. Miller  <davem@davemloft.net>
5089         [BZ #16885]
5090         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5091         multiple zero bytes exist at the end of a string.
5092         Reported by Aurelien Jarno <aurelien@aurel32.net>
5094         * string/test-strcmp.c (check): Add explicit test for situations where
5095         there are multiple zero bytes after the first.
5097 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5099         [BZ #16890]
5100         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5101         when compiling wprintf.
5102         * stdio-common/tstdiomisc.c (t3): New function.
5103         (main): Call it.
5105 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5107         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5108         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5109         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5110         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5112 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5114         * stdlib/longlong.h: Updated from GCC.
5116 2014-05-01  Will Newton  <will.newton@linaro.org>
5117             Bernard Ogden  <bernie.ogden@linaro.org>
5119         * NEWS: Update fixed bug list.
5121         [BZ #15119]
5122         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5124 2014-04-30  David S. Miller  <davem@davemloft.net>
5126         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5127         (libc_feholdexcept_setround_sparc_ctx): New function.
5128         (libc_fesetenv_sparc_ctx): Likewise.
5129         (libc_feupdateenv_sparc_ctx): Likewise.
5130         (libc_feholdsetround_sparc_ctx): Likewise.
5131         (libc_feholdexcept_setround_ctx): Define.
5132         (libc_feholdexcept_setroundf_ctx): Likewise.
5133         (libc_feholdexcept_setroundl_ctx): Likewise.
5134         (libc_fesetenv_ctx): Likewise.
5135         (libc_fesetenvf_ctx): Likewise.
5136         (libc_fesetenvl_ctx): Likewise.
5137         (libc_feupdateenv_ctx): Likewise.
5138         (libc_feupdateenvf_ctx): Likewise.
5139         (libc_feupdateenvl_ctx): Likewise.
5140         (libc_feresetround_ctx): Likewise.
5141         (libc_feresetroundf_ctx): Likewise.
5142         (libc_feresetroundl_ctx): Likewise.
5143         (libc_feholdsetround_ctx): Likewise.
5144         (libc_feholdsetroundf_ctx): Likewise.
5145         (libc_feholdsetroundl_ctx): Likewise.
5147         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5148         with __USE_GNU instead of XOPEN cpp guards.
5150         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5151         0.
5153         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5154         with XOPEN cpp guards.
5156 2014-04-30  Julian Brown  <julian@codesourcery.com>
5158         [BZ #16888]
5159         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5160         handling.
5162 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5164         [BZ #9894]
5165         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5166         Change to 2.6.32.
5167         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5168         * sysdeps/unix/sysv/linux/configure: Regenerated.
5169         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5170         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5171         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5172         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5173         * README: Update reference to required Linux kernel version.
5174         * manual/install.texi (Linux): Update reference to required Linux
5175         kernel headers version.
5176         * INSTALL: Regenerated.
5178         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5179         header inclusion.
5180         [POSIX] (limits.h): Likewise.
5181         [POSIX] (math.h): Likewise.
5182         [POSIX] (sys/wait.h): Likewise.
5183         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5184         function.
5185         [POSIX] (stddef.h): Do not allow header inclusion.
5187 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5189         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5191 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5193         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5194         Return immediately after lll_futex_wake.
5196 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5198         [BZ #16791]
5199         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5200         structure.
5201         (datahead_init_pos): Call datahead_init_common early.
5202         (datahead_init_neg): Likewise.
5204         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5205         datahead_init_neg): New functions.
5206         * nscd/aicache.c (addhstaiX): Use them.
5207         * nscd/grpcache.c (cache_addgr): Likewise.
5208         * nscd/hstcache.c (cache_addhst): Likewise.
5209         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5210         * nscd/netgroupcache.c (do_notfound): Likewise.
5211         (addgetnetgrentX): Likewise.
5212         (addinnetgrX): Likewise.
5213         * nscd/pwdcache.c (cache_addpw): Likewise.
5214         * nscd/servicescache.c (cache_addserv): Likewise.
5216 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5217             Atsushi Onoe  <atsushi@onoe.org>
5219         [BZ #14308]
5220         [BZ #12994]
5221         [BZ #13651]
5222         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5223         one response is valid.
5224         * resolv/res_send.c (send_dg): Check for validity of other
5225         response if the current response is a referral.
5227 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5229         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5231 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5233         [BZ #16823]
5234         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5235         Always divide by positive zero when computing -Inf result.
5236         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5237         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5239 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5241         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5242         FPSCR if value do not change.
5243         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5244         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5245         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5246         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5247         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5248         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5249         function.
5251 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5253         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5254         * sysdeps/unix/sysv/linux/hppa: Move directory from
5255         ports/systeps/unix/sysv/linux/hppa.
5256         * README: Update listing for hppa-*-linux-gnu.
5258 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5260         [BZ #16754]
5261         * manual/stdio.texi (Hook functions): Fix types of stream hook
5262         functions.
5263         [BZ #16854]
5264         * socket/sys/socket.h: Fix typo in comment.
5266 2014-04-28  Wilco  <wdijkstr@arm.com>
5268         * sysdeps/arm/fenv_private.h: New file.
5269         * sysdeps/arm/math_private.h: New file.
5270         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5272 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5274         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5275         with __int128_t.
5276         (La_x86_64_retval): Likewise.
5278 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5280         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5281         fpsr if value didn't change.
5282         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5283         to fpcr if value didn't change.
5284         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5285         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5286         fpsr or fpcr if value didn't change.
5287         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5288         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5289         fpcr if value didn't change.
5290         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5291         to fpsr if value didn't change.
5293 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5295         * nptl/tst-sem3.c: Use test-skeleton.c
5296         (main): Rename to do_test.  Use return instead of
5297         exit.
5298         * nptl/tst-sem4.c: Use test-skeleton.c
5299         (main): Rename to do_test.
5301 2014-04-22  David S. Miller  <davem@davemloft.net>
5303         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5304         (struct sigaction): New struct member __glibc_reserved0, change
5305         type of sa_flags to int.
5307 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5309         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5310         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5312 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5314         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5315         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5317 2014-04-22  Will Newton  <will.newton@linaro.org>
5318             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5320         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5321         (__longjmp): Add longjmp and longjmp_target SystemTap
5322         probes.
5323         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5324         (__sigsetjmp): Add setjmp SystemTap probe.
5326 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5328         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5329         match manual order.
5331 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5333         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5335         * sysdeps/powerpc/fpu/fenv_private.h
5336         (libc_feholdexcept_setroundl_ctx): Define to
5337         libc_feholdexcept_setround_ppc_ctx.
5338         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5339         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5340         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5341         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5343 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5345         * sysdeps/aarch64/math-tests.h: New file.
5347 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5349         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5350         New.
5351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5352         Check and set bit_AVX2_Usable.
5353         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5354         macro.
5355         (bit_AVX2): Likewise.
5356         (index_AVX2_Usable): Likewise.
5357         (CPUID_AVX2): Likewise.
5358         (HAS_AVX2): Likewise.
5360 2014-04-17  Will Newton  <will.newton@linaro.org>
5362         * manual/setjmp.texi (System V contexts): Add note that
5363         calling setcontext on a context created by a call to a
5364         signal handler is undefined.  Update text to note that
5365         setcontext from a signal handler is possible but not
5366         recommended.
5368         [BZ #16629]
5369         * stdlib/tst-setcontext.c: Include signal.h.
5370         (main): Check that the signal stack before and
5371         after swapcontext is the same.
5373         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5374         Re-implement to restore registers in user code and avoid
5375         rt_sigreturn system call.
5377 2014-04-17  Wilco  <wdijkstr@arm.com>
5379         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5380         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5381         * math/test-fenv.c: Skip exception trap tests on targets which only
5382         support non-stop mode.
5384 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5385             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5387         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5388         (libc_feholdsetround_aarch64_ctx)
5389         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5390         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5391         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5392         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5393         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5394         (libc_feresetround_noexl_ctx): Define.
5396 2014-04-16  Richard Henderson  <rth@redhat.com>
5398         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5400         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5401         unwind tables.
5403         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5404         const from the non-libc, non-ldso copy.
5406         * sysdeps/alpha/libm-test-ulps: Regenerate.
5408 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5409             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5411         * sysdeps/aarch64/fpu/math_private.h: New file.
5413 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5415         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5417 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5419         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5420         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5421         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5422         Intel MPX bound registers before _dl_profile_fixup.
5423         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5424         registers after _dl_profile_fixup.  Save and restore bound
5425         registers bnd0/bnd1 when calling _dl_call_pltexit.
5426         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5427         (LR_BND_OFFSET): Likewise.
5428         (LRV_BND0_OFFSET): Likewise.
5429         (LRV_BND1_OFFSET): Likewise.
5431 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5433         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5434         to...
5435         * sysdeps/mach/hurd/i386/tls.h: ... here.
5436         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5437         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5438         fields.
5440 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5442         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5444 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5446         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5448 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5450         [BZ #14770]
5451         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5452         * sysdeps/s390/configure: Regenerate.
5454         [BZ #16824]
5455         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5456         Set round-to-nearest internally to reduce error accumulation.
5458 2014-04-16  Alan Modra  <amodra@gmail.com>
5460         [BZ #16740]
5461         [BZ #16619]
5462         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5463         * math/libm-test.inc (frexp_test_data): Add tests.
5464         * NEWS: Update fixed bug list.
5466 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5468         * benchtests/Makefile: Depend on libraries in build directory.
5469         (bench-math): Separate out math tests.
5470         (bench-pthread): Separate out pthread tests.
5471         (bench): Include math and pthread tests.
5473 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5475         [BZ #16831]
5476         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5477         _dl_debug_initialize.
5479         * configure.ac: Remove SELinux header check.
5480         * configure: Regenerate.
5481         * nscd/selinux.c (perms): Array of const char* to permission names.
5482         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5483         default policy. Call string_to_security_class and string_to_av_perm to
5484         translate strings. Enforce default policy and call avs_has_perm with
5485         results of translated strings.
5487 2014-04-13  David S. Miller  <davem@davemloft.net>
5489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5491 2014-04-12  Allan McRae  <allan@archlinux.org>
5493         [BZ #16838]
5494         * manual/string.texi (Collation Functions): Fix qsort argument
5495         order in example.
5496         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5498 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5500         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5501         Make the test a no-op if there are no exceptions defined.
5503 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5505         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5506         enable-hardcoded-path-in-tests
5508 2014-04-11  Will Newton  <will.newton@linaro.org>
5510         * benchtests/Makefile (extra-objs): Add json-lib.o.
5511         (bench-func): Tidy up JSON output.
5512         * benchtests/bench-skeleton.c: Include json-lib.h.
5513         (main): Use JSON library functions to do output of
5514         benchmark results.
5515         * benchtests/bench-timing-type.c (main): Output the
5516         timing type simply, leaving formatting to the user.
5517         * benchtests/json-lib.c: New file.
5518         * benchtests/json-lib.h: Likewise.
5520 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5522         [BZ #15215]
5523         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5524         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5525         memory barriers.  Add comments.
5526         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5527         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5528         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5529         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5530         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5531         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5533 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5535         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5536         * sysdeps/s390/s390-64/configure.ac: ... this ...
5537         * sysdeps/s390/configure.ac: ... to here.
5538         * sysdeps/s390/s390-32/configure: Delete file.
5539         * sysdeps/s390/s390-64/configure: Delete file.
5540         * sysdeps/s390/configure: Regenerate.
5542 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5544         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5546 2014-04-11  Will Newton  <will.newton@linaro.org>
5548         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5549         to zero if it is not defined elsewhere.  (mtrim): Test
5550         the value of MALLOC_DEBUG with #if rather than #ifdef.
5552 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5554         * benchtests/pthread_once-inputs: New file.
5555         * benchtests/pthread_once-source.c: New file.
5556         * benchtests/README: Update documentation.
5558 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5559             H.J. Lu  <hongjiu.lu@intel.com>
5561         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5562         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5563         * sysdeps/x86_64/configure: Regenerated.
5564         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5565         macro.
5566         (REGISTER_SAVE_RAX): Likewise.
5567         (REGISTER_SAVE_RCX): Likewise.
5568         (REGISTER_SAVE_RDX): Likewise.
5569         (REGISTER_SAVE_RSI): Likewise.
5570         (REGISTER_SAVE_RDI): Likewise.
5571         (REGISTER_SAVE_R8): Likewise.
5572         (REGISTER_SAVE_R9): Likewise.
5573         (REGISTER_SAVE_BND0): Likewise.
5574         (REGISTER_SAVE_BND1): Likewise.
5575         (REGISTER_SAVE_BND2): Likewise.
5576         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5577         bound registers when calling _dl_fixup.
5579 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5581         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5582         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5583         of its definition.
5584         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5585         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5586         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5587         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5588         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5589         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5590         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5592 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5594         [BZ #15514]
5595         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5596         pathconf(_PC_NAME_MAX).
5598 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5600         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5601         Remove macro usage.
5602         (__PTHREAD_SPINS): Move definition to ...
5603         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5604         (__PTHREAD_SPINS): ... here.
5605         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5606         (__PTHREAD_SPIN): Likewise.
5607         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5608         (__PTHREAD_SPIN): Likewise.
5609         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5610         (__PTHREAD_SPIN): Likewise.
5611         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5612         (__PTHREAD_SPIN): Likewise.
5613         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5614         (__PTHREAD_SPIN): Likewise.
5615         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5616         (__PTHREAD_SPIN): Likewise.
5617         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5618         (__PTHREAD_SPIN): Likewise.
5619         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5620         (__PTHREAD_SPIN): Likewise.
5621         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5622         (__PTHREAD_SPIN): Likewise.
5623         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5624         (__PTHREAD_SPIN): Likewise.
5625         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5626         (__PTHREAD_SPIN): Likewise.
5627         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5628         (__PTHREAD_SPIN): Likewise.
5630         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5631         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5632         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5633         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5634         imply folder.
5635         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5636         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5637         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5638         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5639         correct imply path.
5640         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5641         strlen symbol for non multi-arch builds.
5642         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5643         missing hidden_def and weak_alias.
5645 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5647         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5649 2014-04-07  Will Newton  <will.newton@linaro.org>
5651         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5652         and contents.  [!_LIBC] Remove #ifndef and contents.
5653         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5654         * string/memccpy.c (__memccpy): Use ANSI prototype.
5655         * string/memfrob.c (memfrob): Likewise.
5656         * string/strcoll.c (STRCOLL): Likewise.
5657         * string/strlen.c (strlen): Likewise.
5658         * string/strtok.c (STRTOK): Likewise.
5659         * string/strcat.c: Remove unused #include of memcopy.h.
5660         (strcat): Use ANSI prototype.
5661         * string/strchr.c: Remove unused #include of memcopy.h.
5662         (strchr): Use ANSI prototype.
5663         * string/strcmp.c: Remove unused #include of memcopy.h.
5664         (strcmp): Use ANSI prototype.
5665         * string/strcpy.c: Remove unused #include of memcopy.h.
5666         (strcpy): Use ANSI prototype.
5668 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5670         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5671         * config.make.in (config-extra-cppflags): Set it from
5672         libc_extra_cppflags.
5673         * configure.ac (libc_extra_cflags): Make it accumulate over
5674         configure fragments.
5675         (libc_extra_cppflags): New flag.
5676         * configure. Regenerate.
5677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5678         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5679         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5682         [BZ #16815]
5683         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5684         result for FE_DOWNWARD rounding mode.
5685         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5686         Likewise.
5687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5689 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5691         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5692         in function argument name.
5694 2014-04-03  David Svoboda  <svoboda@cert.org>
5696         [BZ #5666]
5697         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5698         explicitly.
5700 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5702         * elf/dl-unmap-segments.h: New file.
5703         * sysdeps/generic/ldsodefs.h
5704         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5705         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5706         * elf/dl-fptr.c: Likewise.
5707         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5708         * sysdeps/aarch64/tlsdesc.c: Likewise.
5709         * sysdeps/arm/tlsdesc.c: Likewise.
5710         * sysdeps/i386/tlsdesc.c: Likewise.
5711         * sysdeps/tile/dl-runtime.c: Likewise.
5712         * sysdeps/x86_64/tlsdesc.c: Likewise.
5713         * elf/dl-load.h: New file.
5714         * elf/dl-load.c: Include it.
5715         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5716         Macros moved to dl-load.h.
5717         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5718         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5719         Use _dl_unmap_segments in place of __munmap.
5720         Break out segment-mapping loop into ...
5721         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5723 2014-04-03  Will Newton  <will.newton@linaro.org>
5725         * elf/dl-lookup.c (do_lookup_x): Remove comment
5726         referring to nested function and move variable
5727         declarations down to before first use.
5729 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5731         [BZ #16799]
5732         [BZ #16800]
5733         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5734         with 0 numerator.
5735         * math/s_catanf.c (__catanf): Likewise.
5736         * math/s_catanh.c (__catanh): Likewise.
5737         * math/s_catanhf.c (__catanhf): Likewise.
5738         * math/s_catanhl.c (__catanhl): Likewise.
5739         * math/s_catanl.c (__catanl): Likewise.
5740         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5741         by positive zero when computing -Inf result.
5742         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5743         (catanh_test): Likewise.
5744         * sysdeps/i386/fpu/libm-test-ulps: Update.
5745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5747         [BZ #16789]
5748         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5749         instead of using underflowing value in computing result.
5750         * math/s_clog10.c (__clog10): Likewise.
5751         * math/s_clog10f.c (__clog10f): Likewise.
5752         * math/s_clog10l.c (__clog10l): Likewise.
5753         * math/s_clogf.c (__clogf): Likewise.
5754         * math/s_clogl.c (__clogl): Likewise.
5755         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5756         (clog10_test): Likewise.
5757         * sysdeps/i386/fpu/libm-test-ulps: Update.
5758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5760 2014-04-02  Alan Modra  <amodra@gmail.com>
5762         [BZ #16739]
5763         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5764         output when value is near a power of two.  Use int64_t for lx and
5765         remove casts.  Use decimal rather than hex exponent constants.
5766         Don't use long double multiplication when double will suffice.
5767         * math/libm-test.inc (nextafter_test_data): Add tests.
5768         * NEWS: Add 16739 and 16786 to bug list.
5770         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5772         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5774 2014-04-01  Will Newton  <will.newton@linaro.org>
5776         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5777         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5779 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5781         [BZ #13347]
5782         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5783         * nptl/tst-setuid2.c: New file.
5784         * nptl/Makefile (xtests): Add tst-setuid2.
5786 2014-04-01  Alan Modra  <amodra@gmail.com>
5788         [BZ #16786]
5789         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5791 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5793         [BZ #6803]
5794         [BZ #6804]
5795         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5796         set errno as appropriate.
5797         * math/w_scalbf.c (__scalbf): Likewise.
5798         * math/w_scalbl.c (__scalbl): Likewise.
5799         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5800         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5801         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5802         Add more NaN tests.
5804         [BZ #16349]
5805         * math/w_atan2.c: Include <errno.h>.
5806         (__atan2): Set errno for result underflowing to zero.
5807         * math/w_atan2f.c: Include <errno.h>.
5808         (__atan2f): Set errno for result underflowing to zero.
5809         * math/w_atan2l.c: Include <errno.h>.
5810         (__atan2l): Set errno for result underflowing to zero.
5811         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5812         tests.
5813         * math/auto-libm-test-out: Regenerated.
5815 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5817         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5818         Encode instruction correctly in little endian.
5819         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5820         Likewise.
5821         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5822         Likewise.
5823         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5824         Likewise.
5825         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5826         Likewise.
5828 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5830         [BZ #9894]
5831         * sysdeps/unix/sysv/linux/kernel-features.h
5832         [__sparc__ && !__arch64__ && !__sparc_v9__]
5833         (__ASSUME_SET_ROBUST_LIST): Do not define.
5834         [__sparc__ && !__arch64__ && !__sparc_v9__]
5835         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5836         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5837         Likewise.
5838         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5839         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5840         (__ASSUME_REQUEUE_PI): Likewise.
5841         (__ASSUME_SET_ROBUST_LIST): Likewise.
5842         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5843         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5844         Undefine.
5845         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5846         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5847         Likewise.
5848         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5849         Likewise.
5850         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5851         Likewise.
5852         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5853         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5854         Undefine.
5855         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5856         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5857         Likewise.
5859         [BZ #16648]
5860         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5861         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5862         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5864 2014-03-31  Will Newton  <will.newton@linaro.org>
5866         * benchtests/Makefile (bench): Add ffs and ffsll to list
5867         of tests.
5868         * benchtests/ffs-inputs: New file.
5869         * benchtests/ffsll-inputs: Likewise.
5871 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5873         [BZ #16770]
5874         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5875         too large before casting to int.
5876         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5877         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5878         * math/libm-test.inc (scalb_test_data): Add more tests.
5880 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5882         * benchtests/Makefile (DETAILED_OPT): New make option.
5883         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5884         set.
5885         * benchtests/bench-skeleton.c: Include stdbool.h.
5886         (main): Store and print timings per input.
5887         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5888         member to each argument value.
5889         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5890         (_print_arg_data): Initialize per-input timing to 0.
5892         * benchtests/Makefile (timing-type): New binary.
5893         (bench-clean): Also remove bench-timing-type.
5894         (bench): New target for timing-type.
5895         (bench-func): Print output in JSON format.
5896         * benchtests/bench-skeleton.c (main): Print output in JSON
5897         format.
5898         * benchtests/bench-timing-type.c: New file.
5899         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5900         (TIMING_PRINT_STATS): Remove.
5901         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5902         name separately.
5904         * benchtests/bench-modf.c: Remove.
5905         * benchtests/modf-inputs: New inputs file.
5907 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5909         [BZ #16362]
5910         * math/s_clog10.c (M_PI_LOG10E): New macro.
5911         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5912         imaginary parts are 0.
5913         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5914         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5915         imaginary parts are 0.
5916         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5917         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5918         imaginary parts are 0.
5919         * math/libm-test.inc (clog10_test_data): Update expected results
5920         for when real and imaginary parts are 0.
5922 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5924         * elf/dl-load.c: Finish conversion of __builtin_expect into
5925         __glibc_{un}likely.
5927 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5929         [BZ #16348]
5930         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5931         1+x for argument with exponent below -67.
5932         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5933         Likewise.
5934         * math/auto-libm-test-in: Add more tests of exp.
5935         * math/auto-libm-test-out: Regenerated.
5937 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5939         [BZ #16759]
5940         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5941         (nscd_getnetgrent): Use it.
5943         [BZ #16760]
5944         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5945         of stpcpy.
5947 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5949         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5950         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5951         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5952         (lll_robust_unlock): Remove out of line section. Use cfi
5953         intrinsics.
5954         (LLL_STUB_UNWIND_INFO*): Remove.
5955         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5956         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5957         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5958         (lll_robust_unlock): Remove out of line section. Use cfi
5959         intrinsics.
5960         (LLL_STUB_UNWIND_INFO*): Remove.
5962 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5964         [BZ #16758]
5965         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5966         blank values.
5968 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5970         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5972 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5974         [BZ #16198]
5975         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5976         fnstenv.
5977         * math/test-fenv-preserve.c: New file.
5978         * math/Makefile (tests): Add test-fenv-preserve.
5980 2014-03-26  Will Newton <will.newton@linaro.org>
5982         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5984 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5986         * scripts/versionlist.awk: Partition the version sets and emit all
5987         GLIBC_* (sorted) before all others (sorted).
5989 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5991         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5992         GLIBC_2.2.5 version.
5994 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5996         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5997         calls.
5999         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6000         previous change.
6002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6004 2014-03-25  Andreas Schwab  <schwab@suse.de>
6006         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6007         label to be used after in6ailist is initialized.
6009 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6011         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6012         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6014 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
6016         [BZ #16357]
6017         [BZ #16599]
6018         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6019         min_plus_half.
6020         (fp_formats): Update initializers.
6021         (init_fp_formats): Initialize new field.
6022         (output_for_one_input_case): Allow underflow for results up to
6023         min_plus_half.
6024         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6025         * math/auto-libm-test-in: Don't mark some underflows from asin and
6026         atanh as spurious.
6027         * math/auto-libm-test-out: Regenerated.
6028         * sysdeps/i386/fpu/libm-test-ulps: Update.
6029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6031 2014-03-25  Andreas Schwab  <schwab@suse.de>
6033         * libio/Makefile (tst-ftell-partial-wide-ENV)
6034         (tst-ftell-active-handler-ENV): Define.
6036 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
6038         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6040 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6042         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6044 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6046         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6047         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6048         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6050 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6052         [BZ #16634]
6053         * elf/dl-load.c (open_verify): Add mode parameter.
6054         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6055         (open_path): Change from boolean 'secure' to complete flag 'mode'
6056         (_dl_map_object): Adjust.
6057         * elf/Makefile (tests): Add tst-dlopen-aout.
6058         * elf/tst-dlopen-aout.c: New test.
6060 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6062         [BZ #16714]
6063         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6064         (struct stat): Rename member pad0 to __glibc_reserved0.
6066         [BZ #16712]
6067         * sysdeps/s390/s390-32/bits/wordsize.h
6068         (__WORDSIZE32_SIZE_ULONG): New define.
6069         * sysdeps/s390/s390-64/bits/wordsize.h
6070         (__WORDSIZE32_SIZE_ULONG): Likewise.
6071         * sysdeps/generic/stdint.h (SIZE_MAX):
6072         Define as UL if __WORDSIZE32_SIZE_ULONG.
6074         [BZ #16713]
6075         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6076         (__glibc_reserved0): New variable.
6077         (sa_flags): Change type to int.
6079         * posix/Makefile (before-compile): Use += before-compile instead
6080         of a :=.
6082         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6083         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6085 2014-03-20  Andreas Schwab  <schwab@suse.de>
6087         [BZ #16743]
6088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6089         non-matching result from nscd.
6091 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6093         * scripts/bench.py: Moved to ...
6094         * benchtests/scripts/bench.py: ... here.
6095         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6097 2014-03-24  Andreas Schwab  <schwab@suse.de>
6099         [BZ #16002]
6100         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6101         alloca_account and account alloca use for struct in6ailist.
6103 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6105         [BZ #16284]
6106         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6107         rounding mode to recompute results that overflow to infinity or
6108         underflow to zero.
6109         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6110         bug 16284.
6111         * math/auto-libm-test-out: Regenerated.
6112         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6113         (ccosh_test): Likewise.
6114         (csin_test_data): Use plus_oflow.
6115         (csin_test): Use ALL_RM_TEST.
6116         (csinh_test_data): Use plus_oflow.
6117         (csinh_test): Use ALL_RM_TEST.
6118         * sysdeps/i386/fpu/libm-test-ulps: Update.
6119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6121 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6123         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6124         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6125         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6127         [BZ #16731]
6128         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6129         when x - 1 is zero.
6130         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6131         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6132         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6133         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6134         argument is 1.
6135         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6136         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6137         zero.
6138         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6139         * sysdeps/i386/fpu/libm-test-ulps: Update.
6140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6142 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6144         * scripts/bench.pl: Remove file.
6145         * scripts/bench.py: New benchmark script.
6146         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6147         * benchtests/README: Mention python dependency.
6148         * scripts/pylintrc: New file.
6149         * scripts/pylint: New file.
6151         * bits/mathdef.h: Use #ifdef instead of #if.
6152         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6153         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6154         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6155         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6156         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6157         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6159 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6160             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6162         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6164         and strpbrk-ppc64 objects.
6165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6166         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6167         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6168         multiarch strpbrk for POWER7.
6169         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6170         multiarch strpbrk for PPC64.
6171         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6172         ifunc selector.
6173         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6174         strpbrk for POWER7.
6176 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6178         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6179         (atan_test): Likewise.
6180         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6181         (atanh_test): Use ALL_RM_TEST.
6182         (atan2_test_data): Likewise.
6183         (cabs_test): Likewise.
6184         (cacosh_test): Likewise.
6185         (carg_test): Likewise.
6186         (casin_test): Likewise.
6187         (casinh_test): Likewise.
6188         (cbrt_test): Likewise.
6189         (csqrt_test): Likewise.
6190         (erf_test): Likewise.
6191         (erfc_test): Likewise.
6192         (pow10_test): Likewise.
6193         (exp2_test): Likewise.
6194         (hypot_test): Likewise.
6195         (j0_test): Likewise.
6196         (j1_test): Likewise.
6197         (lgamma_test): Likewise.
6198         (gamma_test): Likewise.
6199         (sincos_test): Likewise.
6200         (tanh_test): Likewise.
6201         (y0_test): Likewise.
6202         (y1_test): Likewise.
6203         * sysdeps/i386/fpu/libm-test-ulps: Update.
6204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6206 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6208         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6210         and strcspn-ppc64 objects.
6211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6212         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6213         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6214         multiarch strcspn for POWER7.
6215         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6216         multiarch strcspn for PPC64.
6217         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6218         ifunc selector.
6219         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6220         strcspn for POWER7.
6222 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6224         * math/gen-libm-test.pl (generate_testfile): Expect only function
6225         name as argument to AUTO_TESTS_* and pass results for all rounding
6226         modes to parse_args.
6227         (parse_auto_input): Separate inputs of automatic tests from
6228         outputs before storing in %auto_tests.
6229         * math/libm-test.inc (acos_test_data): Update call to
6230         AUTO_TESTS_f_f.
6231         (acos_test): Use ALL_RM_TEST.
6232         (acos_tonearest_test_data): Remove.
6233         (acos_test_tonearest): Likewise.
6234         (acos_towardzero_test_data): Likewise.
6235         (acos_test_towardzero): Likewise.
6236         (acos_downward_test_data): Likewise.
6237         (acos_test_downward): Likewise.
6238         (acos_upward_test_data): Likewise.
6239         (acos_test_upward): Likewise.
6240         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6241         (asin_test_data): Likewise.
6242         (asin_test): Use ALL_RM_TEST.
6243         (asin_tonearest_test_data): Remove.
6244         (asin_test_tonearest): Likewise.
6245         (asin_towardzero_test_data): Likewise.
6246         (asin_test_towardzero): Likewise.
6247         (asin_downward_test_data): Likewise.
6248         (asin_test_downward): Likewise.
6249         (asin_upward_test_data): Likewise.
6250         (asin_test_upward): Likewise.
6251         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6252         (atan_test_data): Likewise.
6253         (atanh_test_data): Likewise.
6254         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6255         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6256         (carg_test_data): Likewise.
6257         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6258         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6259         (ccosh_test_data): Likewise.
6260         (cexp_test_data): Likewise.
6261         (clog_test_data): Likewise.
6262         (clog10_test_data): Likewise.
6263         (cos_test_data): Update call to AUTO_TESTS_f_f.
6264         (cos_test): Use ALL_RM_TEST.
6265         (cos_tonearest_test_data): Remove.
6266         (cos_test_tonearest): Likewise.
6267         (cos_towardzero_test_data): Likewise.
6268         (cos_test_towardzero): Likewise.
6269         (cos_downward_test_data): Likewise.
6270         (cos_test_downward): Likewise.
6271         (cos_upward_test_data): Likewise.
6272         (cos_test_upward): Likewise.
6273         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6274         (cosh_test): Use ALL_RM_TEST.
6275         (cosh_tonearest_test_data): Remove.
6276         (cosh_test_tonearest): Likewise.
6277         (cosh_towardzero_test_data): Likewise.
6278         (cosh_test_towardzero): Likewise.
6279         (cosh_downward_test_data): Likewise.
6280         (cosh_test_downward): Likewise.
6281         (cosh_upward_test_data): Likewise.
6282         (cosh_test_upward): Likewise.
6283         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6284         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6285         (ctan_test_data): Likewise.
6286         (ctan_test): Use ALL_RM_TEST.
6287         (ctan_tonearest_test_data): Remove.
6288         (ctan_test_tonearest): Likewise.
6289         (ctan_towardzero_test_data): Likewise.
6290         (ctan_test_towardzero): Likewise.
6291         (ctan_downward_test_data): Likewise.
6292         (ctan_test_downward): Likewise.
6293         (ctan_upward_test_data): Likewise.
6294         (ctan_test_upward): Likewise.
6295         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6296         (ctanh_test): Use ALL_RM_TEST.
6297         (ctanh_tonearest_test_data): Remove.
6298         (ctanh_test_tonearest): Likewise.
6299         (ctanh_towardzero_test_data): Likewise.
6300         (ctanh_test_towardzero): Likewise.
6301         (ctanh_downward_test_data): Likewise.
6302         (ctanh_test_downward): Likewise.
6303         (ctanh_upward_test_data): Likewise.
6304         (ctanh_test_upward): Likewise.
6305         (erf_test_data): Update call to AUTO_TESTS_f_f.
6306         (erfc_test_data): Likewise.
6307         (exp_test_data): Likewise.
6308         (exp_test): Use ALL_RM_TEST.
6309         (exp_tonearest_test_data): Remove.
6310         (exp_test_tonearest): Likewise.
6311         (exp_towardzero_test_data): Likewise.
6312         (exp_test_towardzero): Likewise.
6313         (exp_downward_test_data): Likewise.
6314         (exp_test_downward): Likewise.
6315         (exp_upward_test_data): Likewise.
6316         (exp_test_upward): Likewise.
6317         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6318         (exp10_test): Use ALL_RM_TEST.
6319         (exp10_tonearest_test_data): Remove.
6320         (exp10_test_tonearest): Likewise.
6321         (exp10_towardzero_test_data): Likewise.
6322         (exp10_test_towardzero): Likewise.
6323         (exp10_downward_test_data): Likewise.
6324         (exp10_test_downward): Likewise.
6325         (exp10_upward_test_data): Likewise.
6326         (exp10_test_upward): Likewise.
6327         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6328         (expm1_test_data): Likewise.
6329         (expm1_test): Use ALL_RM_TEST.
6330         (expm1_tonearest_test_data): Remove.
6331         (expm1_test_tonearest): Likewise.
6332         (expm1_towardzero_test_data): Likewise.
6333         (expm1_test_towardzero): Likewise.
6334         (expm1_downward_test_data): Likewise.
6335         (expm1_test_downward): Likewise.
6336         (expm1_upward_test_data): Likewise.
6337         (expm1_test_upward): Likewise.
6338         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6339         (fma_test): Use ALL_RM_TEST.
6340         (fma_towardzero_test_data): Remove.
6341         (fma_test_towardzero): Likewise.
6342         (fma_downward_test_data): Likewise.
6343         (fma_test_downward): Likewise.
6344         (fma_upward_test_data): Likewise.
6345         (fma_test_upward): Likewise.
6346         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6347         (j0_test_data): Update call to AUTO_TESTS_f_f.
6348         (j1_test_data): Likewise.
6349         (jn_test_data): Update call to AUTO_TESTS_if_f.
6350         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6351         (log_test_data): Update call to AUTO_TESTS_f_f.
6352         (log10_test_data): Likewise.
6353         (log1p_test_data): Likewise.
6354         (log2_test_data): Likewise.
6355         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6356         (pow_tonearest_test_data): Likewise.
6357         (sin_test_data): Update call to AUTO_TESTS_f_f.
6358         (sin_test): Use ALL_RM_TEST.
6359         (sin_tonearest_test_data): Remove.
6360         (sin_test_tonearest): Likewise.
6361         (sin_towardzero_test_data): Likewise.
6362         (sin_test_towardzero): Likewise.
6363         (sin_downward_test_data): Likewise.
6364         (sin_test_downward): Likewise.
6365         (sin_upward_test_data): Likewise.
6366         (sin_test_upward): Likewise.
6367         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6368         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6369         (sinh_test): Use ALL_RM_TEST.
6370         (sinh_tonearest_test_data): Remove.
6371         (sinh_test_tonearest): Likewise.
6372         (sinh_towardzero_test_data): Likewise.
6373         (sinh_test_towardzero): Likewise.
6374         (sinh_downward_test_data): Likewise.
6375         (sinh_test_downward): Likewise.
6376         (sinh_upward_test_data): Likewise.
6377         (sinh_test_upward): Likewise.
6378         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6379         (sqrt_test): Use ALL_RM_TEST.
6380         (sqrt_tonearest_test_data): Remove.
6381         (sqrt_test_tonearest): Likewise.
6382         (sqrt_towardzero_test_data): Likewise.
6383         (sqrt_test_towardzero): Likewise.
6384         (sqrt_downward_test_data): Likewise.
6385         (sqrt_test_downward): Likewise.
6386         (sqrt_upward_test_data): Likewise.
6387         (sqrt_test_upward): Likewise.
6388         (tan_test_data): Update call to AUTO_TESTS_f_f.
6389         (tan_test): Use ALL_RM_TEST.
6390         (tan_tonearest_test_data): Remove.
6391         (tan_test_tonearest): Likewise.
6392         (tan_towardzero_test_data): Likewise.
6393         (tan_test_towardzero): Likewise.
6394         (tan_downward_test_data): Likewise.
6395         (tan_test_downward): Likewise.
6396         (tan_upward_test_data): Likewise.
6397         (tan_test_upward): Likewise.
6398         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6399         (tgamma_test_data): Likewise.
6400         (y0_test_data): Likewise.
6401         (y1_test_data): Likewise.
6402         (yn_test_data): Update call to AUTO_TESTS_if_f.
6403         (main): Do not call removed functions.
6405 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6407         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6408         (ldexp_test_data): Remove.
6409         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6410         scalbn_test_data.
6411         (scalb_test): Use ALL_RM_TEST.
6413 2014-03-19  Andreas Schwab  <schwab@suse.de>
6415         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6417 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6419         [BZ #16649]
6420         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6421         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6422         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6423         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6424         (__ASSUME_PREADV): Undefine.
6425         (__ASSUME_PWRITEV): Likewise.
6427 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6429         * bits/mman-linux.h: Add comment about non-Linux use.
6430         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6431         bits/mman-linux.h resting place.
6433         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6434         * bits/mman-linux.h: ... here.
6436 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6438         * conform/conformtest.pl: Add standard definition when calling C
6439         preprocessor on data files.
6440         (checknamespace): Remove unused variable.
6442 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6444         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6445         minus_oflow, plus_uflow and minus_uflow in expected results.
6446         * math/libm-test.inc (scalbn_test_data): Add more tests of
6447         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6448         minus_uflow.
6449         (scalbn_test): Use ALL_RM_TEST.
6450         (scalbln_test_data): Add more tests of negative arguments.  Use
6451         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6452         (scalbln_test): Use ALL_RM_TEST.
6454 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6456         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6458 2014-03-18  Will Newton  <will.newton@linaro.org>
6460         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6461         inaccurate comment.
6463 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6465         * Makerules [!subdir] (check-abi): Exit with error status if a
6466         test failed.
6468 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6470         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6471         for rint.  Include results for all rounding modes.
6472         (nearbyint_test): Use ALL_RM_TEST.
6473         (rint_test_data): Include all tests used for nearbyint.
6475 2014-03-17  Will Newton  <will.newton@linaro.org>
6477         * nptl/sysdeps/pthread/pthread.h: Revert previous
6478         change.
6480         * sysdeps/generic/ldsodefs.h: Revert previous
6481         change.
6483         * libio/genops.c: Revert previous change.
6484         * libio/libioP.h: Likewise.
6485         * stdio-common/vfprintf.c: Likewise.
6487         * sysdeps/generic/math_private.h: Revert previous
6488         change.
6490         * sysdeps/generic/math_private.h: Check whether
6491         HAVE_RM_CTX is defined with #ifdef rather
6492         than #if.
6494         * argp/argp-fmtstream.h: Check whether
6495         __STRICT_ANSI__ is defined with #ifdef rather
6496         than #if.
6497         * argp/argp.h: Likewise.
6499         * libio/genops.c: Check whether
6500         _IO_JUMPS_OFFSET is defined with #ifdef rather
6501         than #if.
6502         * libio/libioP.h: Likewise.
6503         * stdio-common/vfprintf.c: Likewise.
6505         * sysdeps/generic/ldsodefs.h: Check whether
6506         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6507         than #if.
6509         * nptl/sysdeps/pthread/pthread.h: Check
6510         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6511         its value.
6513 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6515         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6516         setting O_APPEND.
6517         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6518         test case.
6520         [BZ #16680]
6521         * libio/fileops.c (_IO_file_open): Seek to end of file but
6522         don't cache the offset.
6523         (get_file_offset): Remove function.
6524         (do_ftell): Use cached offset when available.
6525         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6526         don't cache the offset.
6527         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6528         case.
6529         (do_one_test): Call it.
6530         (do_ftell_test): Fix up expected old offset for a+ mode.
6531         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6532         available.
6534         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6535         up test status with function return status.
6536         (do_write_test): Likewise.
6537         (do_append_test): Likewise.
6539         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6540         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6541         Remove.
6543 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6545         * math/gen-libm-test.pl (parse_args): Handle results specified for
6546         each rounding mode separately.
6547         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6548         tests and results from lrint_tonearest_test_data,
6549         lrint_towardzero_test_data, lrint_downward_test_data and
6550         lrint_upward_test_data.
6551         (lrint_test): Use ALL_RM_TEST.
6552         (lrint_tonearest_test_data): Remove.
6553         (lrint_test_tonearest): Likewise.
6554         (lrint_towardzero_test_data): Likewise.
6555         (lrint_test_towardzero): Likewise.
6556         (lrint_downward_test_data): Likewise.
6557         (lrint_test_downward): Likewise.
6558         (lrint_upward_test_data): Likewise.
6559         (lrint_test_upward): Likewise.
6560         (llrint_test_data): Merge in per-rounding-mode tests and results
6561         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6562         llrint_downward_test_data and llrint_upward_test_data.
6563         (llrint_test): Use ALL_RM_TEST.
6564         (llrint_tonearest_test_data): Remove.
6565         (llrint_test_tonearest): Likewise.
6566         (llrint_towardzero_test_data): Likewise.
6567         (llrint_test_towardzero): Likewise.
6568         (llrint_downward_test_data): Likewise.
6569         (llrint_test_downward): Likewise.
6570         (llrint_upward_test_data): Likewise.
6571         (llrint_test_upward): Likewise.
6572         (rint_test_data): Merge in per-rounding-mode tests and results
6573         from rint_tonearest_test_data, rint_towardzero_test_data,
6574         rint_downward_test_data and rint_upward_test_data.  Add
6575         per-rounding-mode results for tests not in those arrays.
6576         (rint_test): Use ALL_RM_TEST.
6577         (rint_tonearest_test_data): Remove.
6578         (rint_test_tonearest): Likewise.
6579         (rint_towardzero_test_data): Likewise.
6580         (rint_test_towardzero): Likewise.
6581         (rint_downward_test_data): Likewise.
6582         (rint_test_downward): Likewise.
6583         (rint_upward_test_data): Likewise.
6584         (rint_test_upward): Likewise.
6585         (main): Don't call removed functions.
6587 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6589         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6590         "Compiled on ..." crapola.  It is anti-useful.
6592 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6594         * scripts/evaluate-test.sh: Handle fourth argument to determine
6595         whether test run should stop on failure.
6596         * Makeconfig (stop-on-test-failure): New variable.
6597         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6598         $(stop-on-test-failure).
6599         * Makefile (tests): Give a summary of results from testing and
6600         exit with failure status if they include an ERROR or FAIL.
6601         (xtests): Likewise.
6602         * manual/install.texi (Configuring and compiling): Mention
6603         stop-on-test-failure=y.
6604         * INSTALL: Regenerated.
6606 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6608         * scripts/versionlist.awk: New file.
6609         * Makerules [$(build-shared) = yes]
6610         (postclean-generated): Add Versions.def, not Versions.def.v and
6611         Versions.def.v.i.
6612         ($(common-objpfx)Versions.def.v.i): Target removed.
6613         ($(common-objpfx)Versions.def): New target.
6614         ($(common-objpfx)Versions.all): Depend on that rather that
6615         $(common-objpfx)Versions.def.v.
6616         * Versions.def: File removed.
6618         * Makeconfig (+gccwarn): Add -Wundef.
6619         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6620         a dl-sysdep.h breaking its contract.
6621         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6622         * include/stackinfo.h: New file.
6623         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6624         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6625         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6626         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6627         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6628         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6629         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6630         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6631         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6632         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6633         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6634         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6635         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6636         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6637         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6639 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6641         [BZ #16707]
6642         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6643         implementation.
6644         * math/libm-test.inc (round_test_data): Add more tests.
6646         [BZ #16706]
6647         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6648         implementation.
6649         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6651         [BZ #16701]
6652         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6653         implementation.
6654         * math/libm-test.inc (ceil_test_data): Add more tests.
6656         * math/libm-test.inc (trunc_test_data): Add more tests related to
6657         BZ#16414.
6659 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6661         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6662         with #if rather than #ifdef.
6663         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6665 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6667         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6668         first.  Disable AVX-512 GCC support if assembler doesn't support
6669         it.
6670         * sysdeps/x86_64/configure: Regenerated.
6672 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6674         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6675         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6676         (__old_pthread_attr_setstack): Likewise.
6677         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6678         [!_STACK_GROWS_DOWN]: Likewise.
6680 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6682         * config.make.in (have-bash2): Delete.
6683         * configure.ac (libc_cv_have_bash2): Delete.
6684         * configure: Regenerate.
6685         * elf/Makefile (common-ldd-rewrite): Rename to ...
6686         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6687         (sh-ldd-rewrite): Delete.
6688         (bash-ldd-rewrite): Delete.
6689         (have-bash2): Delete checks.
6690         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6691         ldd-rewrite.
6693         * config.make.in (have-ksh): Delete.
6694         (KSH): Delete.
6695         * configure.ac (libc_cv_have_ksh): Delete.
6696         * configure: Regenerate.
6698         * elf/Makefile: Delete $(have-ksh) check.
6699         ($(objpfx)sotruss): Change KSH to BASH.
6700         * elf/sotruss.ksh: Rename to ...
6701         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6702         function style to match POSIX.  Drop ksh vim mode setting.
6704         * manual/time.texi (Specifying the Time Zone with TZ): Change
6705         Tuesday to Thursday.
6707         * debug/tst-longjmp_chk2.c: Update header comment.
6708         (stackoverflow_handler): Add comment.  Call assert on pass value.
6710 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6712         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6713         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6714         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6715         (La_x86_64_vector): Add zmm.
6716         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6717         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6718         ($(objpfx)tst-audit10): New target.
6719         ($(objpfx)tst-audit10.out): Likewise.
6720         (tst-audit10-ENV): New.
6721         (AVX512-CFLAGS): Likewise.
6722         (CFLAGS-tst-audit10.c): Likewise.
6723         (CFLAGS-tst-auditmod10a.c): Likewise.
6724         (CFLAGS-tst-auditmod10b.c): Likewise.
6725         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6726         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6727         * sysdeps/x86_64/configure: Regenerated.
6728         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6729         AVX-512 zmm register support.
6730         (_dl_x86_64_save_sse): Likewise.
6731         (_dl_x86_64_restore_sse): Likewise.
6732         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6733         size vector registers.
6734         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6735         (ZMM_SIZE): Likewise.
6736         * sysdeps/x86_64/tst-audit10.c: New file.
6737         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6738         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6740 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6742         * configure.ac (HAVE_EHDR_START): New check.
6743         * configure: Regenerated.
6744         * config.h.in (HAVE_EHDR_START): New #undef.
6745         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6746         assuming the lowest-addressed segment maps the start of the file.
6748 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6750         * INSTALL: Regenerated.
6752 2014-03-13  Will Newton  <will.newton@linaro.org>
6754         * manual/setjmp.texi (System V contexts): Improve
6755         clarity and grammar of documentation.
6757 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6759         [BZ #16381]
6760         * elf/Makefile (tests): Add tst-pie2.
6761         (tests-pie): Add tst-pie2.
6762         * elf/tst-pie2.c: New file.
6763         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6764         for ET_EXEC.
6765         * elf/rtld.c (map_doit): Load executable as lt_executable.
6766         (dl_main): Likewise.
6768 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6770         [BZ #16642]
6771         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6772         (__ASSUME_PSELECT): Undefine.
6774 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6776         [BZ #16689]
6777         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6778         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6779         static build.
6780         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6781         selector for static builds.
6783 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6785         [BZ #16695]
6786         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6787         key in the buffer.
6789 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6791         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6792         IFUNC selector for static builds.
6794 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6796         * sysdeps/mips/math_private.h [__mips_hard_float]
6797         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6798         libc_feresetround_mips_ctx.
6799         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6800         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6801         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6803         [BZ #16677]
6804         * math/s_nextafter.c (__nextafter): Do not return value from
6805         overflowing computation.
6806         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6807         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6808         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6809         Likewise.
6810         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6811         Likewise.
6812         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6813         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6815 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6817         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6818         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6819         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6820         the new mov targetting sp.
6822 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6824         [BZ #16683]
6825         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6826         Define it for static builds as well.
6827         (NO_BZERO_IMPL): Likewise.
6829 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6831         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6832         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6833         multiarch strspn for PPC64.
6834         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6835         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6837         (__libc_ifunc_impl_list): Likewise.
6838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6839         multiarch optimizations
6840         * string/strspn.c (strspn): Using macro to redefine symbol name.
6842 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6843             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6845         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6846         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6847         multiarch strncat for PPC64.
6848         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6849         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6851         (__libc_ifunc_impl_list): Likewise.
6852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6853         multiarch optimizations
6855 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6857         [BZ #16639]
6858         * nscd/nscd.service: Make service type forking.
6860 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6862         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6863         sign in non default rounding modes.
6864         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6866 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6868         * math/libm-test.inc (ALL_RM_TEST): New macro.
6869         (ceil_test): Use ALL_RM_TEST.
6870         (cimag_test): Likewise.
6871         (conj_test): Likewise.
6872         (copysign_test): Likewise.
6873         (cproj_test): Likewise.
6874         (creal_test): Likewise.
6875         (fabs_test): Likewise.
6876         (floor_test): Likewise.
6877         (fmax_test): Likewise.
6878         (fmin_test): Likewise.
6879         (fmod_test): Likewise.
6880         (fpclassify_test): Likewise.
6881         (frexp_test): Likewise.
6882         (ilogb_test): Likewise.
6883         (isfinite_test): Likewise.
6884         (finite_test): Likewise.
6885         (isgreater_test): Likewise.
6886         (isgreaterequal_test): Likewise.
6887         (isinf_test): Likewise.
6888         (isless_test): Likewise.
6889         (islessequal_test): Likewise.
6890         (islessgreater_test): Likewise.
6891         (isnan_test): Likewise.
6892         (isnormal_test): Likewise.
6893         (issignaling_test): Likewise.
6894         (isunordered_test): Likewise.
6895         (logb_test): Likewise.
6896         (logb_downward_test_data): Remove.
6897         (logb_test_downward): Likewise.
6898         (lround_test): Use ALL_RM_TEST.
6899         (llround_test): Likewise.
6900         (modf_test): Likewise.
6901         (nexttoward_test): Likewise.
6902         (remainder_test): Likewise.
6903         (drem_test): Likewise.
6904         (remainder_tonearest_test_data): Likewise.
6905         (remainder_test_tonearest): Likewise.
6906         (drem_test_tonearest): Likewise.
6907         (remainder_towardzero_test_data): Likewise.
6908         (remainder_test_towardzero): Likewise.
6909         (drem_test_towardzero): Likewise.
6910         (remainder_downward_test_data): Likewise.
6911         (remainder_test_downward): Likewise.
6912         (drem_test_downward): Likewise.
6913         (remainder_upward_test_data): Likewise.
6914         (remainder_test_upward): Likewise.
6915         (drem_test_upward): Likewise.
6916         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6917         (round_test): Use ALL_RM_TEST.
6918         (signbit_test): Likewise.
6919         (trunc_test): Likewise.
6920         (significand_test): Likewise.
6921         (main): Don't call removed functions.
6923 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6925         [BZ #16674]
6926         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6927         || __USE_XOPEN2K8].
6928         (ILL_ILLOPN): Likewise.
6929         (ILL_ILLADR): Likewise.
6930         (ILL_ILLTRP): Likewise.
6931         (ILL_PRVOPC): Likewise.
6932         (ILL_PRVREG): Likewise.
6933         (ILL_COPROC): Likewise.
6934         (ILL_BADSTK): Likewise.
6935         (FPE_INTDIV): Likewise.
6936         (FPE_INTOVF): Likewise.
6937         (FPE_FLTDIV): Likewise.
6938         (FPE_FLTOVF): Likewise.
6939         (FPE_FLTUND): Likewise.
6940         (FPE_FLTRES): Likewise.
6941         (FPE_FLTINV): Likewise.
6942         (FPE_FLTSUB): Likewise.
6943         (SEGV_MAPERR): Likewise.
6944         (SEGV_ACCERR): Likewise.
6945         (BUS_ADRALN): Likewise.
6946         (BUS_ADRERR): Likewise.
6947         (BUS_OBJERR): Likewise.
6948         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6949         (TRAP_TRACE): Likewise.
6950         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6951         __USE_XOPEN2K8].
6952         (CLD_KILLED): Likewise.
6953         (CLD_DUMPED): Likewise.
6954         (CLD_TRAPPED): Likewise.
6955         (CLD_STOPPED): Likewise.
6956         (CLD_CONTINUED): Likewise.
6957         (POLL_IN): Likewise.
6958         (POLL_OUT): Likewise.
6959         (POLL_MSG): Likewise.
6960         (POLL_ERR): Likewise.
6961         (POLL_PRI): Likewise.
6962         (POLL_HUP): Likewise.
6963         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6964         Likewise.
6965         (ILL_ILLOPN): Likewise.
6966         (ILL_ILLADR): Likewise.
6967         (ILL_ILLTRP): Likewise.
6968         (ILL_PRVOPC): Likewise.
6969         (ILL_PRVREG): Likewise.
6970         (ILL_COPROC): Likewise.
6971         (ILL_BADSTK): Likewise.
6972         (FPE_INTDIV): Likewise.
6973         (FPE_INTOVF): Likewise.
6974         (FPE_FLTDIV): Likewise.
6975         (FPE_FLTOVF): Likewise.
6976         (FPE_FLTUND): Likewise.
6977         (FPE_FLTRES): Likewise.
6978         (FPE_FLTINV): Likewise.
6979         (FPE_FLTSUB): Likewise.
6980         (SEGV_MAPERR): Likewise.
6981         (SEGV_ACCERR): Likewise.
6982         (BUS_ADRALN): Likewise.
6983         (BUS_ADRERR): Likewise.
6984         (BUS_OBJERR): Likewise.
6985         (BUS_MCEERR_AR): Likewise.
6986         (BUS_MCEERR_AO): Likewise.
6987         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6988         (TRAP_TRACE): Likewise.
6989         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6990         __USE_XOPEN2K8].
6991         (CLD_KILLED): Likewise.
6992         (CLD_DUMPED): Likewise.
6993         (CLD_TRAPPED): Likewise.
6994         (CLD_STOPPED): Likewise.
6995         (CLD_CONTINUED): Likewise.
6996         (POLL_IN): Likewise.
6997         (POLL_OUT): Likewise.
6998         (POLL_MSG): Likewise.
6999         (POLL_ERR): Likewise.
7000         (POLL_PRI): Likewise.
7001         (POLL_HUP): Likewise.
7002         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7003         (ILL_ILLOPN): Likewise.
7004         (ILL_ILLADR): Likewise.
7005         (ILL_ILLTRP): Likewise.
7006         (ILL_PRVOPC): Likewise.
7007         (ILL_PRVREG): Likewise.
7008         (ILL_COPROC): Likewise.
7009         (ILL_BADSTK): Likewise.
7010         (FPE_INTDIV): Likewise.
7011         (FPE_INTOVF): Likewise.
7012         (FPE_FLTDIV): Likewise.
7013         (FPE_FLTOVF): Likewise.
7014         (FPE_FLTUND): Likewise.
7015         (FPE_FLTRES): Likewise.
7016         (FPE_FLTINV): Likewise.
7017         (FPE_FLTSUB): Likewise.
7018         (SEGV_MAPERR): Likewise.
7019         (SEGV_ACCERR): Likewise.
7020         (BUS_ADRALN): Likewise.
7021         (BUS_ADRERR): Likewise.
7022         (BUS_OBJERR): Likewise.
7023         (BUS_MCEERR_AR): Likewise.
7024         (BUS_MCEERR_AO): Likewise.
7025         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7026         (TRAP_TRACE): Likewise.
7027         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7028         __USE_XOPEN2K8].
7029         (CLD_KILLED): Likewise.
7030         (CLD_DUMPED): Likewise.
7031         (CLD_TRAPPED): Likewise.
7032         (CLD_STOPPED): Likewise.
7033         (CLD_CONTINUED): Likewise.
7034         (POLL_IN): Likewise.
7035         (POLL_OUT): Likewise.
7036         (POLL_MSG): Likewise.
7037         (POLL_ERR): Likewise.
7038         (POLL_PRI): Likewise.
7039         (POLL_HUP): Likewise.
7040         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7041         Likewise.
7042         (ILL_ILLOPN): Likewise.
7043         (ILL_ILLADR): Likewise.
7044         (ILL_ILLTRP): Likewise.
7045         (ILL_PRVOPC): Likewise.
7046         (ILL_PRVREG): Likewise.
7047         (ILL_COPROC): Likewise.
7048         (ILL_BADSTK): Likewise.
7049         (ILL_BADIADDR): Likewise.
7050         (ILL_BREAK): Likewise.
7051         (FPE_INTDIV): Likewise.
7052         (FPE_INTOVF): Likewise.
7053         (FPE_FLTDIV): Likewise.
7054         (FPE_FLTOVF): Likewise.
7055         (FPE_FLTUND): Likewise.
7056         (FPE_FLTRES): Likewise.
7057         (FPE_FLTINV): Likewise.
7058         (FPE_FLTSUB): Likewise.
7059         (FPE_DECOVF): Likewise.
7060         (FPE_DECDIV): Likewise.
7061         (FPE_DECERR): Likewise.
7062         (FPE_INVASC): Likewise.
7063         (FPE_INVDEC): Likewise.
7064         (SEGV_MAPERR): Likewise.
7065         (SEGV_ACCERR): Likewise.
7066         (SEGV_PSTKOVF): Likewise.
7067         (BUS_ADRALN): Likewise.
7068         (BUS_ADRERR): Likewise.
7069         (BUS_OBJERR): Likewise.
7070         (BUS_MCEERR_AR): Likewise.
7071         (BUS_MCEERR_AO): Likewise.
7072         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7073         (TRAP_TRACE): Likewise.
7074         (TRAP_BRANCH): Likewise.
7075         (TRAP_HWBKPT): Likewise.
7076         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7077         __USE_XOPEN2K8].
7078         (CLD_KILLED): Likewise.
7079         (CLD_DUMPED): Likewise.
7080         (CLD_TRAPPED): Likewise.
7081         (CLD_STOPPED): Likewise.
7082         (CLD_CONTINUED): Likewise.
7083         (POLL_IN): Likewise.
7084         (POLL_OUT): Likewise.
7085         (POLL_MSG): Likewise.
7086         (POLL_ERR): Likewise.
7087         (POLL_PRI): Likewise.
7088         (POLL_HUP): Likewise.
7089         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7090         (ILL_ILLOPN): Likewise.
7091         (ILL_ILLADR): Likewise.
7092         (ILL_ILLTRP): Likewise.
7093         (ILL_PRVOPC): Likewise.
7094         (ILL_PRVREG): Likewise.
7095         (ILL_COPROC): Likewise.
7096         (ILL_BADSTK): Likewise.
7097         (FPE_INTDIV): Likewise.
7098         (FPE_INTOVF): Likewise.
7099         (FPE_FLTDIV): Likewise.
7100         (FPE_FLTOVF): Likewise.
7101         (FPE_FLTUND): Likewise.
7102         (FPE_FLTRES): Likewise.
7103         (FPE_FLTINV): Likewise.
7104         (FPE_FLTSUB): Likewise.
7105         (SEGV_MAPERR): Likewise.
7106         (SEGV_ACCERR): Likewise.
7107         (BUS_ADRALN): Likewise.
7108         (BUS_ADRERR): Likewise.
7109         (BUS_OBJERR): Likewise.
7110         (BUS_MCEERR_AR): Likewise.
7111         (BUS_MCEERR_AO): Likewise.
7112         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7113         (TRAP_TRACE): Likewise.
7114         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7115         __USE_XOPEN2K8].
7116         (CLD_KILLED): Likewise.
7117         (CLD_DUMPED): Likewise.
7118         (CLD_TRAPPED): Likewise.
7119         (CLD_STOPPED): Likewise.
7120         (CLD_CONTINUED): Likewise.
7121         (POLL_IN): Likewise.
7122         (POLL_OUT): Likewise.
7123         (POLL_MSG): Likewise.
7124         (POLL_ERR): Likewise.
7125         (POLL_PRI): Likewise.
7126         (POLL_HUP): Likewise.
7127         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7128         (ILL_ILLOPN): Likewise.
7129         (ILL_ILLADR): Likewise.
7130         (ILL_ILLTRP): Likewise.
7131         (ILL_PRVOPC): Likewise.
7132         (ILL_PRVREG): Likewise.
7133         (ILL_COPROC): Likewise.
7134         (ILL_BADSTK): Likewise.
7135         (FPE_INTDIV): Likewise.
7136         (FPE_INTOVF): Likewise.
7137         (FPE_FLTDIV): Likewise.
7138         (FPE_FLTOVF): Likewise.
7139         (FPE_FLTUND): Likewise.
7140         (FPE_FLTRES): Likewise.
7141         (FPE_FLTINV): Likewise.
7142         (FPE_FLTSUB): Likewise.
7143         (SEGV_MAPERR): Likewise.
7144         (SEGV_ACCERR): Likewise.
7145         (BUS_ADRALN): Likewise.
7146         (BUS_ADRERR): Likewise.
7147         (BUS_OBJERR): Likewise.
7148         (BUS_MCEERR_AR): Likewise.
7149         (BUS_MCEERR_AO): Likewise.
7150         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7151         (TRAP_TRACE): Likewise.
7152         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7153         __USE_XOPEN2K8].
7154         (CLD_KILLED): Likewise.
7155         (CLD_DUMPED): Likewise.
7156         (CLD_TRAPPED): Likewise.
7157         (CLD_STOPPED): Likewise.
7158         (CLD_CONTINUED): Likewise.
7159         (POLL_IN): Likewise.
7160         (POLL_OUT): Likewise.
7161         (POLL_MSG): Likewise.
7162         (POLL_ERR): Likewise.
7163         (POLL_PRI): Likewise.
7164         (POLL_HUP): Likewise.
7165         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7166         (ILL_ILLOPN): Likewise.
7167         (ILL_ILLADR): Likewise.
7168         (ILL_ILLTRP): Likewise.
7169         (ILL_PRVOPC): Likewise.
7170         (ILL_PRVREG): Likewise.
7171         (ILL_COPROC): Likewise.
7172         (ILL_BADSTK): Likewise.
7173         (FPE_INTDIV): Likewise.
7174         (FPE_INTOVF): Likewise.
7175         (FPE_FLTDIV): Likewise.
7176         (FPE_FLTOVF): Likewise.
7177         (FPE_FLTUND): Likewise.
7178         (FPE_FLTRES): Likewise.
7179         (FPE_FLTINV): Likewise.
7180         (FPE_FLTSUB): Likewise.
7181         (SEGV_MAPERR): Likewise.
7182         (SEGV_ACCERR): Likewise.
7183         (BUS_ADRALN): Likewise.
7184         (BUS_ADRERR): Likewise.
7185         (BUS_OBJERR): Likewise.
7186         (BUS_MCEERR_AR): Likewise.
7187         (BUS_MCEERR_AO): Likewise.
7188         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7189         (TRAP_TRACE): Likewise.
7190         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7191         __USE_XOPEN2K8].
7192         (CLD_KILLED): Likewise.
7193         (CLD_DUMPED): Likewise.
7194         (CLD_TRAPPED): Likewise.
7195         (CLD_STOPPED): Likewise.
7196         (CLD_CONTINUED): Likewise.
7197         (POLL_IN): Likewise.
7198         (POLL_OUT): Likewise.
7199         (POLL_MSG): Likewise.
7200         (POLL_ERR): Likewise.
7201         (POLL_PRI): Likewise.
7202         (POLL_HUP): Likewise.
7203         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7204         (ILL_ILLOPN): Likewise.
7205         (ILL_ILLADR): Likewise.
7206         (ILL_ILLTRP): Likewise.
7207         (ILL_PRVOPC): Likewise.
7208         (ILL_PRVREG): Likewise.
7209         (ILL_COPROC): Likewise.
7210         (ILL_BADSTK): Likewise.
7211         (ILL_DBLFLT): Likewise.
7212         (ILL_HARDWALL): Likewise.
7213         (FPE_INTDIV): Likewise.
7214         (FPE_INTOVF): Likewise.
7215         (FPE_FLTDIV): Likewise.
7216         (FPE_FLTOVF): Likewise.
7217         (FPE_FLTUND): Likewise.
7218         (FPE_FLTRES): Likewise.
7219         (FPE_FLTINV): Likewise.
7220         (FPE_FLTSUB): Likewise.
7221         (SEGV_MAPERR): Likewise.
7222         (SEGV_ACCERR): Likewise.
7223         (BUS_ADRALN): Likewise.
7224         (BUS_ADRERR): Likewise.
7225         (BUS_OBJERR): Likewise.
7226         (BUS_MCEERR_AR): Likewise.
7227         (BUS_MCEERR_AO): Likewise.
7228         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7229         (TRAP_TRACE): Likewise.
7230         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7231         __USE_XOPEN2K8].
7232         (CLD_KILLED): Likewise.
7233         (CLD_DUMPED): Likewise.
7234         (CLD_TRAPPED): Likewise.
7235         (CLD_STOPPED): Likewise.
7236         (CLD_CONTINUED): Likewise.
7237         (POLL_IN): Likewise.
7238         (POLL_OUT): Likewise.
7239         (POLL_MSG): Likewise.
7240         (POLL_ERR): Likewise.
7241         (POLL_PRI): Likewise.
7242         (POLL_HUP): Likewise.
7243         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7244         (ILL_ILLOPN): Likewise.
7245         (ILL_ILLADR): Likewise.
7246         (ILL_ILLTRP): Likewise.
7247         (ILL_PRVOPC): Likewise.
7248         (ILL_PRVREG): Likewise.
7249         (ILL_COPROC): Likewise.
7250         (ILL_BADSTK): Likewise.
7251         (FPE_INTDIV): Likewise.
7252         (FPE_INTOVF): Likewise.
7253         (FPE_FLTDIV): Likewise.
7254         (FPE_FLTOVF): Likewise.
7255         (FPE_FLTUND): Likewise.
7256         (FPE_FLTRES): Likewise.
7257         (FPE_FLTINV): Likewise.
7258         (FPE_FLTSUB): Likewise.
7259         (SEGV_MAPERR): Likewise.
7260         (SEGV_ACCERR): Likewise.
7261         (BUS_ADRALN): Likewise.
7262         (BUS_ADRERR): Likewise.
7263         (BUS_OBJERR): Likewise.
7264         (BUS_MCEERR_AR): Likewise.
7265         (BUS_MCEERR_AO): Likewise.
7266         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7267         (TRAP_TRACE): Likewise.
7268         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7269         __USE_XOPEN2K8].
7270         (CLD_KILLED): Likewise.
7271         (CLD_DUMPED): Likewise.
7272         (CLD_TRAPPED): Likewise.
7273         (CLD_STOPPED): Likewise.
7274         (CLD_CONTINUED): Likewise.
7275         (POLL_IN): Likewise.
7276         (POLL_OUT): Likewise.
7277         (POLL_MSG): Likewise.
7278         (POLL_ERR): Likewise.
7279         (POLL_PRI): Likewise.
7280         (POLL_HUP): Likewise.
7281         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7282         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7284         [BZ #16670]
7285         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7286         before #include of <time.h>.
7287         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7288         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7289         (test-xfail-UNIX98/sched.h/conform): Likewise.
7291 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7293         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7294         error absence of trapping exception support.
7295         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7297 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7299         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7300         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7301         * timezone/Makefile (testdata): Move definition above include of
7302         Rules.
7303         (test-zones): New variable.
7304         (tests-special): Add zone files.
7305         (build-testdata): Use $(evaluate-test).
7307         * elf/Makefile (tests-special): Rename tests to end with .out.
7308         ($(objpfx)noload-mem): Likewise.
7309         ($(objpfx)tst-leaks1-mem): Likewise.
7310         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7311         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7312         $(objpfx)test-iconvconfig.out.
7313         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7314         set -e inside subshell and redirect output to file.
7315         * iconvdata/Makefile (generated): Rename tests to end with .out.
7316         Correct type.
7317         (tests-special): Rename tests to end with .out.
7318         ($(objpfx)mtrace-tst-loading): Likewise.
7319         * intl/Makefile (generated): Likewise.
7320         (tests-special): Likewise.
7321         ($(objpfx)mtrace-tst-gettext): Likewise.
7322         * misc/Makefile (generated): Likewise.
7323         (tests-special): Likewise.
7324         ($(objpfx)tst-error1-mem): Likewise.
7325         * nptl/Makefile (tests-special): Likewise.
7326         ($(objpfx)tst-stack3-mem): Likewise.
7327         (generated): Likewise.
7328         * posix/Makefile (generated): Likewise.
7329         (tests-special): Likewise.
7330         (xtests-special): Likewise.
7331         ($(objpfx)tst-fnmatch-mem): Likewise.
7332         ($(objpfx)bug-regex2-mem): Likewise.
7333         ($(objpfx)bug-regex14-mem): Likewise.
7334         ($(objpfx)bug-regex21-mem): Likewise.
7335         ($(objpfx)bug-regex31-mem): Likewise.
7336         ($(objpfx)tst-vfork3-mem): Likewise.
7337         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7338         ($(objpfx)tst-pcre-mem): Likewise.
7339         ($(objpfx)tst-boost-mem): Likewise.
7340         ($(objpfx)bug-ga2-mem): Likewise.
7341         ($(objpfx)bug-glob2-mem): Likewise.
7342         * resolv/Makefile (generate): Likewise.
7343         (tests-special): Likewise.
7344         (xtests-special): Likewise.
7345         (generated): Likewise.
7346         ($(objpfx)mtrace-tst-leaks): Likewise.
7347         ($(objpfx)mtrace-tst-leaks2): Likewise.
7349         * scripts/merge-test-results.sh: New file.
7350         * Makefile (tests-special-notdir): New variable.
7351         (tests): Run merge-test-results.sh.
7352         (xtests): Likewise.
7353         * Rules (tests-special-notdir): New variable.
7354         (xtests-special-notdir): Likewise.
7355         (tests): Run merge-test-results.sh
7356         (xtests): Likewise.
7358         * Makeconfig (test-xfail-name): New variable.
7359         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7360         compute variable name for expected failures.
7361         * conform/Makefile (conformtest-headers-data): New variable.
7362         (conformtest-standards): Likewise.
7363         (conformtest-headers-ISO): Likewise.
7364         (conformtest-headers-ISO99): Likewise.
7365         (conformtest-headers-ISO11): Likewise.
7366         (conformtest-headers-POSIX): Likewise.
7367         (conformtest-headers-XPG3): Likewise.
7368         (conformtest-headers-XPG4): Likewise.
7369         (conformtest-headers-UNIX98): Likewise.
7370         (conformtest-headers-XOPEN2K): Likewise.
7371         (conformtest-headers-POSIX2008): Likewise.
7372         (conformtest-headers-XOPEN2K8): Likewise.
7373         (conformtest-header-list-base): Likewise.
7374         (conformtest-header-list-tests): Likewise.
7375         (conformtest-header-base): Likewise.
7376         (conformtest-header-tests): Likewise.
7377         (tests-special): Add $(conformtest-header-list-tests).  If
7378         [$(fast-check) && !$(cross-compiling)], add
7379         $(conformtest-header-tests) instead of
7380         $(objpfx)run-conformtest.out.
7381         (generated): Add $(conformtest-header-list-base).  If
7382         [$(fast-check) && !$(cross-compiling)], add
7383         $(conformtest-header-base).  Remove previous setting.
7384         ($(conformtest-header-list-tests)): New target.
7385         (test-xfail-run-conformtest): Remove variable.
7386         ($(objpfx)run-conformtest.out): Remove target.
7387         (test-xfail-ISO11/complex.h/conform): New variable.
7388         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7389         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7390         (test-xfail-XPG3/varargs.h/conform): Likewise.
7391         (test-xfail-XPG4/varargs.h/conform): Likewise.
7392         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7393         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7394         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7395         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7396         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7397         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7398         (test-xfail-XPG3/ftw.h/conform): Likewise.
7399         (test-xfail-XPG3/grp.h/conform): Likewise.
7400         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7401         (test-xfail-XPG3/limits.h/conform): Likewise.
7402         (test-xfail-XPG3/pwd.h/conform): Likewise.
7403         (test-xfail-XPG3/search.h/conform): Likewise.
7404         (test-xfail-XPG3/signal.h/conform): Likewise.
7405         (test-xfail-XPG3/stdio.h/conform): Likewise.
7406         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7407         (test-xfail-XPG3/string.h/conform): Likewise.
7408         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7409         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7410         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7411         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7412         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7413         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7414         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7415         (test-xfail-XPG3/termios.h/conform): Likewise.
7416         (test-xfail-XPG3/time.h/conform): Likewise.
7417         (test-xfail-XPG3/unistd.h/conform): Likewise.
7418         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7419         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7420         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7421         (test-xfail-XPG4/netdb.h/conform): Likewise.
7422         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7423         (test-xfail-XPG4/signal.h/conform): Likewise.
7424         (test-xfail-XPG4/stdio.h/conform): Likewise.
7425         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7426         (test-xfail-XPG4/stropts.h/conform): Likewise.
7427         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7428         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7429         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7430         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7431         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7432         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7433         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7434         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7435         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7436         (test-xfail-XPG4/termios.h/conform): Likewise.
7437         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7438         (test-xfail-XPG4/unistd.h/conform): Likewise.
7439         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7440         (test-xfail-POSIX/sched.h/conform): Likewise.
7441         (test-xfail-POSIX/signal.h/conform): Likewise.
7442         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7443         (test-xfail-POSIX/tar.h/conform): Likewise.
7444         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7445         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7446         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7447         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7448         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7449         (test-xfail-UNIX98/sched.h/conform): Likewise.
7450         (test-xfail-UNIX98/signal.h/conform): Likewise.
7451         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7452         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7453         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7454         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7455         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7456         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7457         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7458         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7459         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7460         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7461         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7462         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7463         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7464         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7465         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7466         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7467         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7468         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7469         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7470         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7471         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7472         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7473         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7474         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7475         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7476         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7477         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7478         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7479         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7480         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7481         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7482         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7483         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7484         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7485         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7486         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7487         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7488         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7489         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7490         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7491         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7492         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7493         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7494         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7495         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7496         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7497         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7498         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7499         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7500         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7501         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7502         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7503         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7504         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7505         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7506         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7507         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7508         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7509         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7510         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7511         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7512         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7513         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7514         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7515         (conformtest-cc-flags): Likewise.
7516         ($(conformtest-header-tests): New target.
7517         * conform/check-header-lists.sh: New file.
7518         * conform/run-conformtest.sh: Remove.
7520         * conform/conformtest.pl: Allow ' and \ in values given for
7521         constants.
7522         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7523         inclusion.
7524         [POSIX] (sys/types.h): Likewise.
7525         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7526         inclusion.
7527         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7528         inclusion.
7529         * conform/data/signal.h-data (SIGIO): Remove expectation.
7530         [XPG3] (SIGBUS): Do not expect.
7531         [POSIX || XPG3] (SIGPOLL): Likewise.
7532         [POSIX || XPG3] (SIGPROF): Likewise.
7533         [POSIX || XPG3] (SIGSYS): Likewise.
7534         [XPG3] (SIGTRAP): Likewise.
7535         [POSIX || XPG3] (SIGURG): Likewise.
7536         [POSIX || XPG3] (SIGVTALRM): Likewise.
7537         [POSIX || XPG3] (SIGXCPU): Likewise.
7538         [POSIX || XPG3] (SIGXFSZ): Likewise.
7539         [POSIX] (SA_SIGINFO): Expect.
7540         [XPG3] (siginfo_t): Do not expect type or contents.
7541         [POSIX] (si_pid): Do not expect element.
7542         [POSIX] (si_uid): Likewise.
7543         [POSIX] (si_addr): Likewise.
7544         [POSIX] (si_status): Likewise.
7545         [POSIX] (si_band): Likewise.
7546         [XPG4] (si_value): Likewise.
7547         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7548         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7549         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7550         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7551         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7552         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7553         [POSIX || XPG3] (ILL_COPROC): Likewise.
7554         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7555         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7556         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7557         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7558         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7559         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7560         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7561         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7562         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7563         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7564         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7565         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7566         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7567         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7568         [POSIX || XPG3] (CLD_EXITED): Likewise.
7569         [POSIX || XPG3] (CLD_KILLED): Likewise.
7570         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7571         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7572         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7573         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7574         [POSIX || XPG3] (POLL_IN): Likewise.
7575         [POSIX || XPG3] (POLL_OUT): Likewise.
7576         [POSIX || XPG3] (POLL_MSG): Likewise.
7577         [POSIX || XPG3] (POLL_ERR): Likewise.
7578         [POSIX || XPG3] (POLL_PRI): Likewise.
7579         [POSIX || XPG3] (POLL_HUP): Likewise.
7580         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7581         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7582         (SIG*): Do not allow.
7583         [XPG3] (si_*): Likewise.
7584         [XPG3] (SI_*): Likewise.
7585         [XPG3 || XPG4] (sigev_*): Likewise.
7586         [XPG3 || XPG4] (SIGEV_*): Likewise.
7587         [XPG3 || XPG4] (sival_*): Likewise.
7588         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7589         [POSIX || XPG3] (BUS_*): Likewise.
7590         [POSIX || XPG3] (CLD_*): Likewise.
7591         [POSIX || XPG3] (FPE_*): Likewise.
7592         [POSIX || XPG3] (ILL_*): Likewise.
7593         [POSIX || XPG3] (POLL_*): Likewise.
7594         [POSIX || XPG3] (SEGV_*): Likewise.
7595         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7596         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7597         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7598         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7599         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7600         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7601         Specify type and value.
7602         (TVERSLEN): Likewise.
7603         (REGTYPE): Likewise.
7604         (AREGTYPE): Likewise.
7605         (LNKTYPE): Likewise.
7606         (SYMTYPE): Likewise.
7607         (CHRTYPE): Likewise.
7608         (BLKTYPE): Likewise.
7609         (DIRTYPE): Likewise.
7610         (FIFOTYPE): Likewise.
7611         (CONTTYPE): Likewise.
7612         (TSUID): Likewise.
7613         (TSGID): Likewise.
7614         (TSVTX): Likewise.
7615         (TUREAD): Likewise.
7616         (TUWRITE): Likewise.
7617         (TUEXEC): Likewise.
7618         (TGREAD): Likewise.
7619         (TGWRITE): Likewise.
7620         (TGEXEC): Likewise.
7621         (TOREAD): Likewise.
7622         (TOWRITE): Likewise.
7623         (TOEXEC): Likewise.
7624         [POSIX] (TSVTX): Expect constant.
7626 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7628         * Makefile (tests): Change dependencies to ....
7629         (tests-special): ... additions to this variable.
7630         (tests): Depend on $(tests-special).
7631         * Makerules (check-abi-list): New variable.
7632         (check-abi): Depend on $(check-abi-list).
7633         [$(subdir) = elf] (tests-special): Add
7634         $(objpfx)check-abi-libc.out.
7635         [$(build-shared) = yes && subdir] (tests-special): Add
7636         $(check-abi-list).
7637         [$(build-shared) = yes && subdir] (tests): Do not depend on
7638         check-abi.
7639         * Rules (tests): Depend on $(tests-special).
7640         (xtests): Depend on $(xtests-special).
7641         * catgets/Makefile (tests): Change dependencies to ....
7642         (tests-special): ... additions to this variable.
7643         * conform/Makefile (tests): Change dependencies to ....
7644         (tests-special): ... additions to this variable.
7645         * elf/Makefile (tests): Change dependencies to ....
7646         (tests-special): ... additions to this variable.
7647         * grp/Makefile (tests): Change dependencies to ....
7648         (tests-special): ... additions to this variable.
7649         * iconv/Makefile (xtests): Change dependencies to ....
7650         (xtests-special): ... additions to this variable.
7651         * iconvdata/Makefile (tests): Change dependencies to ....
7652         (tests-special): ... additions to this variable.
7653         * intl/Makefile (tests): Change dependencies to ....
7654         (tests-special): ... additions to this variable.  Also add
7655         $(objpfx)tst-gettext.out.
7656         * io/Makefile (tests): Change dependencies to ....
7657         (tests-special): ... additions to this variable.
7658         * libio/Makefile (tests): Change dependencies to ....
7659         (tests-special): ... additions to this variable.
7660         * malloc/Makefile (tests): Change dependencies to ....
7661         (tests-special): ... additions to this variable.
7662         * misc/Makefile (tests): Change dependencies to ....
7663         (tests-special): ... additions to this variable.
7664         * nptl/Makefile (tests): Change dependencies to ....
7665         (tests-special): ... additions to this variable.
7666         * nptl_db/Makefile (tests): Change dependencies to ....
7667         (tests-special): ... additions to this variable.
7668         * posix/Makefile (tests): Change dependencies to ....
7669         (tests-special): ... additions to this variable.
7670         (xtests): Change dependencies to ....
7671         (xtests-special): ... additions to this variable.
7672         * resolv/Makefile (tests): Change dependencies to ....
7673         (tests-special): ... additions to this variable.
7674         (xtests): Change dependencies to ....
7675         (xtests-special): ... additions to this variable.
7676         * stdio-common/Makefile (tests): Change dependencies to ....
7677         (tests-special): ... additions to this variable.
7678         (do-tst-unbputc): Remove target.
7679         (do-tst-printf): Likewise.
7680         * stdlib/Makefile (tests): Change dependencies to ....
7681         (tests-special): ... additions to this variable.
7682         * string/Makefile (tests): Change dependencies to ....
7683         (tests-special): ... additions to this variable.
7684         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7685         (tests-special): ... additions to this variable.
7687         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7688         whole file.
7689         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7690         whole file.
7691         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7692         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7694         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7695         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7696         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7697         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7698         * conform/data/libgen.h-data [XPG3]: Likewise.
7699         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7700         * conform/data/ndbm.h-data [XPG3]: Likewise.
7701         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7702         * conform/data/netdb.h-data [XPG3]: Likewise.
7703         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7704         * conform/data/poll.h-data [XPG3]: Likewise.
7705         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7706         * conform/data/strings.h-data [XPG3]: Likewise.
7707         * conform/data/stropts.h-data [XPG3]: Likewise.
7708         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7709         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7710         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7711         Likewise.
7712         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7713         * conform/data/sys/time.h-data [XPG3]: Likewise.
7714         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7715         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7716         * conform/data/sys/un.h-data [XPG3]: Likewise.
7717         * conform/data/syslog.h-data [XPG3]: Likewise.
7718         * conform/data/ucontext.h-data [XPG3]: Likewise.
7719         * conform/data/utmpx.h-data [XPG3]: Likewise.
7720         * conform/data/varargs.h-data [UNIX98]: Enable file.
7722         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7724         * math/libm-test.inc (struct test_f_f_data): Move expected results
7725         into structure for each rounding mode.
7726         (struct test_ff_f_data): Likewise.
7727         (struct test_ff_f_data_nexttoward): Likewise.
7728         (struct test_fi_f_data): Likewise.
7729         (struct test_fl_f_data): Likewise.
7730         (struct test_if_f_data): Likewise.
7731         (struct test_fff_f_data): Likewise.
7732         (struct test_c_f_data): Likewise.
7733         (struct test_f_f1_data): Likewise.
7734         (struct test_fF_f1_data): Likewise.
7735         (struct test_ffI_f1_data): Likewise.
7736         (struct test_c_c_data): Likewise.
7737         (struct test_cc_c_data): Likewise.
7738         (struct test_f_i_data): Likewise.
7739         (struct test_ff_i_data): Likewise.
7740         (struct test_f_l_data): Likewise.
7741         (struct test_f_L_data): Likewise.
7742         (struct test_fFF_11_data): Likewise.
7743         (RM_): New macro.
7744         (RM_FE_DOWNWARD): Likewise.
7745         (RM_FE_TONEAREST): Likewise.
7746         (RM_FE_TOWARDZERO): Likewise.
7747         (RM_FE_UPWARD): Likewise.
7748         (RUN_TEST_LOOP_f_f): Update references to expected results.
7749         (RUN_TEST_LOOP_2_f): Likewise.
7750         (RUN_TEST_LOOP_fff_f): Likewise.
7751         (RUN_TEST_LOOP_c_f): Likewise.
7752         (RUN_TEST_LOOP_f_f1): Likewise.
7753         (RUN_TEST_LOOP_fF_f1): Likewise.
7754         (RUN_TEST_LOOP_fI_f1): Likewise.
7755         (RUN_TEST_LOOP_ffI_f1): Likewise.
7756         (RUN_TEST_LOOP_c_c): Likewise.
7757         (RUN_TEST_LOOP_cc_c): Likewise.
7758         (RUN_TEST_LOOP_f_i): Likewise.
7759         (RUN_TEST_LOOP_f_i_tg): Likewise.
7760         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7761         (RUN_TEST_LOOP_f_b): Likewise.
7762         (RUN_TEST_LOOP_f_b_tg): Likewise.
7763         (RUN_TEST_LOOP_f_l): Likewise.
7764         (RUN_TEST_LOOP_f_L): Likewise.
7765         (RUN_TEST_LOOP_fFF_11): Likewise.
7766         * math/gen-libm-test.pl (parse_args): Output four copies of
7767         expected results for each test.
7769         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7770         (__ASSUME_UTIMES): Remove.
7771         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7772         (__ASSUME_UTIMES): Likewise.
7774         * math/gen-auto-libm-tests.c: Update comment on output format.
7775         (output_for_one_input_case): Generate before-rounding and
7776         after-rounding information as conditions on output flags not
7777         floating-point format.
7778         * math/auto-libm-test-out: Regenerated.
7779         * math/gen-libm-test.pl (cond_value): New function.
7780         (or_cond_value): Use cond_value.
7781         (generate_testfile): Handle conditional exceptions.
7783 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7785         * math/libm-test.inc (max_valid_error): New variable.
7786         (init_max_error): Take new argument specifying whether function
7787         results are exactly determined.  Set max_valid_error and bound
7788         other variables for errors based on this argument.
7789         (set_max_error): Do not record results above max_valid_error.
7790         (check_float_internal): Only accept errors of up to 0.5ulps if
7791         also at most max_valid_error.
7792         (START): Take new argument EXACT and pass it to init_max_error.
7793         (acos_test): Update call to START.
7794         (acos_test_tonearest): Likewise.
7795         (acos_test_towardzero): Likewise.
7796         (acos_test_downward): Likewise.
7797         (acos_test_upward): Likewise.
7798         (acosh_test): Likewise.
7799         (asin_test): Likewise.
7800         (asin_test_tonearest): Likewise.
7801         (asin_test_towardzero): Likewise.
7802         (asin_test_downward): Likewise.
7803         (asin_test_upward): Likewise.
7804         (asinh_test): Likewise.
7805         (atan_test): Likewise.
7806         (atanh_test): Likewise.
7807         (atan2_test): Likewise.
7808         (cabs_test): Likewise.
7809         (cacos_test): Likewise.
7810         (cacosh_test): Likewise.
7811         (carg_test): Likewise.
7812         (casin_test): Likewise.
7813         (casinh_test): Likewise.
7814         (catan_test): Likewise.
7815         (catanh_test): Likewise.
7816         (cbrt_test): Likewise.
7817         (ccos_test): Likewise.
7818         (ccosh_test): Likewise.
7819         (ceil_test): Likewise.
7820         (cexp_test): Likewise.
7821         (cimag_test): Likewise.
7822         (clog_test): Likewise.
7823         (clog10_test): Likewise.
7824         (conj_test): Likewise.
7825         (copysign_test): Likewise.
7826         (cos_test): Likewise.
7827         (cos_test_tonearest): Likewise.
7828         (cos_test_towardzero): Likewise.
7829         (cos_test_downward): Likewise.
7830         (cos_test_upward): Likewise.
7831         (cosh_test): Likewise.
7832         (cosh_test_tonearest): Likewise.
7833         (cosh_test_towardzero): Likewise.
7834         (cosh_test_downward): Likewise.
7835         (cosh_test_upward): Likewise.
7836         (cpow_test): Likewise.
7837         (cproj_test): Likewise.
7838         (creal_test): Likewise.
7839         (csin_test): Likewise.
7840         (csinh_test): Likewise.
7841         (csqrt_test): Likewise.
7842         (ctan_test): Likewise.
7843         (ctan_test_tonearest): Likewise.
7844         (ctan_test_towardzero): Likewise.
7845         (ctan_test_downward): Likewise.
7846         (ctan_test_upward): Likewise.
7847         (ctanh_test): Likewise.
7848         (ctanh_test_tonearest): Likewise.
7849         (ctanh_test_towardzero): Likewise.
7850         (ctanh_test_downward): Likewise.
7851         (ctanh_test_upward): Likewise.
7852         (erf_test): Likewise.
7853         (erfc_test): Likewise.
7854         (exp_test): Likewise.
7855         (exp_test_tonearest): Likewise.
7856         (exp_test_towardzero): Likewise.
7857         (exp_test_downward): Likewise.
7858         (exp_test_upward): Likewise.
7859         (exp10_test): Likewise.
7860         (exp10_test_tonearest): Likewise.
7861         (exp10_test_towardzero): Likewise.
7862         (exp10_test_downward): Likewise.
7863         (exp10_test_upward): Likewise.
7864         (pow10_test): Likewise.
7865         (exp2_test): Likewise.
7866         (expm1_test): Likewise.
7867         (expm1_test_tonearest): Likewise.
7868         (expm1_test_towardzero): Likewise.
7869         (expm1_test_downward): Likewise.
7870         (expm1_test_upward): Likewise.
7871         (fabs_test): Likewise.
7872         (fdim_test): Likewise.
7873         (floor_test): Likewise.
7874         (fma_test): Likewise.
7875         (fma_test_towardzero): Likewise.
7876         (fma_test_downward): Likewise.
7877         (fma_test_upward): Likewise.
7878         (fmax_test): Likewise.
7879         (fmin_test): Likewise.
7880         (fmod_test): Likewise.
7881         (fpclassify_test): Likewise.
7882         (frexp_test): Likewise.
7883         (hypot_test): Likewise.
7884         (ilogb_test): Likewise.
7885         (isfinite_test): Likewise.
7886         (finite_test): Likewise.
7887         (isgreater_test): Likewise.
7888         (isgreaterequal_test): Likewise.
7889         (isinf_test): Likewise.
7890         (isless_test): Likewise.
7891         (islessequal_test): Likewise.
7892         (islessgreater_test): Likewise.
7893         (isnan_test): Likewise.
7894         (isnormal_test): Likewise.
7895         (issignaling_test): Likewise.
7896         (isunordered_test): Likewise.
7897         (j0_test): Likewise.
7898         (j1_test): Likewise.
7899         (jn_test): Likewise.
7900         (ldexp_test): Likewise.
7901         (lgamma_test): Likewise.
7902         (gamma_test): Likewise.
7903         (lrint_test): Likewise.
7904         (lrint_test_tonearest): Likewise.
7905         (lrint_test_towardzero): Likewise.
7906         (lrint_test_downward): Likewise.
7907         (lrint_test_upward): Likewise.
7908         (llrint_test): Likewise.
7909         (llrint_test_tonearest): Likewise.
7910         (llrint_test_towardzero): Likewise.
7911         (llrint_test_downward): Likewise.
7912         (llrint_test_upward): Likewise.
7913         (log_test): Likewise.
7914         (log10_test): Likewise.
7915         (log1p_test): Likewise.
7916         (log2_test): Likewise.
7917         (logb_test): Likewise.
7918         (logb_test_downward): Likewise.
7919         (lround_test): Likewise.
7920         (llround_test): Likewise.
7921         (modf_test): Likewise.
7922         (nearbyint_test): Likewise.
7923         (nextafter_test): Likewise.
7924         (nexttoward_test): Likewise.
7925         (pow_test): Likewise.
7926         (pow_test_tonearest): Likewise.
7927         (pow_test_towardzero): Likewise.
7928         (pow_test_downward): Likewise.
7929         (pow_test_upward): Likewise.
7930         (remainder_test): Likewise.
7931         (drem_test): Likewise.
7932         (remainder_test_tonearest): Likewise.
7933         (drem_test_tonearest): Likewise.
7934         (remainder_test_towardzero): Likewise.
7935         (drem_test_towardzero): Likewise.
7936         (remainder_test_downward): Likewise.
7937         (drem_test_downward): Likewise.
7938         (remainder_test_upward): Likewise.
7939         (drem_test_upward): Likewise.
7940         (remquo_test): Likewise.
7941         (rint_test): Likewise.
7942         (rint_test_tonearest): Likewise.
7943         (rint_test_towardzero): Likewise.
7944         (rint_test_downward): Likewise.
7945         (rint_test_upward): Likewise.
7946         (round_test): Likewise.
7947         (scalb_test): Likewise.
7948         (scalbn_test): Likewise.
7949         (scalbln_test): Likewise.
7950         (signbit_test): Likewise.
7951         (sin_test): Likewise.
7952         (sin_test_tonearest): Likewise.
7953         (sin_test_towardzero): Likewise.
7954         (sin_test_downward): Likewise.
7955         (sin_test_upward): Likewise.
7956         (sincos_test): Likewise.
7957         (sinh_test): Likewise.
7958         (sinh_test_tonearest): Likewise.
7959         (sinh_test_towardzero): Likewise.
7960         (sinh_test_downward): Likewise.
7961         (sinh_test_upward): Likewise.
7962         (sqrt_test): Likewise.
7963         (sqrt_test_tonearest): Likewise.
7964         (sqrt_test_towardzero): Likewise.
7965         (sqrt_test_downward): Likewise.
7966         (sqrt_test_upward): Likewise.
7967         (tan_test): Likewise.
7968         (tan_test_tonearest): Likewise.
7969         (tan_test_towardzero): Likewise.
7970         (tan_test_downward): Likewise.
7971         (tan_test_upward): Likewise.
7972         (tanh_test): Likewise.
7973         (tgamma_test): Likewise.
7974         (trunc_test): Likewise.
7975         (y0_test): Likewise.
7976         (y1_test): Likewise.
7977         (yn_test): Likewise.
7978         (significand_test): Likewise.
7980         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7981         individual tests in comment.
7982         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7983         (prev_max_error): New variable.
7984         (prev_real_max_error): Likewise.
7985         (prev_imag_max_error): Likewise.
7986         (compare_ulp_data): Don't refer to test names in comment.
7987         (find_test_ulps): Remove function.
7988         (find_function_ulps): Likewise.
7989         (find_complex_function_ulps): Likewise.
7990         (init_max_error): Take function name as argument.  Look up ulps
7991         for that function.
7992         (print_ulps): Remove function.
7993         (print_max_error): Use prev_max_error instead of calling
7994         find_function_ulps.
7995         (print_complex_max_error): Use prev_real_max_error and
7996         prev_imag_max_error instead of calling find_complex_function_ulps.
7997         (check_float_internal): Take max_ulp parameter instead of calling
7998         find_test_ulps.  Don't call print_ulps.
7999         (check_float): Update call to check_float_internal.
8000         (check_complex): Update calls to check_float_internal.
8001         (START): Pass argument to init_max_error.
8002         * math/gen-libm-test.pl (%results): Don't include "kind"
8003         information.
8004         (parse_ulps): Don't handle ulps of individual tests.
8005         (print_ulps_file): Likewise.
8006         (output_ulps): Likewise.
8007         * math/README.libm-test: Update.
8008         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8009         individual tests.
8010         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8011         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8012         * sysdeps/arm/libm-test-ulps: Likewise.
8013         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8014         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8015         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8016         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8017         * sysdeps/microblaze/libm-test-ulps: Likewise.
8018         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8019         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8020         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8021         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8022         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8023         * sysdeps/sh/libm-test-ulps: Likewise.
8024         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8025         * sysdeps/tile/libm-test-ulps: Likewise.
8026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8028 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
8030         * math/libm-test.inc (print_complex_max_error): Check separately
8031         whether real and imaginary errors are within allowed range and
8032         pass 0 to print_complex_function_ulps instead of value within
8033         allowed range.
8035 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8037         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8038         formatting.
8039         (get_handles_fopen): Likewise.
8040         (do_write_test): Likewise.
8042         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8044         * libio/fileops.c (do_ftell): Use cached offset when
8045         available.
8046         * libio/iofwide.c (do_ftell_wide): Likewise.
8047         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8048         _IO_file_attach.
8049         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8051         [BZ #16532]
8052         * libio/libioP.h (get_file_offset): New function.
8053         * libio/fileops.c (get_file_offset): Likewise.
8054         (do_ftell): Likewise.
8055         (_IO_new_file_seekoff): Split out ftell logic.
8056         * libio/wfileops.c (do_ftell_wide): Likewise.
8057         (_IO_wfile_seekoff): Split out ftell logic.
8058         * libio/tst-ftell-active-handler.c: New test case.
8059         * libio/Makefile (tests): Add it.
8061 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8063         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8064         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8066 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8068         [BZ #16639]
8069         * nscd/connections.c (nscd_init): Call do_exit.
8070         (start_threads): Call do_exit and notify_parent.
8071         (begin_drop_privileges): Call do_exit.
8072         (finish_drop_privileges): Likewise.
8073         * nscd/selinux.c (preserve_capabilities): Likewise.
8074         (install_real_capabilities): Likewise.
8075         (nscd_selinux_enabled): Likewise.
8076         (avc_create_thread): Likewise.
8077         (avc_alloc_lock): Likewise.
8078         (nscd_avc_init): Likewise.
8079         * nscd/nscd.c (parent_fd): New static variable.
8080         (main): Create a pipe between parent and child processes.
8081         Skip closing parent_fd.
8082         (monitor_child): New function.
8083         (do_exit): Likewise.
8084         (notify_parent): Likewise.
8085         * nscd/nscd.h (notify_parent): Likewise.
8086         (do_exit): Likewise.
8088 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8090         * malloc/malloc.c (__libc_calloc): Revert last change.
8092 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8096 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8098         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8100         implementation.
8101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8102         (__libc_ifunc_impl_list): Likewise.
8103         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8104         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8105         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8106         * string/strrchr.c: Define STRRCHR.
8108 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8110         * benchtest/bench-strtok.c (simple_strtok): Delete.
8111         (strtok_string): Use as benchmark.
8112         * string/strtok (STRTOK): New macro.
8114 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8116         * manual/threads.texi: Add header and standard comments to all
8117         functions.
8119         * elf/dl-lookup.c (check_match): New function.
8120         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8121         (do_lookup_x): Remove nested function check_match. Use non-nested
8122         function check_match.
8124 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8126         * csu/Makefile (generated, before-compile): Use += rather than =.
8127         * catgets/Makefile (generated, generated-dirs): Likewise.
8128         * debug/Makefile (generated): Likewise.
8129         * dlfcn/Makefile (generated): Likewise.
8130         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8131         * iconvdata/Makefile (before-compile, generated): Likewise.
8132         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8133         * libio/Makefile (generated): Likewise.
8134         * malloc/Makefile (generated): Likewise.
8135         * manual/Makefile (generated, generated-dirs): Likewise.
8136         * misc/Makefile (generated): Likewise.
8137         * posix/Makefile (generated): Likewise.
8138         * resolv/Makefile (generated): Likewise.
8139         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8140         * timezone/Makefile (generated, generated-dirs): Likewise.
8142         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8144 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8147         power8 implementation.
8148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8149         file: POWER8 llround ifunc implementation.
8150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8151         (__lllround): Add POWER8 implementation.
8152         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8153         POWER8 llround implementation.
8155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8156         power8 implementation.
8157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8158         file: POWER8 llrint ifunc implementation.
8159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8160         Add POWER8 implementation.
8161         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8162         POWER8 llrint implementation.
8164         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8165         power8 implementation.
8166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8167         file: POWER8 finite ifunc implementation.
8168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8169         Add POWER8 implementation.
8170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8171         Likewise.
8172         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8173         POWER8 finite implementation.
8174         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8177         power8 implementation.
8178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8179         file: POWER8 isinf ifunc implementation.
8180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8181         POWER8 implementation.
8182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8183         Likewise.
8184         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8185         isinf implementation.
8186         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8188         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8189         (INIT_ARCH): Add hwcap2 initialization.
8190         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8191         power8 implementation.
8192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8193         file: POWER8 isnan ifunc implementation.
8194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8195         POWER8 implementation.
8196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8197         Likewise.
8198         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8199         isnan implementation.
8200         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8202 2014-02-27  Joey Ye  <joey.ye@arm.com>
8204         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8205         (_FP_NANFRAC_Q): Set to zero.
8207 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8209         [BZ #16623]
8210         * math/auto-libm-test-in: New test inputs.
8211         * math/auto-libm-test-out: Regenerate.
8212         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8213         and DA.
8214         (__cos): Likewise.
8215         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8217 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8219         * scripts/evaluate-test.sh: Take new argument indicating whether
8220         failure is expected.
8221         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8222         indicating whether failure is expected.
8223         * conform/Makefile (test-xfail-run-conformtest): New variable.
8224         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8225         level.
8226         * posix/Makefile (test-xfail-annexc): New variable.
8227         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8229 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8231         * argp/Makefile: Include Makeconfig immediately after defining
8232         subdir.
8233         * assert/Makefile: Likewise.
8234         * benchtests/Makefile: Likewise.
8235         * catgets/Makefile: Likewise.
8236         * conform/Makefile: Likewise.
8237         * crypt/Makefile: Likewise.
8238         * csu/Makefile: Likewise.
8239         (all): Remove target.
8240         * ctype/Makefile: Include Makeconfig immediately after defining
8241         subdir.
8242         * debug/Makefile: Likewise.
8243         * dirent/Makefile: Likewise.
8244         * dlfcn/Makefile: Likewise.
8245         * gmon/Makefile: Likewise.
8246         * gnulib/Makefile: Likewise.
8247         * grp/Makefile: Likewise.
8248         * gshadow/Makefile: Likewise.
8249         * hesiod/Makefile: Likewise.
8250         * hurd/Makefile: Likewise.
8251         (all): Remove target.
8252         * iconvdata/Makefile: Include Makeconfig immediately after
8253         defining subdir.
8254         * inet/Makefile: Likewise.
8255         * intl/Makefile: Likewise.
8256         * io/Makefile: Likewise.
8257         * libio/Makefile: Likewise.
8258         (all): Remove target.
8259         * locale/Makefile: Include Makeconfig immediately after defining
8260         subdir.
8261         * login/Makefile: Likewise.
8262         * mach/Makefile: Likewise.
8263         (all): Remove target.
8264         * malloc/Makefile: Include Makeconfig immediately after defining
8265         subdir.
8266         (all): Remove target.
8267         * manual/Makefile: Include Makeconfig immediately after defining
8268         subdir.
8269         * math/Makefile: Likewise.
8270         * misc/Makefile: Likewise.
8271         * nis/Makefile: Likewise.
8272         * nss/Makefile: Likewise.
8273         * po/Makefile: Likewise.
8274         (all): Remove target.
8275         * posix/Makefile: Include Makeconfig immediately after defining
8276         subdir.
8277         * pwd/Makefile: Likewise.
8278         * resolv/Makefile: Likewise.
8279         * resource/Makefile: Likewise.
8280         * rt/Makefile: Likewise.
8281         * setjmp/Makefile: Likewise.
8282         * shadow/Makefile: Likewise.
8283         * signal/Makefile: Likewise.
8284         * socket/Makefile: Likewise.
8285         * soft-fp/Makefile: Likewise.
8286         * stdio-common/Makefile: Likewise.
8287         * stdlib/Makefile: Likewise.
8288         * streams/Makefile: Likewise.
8289         * string/Makefile: Likewise.
8290         * sunrpc/Makefile: Likewise.
8291         (all): Remove target.
8292         * sysvipc/Makefile: Include Makeconfig immediately after defining
8293         subdir.
8294         * termios/Makefile: Likewise.
8295         * time/Makefile: Likewise.
8296         * timezone/Makefile: Likewise.
8297         (all): Remove target.
8298         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8299         subdir.
8300         * wctype/Makefile: Likewise.
8302 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8304         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8305         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8306         (libc_feholdexcept_setround_mips): Ditto.
8307         (libc_feholdsetround): New.
8308         (libc_feholdsetroundf): New.
8309         (libc_feholdsetroundl): New.
8310         (libc_feupdateenv_test_mips): New.
8311         (libc_feupdateenv_test): New.
8312         (libc_feupdateenv_testf): New.
8313         (libc_feupdateenv_testl): New.
8314         (libc_feresetround): New.
8315         (libc_feresetroundf): New.
8316         (libc_feresetroundl): New.
8317         (libc_fetestexcept_mips): New.
8318         (libc_fetestexcept): New.
8319         (libc_fetestexceptf): New.
8320         (libc_fetestexceptl): New.
8321         (HAVE_RM_CTX): New.
8322         (libc_feholdexcept_setround_mips_ctx): New.
8323         (libc_feholdexcept_setround_ctx): New.
8324         (libc_feholdexcept_setroundf_ctx): New.
8325         (libc_feholdexcept_setroundl_ctx): New.
8326         (libc_fesetenv_mips_ctx): New.
8327         (libc_fesetenv_ctx): New.
8328         (libc_fesetenv_ctxf): New.
8329         (libc_fesetenv_ctxl): New.
8330         (libc_feupdateenv_mips_ctx): New.
8331         (libc_feupdateenv_ctx): New.
8332         (libc_feupdateenvf_ctx): New.
8333         (libc_feupdateenvl_ctx): New.
8334         (libc_feholdsetround_mips_ctx): New.
8335         (libc_feholdsetround_ctx): New.
8336         (libc_feholdsetroundf_ctx): New.
8337         (libc_feholdsetroundl_ctx): New.
8338         (libc_feresetround_mips_ctx): New.
8339         (libc_feresetround_ctx): New.
8340         (libc_feresetroundf_ctx): New.
8341         (libc_feresetroundl_ctx): New.
8343 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8345         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8347         * manual/ipc.texi: New file.
8348         * manual/Makefile (chapters): Add ipc.
8349         * manual/job.texi: Add "Inter-Process Communication" to next.
8350         * manual/process.texi: Add "Inter-Process Communication" to prev.
8352 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8356 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8358         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8360         * manual/arith.texi: Fix spaces after sentences.
8361         * manual/charset.texi: Likewise.
8362         * manual/errno.texi: Likewise.
8363         * manual/install.texi: Likewise.
8364         * manual/llio.texi: Likewise.
8365         * manual/locale.texi: Likewise.
8366         * manual/maint.texi: Likewise.
8367         * manual/math.texi: Likewise.
8368         * manual/memory.texi: Likewise.
8369         * manual/message.texi: Likewise.
8370         * manual/probes.texi: Likewise.
8371         * manual/resource.texi: Likewise.
8372         * manual/signal.texi: Likewise.
8373         * manual/socket.texi: Likewise.
8374         * manual/stdio.texi: Likewise.
8375         * manual/string.texi: Likewise.
8376         * manual/time.texi: Likewise.
8377         * manual/users.texi: Likewise.
8379 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8381         [BZ #16632]
8382         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8383         _DEFAULT_SOURCE is defined.
8385 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8386             Carlos O'Donell  <carlos@redhat.com>
8388         [BZ #16613]
8389         * elf/dl-tls.c (_dl_count_modids): New function.
8390         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8391         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8392         audit library and increment generation counter.
8393         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8394         * elf/tst-audit9.c: New file.
8395         * elf/tst-auditmod9a.c: New file.
8396         * elf/tst-auditmod9b.c: New file.
8397         * elf/Makefile: Add rules to build and run tst-audit9.
8399 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8401         [BZ #15347]
8402         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8404 2014-02-25  Will Newton  <will.newton@linaro.org>
8406         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8407         (__longjmp): Restore sp and lr before restoring callee
8408         saved registers.  Add longjmp and longjmp_target
8409         SystemTap probe point.
8410         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8411         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8412         Define to zero to match jmpbuf layout.
8413         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8414         (__sigsetjmp): Save sp and lr before saving callee
8415         saved registers.  Add setjmp SystemTap probe point.
8417 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8419         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8421 2014-02-24  Andreas Schwab  <schwab@suse.de>
8423         [BZ #15804]
8424         * elf/pldd.c (wait_for_ptrace_stop): New function.
8425         (main): Call it after attaching.
8427 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8429         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8430         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8431         Versions files is now verboten.
8432         * hurd/Versions (libc: GLIBC_2.0):
8433         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8434         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8435         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8436         * mach/Versions: Likewise.
8438         * csu/Versions: Remove unused %include.
8439         * resolv/Versions: Likewise.
8441 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8443         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8444         ($(objpfx)check-local-headers.out): Likewise.
8445         ($(objpfx)begin-end-check.out): Likewise.
8446         * Makerules (check-abi-%.out): Likewise.
8447         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8448         ($(objpfx)test2.cat): Likewise.
8449         ($(objpfx)de/libc.cat): Likewise.
8450         ($(objpfx)test-gencat.out): Likewise.
8451         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8452         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8453         ($(objpfx)noload-mem): Likewise.
8454         ($(objpfx)tst-pathopt.out): Likewise.
8455         ($(objpfx)tst-rtld-load-self.out): Likewise.
8456         ($(objpfx)tst-array1-cmp.out): Likewise.
8457         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8458         ($(objpfx)tst-array2-cmp.out): Likewise.
8459         ($(objpfx)tst-array3-cmp.out): Likewise.
8460         ($(objpfx)tst-array4-cmp.out): Likewise.
8461         ($(objpfx)tst-array5-cmp.out): Likewise.
8462         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8463         ($(objpfx)check-textrel.out): Likewise.
8464         ($(objpfx)check-execstack.out): Likewise.
8465         ($(objpfx)check-localplt.out): Likewise.
8466         ($(objpfx)order2-cmp.out): Likewise.
8467         ($(objpfx)tst-leaks1-mem): Likewise.
8468         ($(objpfx)tst-leaks1-static-mem): Likewise.
8469         ($(objpfx)tst-initorder-cmp.out): Likewise.
8470         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8471         ($(objpfx)tst-unused-dep.out): Likewise.
8472         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8473         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8474         * iconv/Makefile (test-iconvconfig): Likewise.
8475         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8476         ($(objpfx)iconv-test.out): Likewise.
8477         ($(objpfx)tst-tables.out): Likewise.
8478         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8479         ($(objpfx)tst-gettext.out): Likewise.
8480         ($(objpfx)tst-translit.out): Likewise.
8481         ($(objpfx)tst-gettext2.out): Likewise.
8482         ($(objpfx)tst-gettext4.out): Likewise.
8483         ($(objpfx)tst-gettext6.out): Likewise.
8484         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8485         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8486         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8487         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8488         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8489         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8490         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8491         ($(objpfx)wordexp-tst.out): Likewise.
8492         ($(objpfx)annexc.out): Likewise.
8493         ($(objpfx)tst-fnmatch-mem): Likewise.
8494         ($(objpfx)bug-regex2-mem): Likewise.
8495         ($(objpfx)bug-regex14-mem): Likewise.
8496         ($(objpfx)bug-regex21-mem): Likewise.
8497         ($(objpfx)bug-regex31-mem): Likewise.
8498         ($(objpfx)tst-vfork3-mem): Likewise.
8499         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8500         ($(objpfx)tst-pcre-mem): Likewise.
8501         ($(objpfx)tst-boost-mem): Likewise.
8502         ($(objpfx)tst-getconf.out): Likewise.
8503         ($(objpfx)bug-ga2-mem): Likewise.
8504         ($(objpfx)bug-glob2-mem): Likewise.
8505         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8506         ($(objpfx)mtrace-tst-leaks2): Likewise.
8507         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8508         ($(objpfx)tst-printf.out): Likewise.
8509         ($(objpfx)tst-setvbuf1.out): Likewise.
8510         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8511         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8512         ($(objpfx)tst-fmtmsg.out): Likewise.
8513         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8514         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8516         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8517         * bits/sigaction.h [__USE_MISC]: Likewise.
8518         * bits/waitstatus.h: Update #endif comments.
8519         * ctype/ctype.h: Likewise.
8520         * dirent/dirent.h: Likewise.
8521         [__USE_MISC]: Remove redundant conditionals.
8522         * grp/grp.h: Update #endif comments.
8523         [__USE_GNU]: Remove redundant conditionals.
8524         [__USE_MISC]: Likewise.
8525         * inet/netinet/in.h [__USE_GNU]: Likewise.
8526         * io/sys/stat.h [__USE_MISC]: Likewise.
8527         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8528         * libio/bits/stdio.h: Update #endif comments.
8529         [__USE_MISC]: Remove redundant conditionals.
8530         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8531         * libio/stdio.h: Update #endif comments.
8532         [__USE_MISC]: Remove redundant conditionals.
8533         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8534         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8535         * math/math.h: Update #else and #endif comments.
8536         [__USE_MISC]: Remove redundant conditionals.
8537         * misc/sys/uio.h: Update #endif comments.
8538         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8539         * posix/glob.h [__USE_MISC]: Likewise.
8540         * posix/sys/types.h: Update #endif comments.
8541         [__USE_MISC]: Remove redundant conditionals.
8542         * posix/sys/wait.h: Update #endif comments.
8543         [__USE_MISC]: Remove redundant conditionals.
8544         * posix/unistd.h: Update #endif comments.
8545         [__USE_MISC]: Remove redundant conditionals.
8546         * pwd/pwd.h [__USE_GNU]: Likewise.
8547         [__USE_MISC]: Likewise.
8548         * resolv/netdb.h [__USE_GNU]: Likewise.
8549         * signal/signal.h: Update #endif comments.
8550         [__USE_MISC]: Remove redundant conditionals.
8551         * stdlib/stdlib.h: Update #else and #endif comments.
8552         [__USE_MISC]: Remove redundant conditionals.
8553         [__USE_GNU]: Likewise.
8554         * string/bits/string2.h [__USE_MISC]: Likewise.
8555         * string/string.h: Update #endif comments.
8556         [__USE_MISC]: Remove redundant conditionals.
8557         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8558         Likewise.
8559         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8560         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8561         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8562         Likewise.
8563         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8564         Likewise.
8565         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8566         comments.
8567         [__USE_MISC]: Remove redundant conditionals.
8568         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8569         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8570         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8571         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8572         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8573         Likewise.
8574         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8575         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8576         Likewise.
8577         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8578         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8579         Likewise.
8580         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8581         Likewise.
8582         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8583         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8584         Likewise.
8585         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8586         Likewise.
8587         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8588         * sysdeps/x86/bits/string.h: Update #endif comments.
8589         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8590         conditionals.
8591         * time/sys/time.h: Update #endif comments.
8592         * time/time.h: Likewise.
8593         [__USE_MISC]: Remove redundant conditionals.
8595 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8597         [BZ #16600]
8598         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8600 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8602         * Versions.def (librt): Add GLIBC_2.17.
8604 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8606         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8607         synonym for _SYS_AUXV_H to allow direct inclusion.
8608         * sysdeps/sparc/bits/hwcap.h: Likewise.
8609         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8610         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8611         * sysdeps/sparc/sysdep.h: Likewise.
8613 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8615         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8617 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8619         * benchtests/bench-strrchr.c: Print length instead of position.
8621 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8623         [BZ #16611]
8624         * sysdeps/unix/sysv/linux/kernel-features.h
8625         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8626         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8627         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8628         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8629         Likewise.
8630         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8631         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8632         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8633         (__ASSUME_SENDMMSG): Define instead of using previous
8634         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8635         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8636         (__ASSUME_SENDMMSG_SYSCALL): Define.
8637         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8638         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8639         Likewise.
8640         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8641         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8642         Likewise.
8643         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8644         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8645         Likewise.
8646         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8647         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8648         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8649         [__ASSUME_SENDMMSG]: Change conditionals to
8650         [__ASSUME_SENDMMSG_SOCKETCALL].
8651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8652         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8653         Define.
8654         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8655         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8656         Likewise.
8657         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8658         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8659         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8660         [!__ASSUME_SENDMMSG]: Change conditional to
8661         [!__ASSUME_SENDMMSG_SOCKETCALL].
8662         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8663         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8664         Define.
8666         [BZ #16610]
8667         * sysdeps/unix/sysv/linux/kernel-features.h
8668         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8669         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8670         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8671         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8672         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8673         [__i386__ || __sparc__]
8674         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8675         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8676         (__ASSUME_RECVMMSG): Define instead of using previous
8677         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8678         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8679         (__ASSUME_RECVMMSG_SYSCALL): Define.
8680         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8681         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8682         Likewise.
8683         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8684         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8685         Likewise.
8686         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8687         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8688         Likewise.
8689         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8690         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8691         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8692         [__ASSUME_RECVMMSG]: Change condition to
8693         [__ASSUME_RECVMMSG_SOCKETCALL].
8694         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8695         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8696         Define.
8697         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8698         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8699         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8700         Likewise.
8701         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8702         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8703         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8704         [!__ASSUME_RECVMMSG]: Change condition to
8705         [!__ASSUME_RECVMMSG_SOCKETCALL].
8706         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8707         (__ASSUME_RECVMMSG_SYSCALL): Define.
8709         [BZ #16609]
8710         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8711         __powerpc__ || __s390__ || __sh__ || __sparc__]
8712         (__ASSUME_SOCKETCALL): Define.
8713         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8714         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8715         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8716         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8717         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8718         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8719         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8720         (__ASSUME_ACCEPT4): Define instead of using previous
8721         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8722         __powerpc__ || __sparc__ || __s390__)] condition.
8723         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8724         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8725         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8726         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8727         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8728         [!__ASSUME_ACCEPT4]: Change condition to
8729         [!__ASSUME_ACCEPT4_SOCKETCALL].
8730         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8731         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8732         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8733         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8734         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8735         __ASSUME_ACCEPT4_SYSCALL.
8736         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8737         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8738         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8739         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8740         __ASSUME_ACCEPT4_SYSCALL.
8741         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8742         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8743         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8744         [__ASSUME_ACCEPT4]: Change condition to
8745         [__ASSUME_ACCEPT4_SOCKETCALL].
8746         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8747         (__ASSUME_SOCKETCALL): Define.
8748         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8750         (__ASSUME_SOCKETCALL): Define.
8751         (__ASSUME_ACCEPT4): Remove.
8752         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8753         Define.
8754         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8755         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8756         Likewise.
8757         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8758         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8760         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8761         macro.
8762         (HWCAP_ARM_LPAE): Likewise.
8763         (HWCAP_ARM_EVTSTRM): Likewise.
8764         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8765         Add vpfd32, lpae and evtstrm.
8766         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8767         Increase to 22.
8769 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8771         * math/auto-libm-test-in: Add tests of clog10.
8772         * math/auto-libm-test-out: Regenerated.
8773         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8774         * sysdeps/i386/fpu/libm-test-ulps: Update.
8775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8777 2014-02-18  Andreas Schwab  <schwab@suse.de>
8779         [BZ #16574]
8780         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8781         Store non-zero if the second buffer was newly allocated.
8782         (send_dg): Likewise.
8783         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8784         to send_vc and send_dg.
8785         (res_nsend): Pass NULL for ansp2_malloced.
8786         * resolv/res_query.c (__libc_res_nquery): Add parameter
8787         answerp2_malloced and pass it down to __libc_res_nsend.
8788         (res_nquery): Pass additional NULL to __libc_res_nquery.
8789         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8790         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8791         second answer buffer if answerp2_malloced was set.
8792         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8793         (__libc_res_nquerydomain): Add parameter
8794         answerp2_malloced and pass it down to __libc_res_nquery.
8795         (res_nquerydomain): Pass additional NULL to
8796         __libc_res_nquerydomain.
8797         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8798         additional NULL to __libc_res_nsend and __libc_res_nquery.
8799         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8800         additional NULL to __libc_res_nsearch.
8801         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8802         parameter of __libc_res_nsearch to check for separately allocated
8803         second buffer.
8804         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8805         __libc_res_nquery.
8806         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8807         additional NULL to __libc_res_nquery.
8808         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8809         __libc_res_nsearch.
8810         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8811         * include/resolv.h: Update prototypes of __libc_res_nquery,
8812         __libc_res_nsearch, __libc_res_nsend.
8814 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8816         * math/auto-libm-test-in: Add tests of fma.
8817         * math/auto-libm-test-out: Regenerated.
8818         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8819         (fma_towardzero_test_data): Likewise.
8820         (fma_downward_test_data): Likewise.
8821         (fma_upward_test_data): Likewise.
8822         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8823         mpc_mode.
8824         (rounding_modes): Add values for new field.
8825         (func_calc_method): Add value mpfr_fff_f.
8826         (func_calc_desc): Add mpfr_fff_f union field.
8827         (test_function): Add field exact_args.
8828         (FUNC): Add macro argument EXACT_ARGS.
8829         (FUNC_mpfr_f_f): Update call to FUNC.
8830         (FUNC_mpfr_f_f): Likewise.
8831         (FUNC_mpfr_ff_f): Likewise.
8832         (FUNC_mpfr_if_f): Likewise.
8833         (FUNC_mpc_c_f): Likewise.
8834         (FUNC_mpc_c_c): Likewise.
8835         (test_functions): Add fma.  Update calls to FUNC.
8836         (handle_input_arg): Add argument exact_args.
8837         (add_test): Update call to handle_input_arg.
8838         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8839         (output_for_one_input_case): Update call to calc_generic_results.
8840         Recalculate exact zero results in each rounding mode.
8842         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8843         non-negative before setting low bit.
8844         * math/auto-libm-test-in: Mark one asin test possibly having
8845         spurious underflow.
8846         * math/auto-libm-test-out: Regenerated.
8847         * sysdeps/i386/fpu/libm-test-ulps: Update.
8848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8850 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8852         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8853         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8854         ports/sysdeps/unix/sysv/linux/microblaze.
8855         * README: Add missing listing for microblaze*-*-linux-gnu.
8857 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8859         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8860         * sysdeps/unix/sysv/linux/ia64: Move directory from
8861         ports/sysdeps/unix/sysv/linux/ia64.
8862         * README: Update listing for ia64-*-linux-gnu.
8864 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8865             Joseph Myers  <joseph@codesourcery.com>
8867         * Makeconfig (test-name): New variable.
8868         (evaluate-test): Likewise.
8869         * Makerules (do-test-clean): Remove .test-result files.
8870         (common-mostlyclean): Likewise.
8871         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8872         * scripts/evaluate-test.sh: New file.
8874 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8876         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8877         separate $(objpfx)tst-fopenloc-cmp.out and
8878         $(objpfx)tst-fopenloc-mem.out targets.
8879         (tests): Update dependencies.
8880         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8881         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8882         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8883         (tst-rxspencer-no-utf8-ARGS): New variable.
8884         (tst-rxspencer-no-utf8-ENV): Likewise.
8885         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8886         instead of $(objpfx)tst-rxspencer-mem.
8887         ($(objpfx)tst-rxspencer-mem): Change target to
8888         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8889         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8890         * posix/tst-rxspencer-no-utf8.c: New file.
8892         * elf/Makefile ($(objpfx)order.out): Remove rule.
8893         [$(run-built-tests) = yes] (tests): Depend on
8894         $(objpfx)order-cmp.out.
8895         ($(objpfx)order-cmp.out): New rule.
8896         [$(run-built-tests) = yes] (tests): Depend on
8897         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8898         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8899         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8900         $(objpfx)tst-array5-static-cmp.out.
8901         ($(objpfx)tst-array1.out): Remove rule.
8902         ($(objpfx)tst-array1-cmp.out): New rule.
8903         ($(objpfx)tst-array1-static.out): Remove rule.
8904         ($(objpfx)tst-array1-static-cmp.out): New rule.
8905         ($(objpfx)tst-array2.out): Remove rule.
8906         ($(objpfx)tst-array2-cmp.out): New rule.
8907         ($(objpfx)tst-array3.out): Remove rule.
8908         ($(objpfx)tst-array3-cmp.out): New rule.
8909         ($(objpfx)tst-array4.out): Remove rule.
8910         ($(objpfx)tst-array4-cmp.out): New rule.
8911         ($(objpfx)tst-array5.out): Remove rule.
8912         ($(objpfx)tst-array5-cmp.out): New rule.
8913         ($(objpfx)tst-array5-static.out): Remove rule.
8914         ($(objpfx)tst-array5-static-cmp.out): New rule.
8915         [$(run-built-tests) = yes] (tests): Depend on
8916         $(objpfx)order2-cmp.out.
8917         ($(objpfx)order2.out): Remove rule.
8918         ($(objpfx)order2-cmp.out): New rule.
8919         ($(objpfx)tst-initorder.out): Remove rule.
8920         [$(run-built-tests) = yes] (tests): Depend on
8921         $(objpfx)tst-initorder-cmp.out.
8922         ($(objpfx)tst-initorder-cmp.out): New rule.
8923         ($(objpfx)tst-initorder2.out): Remove rule.
8924         [$(run-built-tests) = yes] (tests): Depend on
8925         $(objpfx)tst-initorder2-cmp.out.
8926         ($(objpfx)tst-initorder2-cmp.out): New rule.
8927         [$(run-built-tests) = yes] (tests): Depend on
8928         $(objpfx)tst-unused-dep-cmp.out.
8929         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8930         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8931         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8932         on $(objpfx)tst-setvbuf1-cmp.out.
8933         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8934         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8935         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8936         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8937         ($(objpfx)tst-svc.out): Remove rule.
8938         ($(objpfx)tst-svc-cmp.out): New rule.
8940 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8942         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8943         * ctype/ctype.h [__USE_MISC]: Likewise.
8944         * dirent/dirent.h [__USE_MISC]: Likewise.
8945         * grp/grp.h [__USE_MISC]: Likewise.
8946         * io/fcntl.h [__USE_MISC]: Likewise.
8947         * io/sys/stat.h [__USE_MISC]: Likewise.
8948         * libio/stdio.h [__USE_MISC]: Likewise.
8949         * posix/unistd.h [__USE_MISC]: Likewise.
8950         * pwd/pwd.h [__USE_MISC]: Likewise.
8951         * stdlib.h [__USE_MISC]: Likewise.
8952         * string/bits/string2.h [__USE_MISC]: Likewise.
8953         * string/string.h [__USE_MISC]: Likewise.
8954         * time/time.h [__USE_MISC]: Likewise.
8956 2014-02-13  Andreas Schwab  <schwab@suse.de>
8958         [BZ #16574]
8959         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8960         second answer buffer if it was separately allocated.
8962 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8964         * sysdeps/mips/math-tests.h: Include <features.h>.
8965         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8966         (ROUNDING_TESTS_long_double): Do not define.
8967         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8968         (EXCEPTION_TESTS_long_double): Likewise.
8969         * sysdeps/mips/mips64/libm-test-ulps: Update.
8971         * include/features.h (__USE_BSD): Remove macro definitions.
8972         (__USE_SVID): Likewise.
8973         (_BSD_SOURCE): Likewise.
8974         (_SVID_SOURCE): Likewise.
8975         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8976         from definition of _DEFAULT_SOURCE.
8977         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8978         [_DEFAULT_SOURCE].
8979         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8980         * bits/mman.h [__USE_BSD]: Likewise.
8981         * bits/termios.h [__USE_BSD]: Likewise.
8982         * bits/waitstatus.h [__USE_BSD]: Likewise.
8983         * ctype/ctype.h [__USE_SVID]: Likewise.
8984         * dirent/dirent.h [__USE_BSD]: Likewise.
8985         * grp/grp.h [__USE_SVID]: Likewise.
8986         [__USE_BSD]: Likewise.
8987         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8988         * io/fcntl.h [__USE_BSD]: Likewise.
8989         * io/ftw.h [__USE_BSD]: Likewise.
8990         * io/sys/stat.h [__USE_BSD]: Likewise.
8991         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8992         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8993         * libio/stdio.h [__USE_SVID]: Likewise.
8994         [__USE_BSD]: Likewise.
8995         * math/math.h [__USE_SVID]: Likewise.
8996         [__USE_BSD]: Likewise.
8997         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8998         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8999         * misc/search.h [__USE_SVID]: Likewise.
9000         * misc/sys/mman.h [__USE_BSD]: Likewise.
9001         * misc/sys/syslog.h [__USE_BSD]: Likewise.
9002         * misc/sys/uio.h [__USE_BSD]: Likewise.
9003         * posix/bits/unistd.h [__USE_BSD]: Likewise.
9004         * posix/glob.h [__USE_BSD]: Likewise.
9005         * posix/regex.h [__USE_BSD]: Likewise.
9006         * posix/sys/types.h [__USE_BSD]: Likewise.
9007         [__USE_SVID]: Likewise.
9008         * posix/sys/utsname.h [__USE_SVID]: Likewise.
9009         * posix/sys/wait.h [__USE_BSD]: Likewise.
9010         [__USE_SVID]: Likewise.
9011         * posix/unistd.h [__USE_BSD]: Likewise.
9012         [__USE_SVID]: Likewise.
9013         * pwd/pwd.h [__USE_SVID]: Likewise.
9014         * resolv/netdb.h [__USE_BSD]: Likewise.
9015         * setjmp/setjmp.h [__USE_BSD]: Likewise.
9016         * signal/signal.h [__USE_BSD]: Likewise.
9017         [__USE_SVID]: Likewise.
9018         * socket/sys/socket.h [__USE_BSD]: Likewise.
9019         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9020         * stdlib/stdlib.h [__USE_BSD]: Likewise.
9021         [__USE_SVID]: Likewise.
9022         * string/bits/string2.h [__USE_BSD]: Likewise.
9023         [__USE_SVID]: Likewise.
9024         * string/bits/string3.h [__USE_BSD]: Likewise.
9025         * string/endian.h [__USE_BSD]: Likewise.
9026         * string/string.h [__USE_SVID]: Likewise.
9027         [__USE_BSD]: Likewise.
9028         * string/strings.h [__USE_BSD]: Likewise.
9029         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9030         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9031         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9032         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9033         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9034         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9035         Likewise.
9036         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9037         Likewise.
9038         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9039         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9040         Likewise.
9041         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9042         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9043         Likewise.
9044         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9045         Likewise.
9046         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9047         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9048         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9049         Likewise.
9050         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9051         Likewise.
9052         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9053         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9054         * termios/termios.h [__USE_BSD]: Likewise.
9055         * time/sys/time.h [__USE_BSD]: Likewise.
9056         * time/time.h [__USE_BSD]: Likewise.
9057         [__USE_SVID]: Likewise.
9059         * Makefile (subdir_targets): Remove subdir_lint.out.
9061         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9062         (do-tst-printf): Likewise.
9063         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9064         $(objpfx)tst-printf.out.
9066         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9068         * Makerules (check-abi-%): Change target to
9069         $(objpfx)check-abi-%.out.
9070         (check-abi target): Update dependencies.
9071         (check-abi-pattern variable): Redirect output of diff to $@.
9072         (check-abi variable): Likewise.
9073         * elf/Makefile (check-abi): Update dependencies.
9075         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9076         unused.
9077         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9078         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9079         subnormal range.
9080         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9081         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9082         value has largest subnormal exponent.
9083         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9084         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9085         * sysdeps/aarch64/soft-fp/sfp-machine.h
9086         (_FP_TININESS_AFTER_ROUNDING): New macro.
9087         * sysdeps/alpha/soft-fp/sfp-machine.h
9088         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9089         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9090         Likewise.
9091         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9092         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9093         * sysdeps/mips/soft-fp/sfp-machine.h
9094         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9095         * sysdeps/powerpc/soft-fp/sfp-machine.h
9096         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9097         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9098         Likewise.
9099         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9100         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9101         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9102         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9103         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9104         Likewise.
9106 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9108         [BZ #16545]
9109         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9110         model 1.
9112 2014-02-12  Richard Henderson  <rth@redhat.com>
9114         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9115         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9116         * sysdeps/unix/sysv/linux/alpha: Move directory from
9117         ports/sysdeps/unix/sysv/linux/alpha.
9118         * README: Update listing for alpha-*-linux-gnu.
9120 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9122         * include/features.h: Update comment documenting feature test
9123         macros.
9124         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9125         _DEFAULT_SOURCE.
9126         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9127         (_SVID_SOURCE): Likewise.
9128         (_DEFAULT_SOURCE): Update description of default features.
9129         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9130         with _GNU_SOURCE.
9131         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9132         (S_ISVTX): Likewise.
9133         * manual/math.texi (Mathematical Constants): Likewise.
9134         * manual/signal.texi (Interrupted Primitives): Likewise.
9135         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9136         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9137         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9138         Don't refer to _SVID_SOURCE in warning text.
9140         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9142         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9143         already defined.
9144         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9145         * sysdeps/mips/dl-lookup.c: Remove.
9146         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9148 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9150         [BZ #16447]
9151         * math/auto-libm-test-in: Add testcase for expl.
9152         * math/auto-libm-test-out: Regenerate.
9153         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9154         calculation of unsafe.
9155         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9157 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9159         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9160         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9161         ports/sysdeps/unix/sysv/linux/aarch64.
9162         * README: Update listing for aarch64*-*-linux-gnu.
9164 2014-02-11  Will Newton  <will.newton@linaro.org>
9166         * manual/probes.texi (Mathematical Function Probes): Use
9167         "triggered" instead of "hit".
9169         * manual/probes.texi (Internal Probes): Add documentation
9170         of setjmp, longjmp and longjmp_target probes.
9172         * include/stap-probe.h: Add comment about probe argument
9173         format.
9175         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9176         definition.  (tr_where, tr_freehook, tr_mallochook,
9177         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9179 2014-02-11  David S. Miller  <davem@davemloft.net>
9181         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9182         processing int_tests.
9184 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9186         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9187         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9188         * sysdeps/unix/sysv/linux/mips: Move directory from
9189         ports/sysdeps/unix/sysv/linux/mips.
9190         * README: Update listing for mips-*-linux-gnu and
9191         mips64-*-linux-gnu.
9193 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9195         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9196         * sysdeps/unix/sysv/linux/m68k: Move directory from
9197         ports/sysdeps/unix/sysv/linux/m68k.
9198         * README: Update listing for m68k-*-linux-gnu.
9200 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9202         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9203         * sysdeps/unix/sysv/linux/generic: Move directory from
9204         ports/sysdeps/unix/sysv/linux/generic.
9205         * sysdeps/unix/sysv/linux/tile: Move directory from
9206         ports/sysdeps/unix/sysv/linux/tile.
9207         * README: Update listing for tile*-*-linux-gnu.
9209 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9211         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9212         __builtin_expect.
9213         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9214         * catgets/open_catalog.c (__open_catalog): Likewise.
9215         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9216         * debug/confstr_chk.c: Likewise.
9217         * debug/fread_chk.c (__fread_chk): Likewise.
9218         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9219         * debug/getgroups_chk.c: Likewise.
9220         * debug/mbsnrtowcs_chk.c: Likewise.
9221         * debug/mbsrtowcs_chk.c: Likewise.
9222         * debug/mbstowcs_chk.c: Likewise.
9223         * debug/memcpy_chk.c: Likewise.
9224         * debug/memmove_chk.c: Likewise.
9225         * debug/mempcpy_chk.c: Likewise.
9226         * debug/memset_chk.c: Likewise.
9227         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9228         * debug/strcat_chk.c (__strcat_chk): Likewise.
9229         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9230         * debug/strncat_chk.c (__strncat_chk): Likewise.
9231         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9232         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9233         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9234         * debug/wcpncpy_chk.c: Likewise.
9235         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9236         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9237         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9238         * debug/wcsncpy_chk.c: Likewise.
9239         * debug/wcsnrtombs_chk.c: Likewise.
9240         * debug/wcsrtombs_chk.c: Likewise.
9241         * debug/wcstombs_chk.c: Likewise.
9242         * debug/wmemcpy_chk.c: Likewise.
9243         * debug/wmemmove_chk.c: Likewise.
9244         * debug/wmempcpy_chk.c: Likewise.
9245         * debug/wmemset_chk.c: Likewise.
9246         * dirent/scandirat.c (SCANDIRAT): Likewise.
9247         * dlfcn/dladdr1.c (dladdr1): Likewise.
9248         * dlfcn/dladdr.c (dladdr): Likewise.
9249         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9250         * dlfcn/dlerror.c (__dlerror): Likewise.
9251         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9252         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9253         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9254         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9255         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9256         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9257         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9258         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9259         Likewise.
9260         * elf/dl-conflict.c: Likewise.
9261         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9262         * elf/dl-dst.h: Likewise.
9263         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9264         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9265         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9266         * elf/dl-init.c (call_init, _dl_init): Likewise.
9267         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9268         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9269         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9270         Likewise.
9271         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9272         Likewise.
9273         * elf/dl-minimal.c (__libc_memalign): Likewise.
9274         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9275         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9276         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9277         * elf/dl-sym.c (do_sym): Likewise.
9278         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9279         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9280         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9281         * elf/dl-writev.h (_dl_writev): Likewise.
9282         * elf/ldconfig.c (search_dir): Likewise.
9283         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9284         (dl_main): Likewise.
9285         * elf/setup-vdso.h (setup_vdso): Likewise.
9286         * grp/compat-initgroups.c (compat_call): Likewise.
9287         * grp/fgetgrent.c (fgetgrent): Likewise.
9288         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9289         * grp/putgrent.c (putgrent): Likewise.
9290         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9291         Likewise.
9292         * hurd/hurdinit.c: Likewise.
9293         * iconvdata/8bit-gap.c (struct): Likewise.
9294         * iconvdata/ansi_x3.110.c : Likewise.
9295         * iconvdata/big5.c : Likewise.
9296         * iconvdata/big5hkscs.c : Likewise.
9297         * iconvdata/cp1255.c: Likewise.
9298         * iconvdata/cp1258.c : Likewise.
9299         * iconvdata/cp932.c : Likewise.
9300         * iconvdata/euc-cn.c: Likewise.
9301         * iconvdata/euc-jisx0213.c : Likewise.
9302         * iconvdata/euc-jp.c: Likewise.
9303         * iconvdata/euc-jp-ms.c : Likewise.
9304         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9305         * iconvdata/gb18030.c : Likewise.
9306         * iconvdata/gbbig5.c (const): Likewise.
9307         * iconvdata/gbgbk.c: Likewise.
9308         * iconvdata/gbk.c : Likewise.
9309         * iconvdata/ibm1364.c : Likewise.
9310         * iconvdata/ibm930.c : Likewise.
9311         * iconvdata/ibm932.c: Likewise.
9312         * iconvdata/ibm933.c : Likewise.
9313         * iconvdata/ibm935.c : Likewise.
9314         * iconvdata/ibm937.c : Likewise.
9315         * iconvdata/ibm939.c : Likewise.
9316         * iconvdata/ibm943.c: Likewise.
9317         * iconvdata/iso_11548-1.c: Likewise.
9318         * iconvdata/iso-2022-cn.c : Likewise.
9319         * iconvdata/iso-2022-cn-ext.c : Likewise.
9320         * iconvdata/iso-2022-jp-3.c: Likewise.
9321         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9322         * iconvdata/iso-2022-kr.c : Likewise.
9323         * iconvdata/iso646.c (gconv_end): Likewise.
9324         * iconvdata/iso_6937-2.c : Likewise.
9325         * iconvdata/iso_6937.c : Likewise.
9326         * iconvdata/iso8859-1.c: Likewise.
9327         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9328         * iconvdata/shift_jisx0213.c : Likewise.
9329         * iconvdata/sjis.c : Likewise.
9330         * iconvdata/t.61.c : Likewise.
9331         * iconvdata/tcvn5712-1.c : Likewise.
9332         * iconvdata/tscii.c: Likewise.
9333         * iconvdata/uhc.c : Likewise.
9334         * iconvdata/unicode.c (gconv_end): Likewise.
9335         * iconvdata/utf-16.c (gconv_end): Likewise.
9336         * iconvdata/utf-32.c (gconv_end): Likewise.
9337         * iconvdata/utf-7.c (base64): Likewise.
9338         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9339         * iconv/gconv_close.c (__gconv_close): Likewise.
9340         * iconv/gconv_open.c (__gconv_open): Likewise.
9341         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9342         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9343         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9344         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9345         (ucs4le_internal_loop_single): Likewise.
9346         * iconv/iconv.c (iconv): Likewise.
9347         * iconv/iconv_close.c: Likewise.
9348         * iconv/loop.c (SINGLE): Likewise.
9349         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9350         * include/atomic.h: Likewise.
9351         * inet/inet6_option.c (option_alloc): Likewise.
9352         * intl/bindtextdom.c (set_binding_values): Likewise.
9353         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9354         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9355         * intl/localealias.c (read_alias_file): Likewise.
9356         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9357         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9358         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9359         * libio/fmemopen.c (fmemopen): Likewise.
9360         * libio/iofgets.c (_IO_fgets): Likewise.
9361         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9362         * libio/iofgetws.c (fgetws): Likewise.
9363         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9364         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9365         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9366         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9367         * locale/findlocale.c (_nl_find_locale): Likewise.
9368         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9369         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9370         Likewise.
9371         * locale/setlocale.c (setlocale): Likewise.
9372         * login/programs/pt_chown.c (main): Likewise.
9373         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9374         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9375         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9376         (mmap, mmap64, mremap, munmap): Likewise.
9377         * math/e_exp2l.c: Likewise.
9378         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9379         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9380         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9381         * math/s_catan.c (__catan): Likewise.
9382         * math/s_catanf.c (__catanf): Likewise.
9383         * math/s_catanh.c (__catanh): Likewise.
9384         * math/s_catanhf.c (__catanhf): Likewise.
9385         * math/s_catanhl.c (__catanhl): Likewise.
9386         * math/s_catanl.c (__catanl): Likewise.
9387         * math/s_ccosh.c (__ccosh): Likewise.
9388         * math/s_ccoshf.c (__ccoshf): Likewise.
9389         * math/s_ccoshl.c (__ccoshl): Likewise.
9390         * math/s_cexp.c (__cexp): Likewise.
9391         * math/s_cexpf.c (__cexpf): Likewise.
9392         * math/s_cexpl.c (__cexpl): Likewise.
9393         * math/s_clog10.c (__clog10): Likewise.
9394         * math/s_clog10f.c (__clog10f): Likewise.
9395         * math/s_clog10l.c (__clog10l): Likewise.
9396         * math/s_clog.c (__clog): Likewise.
9397         * math/s_clogf.c (__clogf): Likewise.
9398         * math/s_clogl.c (__clogl): Likewise.
9399         * math/s_csin.c (__csin): Likewise.
9400         * math/s_csinf.c (__csinf): Likewise.
9401         * math/s_csinh.c (__csinh): Likewise.
9402         * math/s_csinhf.c (__csinhf): Likewise.
9403         * math/s_csinhl.c (__csinhl): Likewise.
9404         * math/s_csinl.c (__csinl): Likewise.
9405         * math/s_csqrt.c (__csqrt): Likewise.
9406         * math/s_csqrtf.c (__csqrtf): Likewise.
9407         * math/s_csqrtl.c (__csqrtl): Likewise.
9408         * math/s_ctan.c (__ctan): Likewise.
9409         * math/s_ctanf.c (__ctanf): Likewise.
9410         * math/s_ctanh.c (__ctanh): Likewise.
9411         * math/s_ctanhf.c (__ctanhf): Likewise.
9412         * math/s_ctanhl.c (__ctanhl): Likewise.
9413         * math/s_ctanl.c (__ctanl): Likewise.
9414         * math/w_pow.c: Likewise.
9415         * math/w_powf.c: Likewise.
9416         * math/w_powl.c: Likewise.
9417         * math/w_scalb.c (sysv_scalb): Likewise.
9418         * math/w_scalbf.c (sysv_scalbf): Likewise.
9419         * math/w_scalbl.c (sysv_scalbl): Likewise.
9420         * misc/error.c (error_tail): Likewise.
9421         * misc/pselect.c (__pselect): Likewise.
9422         * nis/nis_callback.c (__nis_create_callback): Likewise.
9423         * nis/nis_call.c (__nisfind_server): Likewise.
9424         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9425         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9426         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9427         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9428         * nis/nis_lookup.c (nis_lookup): Likewise.
9429         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9430         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9431         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9432         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9433         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9434         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9435         * nis/nss_compat/compat-initgroups.c (add_group)
9436         (internal_getgrent_r): Likewise.
9437         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9438         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9439         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9440         (internal_getspnam_r): Likewise.
9441         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9442         (_nss_nis_getaliasbyname_r): Likewise.
9443         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9444         (_nss_nis_getntohost_r): Likewise.
9445         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9446         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9447         (_nss_nis_getgrgid_r): Likewise.
9448         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9449         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9450         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9451         (_nss_nis_gethostbyname4_r): Likewise.
9452         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9453         (initgroups_netid): Likewise.
9454         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9455         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9456         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9457         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9458         (_nss_nis_getprotobynumber_r): Likewise.
9459         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9460         (_nss_nis_getsecretkey): Likewise.
9461         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9462         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9463         (_nss_nis_getpwuid_r): Likewise.
9464         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9465         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9466         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9467         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9468         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9469         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9470         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9471         Likewise.
9472         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9473         (_nss_nisplus_getntohost_r): Likewise.
9474         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9475         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9476         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9477         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9478         Likewise.
9479         * nis/nss_nisplus/nisplus-initgroups.c
9480         (_nss_nisplus_initgroups_dyn): Likewise.
9481         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9482         (_nss_nisplus_getnetbyaddr_r): Likewise.
9483         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9484         (_nss_nisplus_getprotobynumber_r): Likewise.
9485         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9486         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9487         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9488         Likewise.
9489         * nis/nss_nisplus/nisplus-service.c
9490         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9491         (_nss_nisplus_getservbyport_r): Likewise.
9492         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9493         (_nss_nisplus_getspnam_r): Likewise.
9494         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9495         Likewise.
9496         * nscd/aicache.c (addhstaiX): Likewise.
9497         * nscd/cache.c (cache_search, prune_cache): Likewise.
9498         * nscd/connections.c (register_traced_file, send_ro_fd)
9499         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9500         (main_loop_epoll): Likewise.
9501         * nscd/grpcache.c (addgrbyX): Likewise.
9502         * nscd/hstcache.c (addhstbyX): Likewise.
9503         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9504         * nscd/mem.c (gc, mempool_alloc): Likewise.
9505         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9506         (addinnetgrX): Likewise.
9507         * nscd/nscd-client.h (__nscd_acquire_maplock)
9508         (__nscd_drop_map_ref): Likewise.
9509         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9510         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9511         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9512         Likewise.
9513         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9514         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9515         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9516         (__nscd_get_map_ref): Likewise.
9517         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9518         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9519         Likewise.
9520         * nscd/pwdcache.c (addpwbyX): Likewise.
9521         * nscd/selinux.c (preserve_capabilities): Likewise.
9522         * nscd/servicescache.c (addservbyX): Likewise.
9523         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9524         * posix/fnmatch.c (fnmatch): Likewise.
9525         * posix/getopt.c (_getopt_internal_r): Likewise.
9526         * posix/glob.c (glob, glob_in_dir): Likewise.
9527         * posix/wordexp.c (exec_comm_child): Likewise.
9528         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9529         (getanswer_r, gaih_getanswer_slice): Likewise.
9530         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9531         * resolv/res_init.c: Likewise.
9532         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9533         * resolv/res_query.c (__libc_res_nquery): Likewise.
9534         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9535         Likewise.
9536         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9537         * stdio-common/perror.c (perror): Likewise.
9538         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9539         * stdio-common/tmpnam.c (tmpnam): Likewise.
9540         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9541         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9542         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9543         Likewise.
9544         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9545         * stdlib/putenv.c (putenv): Likewise.
9546         * stdlib/setenv.c (__add_to_environ): Likewise.
9547         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9548         * stdlib/strtol_l.c (INTERNAL): Likewise.
9549         * string/memmem.c (memmem): Likewise.
9550         * string/strerror.c (strerror): Likewise.
9551         * string/strnlen.c (__strnlen): Likewise.
9552         * string/test-memmem.c (simple_memmem): Likewise.
9553         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9554         * sunrpc/pm_getport.c (__get_socket): Likewise.
9555         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9556         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9557         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9558         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9559         Likewise.
9560         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9561         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9562         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9563         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9564         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9565         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9566         Likewise.
9567         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9568         Likewise.
9569         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9570         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9571         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9572         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9573         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9574         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9575         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9576         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9577         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9578         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9579         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9580         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9581         Likewise.
9582         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9583         Likewise.
9584         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9585         Likewise.
9586         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9587         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9588         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9589         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9590         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9591         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9592         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9593         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9594         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9595         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9596         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9597         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9598         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9599         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9600         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9601         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9602         Likewise.
9603         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9604         Likewise.
9605         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9606         Likewise.
9607         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9608         Likewise.
9609         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9610         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9611         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9612         Likewise.
9613         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9614         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9615         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9616         * sysdeps/posix/sleep.c: Likewise.
9617         * sysdeps/posix/tempname.c: Likewise.
9618         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9619         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9620         Likewise.
9621         * sysdeps/powerpc/powerpc32/dl-machine.h
9622         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9623         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9624         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9625         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9626         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9627         Likewise.
9628         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9629         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9630         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9631         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9632         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9633         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9634         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9635         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9636         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9637         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9638         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9639         (elf_machine_lazy_rel): Likewise.
9640         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9641         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9642         (elf_machine_lazy_rel): Likewise.
9643         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9644         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9645         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9646         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9647         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9648         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9649         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9650         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9651         Likewise.
9652         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9653         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9654         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9655         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9656         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9657         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9658         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9659         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9660         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9661         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9662         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9663         Likewise.
9664         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9665         (__posix_fallocate64_l64): Likewise.
9666         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9667         (posix_fallocate): Likewise.
9668         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9669         Likewise.
9670         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9671         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9672         (getifaddrs_internal): Likewise.
9673         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9674         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9675         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9676         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9677         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9678         (__posix_fallocate64_l64): Likewise.
9679         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9680         Likewise.
9681         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9682         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9683         (__get_clockfreq): Likewise.
9684         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9685         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9686         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9687         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9688         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9689         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9690         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9691         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9692         Likewise.
9693         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9694         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9695         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9696         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9697         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9698         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9699         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9700         Likewise.
9701         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9702         (posix_fallocate): Likewise.
9703         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9704         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9705         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9706         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9707         (elf_machine_rela, elf_machine_rela_relative)
9708         (elf_machine_lazy_rel): Likewise.
9709         * time/asctime.c (asctime_internal): Likewise.
9710         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9711         * time/tzset.c (__tzset_parse_tz): Likewise.
9712         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9713         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9714         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9715         * wcsmbs/wcsmbsload.h: Likewise.
9717         [BZ #15894]
9718         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9720         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9721         (arena_get2): Remove THREAD_STATS conditionals.
9722         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9723         (__malloc_stats, int): Likewise.
9725 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9727         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9728         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9730         * manual/setjmp.texi: Fix typos/grammar errors.
9732         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9733         Only return early when n is <= 0.  Delete unused return statement.
9735         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9736         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9737         * debug/tst-longjmp_chk3.c: New file.
9739         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9740         (test_main): Replace code with set_fortify_handler call.
9741         * debug/test-strcpy_chk.c: Likewise.
9742         * debug/tst-chk1.c: Likewise.
9743         * debug/tst-longjmp_chk.c: Likewise.
9744         * test-skeleton.c: Include fcntl.h & paths.h
9745         (set_fortify_handler): Define.
9747         * debug/tst-longjmp_chk.c: Add header comment and include
9748         ../test-skeleton.c.
9749         (do_test): Mark static.
9750         (TEST_FUNCTION): Define.
9752         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9753         (IP_PMTUDISC_INTERFACE): Likewise.
9754         (IP_MULTICAST_IF): Likewise.
9755         (IP_MULTICAST_TTL): Likewise.
9756         (IP_MULTICAST_LOOP): Likewise.
9757         (IP_ADD_MEMBERSHIP): Likewise.
9758         (IP_DROP_MEMBERSHIP): Likewise.
9759         (IP_UNBLOCK_SOURCE): Likewise.
9760         (IP_BLOCK_SOURCE): Likewise.
9761         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9762         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9763         (IP_MSFILTER): Likewise.
9764         (MCAST_JOIN_GROUP): Likewise.
9765         (MCAST_BLOCK_SOURCE): Likewise.
9766         (MCAST_UNBLOCK_SOURCE): Likewise.
9767         (MCAST_LEAVE_GROUP): Likewise.
9768         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9769         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9770         (MCAST_MSFILTER): Likewise.
9771         (IP_MULTICAST_ALL): Likewise.
9772         (IP_UNICAST_IF): Likewise.
9774         * timezone/Makefile: Delete $(have-ksh) check.
9775         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9776         * timezone/tzselect.ksh: Add +x mode bits.
9778         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9779         (ANON_INODE_FS_MAGIC): Likewise.
9780         (BDEVFS_MAGIC): Likewise.
9781         (BINFMTFS_MAGIC): Likewise.
9782         (BTRFS_TEST_MAGIC): Likewise.
9783         (CRAMFS_MAGIC_WEND): Likewise.
9784         (DEBUGFS_MAGIC): Likewise.
9785         (ECRYPTFS_SUPER_MAGIC): Likewise.
9786         (EXT3_SUPER_MAGIC): Likewise.
9787         (EXT4_SUPER_MAGIC): Likewise.
9788         (FUTEXFS_SUPER_MAGIC): Likewise.
9789         (HOSTFS_SUPER_MAGIC): Likewise.
9790         (HUGETLBFS_MAGIC): Likewise.
9791         (MINIX3_SUPER_MAGIC): Likewise.
9792         (MTD_INODE_FS_MAGIC): Likewise.
9793         (NILFS_SUPER_MAGIC): Likewise.
9794         (OPENPROM_SUPER_MAGIC): Likewise.
9795         (PIPEFS_MAGIC): Likewise.
9796         (PSTOREFS_MAGIC): Likewise.
9797         (QNX6_SUPER_MAGIC): Likewise.
9798         (RAMFS_MAGIC): Likewise.
9799         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9800         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9801         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9802         (SECURITYFS_MAGIC): Likewise.
9803         (SELINUX_MAGIC): Likewise.
9804         (SMACK_MAGIC): Likewise.
9805         (SOCKFS_MAGIC): Likewise.
9806         (SQUASHFS_MAGIC): Likewise.
9807         (STACK_END_MAGIC): Likewise.
9808         (TMPFS_MAGIC): Likewise.
9809         (USBDEVICE_SUPER_MAGIC): Likewise.
9810         (V9FS_MAGIC): Likewise.
9811         (XENFS_SUPER_MAGIC): Likewise.
9812         (CRAMFS_MAGIC): Fix typo in comment.
9813         (EXT2_SUPER_MAGIC): Update comment.
9814         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9816 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9818         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9819         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9820         * sysdeps/unix/sysv/linux/arm: Move directory from
9821         ports/sysdeps/unix/sysv/linux/arm.
9822         * README: Update listing for arm-*-linux-gnueabi.
9824         * README: Remove mention of am33.
9826 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9828         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9829         than the comma operator, to avoid "rhs of comma has no effect"
9830         compiler warnings.
9831         (__sigfillset, __sigandset, __sigorset): Likewise.
9832         * include/signal.h (__sigemptyset): Likewise.
9833         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9835 2014-02-07  Allan McRae  <allan@archlinux.org>
9837         * version.h (RELEASE): Set to "development".
9838         (VERSION): Set to "2.19.90"
9839         * NEWS: Add 2.20 section.
9841 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9843         [BZ #16529]
9844         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9846 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9848         * manual/contrib.texi: Update entry for Carlos O'Donell,
9849         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9851 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9853         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9855         * sysdeps/unix/sysv/linux/kernel-features.h
9856         [__LINUX_KERNEL_VERSION >= 0x020621]
9857         (__ASSUME_PROC_PID_TASK_COMM): Define.
9859 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9861         [BZ #16398]
9862         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9863         conversion when destination buffer does not have enough space.
9864         * libio/tst-ftell-partial-wide.c: New test case.
9865         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9867         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9868         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9869         Leonard and Allan McRae.
9871 2014-02-04  David S. Miller  <davem@davemloft.net>
9873         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9874         32-bit.
9876 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9879         New file
9880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9881         New file
9882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9883         New file.
9884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9885         New file.
9886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9887         New file.
9888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9889         New file.
9890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9891         New file.
9892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9893         New file.
9894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9895         New file.
9896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9897         New file.
9898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9899         New file.
9900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9901         New file.
9902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9903         New file.
9905 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9907         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9908         * shlib-versions: Likewise.
9910 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9911             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9913         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9914         (abilist-pattern): New variable, set to %-le.abilist.
9916         * Makerules (abilist-pattern): New variable.
9917         (vpath): Use $(abilist-pattern) in place of %.abilist.
9918         (check-abi-% pattern rule): Likewise.
9919         (check-abi, update-abi): Likewise.
9921 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9923         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9925 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9927         * manual/startup.texi: Add next, previous, and top entries for
9928         the `Program Arguments' and `Environment Variables' nodes.
9930 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9932         * manual/macros.texi: Add comments before MTASC-safety macros.
9934         * manual/users.texi: Document MTASC-safety properties.
9936         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9937         (pthread_getspecific, pthread_setspecific): Format with
9938         @deftypefun, and add @safety note.
9939         * manual/signal.texi: Move comments that analyze the above
9940         functions to their home place.
9942 2014-02-03  Allan McRae  <allan@archlinux.org>
9944         * po/sl.po: Update Slovenian translation from translation project.
9946 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9948         * manual/time.texi (timegm): Add missing blank after @c.
9949         Reported by Joseph Myers <joseph@codesourcery.com>.
9951 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9953         * manual/check-safety.sh: New.
9954         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9956         * manual/terminal.texi: Document MTASC-safety properties.
9958         * manual/filesys.texi: Document MTASC-safety properties.
9960         * manual/errno.texi: Document MTASC-safety properties.
9962         * manual/intro.texi: Document safety identifiers and
9963         conditionals.
9965         * manual/string.texi (wcstok): Fix prototype.
9966         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9968         * manual/time.texi: Document MTASC-safety properties.
9970         * manual/string.texi: Document MTASC-safety properties.
9972         * manual/threads.texi: Document MTASC-safety properties.
9974         * manual/stdio.texi: Document MTASC-safety properties.
9976         * manual/syslog.texi: Document MTASC-safety properties.
9978         * manual/sysinfo.texi: Document MTASC-safety properties.
9980         * manual/startup.texi: Document MTASC-safety properties.
9982         * manual/socket.texi: Document MTASC-safety properties.
9984         * manual/signal.texi: Document MTASC-safety properties.
9986 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9988         * manual/setjmp.texi: Document MTASC-safety properties.
9990         * manual/search.texi: Document MTASC-safety properties.
9992         * manual/resource.texi: Document MTASC-safety properties.
9994         * manual/process.texi: Document MTASC-safety properties.
9996         * manual/platform.texi: Document MTASC-safety properties.
9998         * manual/pipe.texi: Document MTASC-safety properties.
10000         * manual/pattern.texi: Document MTASC-safety properties.
10002         * manual/message.texi: Document MTASC-safety properties.
10004         [BZ #12751]
10005         * manual/memory.texi: Document MTASC-safety properties.
10007         * manual/math.texi: Document MTASC-safety properties.
10009         * manual/locale.texi: Document MTASC-safety properties.
10011         * manual/llio.texi: Document MTASC-safety properties.
10013         * manual/libdl.texi: New.
10015         * manual/lang.texi: Document MTASC-safety properties.
10017         * manual/job.texi: Document MTASC-safety properties.
10019         * manual/getopt.texi: Document MTASC-safety properties.
10021         * manual/ctype.texi: Document MTASC-safety properties.
10023 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
10025         [BZ #16046]
10026         * csu/libc-tls.c (static_map): Remove variable.
10027         (__libc_setup_tls): Use main executable's link map for TLS data.
10028         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10029         casing for LM_ID_BASE and GL(dl_nns).
10030         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10031         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
10032         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10033         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10034         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10035         member.
10036         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10037         l_phnum members.
10039 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
10041         * manual/debug.texi: Document MTASC-safety properties.
10043 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10045         [BZ #16510]
10046         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10047         of __x86_64__ when disabling x87 inline functions.
10049 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10051         * manual/charset.texi: Document MTASC-safety properties.
10053         * manual/crypt.texi: Document MTASC-safety properties.
10055         * manual/conf.texi: Document MTASC-safety properties.
10057         * manual/arith.texi: Document MTASC-safety properties.
10059         * manual/argp.texi: Document MTASC-safety properties.
10061         * manual/macros.texi: Introduce macros to document multi
10062         thread, asynchronous signal and asynchronous cancellation
10063         safety properties.
10064         * manual/intro.texi: Introduce the properties themselves.
10066 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10068         * sysdeps/sh/sh4/Makefile: New file.
10070 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10072         * math/gen-libm-test.pl ($srcdir): New variable.
10073         ($auto_input): Use it.
10075 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10077         [BZ #16506]
10078         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10079         access beyond array bounds when parsing netgroups file.
10081         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10082         the old buffer before realloc.
10084 2014-01-27  Allan McRae  <allan@archlinux.org>
10086         * po/fr.po: Update French translation from translation project.
10088 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10090         * sysdeps/sh/libm-test-ulps: Regenerate.
10092 2014-01-24  David S. Miller  <davem@davemloft.net>
10094         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10096 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10098         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10099         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10101 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10103         [BZ #16474]
10104         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10105         string pointers after reallocation.
10107 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10109         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10110         __SH4A__ instead of __SH_FPU_ANY__.
10112 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10114         * sysdeps/sh/fpu_control.h: New file.
10115         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10116         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10117         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10118         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10119         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10120         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10121         * sysdeps/sh/sys/ucontext.h: Remove.
10122         * sysdeps/sh/sys: Remove directory.
10124 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10126         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10127         s390/sys/ucontext.h.
10128         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10129         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10131 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10133         [BZ #15605]
10134         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10136 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10138         [BZ#16431]
10139         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10140         Adjust the vDSO correctly for internal calls.
10141         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10143 2014-01-20  Allan McRae  <allan@archlinux.org>
10145         * po/ca.po: Update Catalan translation from translation project.
10147 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10149         * sysdeps/s390/sotruss-lib.c: New file.
10151 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10153         [BZ#16430]
10154         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10155         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10156         local calls issues by not having a PLT stub required for IFUNC calls.
10157         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10159 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10161         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10162         * math/test-fpucw-static.c: Likewise.
10164 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10166         [BZ #16453]
10167         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10169 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10171         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10172         implementation for powerpc.
10174 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10176         [BZ #14782]
10177         * sysdeps/posix/system.c (__libc_system): Do not enable
10178         asynchronous cancellation.
10180 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10182         [BZ #16427]
10183         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10184         handling only for numbers special also in the IEEE case.
10186 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10188         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10190 2014-01-11  Allan McRae  <allan@archlinux.org>
10192         * po/bg.po: Update Bulgarian translation from translation project.
10194         * po/de.po: Update German translation from translation project.
10196 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10198         * sysdeps/generic/gcc-compat.h: New file.
10200 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10202         * benchtests/asin-inputs: Correct slow inputs.
10203         * benchtests/acos-inputs: Likewise.
10205 2014-01-10  Allan McRae  <allan@archlinux.org>
10207         * po:sv.po: Update Swedish translation from translation project.
10209         * po/vi.po: Update Vietnamese translation from translation project.
10211         * po/eo.po: Update Esperanto translation from translation project.
10213         * po/cs.po: Update Czech translation from translation project.
10215         * po/nl.po: Update Dutch translation from translation project.
10217         * po/pl.po: Update Polish translation from translation project.
10219         * po/ru.po: Update Russian translation from translation project.
10221         * po/uk.po: Update Ukrainian translation from translation project.
10223 2014-01-08  Brooks Moses  <bmoses@google.com>
10225         * elf/dl-load.c: Fix comment typo.
10227 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10229         * po/header.pot: Rename to...
10230         * po/pot.header: ... this.
10231         * po/Makefile: Use pot.header.
10233 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10234             Maxim Kuvyrkov  <maxim@kugelworks.com>
10236         [BZ #16394]
10237         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10238         SRC and DEST against LEN.
10240 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10242         [BZ #16414]
10243         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10244         implementation.
10245         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10247 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10251 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10253         [BZ #16408]
10254         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10255         for large positive arguments.
10257 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10259         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10261         * math/auto-libm-test-in: Mark various tests with
10262         xfail-rounding:ldbl-128ibm.
10263         * math/auto-libm-test-out: Regenerated.
10265         [BZ #16407]
10266         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10267         Increase overflow threshold.
10269 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10271         [BZ #14286]
10272         * stdio-common/vfprintf.c: Check for integer overflow.
10274 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10276         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10277         the first argument and return value of __tls_get_addr_internal.
10279 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10281         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10282         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10284 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10286         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10287         * sysdeps/s390/rtld-global-offsets.sym: New file.
10288         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10289         GLIBC_2.19 symbol.
10290         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10291         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10292         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10293         ... this.
10294         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10295         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10296         ... this.
10297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10298         Regenerate.
10299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10300         Regenerate.
10301         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10302         halfs of GPRs for high_gprs contexts.
10303         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10304         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10305         field.
10306         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10307         uc_flags field.
10308         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10309         64 bit versions:
10310         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10311         for high GPRs (uc_high_gprs) and for future extensions
10312         (__reserved).
10313         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10314         for future extensions (__reserved).
10315         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10316         64 bit versions:
10317         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10318         SC_HIGHGPRS offset definition.
10319         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10320         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10322         * Versions.def: Add GLIBC_2.19 for libpthread.
10323         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10324         siglongjmp for libpthread with GLIBC_2.19 symver.
10325         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10326         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10327         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10328         * sysdeps/s390/__longjmp.c: New file.
10329         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10330         * sysdeps/s390/longjmp.c: New file.
10331         * sysdeps/s390/setjmp.S: New file.
10332         * sysdeps/s390/sigjmp.S: New file.
10333         * sysdeps/s390/v1-longjmp.c: New file.
10334         * sysdeps/s390/v1-setjmp.h: New file.
10335         * sysdeps/s390/v1-sigjmp.c: New file.
10336         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10337         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10338         GLIBC_2.19 version.
10339         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10340         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10341         versioned symbols for ____longjmp_chk.
10342         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10343         Likewise.
10344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10345         Regenerate.
10346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10347         Regenerate.
10348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10349         Regenerate.
10350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10351         Regenerate.
10352         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10353         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10354         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10355         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10356         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10357         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10358         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10359         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10360         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10361         * sysdeps/s390/rtld-__longjmp.c: New file.
10362         * sysdeps/s390/rtld-setjmp.S: New file.
10364 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10366         [BZ #16400]
10367         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10368         Return -__logl (x) for small positive arguments without evaluating
10369         a polynomial.
10371 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10373         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10374         Rename to ...
10375         (__ptrace_peeksiginfo_args): ... this.
10376         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10377         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10378         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10380 2014-01-06  Allan McRae  <allan@archlinux.org>
10382         * inet/netinet/in.h: Fix typo in comment.
10384 2014-01-05  Andreas Jaeger  <aj@suse.de>
10386         * sysdeps/i386/fpu/libm-test-ulps: Update.
10388 2014-01-05  Allan McRae  <allan@archlinux.org>
10390         * po/libc.pot: Regenerated.
10392         * malloc/memusagestat.c: Fix gettext call formatting.
10394 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10396         * nscd/nscd.c: Improve usage() output.
10398 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10400         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10401         * sysdeps/unix/sysv/linux/configure: Regenerated.
10402         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10403         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10405 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10407         [BZ #16390]
10408         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10409         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10411 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10413         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10414         extra tokens at end of #undef directive.
10415         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10416         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10417         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10419 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10421         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10423         * math/auto-libm-test-in: Mark various tests with
10424         xfail-rounding:ldbl-128ibm.
10425         * math/auto-libm-test-out: Regenerated.
10427 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10429         [BZ #16386]
10430         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10431         numbers with subnormal high part when calculating exponent.
10433         [BZ #16385]
10434         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10435         fabs.
10437         [BZ #16384]
10438         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10439         M_LN2l.
10440         (__ieee754_acoshl): Use __log1pl not __log1p.
10442 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10444         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10445         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10446         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10447         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10448         (reused_arena, arena_get2): Convert to GNU style.
10449         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10450         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10451         (memalign_check, __malloc_set_state): Likewise.
10452         * malloc/mallocbug.c (main): Likewise.
10453         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10454         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10455         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10456         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10457         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10458         (__posix_memalign, malloc_info): Likewise.
10459         * malloc/malloc.h: Likewise.
10460         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10461         (mallochook, memalignhook, reallochook, mabort): Likewise.
10462         * malloc/mcheck.h: Likewise.
10463         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10464         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10465         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10466         * malloc/morecore.c (__default_morecore): Likewise.
10467         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10468         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10469         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10470         (print_and_abort): Likewise.
10471         * malloc/obstack.h: Likewise.
10472         * malloc/set-freeres.c (__libc_freeres): Likewise.
10473         * malloc/tst-mallocstate.c (main): Likewise.
10474         * malloc/tst-mtrace.c (main): Likewise.
10475         * malloc/tst-realloc.c (do_test): Likewise.
10477 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10479         [BZ #16366]
10480         * nscd/netgroupcache.c (do_notfound): New function.
10481         (addgetnetgrentX): Use it.
10483         [BZ # 16365]
10484         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10485         NSS_STATUS_NOTFOUND.
10487 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10489         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10492 2014-01-01  Allan McRae  <allan@archlinux.org>
10494         * scripts/update-copyrights: Update configure input file suffix.
10496         * NEWS: Update copyright year.
10497         * catgets/gencat.c: Likewise.
10498         * csu/version.c: Likewise.
10499         * debug/catchsegv.sh: Likewise.
10500         * debug/pcprofiledump.c: Likewise.
10501         * debug/xtrace.sh: Likewise.
10502         * elf/ldconfig.c: Likewise.
10503         * elf/ldd.bash.in: Likewise.
10504         * elf/pldd.c: Likewise.
10505         * elf/sotruss.ksh: Likewise.
10506         * elf/sprof.c: Likewise.
10507         * iconv/iconv_prog.c: Likewise.
10508         * iconv/iconvconfig.c: Likewise.
10509         * locale/programs/locale.c: Likewise.
10510         * locale/programs/localedef.c: Likewise.
10511         * login/programs/pt_chown.c: Likewise.
10512         * malloc/memusage.sh: Likewise.
10513         * malloc/memusagestat.c: Likewise.
10514         * malloc/mtrace.pl: Likewise.
10515         * manual/libc.texinfo: Likewise.
10516         * nscd/nscd.c: Likewise.
10517         * nss/getent.c: Likewise.
10518         * nss/makedb.c: Likewise.
10519         * posix/getconf.c: Likewise.
10520         * scripts/test-installation.pl: Likewise.
10522         * All files with FSF copyright notices: Update copyright dates
10523         using scripts/update-copyrights.
10524         * intl/plural.c: Regenerated.
10525         * locale/programs/charmap-kw.h: Likewise.
10526         * locale/programs/locfile-kw.h: Likewise.
10528 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10530         * sysdeps/unix/sysv/linux/configure: Regenerated.
10531         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10532         the linux/fanotify.h header.
10533         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10534         HAVE_LINUX_FANOTIFY_H is defined.
10536 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10538         * benchtests/cos-inputs: New inputs.
10539         * benchtests/sin-inputs: Likewise.
10541         * benchtests/atan-inputs: New inputs. Fix name of multiple
10542         precision fallback inputs.
10544         * benchtests/atanh-inputs: New inputs.
10545         * benchtests/tanh-inputs: Likewise.
10547         * benchtests/acosh-inputs: New inputs.
10548         * benchtests/asinh-inputs: Likewise.
10550         * benchtests/cosh-inputs: New inputs.
10551         * benchtests/sinh-inputs: Likewise.
10553         * benchtests/acos-inputs: Add more inputs.
10554         * benchtests/asin-inputs: Likewise.
10556 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10558         [BZ #16375]
10559         * manual/arith.texi: Fix spelling.
10560         * manual/charset.texi: Likewise.
10561         * manual/errno.texi: Likewise.
10562         * manual/filesys.texi: Likewise.
10563         * manual/lang.texi: Likewise.
10564         * manual/llio.texi: Likewise.
10565         * manual/locale.texi: Likewise.
10566         * manual/message.texi: Likewise.
10567         * manual/resource.texi: Likewise.
10568         * manual/search.texi: Likewise.
10569         * manual/setjmp.texi: Likewise.
10570         * manual/stdio.texi: Likewise.
10571         * manual/string.texi: Likewise.
10572         * manual/sysinfo.texi: Likewise.
10573         * manual/time.texi: Likewise.
10575 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10577         * po/sl.po: New file.
10579 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10581         * .gitignore: Add core/.gdbinit/.gdb_history.
10583 2013-12-27  Allan McRae  <allan@archlinux.org>
10585         [BZ #16369]
10586         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10587         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10589 2013-12-24  Brooks Moses  <bmoses@google.com>
10591         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10592         all compilers that claim C++98 compliance, not just GCC.
10593         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10594         Likewise.
10596 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10598         * NEWS: Restore accidentally deleted bug-fix entries.
10600 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10601             Ondřej Bílka  <neleai@seznam.cz>
10603         [BZ #15073]
10604         * malloc/malloc.c (_int_free): Perform sanity check only if we
10605         have_lock.
10607 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10609         [BZ #12986]
10610         * manual/stdio.texi (String Input Conversions): Clarify that character
10611         classes are not supported.
10613 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10617 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10619         [BZ #16337]
10620         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10621         Calculate results for small negative arguments directly rather
10622         than using reflection formula with special underflow handling.
10624         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10625         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10626         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10627         (fchflags): Likewise.
10628         (revoke): Likewise.
10629         (setlogin): Likewise.
10630         (sigaltstack): Likewise.
10631         (wait4): Likewise.
10632         (sigblock): Remove.
10633         (sigsetmask): Likewise.
10634         (wait3): Likewise.
10635         (waitpid): Likewise.
10636         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10637         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10638         file.
10639         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10640         * sysdeps/unix/bsd/Makefile: ... here.
10641         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10642         * sysdeps/unix/bsd/Versions: ... here.
10643         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10644         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10645         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10646         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10647         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10648         * sysdeps/unix/bsd/sigblock.c: ... here.
10649         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10650         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10651         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10652         * sysdeps/unix/bsd/sigvec.c: ... here.
10653         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10654         * sysdeps/unix/bsd/tcdrain.c: ... here.
10655         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10656         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10657         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10658         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10659         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10660         * sysdeps/unix/bsd/wait.c: ... here.
10661         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10662         * sysdeps/unix/bsd/wait3.c: ... here.
10663         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10664         * sysdeps/unix/bsd/waitpid.c: ... here.
10666 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10668         [BZ #16356]
10669         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10670         round-to-nearest for [!USE_AS_EXPM1L].
10671         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10672         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10673         more tests of exp and exp10.  Expect some exp10 tests to miss
10674         exceptions or fail in directed rounding modes.
10675         * math/auto-libm-test-out: Regenerated.
10676         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10677         (exp10_test_tonearest): New function.
10678         (exp10_towardzero_test_data): New array.
10679         (exp10_test_towardzero): New function.
10680         (exp10_downward_test_data): New array.
10681         (exp10_test_downward): New function.
10682         (exp10_upward_test_data): New array.
10683         (exp10_test_upward): New function.
10684         (main): Call the new functions.
10685         * sysdeps/i386/fpu/libm-test-ulps: Update.
10686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10688 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10690         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10691         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10692         * math/auto-libm-test-out: Regenerated.
10693         * math/libm-test.inc (acosh_test_data): Add more tests.
10694         (atanh_test_data): Likewise.
10695         (ceil_test_data): Likewise.
10696         (copysign_test_data): Likewise.
10697         * sysdeps/i386/fpu/libm-test-ulps: Update.
10698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10700         * timezone/checktab.awk: Update from tzcode 2013i.
10701         * timezone/private.h: Likewise.
10702         * timezone/scheck.c: Likewise.
10703         * timezone/tzfile.h: Likewise.
10704         * timezone/tzselect.ksh: Likewise.
10705         * timezone/zdump.c: Likewise.
10706         * timezone/zic.c: Likewise.
10708         * math/auto-libm-test-in: Add tests of cpow.
10709         * math/auto-libm-test-out: Regenerated.
10710         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10711         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10712         mpc_cc_c.
10713         (func_calc_desc): Add mpc_cc_c union field.
10714         (test_functions): Add cpow.
10715         (special_fill_2pi): New function.
10716         (special_real_inputs): Add 2pi.
10717         (calc_generic_results): Handle mpc_cc_c.
10718         * sysdeps/i386/fpu/libm-test-ulps: Update.
10719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10721         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10722         csqrt, ctan and ctanh.
10723         * math/auto-libm-test-out: Regenerated.
10724         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10725         (TEST_COND_x86): Likewise.
10726         (ccos_test_data): Use AUTO_TESTS_c_c.
10727         (ccosh_test_data): Likewise.
10728         (cexp_test_data): Likewise.
10729         (clog_test_data): Likewise.
10730         (csqrt_test_data): Likewise.
10731         (ctan_test_data): Likewise.
10732         (ctan_tonearest_test_data): Likewise.
10733         (ctan_towardzero_test_data): Likewise.
10734         (ctan_downward_test_data): Likewise.
10735         (ctan_upward_test_data): Likewise.
10736         (ctanh_test_data): Likewise.
10737         (ctanh_tonearest_test_data): Likewise.
10738         (ctanh_towardzero_test_data): Likewise.
10739         (ctanh_downward_test_data): Likewise.
10740         (ctanh_upward_test_data): Likewise.
10741         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10742         mpc_c_c.
10743         (func_calc_desc): Add mpc_c_c union field.
10744         (FUNC_mpc_c_c): New macro.
10745         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10746         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10747         ctanh.
10748         (special_fill_min_subnorm_p120): New function.
10749         (special_real_inputs): Add min_subnorm_p120.
10750         (calc_generic_results): Handle mpc_c_c.
10751         * sysdeps/i386/fpu/libm-test-ulps: Update.
10752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10754 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10756         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10757         (do_sin_slow): New functions.
10758         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10759         (cslow2, csloww1, csloww2): Use the new functions.
10761         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10762         Use M to change sign of result instead of X.  Assume X is
10763         positive.
10764         (csloww1): Likewise.
10765         (__sin): Adjust.
10766         (__cos): Adjust.
10768         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10769         arguments A and DA.
10770         (__sin): Adjust.
10771         (__cos): Likewise.
10773         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10774         (__cos): Likewise.
10775         (sloww1): Don't adjust sign of DX.
10776         (csloww1): Likewise.
10777         (sloww2): Use X directly and don't adjust sign of DX.
10778         (csloww2): Likewise.
10780 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10782         * math/auto-libm-test-in: Add tests of cabs and carg.
10783         * math/auto-libm-test-out: Regenerated.
10784         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10785         (carg_test_data): Likewise.
10786         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10787         mpc_c_f.
10788         (func_calc_desc): Add mpc_c_f union field.
10789         (test_functions): Add cabs and carg.
10790         (calc_generic_results): Handle mpc_c_f.
10792         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10793         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10794         as a macro and a compat symbol.
10795         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10796         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10797         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10798         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10799         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10800         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10801         not use .hidden.
10802         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10803         Likewise.
10804         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10805         Likewise.
10806         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10807         Likewise.
10808         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10809         Likewise.
10810         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10811         Likewise.
10812         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10813         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10814         from GLIBC_2.3.2.
10816 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10820 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10822         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10823         trailing whitespace removed.
10824         * scripts/config.guess: Update to version 2013-11-29.
10825         * scripts/config.sub: Update to version 2013-10-01.
10827         * math/auto-libm-test-in: Add tests of sincos.
10828         * math/auto-libm-test-out: Regenerated.
10829         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10830         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10831         mpfr_f_11.
10832         (func_calc_desc): Add mpfr_f_11 union field.
10833         (test_functions): Add sincos.
10834         (calc_generic_results): Handle mpfr_f_11.
10835         * sysdeps/i386/fpu/libm-test-ulps: Update.
10836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10838 2013-12-19  Andreas Schwab  <schwab@suse.de>
10840         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10841         CALL_MCOUNT.
10842         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10843         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10844         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10846 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10848         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10849         * sysdeps/i386/fpu/libm-test-ulps: Update.
10850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10852         [BZ #16293]
10853         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10854         round-to-nearest mode when using frndint.
10855         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10856         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10857         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10858         Likewise.
10859         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10860         sinh test to fail.
10861         * math/auto-libm-test-out: Regenerated.
10862         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10863         (TEST_COND_x86): Likewise.
10864         (expm1_tonearest_test_data): New array.
10865         (expm1_test_tonearest): New function.
10866         (expm1_towardzero_test_data): New array.
10867         (expm1_test_towardzero): New function.
10868         (expm1_downward_test_data): New array.
10869         (expm1_test_downward): New function.
10870         (expm1_upward_test_data): New array.
10871         (expm1_test_upward): New function.
10872         (main): Run the new test functions.
10873         * sysdeps/i386/fpu/libm-test-ulps: Update.
10874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10876         * include/features.h: Update comment documenting feature test
10877         macros.  Mention _DEFAULT_SOURCE in comment.
10878         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10879         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10880         _BSD_SOURCE and _SVID_SOURCE.
10881         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10882         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10883         !_SVID_SOURCE]: Likewise.
10884         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10885         (__USE_POSIX_IMPLICITLY): Define.
10886         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10887         (_POSIX_SOURCE): Undefine and redefine.
10888         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10889         (_POSIX_C_SOURCE): Likewise.
10890         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10891         (Feature Test Macros): Update documentation of default features.
10893 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10895         * benchtests/Makefile: Add bench-strtok.
10896         * benchtests/bench-strtok.c: New file: strtok benchtest.
10898 2013-12-19  Allan McRae  <allan@archlinux.org>
10900         * manual/install.texi: Suppress menu for plain text output.
10901         * INSTALL: Regenerated.
10903 2013-12-18  Brooks Moses  <bmoses@google.com>
10905         [BZ #15846]
10906         * misc/getauxval.c: Include errno.h.
10907         (__getauxval): Set errno to ENOENT if the requested type is not
10908         found.
10909         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10910         don't declare with __attribute_const__.
10911         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10912         * manual/startup.texi: Document that getauxval sets errno.
10914 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10916         * math/auto-libm-test-in: Add tests of jn and yn.
10917         * math/auto-libm-test-out: Regenerated.
10918         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10919         (yn_test_data): Likewise.
10920         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10921         mpfr_if_f.
10922         (func_calc_desc): Add mpfr_if_f union field.
10923         (FUNC_mpfr_if_f): New macro.
10924         (test_functions): Add jn and yn.
10925         (calc_generic_results): Assert type of second input for
10926         mpfr_ff_f.  Handle mpfr_if_f.
10927         (output_for_one_input_case): Disable all checking for arguments
10928         fitting floating-point types in case of an integer argument.
10929         * sysdeps/i386/fpu/libm-test-ulps: Update.
10930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10933         Don't expect fegetround reference in libm.so.
10935 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10937         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10938         $(config-cflags-nofma).
10940 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10942         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10943         * math/auto-libm-test-out: Regenerated.
10945         [BZ #16338]
10946         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10947         to determine exponent and adjust argument to have exponent of -1.
10948         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10949         log2.
10950         * math/auto-libm-test-out: Regenerated.
10951         * sysdeps/i386/fpu/libm-test-ulps: Update.
10952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10954 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10956         * manual/probes.texi: Remove cases when per-thread arenas are
10957         disabled.
10959 2013-12-18  Andreas Schwab  <schwab@suse.de>
10961         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10962         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10963         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10964         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10965         * sysdeps/i386/i686/multiarch/Makefile: Update.
10966         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10968 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10970         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10971         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10973 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10975         [BZ #15968]
10976         Support TZ transition times < 00:00:00.
10977         This is needed for version-3 tz-format files; it supports time
10978         stamps past 2037 for America/Godthab (the only entry in the tz
10979         database for which this change is relevant).
10980         * manual/time.texi (TZ Variable): Document transition times
10981         from -167:59:59 through -00:00:01.
10982         * time/tzset.c (tz_rule): Time of day is now signed.
10983         (__tzset_parse_tz): Parse negative time of day.
10985         Document TZ transition times >= 25:00:00.
10986         * manual/time.texi (TZ Variable): Document transition times from
10987         25:00:00 through 167:59:59.  These are already supported, and this
10988         support will help with version-3 tz-format files.
10990         * manual/time.texi (TZ Variable): Modernize North America example
10991         to reflect current (i.e., 2007-and-later) daylight saving rules.
10993         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10995 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10997         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10998         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10999         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11000         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11001         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11002         * sysdeps/unix/bsd/bsdstat.h: Likewise.
11003         * sysdeps/unix/bsd/clock.c: Likewise.
11004         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11005         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11006         * sysdeps/unix/bsd/init-posix.c: Likewise.
11007         * sysdeps/unix/bsd/poll.c: Likewise.
11008         * sysdeps/unix/bsd/ptsname.c: Likewise.
11009         * sysdeps/unix/bsd/seekdir.c: Likewise.
11010         * sysdeps/unix/bsd/setegid.c: Likewise.
11011         * sysdeps/unix/bsd/seteuid.c: Likewise.
11012         * sysdeps/unix/bsd/setgid.c: Likewise.
11013         * sysdeps/unix/bsd/setrgid.c: Likewise.
11014         * sysdeps/unix/bsd/setruid.c: Likewise.
11015         * sysdeps/unix/bsd/setsid.c: Likewise.
11016         * sysdeps/unix/bsd/setuid.c: Likewise.
11017         * sysdeps/unix/bsd/sigaction.c: Likewise.
11018         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11019         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11020         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11021         * sysdeps/unix/bsd/telldir.c: Likewise.
11022         * sysdeps/unix/bsd/times.c: Likewise.
11023         * sysdeps/unix/bsd/usleep.c: Likewise.
11025         * misc/Makefile (install-lib): Remove libbsd-compat.a.
11026         ($(objpfx)libbsd-compat.a): Remove rule.
11028         * include/features.h (__FAVOR_BSD): Do not define.
11029         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11030         features conflicting with POSIX.
11031         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11032         (_BSD_SOURCE): Remove description of not being a subset of other
11033         feature test macros.
11034         * manual/job.texi (getpgrp): Do not document BSD version.
11035         (getpgid): Do not document by reference to BSD getpgrp.
11036         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11037         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11038         * signal/signal.h [__FAVOR_BSD]: Likewise.
11039         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11040         instead of making contents conditional on [__FAVOR_BSD].
11041         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11043 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11047 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11049         [BZ #16314]
11050         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11051         values below 2**-450, not 2**-500.
11052         * math/auto-libm-test-in: Don't allow spurious underflow from
11053         hypot.
11054         * math/auto-libm-test-out: Regenerated.
11056         [BZ #16316]
11057         [BZ #16330]
11058         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11059         values of ha and hb and sort them after adjusting subnormal
11060         arguments.
11061         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11062         Likewise.
11063         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11064         values of ea and eb and sort them after adjusting subnormal
11065         arguments.
11066         * math/auto-libm-test-in: Do not expect some hypot tests of
11067         subnormals to fail.  Add more hypot tests.
11068         * math/auto-libm-test-out: Regenerated.
11070 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11072         [BZ #13304]
11073         * sysdeps/sh/s_fma.c: New file.
11074         * sysdeps/sh/s_fmaf.c: New file.
11075         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11076         version.
11077         * sysdeps/sh/Implies: Add sh/soft-fp.
11079 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11081         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11082         level of indirection to members `objname', `errstring', `malloced'.
11083         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11084         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11085         it as the __longjmp argument (just pass 1 instead).
11086         (_dl_catch_error): Initialize C with argument pointers and address of
11087         volatile local ERRCODE rather than copying values out of C at return.
11089 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11091         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11092         * math/auto-libm-test-out: Regenerated.
11093         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11094         (hypot_test_data): Likewise.
11095         (pow_test_data): Likewise.
11096         (pow_tonearest_test_data): Likewise.
11097         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11098         mpfr_ff_f.
11099         (func_calc_desc): Add mpfr_ff_f union field.
11100         (FUNC_mpfr_ff_f): New macro.
11101         (test_functions): Add atan2, hypot and pow.
11102         (special_fill_min): New function.
11103         (special_fill_minus_min): Likewise.
11104         (special_fill_min_subnorm): Likewise.
11105         (special_fill_minus_min_subnorm): Likewise.
11106         (special_real_inputs): Add min, -min, min_subnorm and
11107         -min_subnorm.
11108         (calc_generic_results): Handle mpfr_ff_f.
11109         * sysdeps/i386/fpu/libm-test-ulps: Update.
11110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11112 2013-12-16  Will Newton  <will.newton@linaro.org>
11114         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11115         (Aligned Memory Blocks): Add documentation for aligned_alloc
11116         and suggest it as an alternative to posix_memalign.
11117         (Hooks for Malloc): Document __memalign_hook is also called
11118         for aligned_alloc.  (Summary of Malloc): Add summary for
11119         aligned alloc.  Document __memalign_hook is also called
11120         for aligned_alloc.
11122 2013-12-16  Will Newton  <will.newton@linaro.org>
11124         * manual/memory.texi (Malloc Examples): Clarify default
11125         alignment documentation.  Suggest posix_memalign rather
11126         than memalign or valloc.
11127         (Aligned Memory Blocks): Remove suggestion to use memalign
11128         or valloc.  Remove obsolete comment about BSD.
11129         Document memalign errno values and mark the function obsolete.
11130         Document posix_memalign returned error codes.  Mark valloc
11131         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11132         called for posix_memalign and valloc.
11133         (Summary of Malloc): Add posix_memalign to function summary.
11134         __memalign_hook is also called for posix_memalign and valloc.
11136 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11138         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11139         TAYLOR_SIN.
11140         (__sin): Adjust.
11141         (__cos): Likewise.
11142         (sloww): Use mynumber union.  Expand ternary operator into
11143         if-else statements.
11144         (cslow): use mynumber union.
11146 2013-12-16  Allan McRae  <allan@archlinux.org>
11148         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11149         * configure: Regenerated.
11151         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11153         [BZ #14120]
11154         * configure.ac: Added --enable-maintainer-mode. Check for
11155         autoconf when enabled.
11156         * configure: Regenerated.
11158         * nscd/nscd.service: New file.
11159         * nscd/nscd.tmpfiles: New file.
11161 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11163         [BZ #12100]
11164         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11165         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11166         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11167         (strstr): Add __strstr_sse2_unaligned ifunc.
11168         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11169         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11170         (strcasestr): Remove __strcasestr_sse42 ifunc.
11171         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11172         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11175 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11177         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11178         * sysdeps/sh/bits/fenv.h: ... here.
11179         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11181 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11183         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11186         hypotf multiarch implementations.
11187         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11188         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11189         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11190         multiarch hypot for PPC64.
11191         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11192         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11193         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11194         multiarch hypotf for PPC64.
11196         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11197         modff multiarch implementations.
11198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11201         multiarch modf for PPC64.
11202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11205         multiarch modff for PPC64.
11207         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11208         and logl multiarch implementations.
11209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11212         multiarch logb for PPC64.
11213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11216         multiarch logb for PPC64.
11217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11220         multiarch logb for PPC64.
11222         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11223         isinff multiarch implementation.
11224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11225         file.
11226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11228         multiarch isinf for PPC64.
11229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11230         file.
11231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11232         multiarch isinff for PPC64.
11234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11235         finitef multiarch implementation.
11236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11237         file.
11238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11240         multiarch finite for PPC64.
11241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11242         file.
11243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11244         multiarch finitef for PPC64.
11246         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11247         lrint multiarch implementation.
11248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11249         file.
11250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11252         multiarch llrint for PPC64.
11253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11254         multiarch lrint for PPC64.
11256         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11257         copysignf multiarch implementation.
11258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11259         file.
11260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11261         file.
11262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11263         multiarch copysign for PPC64.
11264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11265         multiarch copysignf for PPC64.
11267         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11268         multiarch implementation.
11269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11270         file.
11271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11272         file.
11273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11274         file.
11275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11276         file.
11277         multiarch llround for PPC64.
11278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11279         multiarch trunc for PPC64.
11280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11281         multiarch truncf for PPC64.
11283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11284         multiarch implementation.
11285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11286         file.
11287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11288         file.
11289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11290         file.
11291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11292         file.
11293         multiarch llround for PPC64.
11294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11295         multiarch round for PPC64.
11296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11297         multiarch roundf for PPC64.
11299         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11300         multiarch implementation.
11301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11302         file.
11303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11304         file.
11305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11306         file.
11307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11308         file.
11309         multiarch llround for PPC64.
11310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11311         multiarch floor for PPC64.
11312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11313         multiarch floorf for PPC64.
11315         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11316         multiarch implementation.
11317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11318         file.
11319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11320         file.
11321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11322         file.
11323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11324         file.
11325         multiarch llround for PPC64.
11326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11327         multiarch ceil for PPC64.
11328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11329         multiarch ceilf for PPC64.
11331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11332         multiarch implementation.
11333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11334         file.
11335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11336         file.
11337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11338         file.
11339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11340         multiarch llround for PPC64.
11341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11342         multiarch lround for PPC64.
11344         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11345         multiarch implementation.
11346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11349         file.
11350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11353         multiarch isnan for PPC64.
11354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11355         multiarch isnanf for PPC64.
11357         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11358         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11359         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11360         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11361         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11364         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11365         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11366         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11367         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11370         multiarch implementations.
11371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11372         (__libc_ifunc_impl_list): Likewise.
11373         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11374         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11375         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11376         multiarch stpcpy for PPC64.
11378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11379         multiarch implementations.
11380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11381         (__libc_ifunc_impl_list): Likewise.
11382         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11383         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11384         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11385         multiarch strcpy for PPC64.
11387         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11388         redefine function name.
11389         (_wordcopy_fwd_dest_aligned): Likewise.
11390         (_wordcopy_bwd_aligned): Likewise.
11391         (_wordcopy_bwd_dest_aligned): Likewise.
11392         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11393         multiarch implementations.
11394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11395         (__libc_ifunc_impl_list): Likewise.
11396         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11397         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11398         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11399         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11400         multiarch wcscpy for PPC64.
11402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11403         multiarch implementations.
11404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11405         (__libc_ifunc_impl_list): Likewise.
11406         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11407         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11408         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11409         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11410         multiarch wcscpy for PPC64.
11412         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11413         multiarch implementations.
11414         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11415         (__libc_ifunc_impl_list): Likewise.
11416         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11417         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11418         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11419         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11420         multiarch wcsrchr for PPC64.
11422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11423         multiarch implementations.
11424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11425         (__libc_ifunc_impl_list): Likewise.
11426         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11427         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11428         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11429         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11430         multiarch wcschr for PPC64.
11432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11433         multiarch implementations.
11434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11435         (__libc_ifunc_impl_list): Likewise.
11436         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11437         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11438         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11439         multiarch strchrnul for PPC64.
11441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11442         implementations.
11443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11444         (__libc_ifunc_impl_list): Likewise.
11445         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11446         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11447         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11448         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11449         strchr for PPC64.
11451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11452         implementations.
11453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11454         (__libc_ifunc_impl_list): Likewise.
11455         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11456         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11457         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11458         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11459         strncmp for PPC64.
11461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11462         multiarch implementations.
11463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11464         (__libc_ifunc_impl_list): Likewise.
11465         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11466         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11467         strncasecmp for PPC64.
11468         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11469         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11470         multiarch strncasecmp_l for PPC64.
11472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11473         multiarch implementations.
11474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11475         (__libc_ifunc_impl_list): Likewise.
11476         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11477         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11478         multiarch strcasecmp for PPC64.
11479         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11480         file.
11481         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11482         multiarch strcasecmp_l for PPC64.
11484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11485         implementations.
11486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11487         (__libc_ifunc_impl_list): Likewise.
11488         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11489         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11490         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11491         strnlen for PPC64.
11493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11494         implementations.
11495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11496         (__libc_ifunc_impl_list): Likewise.
11497         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11498         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11499         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11500         strlen for PPC64.
11502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11503         implementations.
11504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11505         (__libc_ifunc_impl_list): Likewise.
11506         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11507         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11508         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11509         rawmemrchr for PPC64.
11511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11512         implementation.
11513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11514         (__libc_ifunc_impl_list): Likewise.
11515         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11516         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11517         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11518         memrchr for PPC64.
11520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11521         implementation.
11522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11523         (__libc_ifunc_impl_list): Likewise.
11524         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11525         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11526         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11527         memchr for PPC64.
11529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11530         implementation.
11531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11532         (__libc_ifunc_impl_list): Likewise.
11533         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11534         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11535         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11536         mempcpy for PPC64.
11538         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11539         avoid cretion of __bzero symbol.
11540         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11541         Likewise.
11542         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11543         Likewise.
11544         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11545         Likewise.
11546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11547         multiarch implementations.
11548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11549         (__libc_ifunc_impl_list): Likewise.
11550         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11551         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11552         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11553         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11554         bzero for PPC32.
11555         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11556         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11557         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11558         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11559         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11560         memset for PPC64.
11561         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11563         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11565         implementations.
11566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11567         (__libc_ifunc_impl_list): Likewise.
11568         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11569         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11570         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11571         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11572         memcmp for PPC64.
11574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11575         multiarch for POWER/PPC64.
11576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11577         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11578         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11579         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11580         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11581         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11582         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11583         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11584         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11585         memcpy for PPC64.
11587         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11588         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11589         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11590         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11591         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11592         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11593         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11594         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11595         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11596         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11597         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11598         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11599         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11600         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11601         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11610 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11612         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11614 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11616         * benchtests/Makefile (bench): Add exp2 and log2.
11617         (LDLIBS-bench-exp2): Add -lm.
11618         (LDLIBS-bench-log2): Likewise.
11619         * benchtests/exp2-inputs: New inputs file.
11620         * benchtests/log2-inputs: New inputs file.
11621         * benchtests/log-inputs: Add new inputs.
11622         * benchtests/tan-inputs: Likewise.
11624 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11626         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11627         definition...
11628         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11629         (csloww2): ... from here.
11631         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11632         instead of structures.
11633         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11634         (POLYNOMIAL): Likewise.
11635         (TAYLOR_SLOW): Likewise.
11636         (__sin): Likewise.
11637         (__cos): Likewise.
11638         (slow1): Likewise.
11639         (slow2): Likewise.
11640         (sloww): Likewise.
11641         (sloww1); Likewise.
11642         (sloww2): Likewise.
11643         (bsloww1): Likewise.
11644         (bsloww2): Likewise.
11645         (cslow2): Likewise.
11646         (csloww): Likewise.
11647         (csloww1): Likewise.
11648         (csloww2): Likewise.
11650 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11652         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11653         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11654         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11655         * malloc/hooks.c (realloc_check): Likewise.
11657         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11658         * malloc/arena.c: Remove PER_THREAD conditional.
11659         [!PER_THREAD]: Remove code.
11660         (ptmalloc_unlock_all2): Likewise.
11661         (ptmalloc_init): Likewise.
11662         (_int_new_arena): Likewise.
11663         (arena_get2): Likewise.
11664         * malloc/hooks.c (__malloc_get_state): Likewise.
11665         (__malloc_set_state): Likewise.
11666         * malloc/malloc.c: Likewise.
11667         (struct malloc_state): Likewise.
11668         (struct malloc_par): Likewise.
11669         (__libc_realloc): Likewise.
11670         (__libc_mallopt): Likewise.
11672 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11674         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11676 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11678         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11679         macro to a function.  Check for zero perturb_byte.
11680         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11682         * malloc/malloc.c: (force_reg): Remove.
11683         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11684         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11685         force_reg by atomic_forced_read.
11686         * malloc/arena.c (ptmalloc_init): Likewise.
11687         * malloc/hooks.c (top_check): Likewise.
11689 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11693 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11697 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11699         * math/auto-libm-test-in: Add tests of lgamma.
11700         * math/auto-libm-test-out: Regenerated.
11701         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11702         (M_LOG_2_SQRT_PIl): Likewise.
11703         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11704         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11705         mpfr_f_f1.
11706         (func_calc_desc): Add mpfr_f_f1 union field.
11707         (ARGS1): New macro.
11708         (ARGS2): Likewise.
11709         (ARGS3): Likewise.
11710         (ARGS4): Likewise.
11711         (RET1): Likewise.
11712         (RET2): Likewise.
11713         (CALC): Likewise.
11714         (FUNC): Likewise.
11715         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11716         (test_functions): Add lgamma.
11717         (calc_generic_results): Handle mpfr_f_f1.
11718         * sysdeps/i386/fpu/libm-test-ulps: Update.
11719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11721 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11723         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11724         __mpn_add_n for PowerPC64/POWER7.
11725         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11726         __mpn_sub_n for PowerPC64/POWER7.
11728         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11729         __mpn_addmul_1 for PowerPC64.
11730         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11731         __mpn_submul_1 for PowerPC64.
11732         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11733         for PowerPC64.
11734         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11735         for PowerPC64.
11737 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11739         [BZ #15089]
11740         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11742 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11744         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11746         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11747         add multiarch folders.
11748         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11749         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11750         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11751         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11752         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11753         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11754         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11755         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11756         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11757         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11758         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11767         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11769         New file.
11770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11771         New file.
11772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11773         multiarch __ieee754_hypot for PowerPC32.
11774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11775         New file.
11776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11777         New file.
11778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11779         multiarch __ieee754_hypotf for PowerPC32.
11781         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11782         long_double_symbol only if __logbl is defined.
11783         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11784         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11786         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11787         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11788         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11789         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11790         path for implementation.
11791         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11792         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11794         logb, and logbl multiarch implementations for PowerPC32.
11795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11796         file.
11797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11798         file.
11799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11800         multiarch logb for PowerPC32.
11801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11802         file.
11803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11804         file.
11805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11806         multiarch logbf for PowerPC32.
11807         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11809         file.
11810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11811         multiarch logbl implementation for PowerPC32.
11813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11814         and modff multiarch implementations.
11815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11816         New file.
11817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11818         New file.
11819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11820         multiarch modf for PowerPC32.
11821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11822         New file.
11823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11824         New file.
11825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11826         multiarch modff for PowerPC32.
11828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11829         and lrintf multiarch implementations.
11830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11831         New file.
11832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11833         New file.
11834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11835         multiarch lrint for PowerPC32.
11836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11837         file: multiarch lrintf for PowerPC32.
11839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11840         and lroundf multiarch implementations.
11841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11842         New file.
11843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11844         New file.
11845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11846         New file.
11847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11848         multiarch lround for PowerPC32.
11849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11850         file: multiarch lroundf for PowerPC32.
11852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11853         copysign and copysignf multiarch implementations.
11854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11855         New file.
11856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11857         New file.
11858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11859         file: multiarch copysign for PowerPC32.
11860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11861         file: multiarch copysignf for PowerPC32.
11863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11864         and truncf multiarch implementations.
11865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11866         New file.
11867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11868         file.
11869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11870         multiarch trunc for PowerPC32.
11871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11872         New file.
11873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11874         New file.
11875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11876         multiarch truncf for PowerPC32.
11878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11879         and roundf multiarch implementations.
11880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11881         New file.
11882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11883         file.
11884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11885         multiarch round for PowerPC32.
11886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11887         New file.
11888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11889         New file.
11890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11891         multiarch roundf for PowerPC32.
11893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11894         and floorf multiarch implementations.
11895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11896         New file.
11897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11898         file.
11899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11900         multiarch floor for PowerPC32.
11901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11902         New file.
11903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11904         New file.
11905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11906         multiarch floorf for PowerPC32.
11908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11909         and ceilf multiarch implementations.
11910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11911         New file.
11912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11913         file.
11914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11915         multiarch ceil for PowerPC32.
11916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11917         New file.
11918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11919         file.
11920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11921         multiarch ceilf for PowerPC32.
11923         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11924         is defined.
11925         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11926         FINITEF is defined.
11927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11928         and finitef multiarch implementations.
11929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11930         New file.
11931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11932         file.
11933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11934         multiarch finite for PowerPC32.
11935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11936         New file.
11937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11938         file: multiarch finitef for PowerPC32.
11940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11941         and isinff multiarch implementations.
11942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11943         file.
11944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11945         file.
11946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11947         multiarch isinf for PowerPC32.
11948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11949         New file.
11950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11951         multiarch isinff for PowerPC32.
11953         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11954         alias when __isnan is defined.
11955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11956         and isnanf multiarch implementations.
11957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11958         file.
11959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11960         file.
11961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11962         file.
11963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11964         file.
11965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11966         multiarch isnan for PowerPC32.
11967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11968         New file.
11969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11970         New file.
11971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11972         multiarch isnanf for PowerPC32.
11974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11975         and sqrtf multiarch implementations.
11976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11977         file.
11978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11979         file.
11980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11981         multiarch sqrt for PowerPC32.
11982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11983         file.
11984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11985         file.
11986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11987         multiarch sqrtf for PowerPC32.
11989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11990         and llroundf multiarch implementations.
11991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11992         New file.
11993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11994         New file.
11995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11996         New file.
11997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11998         file: multiarch llround for PowerPC32.
11999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12000         file: multiarch llroundf for PowerPC32.
12002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12003         multiarch PowerPC32 fpu implementations.
12004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12005         New file.
12006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12007         New file.
12008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12009         multiarch llrint for PowerPC32.
12010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12011         New file.
12012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12013         New file.
12014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12015         file.
12017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12019         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12020         file.
12021         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12022         file.
12023         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12024         file.
12025         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12026         multiarch wordcopy for PPC32.
12027         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12028         wordcopy objects.
12029         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12030         (__libc_ifunc_impl_list): Likewise.
12031         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12032         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12033         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12034         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12035         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12036         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12038         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12040         file.
12041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12042         file.
12043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12044         file.
12045         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12046         multiarch wcscpy for PPC32.
12047         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
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/wcscpy.c: Adjust to use
12054         sysdeps/powerpc/power6/wcscpy.c.
12056         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12058         file.
12059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12060         file.
12061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12062         file.
12063         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12064         multiarch wcsrchr for PPC32.
12065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12066         multiarch objects.
12067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12068         (__libc_ifunc_impl_list): Likewise.
12069         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12070         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12071         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12072         sysdeps/powerpc/power6/wcsrchr.c.
12074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12075         file.
12076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12077         file.
12078         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12080         multiarch wcschr for PPc32.
12081         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12082         multiarch objects.
12083         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12084         (__libc_ifunc_impl_list): Likewise.
12085         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12086         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12087         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12088         sysdeps/powerpc/power6/wcschr.c.
12090         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12091         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12092         file.
12093         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12094         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12095         file: multiarch strchr for PPC32.
12096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12097         multiarch objects.
12098         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12099         (__libc_ifunc_impl_list): Likewise.
12101         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12102         name.
12103         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12104         file.
12105         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12106         file.
12107         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12108         multiarch strchrnul for PPC32.
12109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12110         multiarch objects.
12111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12112         (__libc_ifunc_impl_list): Likewise.
12114         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12115         file.
12116         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12117         multiarch strncasecmp for PPC32.
12118         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12119         file.
12120         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12121         multiarch strncasecmp_l for PPC32.
12122         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12123         strncasecmp multiarch objects.
12124         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12125         (__libc_ifunc_impl_list): Likewise.
12127         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12128         file.
12129         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12130         multiarch strncasecmp for PPC32.
12131         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12132         New file.
12133         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12134         multiarch strcasecmp_l for PPC32.
12135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12136         multiarch objects.
12137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12138         (__libc_ifunc_impl_list): Likewise.
12140         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12141         file.
12142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12143         file.
12144         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12145         multiarch strncmp for PPC32.
12146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12147         multiarch objects.
12148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12149         (__libc_ifunc_impl_list): Likewise.
12151         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12152         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12153         file.
12154         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12155         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12157         multiarch objects.
12158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12159         (__libc_ifunc_impl_list): Likewise.
12161         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12162         file.
12163         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12164         file.
12165         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12167         multiarch objects.
12168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12169         (__libc_ifunc_impl_list): Likewise.
12171         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12172         file.
12173         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12174         file.
12175         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12176         multiarch rawmemchr for PPC32.
12177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12178         multiarch objects.
12179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12180         (__libc_ifunc_impl_list): Likewise.
12182         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12183         file.
12184         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12185         file.
12186         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12187         file: memrchr multiarch for PPC32.
12188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12189         multiarch objects.
12190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12191         (__libc_ifunc_impl_list): Likewise.
12193         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12194         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12195         file.
12196         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12197         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12198         multiarch memchr for PPC32.
12199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12200         multiarch objects.
12201         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12202         (__libc_ifunc_impl_list): Likewise.
12204         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12205         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12206         file.
12207         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12208         file.
12209         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12210         file: multiarch mempcpy for PPC32.
12211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12212         multiarch objects.
12213         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12214         (__libc_ifunc_impl_list): Likewise.
12216         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12217         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12218         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12219         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12220         multiarch bzero for PPC32.
12221         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12222         file.
12223         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12224         file.
12225         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12226         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12227         file: multiarch memset for PPC32.
12228         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12229         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12230         memset multiarch objects.
12231         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12232         (__libc_ifunc_impl_list): Likewise.
12234         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12235         file.
12236         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12237         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12238         memcmp for PPC32.
12239         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12241         multiarch objects.
12242         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12243         (__libc_ifunc_impl_list): Likewise.
12245         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12246         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12247         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12248         file.
12249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12250         file.
12251         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12252         file.
12253         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12254         multiarch memcpy for PPC32.
12255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12256         multiarch objects.
12257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12258         (__libc_ifunc_impl_list): Likewise.
12260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12261         support multiarch for POWER/PPC32.
12262         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12263         Likewise.
12264         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12266         Implies file to make multiarch folder appers before the fpu and
12267         default folder for power4 configuration.
12269 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12271         * scripts/bench.pl: Append volatile keyword to type.
12273 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12275         * sysdeps/sh/sotruss-lib.c: New file.
12276         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12278 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12282 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12284         [BZ #6810]
12285         * math/w_tgamma.c: Include <errno.h>.
12286         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12287         * math/w_tgammaf.c: Include <errno.h>.
12288         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12289         * math/w_tgammal.c: Include <errno.h>.
12290         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12291         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12292         underflow.  Add more tgamma tests.
12293         * math/auto-libm-test-out: Regenerated.
12294         * sysdeps/i386/fpu/libm-test-ulps: Update.
12295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12297         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12298         sin, sinh, tan, tanh, tgamma, y0 and y1.
12299         * math/auto-libm-test-out: Regenerated.
12300         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12301         (TEST_COND_x86): Likewise.
12302         (M_E2l): Remove macro.
12303         (M_E3l): Likewise.
12304         (M_2_SQRT_PIl): Likewise.
12305         (M_SQRT_PIl): Likewise.
12306         (M_1_DIV_El): Likewise.
12307         (log_test_data): Use AUTO_TESTS_f_f.
12308         (log10_test_data): Likewise.
12309         (log1p_test_data): Likewise.
12310         (log2_test_data): Likewise.
12311         (sin_test_data): Likewise.
12312         (sin_tonearest_test_data): Likewise.
12313         (sin_towardzero_test_data): Likewise.
12314         (sin_downward_test_data): Likewise.
12315         (sin_upward_test_data): Likewise.
12316         (sinh_test_data): Likewise.
12317         (sinh_tonearest_test_data): Likewise.
12318         (sinh_towardzero_test_data): Likewise.
12319         (sinh_downward_test_data): Likewise.
12320         (sinh_upward_test_data): Likewise.
12321         (tan_test_data): Likewise.
12322         (tan_tonearest_test_data): Likewise.
12323         (tan_towardzero_test_data): Likewise.
12324         (tan_downward_test_data): Likewise.
12325         (tan_upward_test_data): Likewise.
12326         (tanh_test_data): Likewise.
12327         (tgamma_test_data): Likewise.
12328         (y0_test_data): Likewise.
12329         (y1_test_data): Likewise.
12330         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12331         (special_real_inputs): Add pi/4.
12332         * sysdeps/i386/fpu/libm-test-ulps: Update.
12333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12335 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12337         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12338         "longjmp_target" static probes.
12339         (__longjmp): Rename to __longjmp_symbol.
12340         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12341         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12342         on which longjmp to generate.
12343         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12344         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12345         probe.
12346         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12347         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12348         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12349         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12350         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12351         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12353         __longjmp_symbol based on which __longjmp to generate.
12354         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12355         probe.
12356         (setjmp): Rename to setjmp_symbol.
12357         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12358         (_setjmp): Rename to _setjmp_symbol.
12359         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12360         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12361         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12362         which setjmp to generate.
12363         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12364         "longjmp_target" static probes.
12366 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12368         * benchtests/README: Add note about output arguments.
12369         * benchtests/bench-sincos.c: Remove file.
12370         * benchtests/sincos-inputs: New file.
12371         * scripts/bench.pl: Identify output arguments and define
12372         static variables for them.
12374         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12376         [BZ #15941]
12377         * Makefile (INSTALL): Add install-plain.texi as the primary
12378         dependency.
12379         * manual/install-plain.texi: New file.
12380         * manual/install.texi: Include node directive only for
12381         non-plaintext output.
12383 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12385         * stdlib/longlong.h: Update from GCC.
12387         [BZ #6807]
12388         [BZ #15901]
12389         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12390         * math/w_j0f.c (y0f): Likewise.
12391         * math/w_j0l.c (__y0l): Likewise.
12392         * math/w_j1.c (y1): Likewise.
12393         * math/w_j1f.c (y1f): Likewise.
12394         * math/w_j1l.c (__y1l): Likewise
12395         * math/w_jn.c (yn): Likewise.
12396         * math/w_jnf.c (ynf): Likewise.
12397         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12398         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12399         value for Bessel function domain errors outside _SVID_ mode.
12400         Adjust sign of return value for yn (negative integer, 0).
12401         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12402         by zero in return for negative x and set sign appropriately for
12403         negative n.
12404         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12405         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12406         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12407         expectations in error cases.
12408         (y1_test_data): Likewise.
12409         (yn_test_data): Likewise.
12410         * sysdeps/i386/fpu/libm-test-ulps: Update.
12411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12413 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12415         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12416         "64" to "64-v1".  Add "64-v2".
12417         (abi-64-options): Rename to ...
12418         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12419         (abi-64-condition): Rename to ...
12420         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12421         (abi-64-ld-soname): Rename to ...
12422         (abi-64-v1-ld-soname): ... this.
12423         (abi-64-v2-options): Define.
12424         (abi-64-v2-condition): Likewise.
12425         (abi-64-v2-ld-soname): Likewise.
12426         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12427         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12432 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12433             Alan Modra  <amodra@gmail.com>
12435         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12436         New versions for use with the ELFv2 ABI.
12437         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12438         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12439         declaration.
12440         (struct La_ppc64v2_retval): Likewise.
12441         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12442         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12443         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12444         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12445         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12446         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12447         Do not save or restore CR.
12448         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12449         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12450         return values for ELFv2 ABI.  Fix location of FPR return registers.
12451         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12452         updated values for _CALL_ELF == 2.
12453         (La_regs, La_retval, int_retval): Likewise.
12455 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12457         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12458         (FRAME_MIN_SIZE_PARM): Likewise.
12459         (FRAME_BACKCHAIN): Likewise.
12460         (FRAME_CR_SAVE): Likewise.
12461         (FRAME_LR_SAVE): Likewise.
12462         (FRAME_TOC_SAVE): Likewise.
12463         (FRAME_PARM_SAVE): Likewise.
12464         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12465         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12466         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12467         (call_mcount_parm_offset): New macro.
12468         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12469         (PROF): Use symbolic stack frame offsets.
12470         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12471         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12472         Redefine in terms of FRAME_MIN_SIZE.
12473         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12474         (_dl_profile_resolve): Likewise.  Update comment.
12475         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12476         symbols stack frame offsets.
12477         (__sigsetjmp): Likewise.
12478         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12479         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12480         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12481         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12484         (FRAME_BACKCHAIN): Remove.
12485         (FRAME_CR_SAVE): Likewise.
12486         (FRAME_LR_SAVE): Likewise.
12487         (FRAME_COMPILER_DW): Likewise.
12488         (FRAME_LINKER_DW): Likewise.
12489         (FRAME_TOC_SAVE): Likewise.
12490         (FRAME_PARM_SAVE): Likewise.
12491         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12492         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12493         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12495         (CHECK_SP): Use symbolic stack frame offsets.
12496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12497         zone" instead of caller's parameter save area for temp storage.
12498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12499         Likewise.  Also, use symbolic stack frame offsets.
12500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12501         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12502         our own stack frame instead of the caller's.
12503         (__socket): Use symbolic stack frame offsets.
12505 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12506             Alan Modra  <amodra@gmail.com>
12508         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12509         Define.
12510         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12511         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12512         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12513         New function.
12514         (elf_machine_fixup_plt): Call it.
12515         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12516         reloc arguments.
12517         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12518         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12519         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12520         r2 before calling target.
12522 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12523             Alan Modra  <amodra@gmail.com>
12525         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12526         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12527         versions of macros to support ELFv2 ABI.
12528         (LOCALENTRY): New macro.
12529         (ENTRY, EALIGN): Use it.
12530         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12531         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12532         fall through into ENTRY entry point.
12533         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12534         Only define if _CALL_ELF != 2.
12536         (elf_machine_matches_host): Verify ABI version matches.
12537         (RTLD_START): Use LOCALENTRY.
12538         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12539         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12540         (PLT_ENTRY_WORDS): New macro.
12541         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12542         (elf_machine_runtime_setup): Support ELFv2 ABI.
12543         (elf_machine_fixup_plt): Likewise.
12544         (elf_machine_plt_conflict): Likewise.
12545         (resolve_ifunc): Likewise.
12546         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12547         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12548         Likewise.
12549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12550         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12552         (makecontext): Support ELFv2 ABI.
12553         * elf/elf.h (EF_PPC64_ABI): Define.
12555 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12557         * sysdeps/powerpc/powerpc64/sysdep.h
12558         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12559         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12560         (ENTRY) [ASSEMBLER]: ... but instead here ...
12561         (EALIGN) [ASSEMBLER]: ... and here.
12562         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12563         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12564         (ENTRY_2) [!ASSEMBLER]: Use it.
12565         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12566         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12567         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12568         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12569         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12571         Use PPC64_LOAD_FUNCPTR.
12573         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12575 2013-12-04  Alan Modra  <amodra@gmail.com>
12577         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12578         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12579         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12580         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12583         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12584         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12585         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12586         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12587         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12589 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12592         (__makecontext): Fix incorrect CFI when backtracing out of
12593         context created via makecontext.
12594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12595         (__setcontext): Fix incorrect CFI during switch to new context.
12596         (__novec_setcontext): Likewise.
12598 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12600         [BZ #4772]
12601         * time/strptime_l.c (__strptime_internal): Allow modifiers
12602         in strptime.
12603         * time/tst-strptime.c (day_tests): Add testcase.
12605 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12607         * scripts/bench.pl: Skip over blank lines.
12609 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12611         [BZ #926]
12612         * manual/time.texi (Calendar Time): Clarify what timezone functions
12613         use.
12615 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12619 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12621         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12622         implementation.
12623         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12624         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12625         * debug/memset_chk.c (__memset_chk): Likewise.
12626         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12627         * debug/strncpy_chk.c: Likewise.
12629 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12631         [BZ #15268]
12632         [BZ #15425]
12633         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12634         (__ieee754_exp): For possibly underflowing results, check size of
12635         result and force underflow exception if required.
12636         * math/auto-libm-test-in: Add more tests of exp.
12637         * math/auto-libm-test-out: Regenerated.
12638         * sysdeps/i386/fpu/libm-test-ulps: Update.
12639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12641         [BZ #16283]
12642         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12643         * math/w_exp2f.c (__exp2f): Likewise.
12644         * math/w_exp2l.c (__exp2l): Likewise.
12645         * math/auto-libm-test-in: Do not allow missing errno on exp2
12646         underflow.
12647         * math/auto-libm-test-out: Regenerated.
12649 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12651         [BZ #16274]
12652         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12653         handle filename validation.
12654         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12655         (do_open): Delete.
12657 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12659         [BZ #6786]
12660         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12661         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12662         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12663         <float.h>.
12664         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12665         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12666         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12667         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12668         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12669         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12670         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12671         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12672         Add more erfc tests.
12673         * math/auto-libm-test-out: Regenerated.
12674         * sysdeps/i386/fpu/libm-test-ulps: Update.
12675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12677         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12678         exp2, expm1, j0 and j1.
12679         * math/auto-libm-test-out: Regenerated.
12680         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12681         (erfc_test_data): Likewise.
12682         (exp_test_data): Likewise.
12683         (exp_tonearest_test_data): Likewise.
12684         (exp_towardzero_test_data): Likewise.
12685         (exp_downward_test_data): Likewise.
12686         (exp_upward_test_data): Likewise.
12687         (exp10_test_data): Likewise.
12688         (exp2_test_data): Likewise.
12689         (expm1_test_data): Likewise.
12690         (j0_test_data): Likewise.
12691         (j1_test_data): Likewise.
12692         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12693         (input_flag_type): Add flag_xfail_rounding.
12694         (input_flags): Add xfail-rounding.
12695         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12696         (output_for_one_input_case): Handle flag_xfail_rounding.
12697         * sysdeps/i386/fpu/libm-test-ulps: Update.
12698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12700 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12702         [BZ #16289]
12703         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12704         division by 0.
12706 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12708         [BZ #16195]
12709         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12710         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12711         (STAP_PROBE0): New macro.
12712         (STAP_PROBE1): Likewise.
12713         (STAP_PROBE2): Likewise.
12714         (STAP_PROBE3): Likewise.
12715         (STAP_PROBE4): Likewise.
12717 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12719         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12721 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12723         * benchtests/Makefile (bench): Add sqrt.
12724         (LDLIBS-bench-sqrt): New.
12725         * benchtests/sqrt-input: New.
12727 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12729         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12730         (GAIH_EAI): Likewise.
12731         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12732         (gaih_inet): Likewise.
12733         (getaddrinfo): Don't use GAIH_EAI.
12735         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12736         (struct gaih): Remove definition.
12738 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12740         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12741         Use HERRNOP directly.
12743 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12747 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12749         * math/gen-auto-libm-tests.c (test_functions): Add more
12750         single-argument functions.
12751         (special_fill_pi_2): New function.
12752         (special_fill_minus_pi_2): Likewise.
12753         (special_fill_pi_6): Likewise.
12754         (special_fill_minus_pi_6): Likewise.
12755         (special_fill_pi_3): Likewise.
12756         (special_fill_2pi_3): Likewise.
12757         (special_fill_e): Likewise.
12758         (special_fill_1_e): Likewise.
12759         (special_fill_e_minus_1): Likewise.
12760         (special_real_inputs): Add more special inputs.
12761         (output_for_one_input_case): Do not require ERANGE on underflow to
12762         zero if round-to-nearest result does not underflow to zero, unless
12763         exact results required.
12764         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12765         atan, atanh, cbrt, cos and cosh.
12766         * math/auto-libm-test-out: Regenerated.
12767         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12768         (acos_tonearest_test_data): Likewise.
12769         (acos_towardzero_test_data): Likewise.
12770         (acos_downward_test_data): Likewise.
12771         (acos_upward_test_data): Likewise.
12772         (acosh_test_data): Likewise.
12773         (asin_test_data): Likewise.
12774         (asin_tonearest_test_data): Likewise.
12775         (asin_towardzero_test_data): Likewise.
12776         (asin_upward_test_data): Likewise.
12777         (asinh_test_data): Likewise.
12778         (atan_test_data): Likewise.
12779         (atanh_test_data): Likewise.
12780         (cbrt_test_data): Likewise.
12781         (cos_test_data): Likewise.
12782         (cos_tonearest_test_data): Likewise.
12783         (cos_towardzero_test_data): Likewise.
12784         (cos_downward_test_data): Likewise.
12785         (cos_upward_test_data): Likewise.
12786         (cosh_test_data): Likewise.
12787         (cosh_tonearest_test_data): Likewise.
12788         (cosh_towardzero_test_data): Likewise.
12789         (cosh_downward_test_data): Likewise.
12790         (cosh_upward_test_data): Likewise.
12791         * sysdeps/i386/fpu/libm-test-ulps: Update.
12792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12794 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12796         [BZ #6787]
12797         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12798         * math/w_exp10f.c (__exp10f): Likewise.
12799         * math/w_exp10l.c (__exp10l): Likewise.
12800         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12801         errno settings in existing tests.
12803         [BZ #14032]
12804         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12805         precision control set to double precision.
12806         * sysdeps/i386/fpu/w_sqrt.c: New file.
12807         * math/auto-libm-test-in: Add more tests.
12808         * math/auto-libm-test-out: Update.
12810         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12811         (sqrt_test_tonearest): New function.
12812         (sqrt_towardzero_test_data): New variable.
12813         (sqrt_test_towardzero): New function.
12814         (sqrt_downward_test_data): New variable.
12815         (sqrt_test_downward): New function.
12816         (sqrt_upward_test_data): New variable.
12817         (sqrt_test_upward): New function.
12818         (main): Call the new functions.
12820         * math/gen-auto-libm-tests.c: New file.
12821         * math/auto-libm-test-in: Likewise.
12822         * math/auto-libm-test-out: New generated file.
12823         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12824         variables.
12825         (%beautify): Add generated representations of zero.
12826         (top level): Set $auto_input and call parse_auto_input.
12827         (beautify): Remove trailing "f" from hex float constants.
12828         (parse_args): Handle XFAIL_TEST.
12829         (convert_condition): New function.
12830         (or_value): Likewise.
12831         (or_cond_value): Likewise.
12832         (generate_testfile): Handle AUTO_TESTS_* lines.
12833         (parse_auto_input): New function.
12834         * math/libm-test.inc (XFAIL_TEST): New macro.
12835         (ERRNO_UNCHANGED): Update value.
12836         (ERRNO_EDOM): Likewise.
12837         (ERRNO_ERANGE): Likewise.
12838         (IGNORE_RESULT): Likewise.
12839         (TEST_COND_flt_32): New macro.
12840         (TEST_COND_dbl_64): Likewise.
12841         (TEST_COND_ldbl_96_intel): Likewise.
12842         (TEST_COND_ldbl_96_m68k): Likewise.
12843         (TEST_COND_ldbl_128): Likewise.
12844         (TEST_COND_ldbl_128ibm): Likewise.
12845         (TEST_COND_long32): Likewise.
12846         (TEST_COND_long64): Likewise.
12847         (TEST_COND_before_rounding): Likewise.
12848         (TEST_COND_after_rounding): Likewise.
12849         (enable_test): Handle XFAIL_TEST flag.
12850         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12851         with finite results.
12852         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12853         auto-libm-test-out.
12855 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12856             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12858         [BZ #16214]
12859         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12860         __tls_get_addr_internal instead of __tls_get_offset in order to
12861         avoid GOT pointer dependency.  Make rtld export
12862         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12863         __tls_get_addr since we are a __tls_get_offset platform.
12864         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12865         GOT pointer being set up before.
12866         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12868 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12870         * manual/math.texi (Errors in Math Functions): Document accuracy
12871         goals.
12873         [BZ #15004]
12874         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12875         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12876         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12877         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12878         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12879         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12880         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12881         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12882         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12883         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12884         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12885         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12886         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12887         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12888         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12889         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12891         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12892         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12893         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12894         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12895         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12896         Likewise.
12897         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12898         Likewise.
12899         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12900         Likewise.
12901         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12902         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12903         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12904         atomic-feupdateenv and flt-rounds.
12905         * sysdeps/powerpc/nofpu/Versions (libc): Add
12906         __atomic_feholdexcept, __atomic_feclearexcept,
12907         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12908         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12909         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12910         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12911         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12912         here.
12913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12914         Update.
12916         * manual/arith.texi (FP Exceptions): Document that exceptions may
12917         not be raised when matherr is used.
12918         (Math Error Reporting): Document overflow in directed rounding
12919         modes.  Document that errno may not be set when finite values are
12920         returned on overflow.  Document intent to set errno on underflow
12921         only for underflow to zero.
12923         [BZ #16271]
12924         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12925         round-to-nearest then adjust result for other rounding modes.
12926         * include/fenv.h (fegetround): Use libm_hidden_proto.
12927         * math/fegetround.c (fegetround): Use libm_hidden_def.
12928         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12929         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12930         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12931         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12932         Likewise.
12933         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12934         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12935         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12936         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12938 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12940         [BZ #16077]
12941         * nss/Versions (libnss_files): Add
12942         _nss_files_gethostbyname3_r.
12943         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12944         New function.
12945         (HOST_DB_LOOKUP): Remove macro.
12946         (_nss_files_gethostbyname_r): Implement function without the
12947         HOST_DB_LOOKUP macro.
12948         (_nss_files_gethostbyname2_r): Likewise.
12950 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12952         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12954 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12956         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12957         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12958         warning.
12960 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12962         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12963         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12964         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12965         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12966         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12967         __fe_nomask_env_priv and attribute_hidden.
12968         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12969         (libc_feupdateenv_test_ppc): Likewise.
12970         (libc_feresetround_ppc): Likewise.
12971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12972         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12973         compat_symbol macro.
12974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12975         (__fe_nomask_env): Likewise.
12976         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12978 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12980         * string/Makefile: Remove ifunc tests.
12981         * string/test-string.h: Define TEST_IFUNC.
12982         * string/test-bcopy-ifunc.c: Remove.
12983         * string/test-bzero-ifunc.c: Likewise.
12984         * string/test-memccpy-ifunc.c: Likewise.
12985         * string/test-memchr-ifunc.c: Likewise.
12986         * string/test-memcmp-ifunc.c: Likewise.
12987         * string/test-memcpy-ifunc.c: Likewise.
12988         * string/test-memmem-ifunc.c: Likewise.
12989         * string/test-memmove-ifunc.c: Likewise.
12990         * string/test-mempcpy-ifunc.c: Likewise.
12991         * string/test-memrchr-ifunc.c: Likewise.
12992         * string/test-memset-ifunc.c: Likewise.
12993         * string/test-rawmemchr-ifunc.c: Likewise.
12994         * string/test-stpcpy-ifunc.c: Likewise.
12995         * string/test-stpncpy-ifunc.c: Likewise.
12996         * string/test-strcasecmp-ifunc.c: Likewise.
12997         * string/test-strcasestr-ifunc.c: Likewise.
12998         * string/test-strcat-ifunc.c: Likewise.
12999         * string/test-strchr-ifunc.c: Likewise.
13000         * string/test-strchrnul-ifunc.c: Likewise.
13001         * string/test-strcmp-ifunc.c: Likewise.
13002         * string/test-strcpy-ifunc.c: Likewise.
13003         * string/test-strcspn-ifunc.c: Likewise.
13004         * string/test-strlen-ifunc.c: Likewise.
13005         * string/test-strncasecmp-ifunc.c: Likewise.
13006         * string/test-strncat-ifunc.c: Likewise.
13007         * string/test-strncmp-ifunc.c: Likewise.
13008         * string/test-strncpy-ifunc.c: Likewise.
13009         * string/test-strnlen-ifunc.c: Likewise.
13010         * string/test-strpbrk-ifunc.c: Likewise.
13011         * string/test-strrchr-ifunc.c: Likewise.
13012         * string/test-strspn-ifunc.c: Likewise.
13013         * string/test-strstr-ifunc.c: Likewise.
13015 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13017         * benchtests/Makefile: Remove ifunc tests.
13018         * benchtests/bench-string.h: Define TEST_IFUNC.
13019         * benchtests/bench-bcopy-ifunc.c: Remove.
13020         * benchtests/bench-bzero-ifunc.c: Likewise.
13021         * benchtests/bench-memccpy-ifunc.c: Likewise.
13022         * benchtests/bench-memchr-ifunc.c: Likewise.
13023         * benchtests/bench-memcmp-ifunc.c: Likewise.
13024         * benchtests/bench-memcpy-ifunc.c: Likewise.
13025         * benchtests/bench-memmem-ifunc.c: Likewise.
13026         * benchtests/bench-memmove-ifunc.c: Likewise.
13027         * benchtests/bench-mempcpy-ifunc.c: Likewise.
13028         * benchtests/bench-memrchr-ifunc.c: Likewise.
13029         * benchtests/bench-memset-ifunc.c: Likewise.
13030         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13031         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13032         * benchtests/bench-stpcpy-ifunc.c: Likewise.
13033         * benchtests/bench-stpncpy-ifunc.c: Likewise.
13034         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13035         * benchtests/bench-strcasestr-ifunc.c: Likewise.
13036         * benchtests/bench-strcat-ifunc.c: Likewise.
13037         * benchtests/bench-strchr-ifunc.c: Likewise.
13038         * benchtests/bench-strchrnul-ifunc.c: Likewise.
13039         * benchtests/bench-strcmp-ifunc.c: Likewise.
13040         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13041         * benchtests/bench-strcpy-ifunc.c: Likewise.
13042         * benchtests/bench-strcspn-ifunc.c: Likewise.
13043         * benchtests/bench-strlen-ifunc.c: Likewise.
13044         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13045         * benchtests/bench-strncat-ifunc.c: Likewise.
13046         * benchtests/bench-strncmp-ifunc.c: Likewise.
13047         * benchtests/bench-strncpy-ifunc.c: Likewise.
13048         * benchtests/bench-strnlen-ifunc.c: Likewise.
13049         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13050         * benchtests/bench-strrchr-ifunc.c: Likewise.
13051         * benchtests/bench-strsep-ifunc.c: Likewise.
13052         * benchtests/bench-strspn-ifunc.c: Likewise.
13053         * benchtests/bench-strstr-ifunc.c: Likewise.
13055 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13057         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13059 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13061         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13062         * rt/aio.h: Likewise.
13063         * sysdeps/gnu/bits/utmp.h: Likewise.
13064         * sysdeps/gnu/bits/utmpx.h: Likewise.
13065         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13066         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13067         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13068         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13069         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13070         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13071         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13072         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13073         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13074         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13075         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13076         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13077         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13079         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13080         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13081         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13082         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13083         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13084         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13085         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13086         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13087         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13088         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13089         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13090         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13091         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13092         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13093         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13094         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13095         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13096         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13097         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13098         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13099         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13100         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13101         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13102         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13103         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13104         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13105         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13106         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13108 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13110         [BZ #16245]
13111         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13112         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13114 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13116         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13117         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13118         Likewise.
13120 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13122         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13123         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13124         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13125         (__fesetround): Remove define.
13126         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13127         rounding and exceptions handling.
13128         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13129         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13130         (__fe_nomask_env): Likewise.
13131         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13132         __fegetround instead of fegetround.
13133         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13134         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13136 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13138         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13139         it's there.
13141         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13143 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13145         [BZ #11157]
13146         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13147         (encrypt_r): Likewise.
13148         * malloc/obstack.h (obstack_free): Likewise.
13149         * posix/unistd.h (encrypt): Likewise.
13151 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13153         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13154         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13155         DL_CALL_DT_FINI() that call the functions directly.
13156         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13157         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13158         * elf/dl-fini.c: Likewise.
13160 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13162         * malloc/hooks.c (memalign_check): Add alignment rounding.
13163         * malloc/malloc.c (_mid_memalign): New function.
13164         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13165         Implement by calling _mid_memalign.
13166         * manual/probes.texi (Memory Allocation Probes): Remove
13167         memory_valloc_retry and memory_pvalloc_retry.
13169 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13171         * locale/programs/locarchive.c (open_archive): Add const
13172         qualifier to ARCHIVEFNAME and copy default fname to
13173         DEFAULT_FNAME.
13175         [BZ #15601]
13176         * libio/tst-widetext.input: Rename Oriya to Odia.
13177         * locale/iso-639.def: Likewise.
13179         * manual/probes.texi (Mathematical Function Probes): Add
13180         documentation for sin, cos, asin and acos probes.
13181         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13182         (__sin32): Add slowasin probe.
13183         (__cos32): Add slowacos probe.
13184         (__mpsin): Add slowsin probe.
13185         (__mpcos): Add slowcos probe.
13187 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13189         [BZ #15483]
13190         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13191         thread-local __sim_exceptions_thread and global
13192         __sim_exceptions_global.
13193         (__sim_disabled_exceptions): Change to thread-local
13194         __sim_disabled_exceptions_thread and global
13195         __sim_disabled_exceptions_global.
13196         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13197         and global __sim_round_mode_global.
13198         (__simulate_exceptions): Use thread-local floating-point state and
13199         set global state from it as needed.
13200         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13201         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13202         __sim_round_mode_thread.
13203         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13204         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13205         and global __sim_exceptions_global.
13206         (__sim_disabled_exceptions): Change to thread-local
13207         __sim_disabled_exceptions_thread and global
13208         __sim_disabled_exceptions_global.
13209         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13210         and global __sim_round_mode_global.
13211         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13212         (SIM_SET_GLOBAL): Likewise.
13213         * sysdeps/powerpc/soft-fp/sfp-machine.h
13214         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13215         __sim_round_mode_thread.
13216         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13217         __sim_disabled_exceptions_thread.
13218         (__sim_exceptions): Change to __sim_exceptions_thread.
13219         (__sim_disabled_exceptions): Change to
13220         __sim_disabled_exceptions_thread.
13221         (__sim_round_mode): Change to __sim_round_mode_thread.
13222         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13223         thread-local floating-point state and set global state from it as
13224         needed.
13225         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13226         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13227         (__sim_disabled_exceptions): Remove extern declaration.
13228         (feenableexcept): Use thread-local floating-point state and set
13229         global state from it as needed.
13230         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13231         extern declaration.
13232         (__sim_disabled_exceptions): Likewise.
13233         (__sim_round_mode): Likewise.
13234         (__fegetenv): Use thread-local floating-point state.
13235         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13236         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13237         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13238         floating-point state and set global state from it as needed.
13239         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13240         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13241         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13242         Likewise.
13243         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13244         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13245         Likewise.
13246         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13247         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13248         Use __sim_round_mode_thread.
13249         * math/test-fenv-tls.c: New file.
13250         * math/Makefile (tests): Add test-fenv-tls.
13251         ($(objpfx)test-fenv-tls): Depend on
13252         $(common-objpfx)nptl/libpthread.so.
13254 2013-11-19  Andreas Schwab  <schwab@suse.de>
13256         * locale/programs/locale.c (show_info): Decode wordarray elements.
13257         * locale/categories.def (LC_MONETARY): Add element for
13258         _NL_MONETARY_CRNCYSTR.
13259         * locale/C-monetary.c (conversion_rate): New variable.
13260         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13261         element.
13263 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13265         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13266         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13268 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13270         * elf/Makefile (tst-auxv): New test.
13271         * elf/tst-auxv.c: New
13272         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13274 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13276         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13277         (hidden_proto): Caller changed.
13278         (hidden_tls_proto): New macro.
13279         (libc_hidden_tls_proto): Likewise.
13280         (rtld_hidden_tls_proto): Likewise.
13281         (libm_hidden_tls_proto): Likewise.
13282         (libresolv_hidden_tls_proto): Likewise.
13283         (librt_hidden_tls_proto): Likewise.
13284         (libdl_hidden_tls_proto): Likewise.
13285         (libnss_files_hidden_tls_proto): Likewise.
13286         (libnsl_hidden_tls_proto): Likewise.
13287         (libnss_nisplus_hidden_tls_proto): Likewise.
13288         (libutil_hidden_tls_proto): Likewise.
13290 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13292         [BZ #10253]
13293         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13294         (decompose_rpath): Defer expansion to fillin_rpath.
13295         (_dl_init_paths): Pass linkmap to fillin_rpath.
13297 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13299         * benchtests/Makefile: Add strsep.
13300         * benchtests/bench-strsep.c: New file: strsep benchtest.
13301         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13303 2013-11-18  Andreas Schwab  <schwab@suse.de>
13305         * locale/programs/locale.c (show_info) [case byte]: Check for
13306         '\377' instead of '\177'.
13307         * locale/C-monetary.c (not_available): Always use "\377".
13308         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13309         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13310         detect unavailable sign_posn locale elements.
13311         * locale/localeconv.c (__localeconv): For grouping and
13312         mon_grouping handle "\177" and "\377" like no grouping.
13313         (INT_ELEM): New macro.  Use it to set all numeric members.
13314         * locale/programs/ld-monetary.c (monetary_read)
13315         <tok_mon_grouping>: Normalize single -1 to the empty string.
13316         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13317         Likewise.
13319 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13321         [BZ #16055]
13322         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13323         when we match (nil).
13324         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13326 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13328         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13329         (NO_TEST_INLINE): Update value.
13330         (ERRNO_UNCHANGED): Likewise.
13331         (ERRNO_EDOM): Likewise.
13332         (ERRNO_ERANGE): Likewise.
13333         (IGNORE_RESULT): Likewise.
13334         (check_float_internal): Check signs of NaN results if
13335         TEST_NAN_SIGN used.
13336         (check_complex): Pass TEST_NAN_SIGN flag through to second
13337         check_float_internal call.
13338         (copysign_test_data): Add tests with quiet NaNs as second
13339         argument.  Use TEST_NAN_SIGN.
13340         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13341         TEST_NAN_SIGN.
13342         (signbit_test_data): Add tests of quiet NaN argument.
13343         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13345         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13346         $ignore_result.
13347         (parse_args): Handle function results specified as IGNORE.
13348         * math/libm-test.inc (IGNORE_RESULT): New macro.
13349         (check_float_internal): Do not check numerical result if flag
13350         IGNORE_RESULT set.
13351         (check_complex): Pass through IGNORE_RESULT to second
13352         check_float_internal call.
13353         (check_int): Do not check numerical result if flag IGNORE_RESULT
13354         set.
13355         (check_long): Likewise.
13356         (check_bool): Likewise.
13357         (check_longlong): Likewise.
13358         (lrint_test_data): Add tests of infinite and NaN arguments.
13359         (lrint_tonearest_test_data): Likewise.
13360         (lrint_towardzero_test_data): Likewise.
13361         (lrint_downward_test_data): Likewise.
13362         (lrint_upward_test_data): Likewise.
13363         (llrint_test_data): Likewise.
13364         (llrint_tonearest_test_data): Likewise.
13365         (llrint_towardzero_test_data): Likewise.
13366         (llrint_downward_test_data): Likewise.
13367         (llrint_upward_test_data): Likewise.
13368         (lround_test_data): Likewise.
13369         (llround_test_data): Likewise.
13371         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13372         (ERRNO_UNCHANGED): Update value.
13373         (ERRNO_EDOM): Likewise.
13374         (ERRNO_ERANGE): Likewise.
13375         (NO_TEST_INLINE_FLOAT): New macro.
13376         (NO_TEST_INLINE_DOUBLE): Likewise.
13377         (enable_test): New function.
13378         (RUN_TEST_f_f): Check enable_test before running test.
13379         (RUN_TEST_2_f): Likewise.
13380         (RUN_TEST_fff_f): Likewise.
13381         (RUN_TEST_c_f): Likewise.
13382         (RUN_TEST_f_f1): Likewise.
13383         (RUN_TEST_fF_f1): Likewise.
13384         (RUN_TEST_fI_f1): Likewise.
13385         (RUN_TEST_ffI_f1): Likewise.
13386         (RUN_TEST_c_c): Likewise.
13387         (RUN_TEST_cc_c): Likewise.
13388         (RUN_TEST_f_i): Likewise.
13389         (RUN_TEST_f_i_tg): Likewise.
13390         (RUN_TEST_ff_i_tg): Likewise.
13391         (RUN_TEST_f_b): Likewise.
13392         (RUN_TEST_f_b_tg): Likewise.
13393         (RUN_TEST_f_l): Likewise.
13394         (RUN_TEST_f_L): Likewise.
13395         (RUN_TEST_fFF_11): Likewise.
13396         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13397         conditionals.
13398         (cosh_test_data): Likewise.
13399         (exp_test_data): Likewise.
13400         (expm1_test_data): Likewise.
13401         (hypot_test_data): Likewise.
13402         (pow_test_data): Likewise.
13403         (sinh_test_data): Likewise.
13404         (tanh_test_data): Likewise.
13405         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13406         flags argument.
13408         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13409         tests with quiet NaN input and output.
13410         (acosh_test_data): Likewise.
13411         (asin_test_data): Likewise.
13412         (asinh_test_data): Likewise.
13413         (atan_test_data): Likewise.
13414         (atanh_test_data): Likewise.
13415         (atan2_test_data): Likewise.
13416         (cbrt_test_data): Likewise.
13417         (cos_test_data): Likewise.
13418         (cosh_test_data): Likewise.
13419         (erf_test_data): Likewise.
13420         (erfc_test_data): Likewise.
13421         (exp_test_data): Likewise.
13422         (exp10_test_data): Likewise.
13423         (exp2_test_data): Likewise.
13424         (expm1_test_data): Likewise.
13425         (hypot_test_data): Likewise.
13426         (j0_test_data): Likewise.
13427         (j1_test_data): Likewise.
13428         (jn_test_data): Likewise.
13429         (lgamma_test_data): Likewise.
13430         (log_test_data): Likewise.
13431         (log10_test_data): Likewise.
13432         (log1p_test_data): Likewise.
13433         (log2_test_data): Likewise.
13434         (pow_test_data): Likewise.
13435         (scalb_test_data): Likewise.
13436         (sin_test_data): Likewise.
13437         (sincos_test_data): Likewise.
13438         (sinh_test_data): Likewise.
13439         (tan_test_data): Likewise.
13440         (tanh_test_data): Likewise.
13441         (tgamma_test_data): Likewise.
13442         (y0_test_data): Likewise.
13443         (y1_test_data): Likewise.
13444         (yn_test_data): Likewise.
13446         [BZ #16167]
13447         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13448         argument being NaN and avoid computations with second argument in
13449         that case.
13450         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13451         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13452         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13454 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13456         * locale/iso-639.def: Add Chitwani Tharu (the).
13458 2013-11-14  Andreas Schwab  <schwab@suse.de>
13460         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13461         word instead of empty string.
13463 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13466         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13468         (__fe_nomask_env): Likewise.
13470 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13472         * benchtests/bench-timing.h: Include time.h.
13474 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13476         [BZ #15997]
13477         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13478         to 3.4.0 for x32.
13479         * sysdeps/unix/sysv/linux/configure: Regenerated.
13481 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13483         [BZ #16151]
13484         * stdlib/strtod_l.c (round_and_return): Do not consider
13485         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13486         exponent one less than half the least subnormal exponent.
13487         * stdlib/test-strtod-round-data: Add more tests.
13488         * stdlib/tst-strtod-round.c (tests): Regenerated.
13490 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13492         [BZ #14143]
13493         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13494         (__fe_mask_env): Likewise.
13495         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13496         libm_hidden_proto and add function prototype.
13497         (__fe_mask_env): Add function prototype.
13498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13499         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13501         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13503         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13505 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13507         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13508         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13510 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13512         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13513         of htab_find_slot().
13515 2013-11-11  David S. Miller  <davem@davemloft.net>
13517         [BZ #16150]
13518         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13519         symbol in the non-vis3 case in static builds.
13520         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13521         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13522         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13523         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13525 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13527         [BZ #387]
13528         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13529         it is empty.
13531 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13533         * benchtests/Makefile: Add bench-strtod.
13534         * benchtests/bench-strtod.c: New file: strtod benchtest
13536 2013-11-11  Andreas Schwab  <schwab@suse.de>
13538         [BZ #16153]
13539         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13540         terminating NUL in key length.
13542 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13544         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13545         Add artificial ODP entry for vDSO symbol for PPC64.
13546         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13547         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13549 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13551         [BZ #15374]
13552         * nss/getent.c (services_keys): Recognize services starting with digit.
13554 2013-11-06  David S. Miller  <davem@davemloft.net>
13556         [BZ #15985]
13557         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13558         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13560 2013-11-06  Will Newton  <will.newton@linaro.org>
13562         * manual/memory.texi (Malloc Examples): Remove register
13563         keyword from examples.
13565 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13567         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13569 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13571         [BZ #6981]
13572         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13573         depending on [__GCC_IEC_559 > 0].
13574         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13575         depending on [__GCC_IEC_559_COMPLEX > 0].
13577 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13579         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13580         to iso-639.def.
13582 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13584         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13586 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13588         [BZ #16112]
13589         * malloc/malloc (malloc_info): Do not handle first bin as
13590         special case.
13592 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13594         * locale/iso-639.def: Add Central Nahuatl (nhn).
13596 2013-11-01  Bruno Haible  <bruno@clisp.org>
13598         [BZ #7003]
13599         * manual/math.texi (BSD Random): Specify range upper bound as
13600         in POSIX.
13602 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13604         * locale/iso-639.def: Add Meadow Mari (mhr).
13606 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13608         [BZ #14752], [BZ #15763]
13609         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13610         Validate name.
13611         * rt/tst_shm.c: Add test for escaping directory.
13613 2013-10-31  Andreas Schwab  <schwab@suse.de>
13615         [BZ #15917]
13616         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13617         followed by 'x' as part of digit sequence.
13618         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13620 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13622         [BZ #16037]
13623         * configure.ac: allow GNU Make 4.0 and greater.
13624         * configure: Regenerated.
13626 2013-10-30  Will Newton  <will.newton@linaro.org>
13628         [BZ #16038]
13629         * malloc/hooks.c (memalign_check): Limit alignment to the
13630         maximum representable power of two.
13631         * malloc/malloc.c (__libc_memalign): Likewise.
13632         * malloc/tst-memalign.c (do_test): Add test for very
13633         large alignment values.
13634         * malloc/tst-posix_memalign.c (do_test): Likewise.
13636 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13638         [BZ #11087]
13639         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13640         (munmap_chunk): Likewise.
13641         (mremap_chunk): Likewise.
13643 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13645         [BZ #15799]
13646         * stdlib/div.c (div): Remove obsolete code.
13647         * stdlib/ldiv.c (ldiv): Likewise.
13648         * stdlib/lldiv.c (lldiv): Likewise.
13650 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13652         [BZ #16071]
13653         * nss/nss_files/files-XXX.c (get_contents_ret): New
13654         enumerator.
13655         (get_contents): New function.
13656         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13658 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13660         * configure.in: Moved to ...
13661         * configure.ac: ... here. Change reference to configure.in
13662         to configure.ac.
13663         * sysdeps/arm/preconfigure.ac: ... here.
13664         configure.in to configure.ac.
13665         * sysdeps/gnu/configure.in: Moved to ...
13666         * sysdeps/gnu/configure.ac: ... here.
13667         * sysdeps/i386/configure.in: Moved to ...
13668         * sysdeps/i386/configure.ac: ... here.
13669         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13670         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13671         * sysdeps/mach/configure.in: Moved to ...
13672         * sysdeps/mach/configure.ac: ... here.
13673         * sysdeps/mach/hurd/configure.in: Moved to ...
13674         * sysdeps/mach/hurd/configure.ac: ... here.
13675         * sysdeps/powerpc/configure.in: Moved to ...
13676         * sysdeps/powerpc/configure.ac: ... here.
13677         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13678         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13679         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13680         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13681         * sysdeps/s390/s390-32/configure.in: Moved to ...
13682         * sysdeps/s390/s390-32/configure.ac: ... here.
13683         * sysdeps/s390/s390-64/configure.in: Moved to ...
13684         * sysdeps/s390/s390-64/configure.ac: ... here.
13685         * sysdeps/sh/configure.in: Moved to ...
13686         * sysdeps/sh/configure.ac: ... here.
13687         * sysdeps/sparc/configure.in: Moved to ...
13688         * sysdeps/sparc/configure.ac: ... here.
13689         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13690         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13691         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13692         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13693         * sysdeps/x86_64/configure.in: Moved to ...
13694         * sysdeps/x86_64/configure.ac: ... here.
13695         * sysdeps/x86_64/preconfigure.in: Moved to ...
13696         * sysdeps/x86_64/preconfigure.ac: ... here.
13697         * aclocal.m4: Change reference to configure.in to configure.ac.
13698         * config.h.in: Likewise.
13699         * manual/install.texi: Likewise.
13700         * manual/maint.texi: Likewise.
13701         * Makefile: Likewise.
13702         * malloc/Makefile: Likewise.
13703         * nscd/Makefile: Likewise.
13704         * Makeconfig: Change reference to configure.in and
13705         preconfigure.in to configure.ac and preconfigure.ac
13706         respectively.
13707         * INSTALL: Regenerated.
13708         * configure: Likewise.
13709         * sysdeps/gnu/configure: Likewise.
13710         * sysdeps/i386/configure: Likewise.
13711         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13712         * sysdeps/mach/configure: Likewise.
13713         * sysdeps/mach/hurd/configure: Likewise.
13714         * sysdeps/powerpc/configure: Likewise.
13715         * sysdeps/powerpc/powerpc32/configure: Likewise.
13716         * sysdeps/powerpc/powerpc64/configure: Likewise.
13717         * sysdeps/s390/s390-32/configure: Likewise.
13718         * sysdeps/s390/s390-64/configure: Likewise.
13719         * sysdeps/sh/configure: Likewise.
13720         * sysdeps/sparc/configure: Likewise.
13721         * sysdeps/unix/sysv/linux/configure: Likewise.
13722         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13723         * sysdeps/x86_64/configure: Likewise.
13724         * sysdeps/x86_64/preconfigure: Likewise.
13726 2013-10-29  Andreas Schwab  <schwab@suse.de>
13728         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13730 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13732         * benchtests/pow-inputs: Add new inputs.
13734         * benchtests/exp-inputs: Add new inputs.
13736         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13737         conditional check for return value.
13738         (__cos32): Likewise.
13740 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13742         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13743         to provide a boost for large inputs with word alignment.
13744         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13745         implementation based on optimized PPC64 strcpy.
13746         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13747         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13748         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13749         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13751 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13753         [BZ #2801]
13754         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13756 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13758         [BZ #14876]
13759         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13760         * time/tst-strptime.c (day_tests): Add testcase.
13762 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13764         [BZ #14029]
13765         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13767 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13769         [BZ #16074]
13770         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13771         MAP_FAILED on error.
13773 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13775         [BZ #16072]
13776         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13777         heap for large requests.
13779 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13781         [BZ #9954]
13782         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13783         result if the result has no associated interface.
13784         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13785         interface for all 127.X.Y.Z addresses.
13787 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13789         * locale/iso-639.def: Add Ligurian (lij)
13791 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13793         [BZ #15825]
13794         * sunrpc/rpc_main.c: Document rpcgen -5.
13796 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13798         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13800 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13802         [BZ #10278]
13803         * posix/glob.c: Match only directories when trailing slash is present.
13804         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13805         (main): Add testcase.
13807 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13809         [BZ #15670]
13810         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13812 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13814         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13815         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13816         AUTH_DES and cindex for FIPS 140-2.
13817         (DES Encryption): Add cindex FIPS 46-3.
13819         * locale/locarchive.h (struct locarhandle): Add fname.
13820         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13821         if an optional argument was specified to --list-archive,
13822         otherwise NULL.
13823         * locale/programs/locarchive.c (show_archive_content): Take new
13824         argument fname and pass it via ah.fname to open_archive.
13825         * locale/programs/localedef.h: Update decl.
13826         (open_archive): If AH->fname is non-null, open that file
13827         rather than the default file name, and don't ignore ENOENT.
13828         (create_archive): Set AH.fname to NULL.
13829         (delete_locales_from_archive): Likewise.
13830         (add_locales_to_archive): Likewise.
13831         * locale/programs/locfile.c (write_all_categories): Likewise.
13833 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13834             Aldy Hernandez  <aldyh@redhat.com>
13836         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13837         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13838         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13839         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13840         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13841         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13842         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13843         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13844         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13845         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13846         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13847         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13848         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13849         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13850         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13851         Likewise.
13852         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13853         Likewise.
13854         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13855         Likewise.
13856         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13857         Likewise.
13858         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13859         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13860         Likewise.
13861         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13862         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13863         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13864         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13865         Likewise.
13866         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13867         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13868         * sysdeps/powerpc/preconfigure: Likewise.
13869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13870         Likewise.
13871         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13872         Replace contents of file by #include of <fenv_libc.h>.
13873         * sysdeps/powerpc/soft-fp/sfp-machine.h
13874         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13875         and <sys/prctl.h>.
13876         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13877         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13878         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13879         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13880         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13881         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13883         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13884         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13885         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13886         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13887         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13889         Allow copysignl PLT reference to be missing.
13891 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13892             Joseph Myers  <joseph@codesourcery.com
13894         [BZ #15948]
13895         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13896         single character.
13897         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13899 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13901         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13902         * elf/tst-tls1.c: Likewise.
13903         * elf/tst-tls10.h: Likewise.
13904         * elf/tst-tls14.c: Likewise.
13905         * elf/tst-tls2.c: Likewise.
13906         * elf/tst-tls3.c: Likewise.
13907         * elf/tst-tls4.c: Likewise.
13908         * elf/tst-tls5.c: Likewise.
13909         * elf/tst-tls6.c: Likewise.
13910         * elf/tst-tls7.c: Likewise.
13911         * elf/tst-tls8.c: Likewise.
13912         * elf/tst-tls9.c: Likewise.
13913         * elf/tst-tlsmod1.c: Likewise.
13914         * elf/tst-tlsmod13.c: Likewise.
13915         * elf/tst-tlsmod13a.c: Likewise.
13916         * elf/tst-tlsmod14a.c: Likewise.
13917         * elf/tst-tlsmod16a.c: Likewise.
13918         * elf/tst-tlsmod16b.c: Likewise.
13919         * elf/tst-tlsmod2.c: Likewise.
13920         * elf/tst-tlsmod3.c: Likewise.
13921         * elf/tst-tlsmod4.c: Likewise.
13922         * elf/tst-tlsmod5.c: Likewise.
13923         * elf/tst-tlsmod6.c: Likewise.
13925 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13927         [BZ #12486]
13928         * malloc/malloc.c: remove checks for statistics.
13930 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13932         [BZ #15277]
13933         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13934         * inet/tst-network.c: Add testcase.
13936 2013-10-17  Andreas Schwab  <schwab@suse.de>
13938         [BZ #15218]
13939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13940         to determine canonical name.
13942 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13944         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13945         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13946         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13947         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13948         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13949         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13950         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13951         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13952         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13953         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13954         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13955         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13956         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13957         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13958         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13959         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13960         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13961         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13962         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13963         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13964         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13965         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13966         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13967         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13968         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13969         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13970         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13971         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13972         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13973         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13974         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13975         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13976         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13977         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13978         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13979         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13980         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13981         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13982         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13983         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13984         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13985         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13986         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13987         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13988         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13989         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13990         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13991         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13992         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13993         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13994         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13995         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13996         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13997         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13998         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13999         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14000         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14001         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14003 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
14005         [BZ #16041]
14006         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14007         make result into a quiet NaN.
14009 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
14011         * soft-fp/adddf3.c: Fix horizontal whitespace.
14012         * soft-fp/addsf3.c: Likewise.
14013         * soft-fp/addtf3.c: Likewise.
14014         * soft-fp/divdf3.c: Likewise.
14015         * soft-fp/divsf3.c: Likewise.
14016         * soft-fp/divtf3.c: Likewise.
14017         * soft-fp/double.h: Likewise.
14018         * soft-fp/eqdf2.c: Likewise.
14019         * soft-fp/eqsf2.c: Likewise.
14020         * soft-fp/eqtf2.c: Likewise.
14021         * soft-fp/extenddftf2.c: Likewise.
14022         * soft-fp/extended.h: Likewise.
14023         * soft-fp/extendsfdf2.c: Likewise.
14024         * soft-fp/extendsftf2.c: Likewise.
14025         * soft-fp/extendxftf2.c: Likewise.
14026         * soft-fp/fixdfdi.c: Likewise.
14027         * soft-fp/fixdfsi.c: Likewise.
14028         * soft-fp/fixdfti.c: Likewise.
14029         * soft-fp/fixsfdi.c: Likewise.
14030         * soft-fp/fixsfsi.c: Likewise.
14031         * soft-fp/fixsfti.c: Likewise.
14032         * soft-fp/fixtfdi.c: Likewise.
14033         * soft-fp/fixtfsi.c: Likewise.
14034         * soft-fp/fixtfti.c: Likewise.
14035         * soft-fp/fixunsdfdi.c: Likewise.
14036         * soft-fp/fixunsdfsi.c: Likewise.
14037         * soft-fp/fixunsdfti.c: Likewise.
14038         * soft-fp/fixunssfdi.c: Likewise.
14039         * soft-fp/fixunssfsi.c: Likewise.
14040         * soft-fp/fixunssfti.c: Likewise.
14041         * soft-fp/fixunstfdi.c: Likewise.
14042         * soft-fp/fixunstfsi.c: Likewise.
14043         * soft-fp/fixunstfti.c: Likewise.
14044         * soft-fp/floatdidf.c: Likewise.
14045         * soft-fp/floatdisf.c: Likewise.
14046         * soft-fp/floatditf.c: Likewise.
14047         * soft-fp/floatsidf.c: Likewise.
14048         * soft-fp/floatsisf.c: Likewise.
14049         * soft-fp/floatsitf.c: Likewise.
14050         * soft-fp/floattidf.c: Likewise.
14051         * soft-fp/floattisf.c: Likewise.
14052         * soft-fp/floattitf.c: Likewise.
14053         * soft-fp/floatundidf.c: Likewise.
14054         * soft-fp/floatundisf.c: Likewise.
14055         * soft-fp/floatunditf.c: Likewise.
14056         * soft-fp/floatunsidf.c: Likewise.
14057         * soft-fp/floatunsisf.c: Likewise.
14058         * soft-fp/floatunsitf.c: Likewise.
14059         * soft-fp/floatuntidf.c: Likewise.
14060         * soft-fp/floatuntisf.c: Likewise.
14061         * soft-fp/floatuntitf.c: Likewise.
14062         * soft-fp/fmadf4.c: Likewise.
14063         * soft-fp/fmasf4.c: Likewise.
14064         * soft-fp/fmatf4.c: Likewise.
14065         * soft-fp/gedf2.c: Likewise.
14066         * soft-fp/gesf2.c: Likewise.
14067         * soft-fp/getf2.c: Likewise.
14068         * soft-fp/ledf2.c: Likewise.
14069         * soft-fp/lesf2.c: Likewise.
14070         * soft-fp/letf2.c: Likewise.
14071         * soft-fp/muldf3.c: Likewise.
14072         * soft-fp/mulsf3.c: Likewise.
14073         * soft-fp/multf3.c: Likewise.
14074         * soft-fp/negdf2.c: Likewise.
14075         * soft-fp/negsf2.c: Likewise.
14076         * soft-fp/negtf2.c: Likewise.
14077         * soft-fp/op-1.h: Likewise.
14078         * soft-fp/op-2.h: Likewise.
14079         * soft-fp/op-4.h: Likewise.
14080         * soft-fp/op-8.h: Likewise.
14081         * soft-fp/op-common.h: Likewise.
14082         * soft-fp/quad.h: Likewise.
14083         * soft-fp/single.h: Likewise.
14084         * soft-fp/soft-fp.h: Likewise.
14085         * soft-fp/sqrtdf2.c: Likewise.
14086         * soft-fp/sqrtsf2.c: Likewise.
14087         * soft-fp/sqrttf2.c: Likewise.
14088         * soft-fp/subdf3.c: Likewise.
14089         * soft-fp/subsf3.c: Likewise.
14090         * soft-fp/subtf3.c: Likewise.
14091         * soft-fp/truncdfsf2.c: Likewise.
14092         * soft-fp/trunctfdf2.c: Likewise.
14093         * soft-fp/trunctfsf2.c: Likewise.
14094         * soft-fp/trunctfxf2.c: Likewise.
14095         * soft-fp/unorddf2.c: Likewise.
14096         * soft-fp/unordsf2.c: Likewise.
14097         * soft-fp/unordtf2.c: Likewise.
14099 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14101         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14102         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14104 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14106         * elf/dl-libc.c: Clear initfini list after freeing.
14108 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14110         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14111         * soft-fp/addsf3.c: Likewise.
14112         * soft-fp/addtf3.c: Likewise.
14113         * soft-fp/divdf3.c: Likewise.
14114         * soft-fp/divsf3.c: Likewise.
14115         * soft-fp/divtf3.c: Likewise.
14116         * soft-fp/double.h: Likewise.
14117         * soft-fp/eqdf2.c: Likewise.
14118         * soft-fp/eqsf2.c: Likewise.
14119         * soft-fp/eqtf2.c: Likewise.
14120         * soft-fp/extenddftf2.c: Likewise.
14121         * soft-fp/extended.h: Likewise.
14122         * soft-fp/extendsfdf2.c: Likewise.
14123         * soft-fp/extendsftf2.c: Likewise.
14124         * soft-fp/extendxftf2.c: Likewise.
14125         * soft-fp/fixdfdi.c: Likewise.
14126         * soft-fp/fixdfsi.c: Likewise.
14127         * soft-fp/fixdfti.c: Likewise.
14128         * soft-fp/fixsfdi.c: Likewise.
14129         * soft-fp/fixsfsi.c: Likewise.
14130         * soft-fp/fixsfti.c: Likewise.
14131         * soft-fp/fixtfdi.c: Likewise.
14132         * soft-fp/fixtfsi.c: Likewise.
14133         * soft-fp/fixtfti.c: Likewise.
14134         * soft-fp/fixunsdfdi.c: Likewise.
14135         * soft-fp/fixunsdfsi.c: Likewise.
14136         * soft-fp/fixunsdfti.c: Likewise.
14137         * soft-fp/fixunssfdi.c: Likewise.
14138         * soft-fp/fixunssfsi.c: Likewise.
14139         * soft-fp/fixunssfti.c: Likewise.
14140         * soft-fp/fixunstfdi.c: Likewise.
14141         * soft-fp/fixunstfsi.c: Likewise.
14142         * soft-fp/fixunstfti.c: Likewise.
14143         * soft-fp/floatdidf.c: Likewise.
14144         * soft-fp/floatdisf.c: Likewise.
14145         * soft-fp/floatditf.c: Likewise.
14146         * soft-fp/floatsidf.c: Likewise.
14147         * soft-fp/floatsisf.c: Likewise.
14148         * soft-fp/floatsitf.c: Likewise.
14149         * soft-fp/floattidf.c: Likewise.
14150         * soft-fp/floattisf.c: Likewise.
14151         * soft-fp/floattitf.c: Likewise.
14152         * soft-fp/floatundidf.c: Likewise.
14153         * soft-fp/floatundisf.c: Likewise.
14154         * soft-fp/floatunsidf.c: Likewise.
14155         * soft-fp/floatunsisf.c: Likewise.
14156         * soft-fp/floatuntidf.c: Likewise.
14157         * soft-fp/floatuntisf.c: Likewise.
14158         * soft-fp/floatuntitf.c: Likewise.
14159         * soft-fp/fmadf4.c: Likewise.
14160         * soft-fp/fmasf4.c: Likewise.
14161         * soft-fp/fmatf4.c: Likewise.
14162         * soft-fp/gedf2.c: Likewise.
14163         * soft-fp/gesf2.c: Likewise.
14164         * soft-fp/getf2.c: Likewise.
14165         * soft-fp/ledf2.c: Likewise.
14166         * soft-fp/lesf2.c: Likewise.
14167         * soft-fp/letf2.c: Likewise.
14168         * soft-fp/muldf3.c: Likewise.
14169         * soft-fp/mulsf3.c: Likewise.
14170         * soft-fp/multf3.c: Likewise.
14171         * soft-fp/negdf2.c: Likewise.
14172         * soft-fp/negsf2.c: Likewise.
14173         * soft-fp/negtf2.c: Likewise.
14174         * soft-fp/op-1.h: Likewise.
14175         * soft-fp/op-2.h: Likewise.
14176         * soft-fp/op-4.h: Likewise.
14177         * soft-fp/op-8.h: Likewise.
14178         * soft-fp/op-common.h: Likewise.
14179         * soft-fp/quad.h: Likewise.
14180         * soft-fp/single.h: Likewise.
14181         * soft-fp/soft-fp.h: Likewise.
14182         * soft-fp/sqrtdf2.c: Likewise.
14183         * soft-fp/sqrtsf2.c: Likewise.
14184         * soft-fp/sqrttf2.c: Likewise.
14185         * soft-fp/subdf3.c: Likewise.
14186         * soft-fp/subsf3.c: Likewise.
14187         * soft-fp/subtf3.c: Likewise.
14188         * soft-fp/truncdfsf2.c: Likewise.
14189         * soft-fp/trunctfdf2.c: Likewise.
14190         * soft-fp/trunctfsf2.c: Likewise.
14191         * soft-fp/trunctfxf2.c: Likewise.
14192         * soft-fp/unorddf2.c: Likewise.
14193         * soft-fp/unordsf2.c: Likewise.
14194         * soft-fp/unordtf2.c: Likewise.
14196 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14198         [BZ #15672]
14199         * misc/error.c (error_tail): Fix possible buffer overflow.
14201 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14203         [BZ #13028]
14204         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14205         address.
14207 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14209         [BZ #832]
14210         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14211         testing pipefail option.
14213 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14215         * soft-fp/double.h: Indent preprocessor directives inside #if.
14216         * soft-fp/extended.h: Likewise.
14217         * soft-fp/op-2.h: Likewise.
14218         * soft-fp/op-4.h: Likewise.
14219         * soft-fp/op-common.h: Likewise.
14220         * soft-fp/quad.h: Likewise.
14221         * soft-fp/single.h: Likewise.
14222         * soft-fp/soft-fp.h: Likewise.
14224 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14226         * iconv/iconv_prog.c: Fix typos.
14227         * stdio-common/psiginfo-data.h: Likewise.
14229 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14231         [BZ #15764]
14232         * locale/setlocale.c: Fix typo.
14234 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14236         [BZ #16036]
14237         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14238         signaling NaN arguments.
14239         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14240         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14242         [BZ #14910]
14243         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14244         unordered operands.
14245         * soft-fp/gesf2.c (__gesf2): Likewise.
14246         * soft-fp/getf2.c (__getf2): Likewise.
14247         * soft-fp/ledf2.c (__ledf2): Likewise.
14248         * soft-fp/lesf2.c (__lesf2): Likewise.
14249         * soft-fp/letf2.c (__letf2): Likewise.
14251         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14252         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14253         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14254         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14255         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14256         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14257         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14258         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14259         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14260         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14261         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14262         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14263         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14264         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14265         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14266         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14267         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14268         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14269         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14270         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14271         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14272         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14273         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14274         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14275         * soft-fp/floattidf.c (__floattidf): Likewise.
14276         * soft-fp/floattisf.c (__floattisf): Likewise.
14277         * soft-fp/floattitf.c (__floattitf): Likewise.
14278         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14279         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14280         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14281         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14282         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14283         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14284         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14285         * soft-fp/gesf2.c (__gesf2): Likewise.
14286         * soft-fp/getf2.c (__getf2): Likewise.
14287         * soft-fp/ledf2.c (__ledf2): Likewise.
14288         * soft-fp/lesf2.c (__lesf2): Likewise.
14289         * soft-fp/letf2.c (__letf2): Likewise.
14291         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14292         Undefine and redefine.
14293         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14294         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14295         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14296         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14297         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14298         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14299         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14300         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14301         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14302         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14303         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14304         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14305         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14306         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14307         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14309         [BZ #16032]
14310         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14311         without decrementing exponent if mantissa >= that for the
14312         denominator, not >.
14313         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14314         denominator, not >.  Decrement exponent in < case instead of
14315         incrementing in >= case.
14316         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14317         without decrementing exponent if mantissa >= that for the
14318         denominator, not >.
14320         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14321         computing saturated result for unsigned overflow.
14323 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14324             Jeff Law  <law@redhat.com>
14326         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14327         (atan2Mp): Add systemtap probe marker.
14328         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14329         (__ieee754_log): Add systemtap probe marker.
14330         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14331         (atanMp): Add systemtap probe marker.
14332         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14333         (tanMp): Add systemtap probe marker.
14334         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14335         (__slowexp): Add systemtap probe marker.
14336         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14337         (__slowpow): Add systemtap probe marker.
14338         * manual/probes.texi: Document probes.
14340 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14342         [BZ #15362]
14343         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14344         written.
14345         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14346         written.
14347         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14348         written to buffer but not flushed.
14349         * libio/iofwrite_u.c:  Likewise.
14350         * libio/iopadn.c:  Return bytes returned even if EOF was
14351         encountered.
14352         * libio/iowpadn.c:  Likewise.
14353         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14354         if _IO_padn does not write the whole buffer.
14355         [!COMPILE_WPRINTF] (PAD): Likewise.
14357 2013-10-10  David S. Miller  <davem@davemloft.net>
14359         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14360         directory block.
14362 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14364         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14365         instead of FSF address.
14366         * soft-fp/fixdfti.c: Likewise.
14367         * soft-fp/fixsfti.c: Likewise.
14368         * soft-fp/fixtfti.c: Likewise.
14369         * soft-fp/fixunsdfti.c: Likewise.
14370         * soft-fp/fixunssfti.c: Likewise.
14371         * soft-fp/fixunstfti.c: Likewise.
14372         * soft-fp/floattidf.c: Likewise.
14373         * soft-fp/floattisf.c: Likewise.
14374         * soft-fp/floattitf.c: Likewise.
14375         * soft-fp/floatuntidf.c: Likewise.
14376         * soft-fp/floatuntisf.c: Likewise.
14377         * soft-fp/floatuntitf.c: Likewise.
14378         * soft-fp/trunctfxf2.c: Likewise.
14380         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14381         * soft-fp/fixdfti.c: Likewise.
14382         * soft-fp/fixsfti.c: Likewise.
14383         * soft-fp/fixtfti.c: Likewise.
14384         * soft-fp/fixunsdfti.c: Likewise.
14385         * soft-fp/fixunssfti.c: Likewise.
14386         * soft-fp/fixunstfti.c: Likewise.
14387         * soft-fp/floattidf.c: Likewise.
14388         * soft-fp/floattisf.c: Likewise.
14389         * soft-fp/floattitf.c: Likewise.
14390         * soft-fp/floatuntidf.c: Likewise.
14391         * soft-fp/floatuntisf.c: Likewise.
14392         * soft-fp/floatuntitf.c: Likewise.
14393         * soft-fp/trunctfxf2.c: Likewise.
14395 2013-10-10  David S. Miller  <davem@davemloft.net>
14397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14399 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14401         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14402         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14403         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14404         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14405         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14406         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14407         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14409         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14410         for NaNs before doing comparisons on argument.
14411         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14412         Likewise.
14414 2013-10-10  Will Newton  <will.newton@linaro.org>
14416         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14417         passed to _int_memalign does not overflow.
14419 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14421         * scripts/bench.pl: Add include-sources directive.
14422         * benchtests/README: Update documentation.
14424 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14426         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14427         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14428         instead of FP_INIT_ROUNDMODE.
14429         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14430         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14432         [BZ #16034]
14433         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14434         copy class of input value.
14435         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14436         not handle exceptions.
14437         * soft-fp/negsf2.c (__negsf2): Likewise.
14438         * soft-fp/negtf2.c (__negtf2): Likewise.
14439         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14441 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14443         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14444         semicolon.  From Linux kernel.
14446 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14448         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14450 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14452         [BZ #156]
14453         * manual/socket.texi: Added statement about buffer
14454         for gethostbyname2_r.
14456 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14458         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14459         Use .p2align directive instead, throughout.
14460         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14461         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14462         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14463         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14464         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14465         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14466         * sysdeps/x86_64/strchr.S: Likewise.
14467         * sysdeps/x86_64/strrchr.S: Likewise.
14469 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14471         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14473         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14475         * sysdeps/generic/math_private.h (__mpsin1): Remove
14476         declaration.
14477         (__mpcos1): Likewise.
14478         (__mpsin): New argument __range_reduce.
14479         (__mpcos): Likewise.
14480         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14481         (slow): Use __mpsin and __mpcos.
14482         (slow1): Likewise.
14483         (slow2): Likewise.
14484         (sloww): Likewise.
14485         (sloww1): Likewise.
14486         (sloww2): Likewise.
14487         (bsloww): Likewise.
14488         (bsloww1): Likewise.
14489         (bsloww2): Likewise.
14490         (cslow2): Likewise.
14491         (csloww): Likewise.
14492         (csloww1): Likewise.
14493         (csloww2): Likewise.
14494         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14495         range_reduce.  Merge in __mpsin1.
14496         (__mpcos): Likewise.
14497         (__mpsin1): Remove.
14498         (__mpcos1): Likewise.
14500 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14502         * locale/loadlocale.c (_nl_intern_locale_data): Use
14503         LOCFILE_ALIGNED_P.
14504         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14505         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14506         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14507         obstack data is appropriately aligned.
14508         (obstack_int32_grow_fast): Likewise.
14509         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14510         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14511         (add_locale_uint32_array): Likewise.
14513 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14515         * benchtests/Makefile: Remove ARGLIST and RET variables.
14516         ($(objpfx)bench-%.c): Pass only function name to the script.
14517         * benchtests/README: Update documentation.
14518         * benchtests/acos-inputs: Add new directives.
14519         * benchtests/acosh-inputs: Likewise.
14520         * benchtests/asin-inputs: Likewise.
14521         * benchtests/asinh-inputs: Likewise.
14522         * benchtests/atan-inputs: Likewise.
14523         * benchtests/atanh-inputs: Likewise.
14524         * benchtests/cos-inputs: Likewise.
14525         * benchtests/cosh-inputs: Likewise.
14526         * benchtests/exp-inputs: Likewise.
14527         * benchtests/log-inputs: Likewise.
14528         * benchtests/pow-inputs: Likewise.
14529         * benchtests/rint-inputs: Likewise.
14530         * benchtests/sin-inputs: Likewise.
14531         * benchtests/sinh-inputs: Likewise.
14532         * benchtests/tan-inputs: Likewise.
14533         * benchtests/tanh-inputs: Likewise.
14534         * scripts/bench.pl: Add support for new directives.
14536 2013-10-07  Alan Modra  <amodra@gmail.com>
14538         * README: Fix careless merge.
14540 2013-10-05  Alan Modra  <amodra@gmail.com>
14542         * NEWS: Mention powerpc64le support and bugs fixed.
14543         * README: Both big-endian and little-endian powerpc64 supported.
14545 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14547         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14548         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14549         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14550         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14552 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14554         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14555         match prototype.
14557 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14559         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14560         Move -mhard-float appending from
14561         ports/sysdeps/powerpc/powerpc32/Makefile.
14562         [$(with-fp) = yes] (ASFLAGS): Likewise.
14563         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14564         * sysdeps/powerpc/nofpu: Move directory from
14565         ports/sysdeps/powerpc/nofpu.
14566         * sysdeps/powerpc/soft-fp: Move directory from
14567         ports/sysdeps/powerpc/soft-fp.
14568         * sysdeps/powerpc/powerpc32/405: Move directory from
14569         ports/sysdeps/powerpc/powerpc32/405.
14570         * sysdeps/powerpc/powerpc32/440: Move directory from
14571         ports/sysdeps/powerpc/powerpc32/440.
14572         * sysdeps/powerpc/powerpc32/464: Move directory from
14573         ports/sysdeps/powerpc/powerpc32/464.
14574         * sysdeps/powerpc/powerpc32/476: Move directory from
14575         ports/sysdeps/powerpc/powerpc32/476.
14576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14577         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14579         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14581         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14583         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14585         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14586         * README: Update for powerpc-*-linux-gnu software floating point
14587         support in libc.
14589         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14590         case to powerpc/powerpc32*.
14591         * sysdeps/unix/sysv/linux/configure: Regenerated.
14593         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14594         (_FPU_MASK_OM): Define as 0x04.
14595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14597         0x00c10080.
14598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14599         0x0000003c.
14600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14603         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14604         getcontext_e500.
14605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14606         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14607         setcontext_e500.
14608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14609         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14610         and setcontext_e500.
14612 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14614         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14616 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14618         * manual/threads.texi (Default Thread Attributes): Fix typo.
14620 2013-10-04  Will Newton  <will.newton@linaro.org>
14622         * malloc/Makefile: Add tst-memalign.
14623         * malloc/tst-memalign.c: New file.
14625         * malloc/tst-posix_memalign.c: Add comments.
14626         (do_test): Add comments and call free on all potentially
14627         allocated pointers. Add space after cast.
14629         * malloc/tst-pvalloc.c: Add comments.
14630         (do_test): Add comments and call free on all potentially
14631         allocated pointers. Remove duplicate check for NULL pointer.
14632         Add space after cast.
14634         * malloc/tst-valloc.c: Add comments.
14635         (do_test): Add comments and call free on all potentially
14636         allocated pointers. Remove duplicate check for NULL pointer.
14637         Add space after cast.
14639 2013-10-04  Alan Modra  <amodra@gmail.com>
14641         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14642         Use stdint types in rather than __attribute__((mode())).
14643         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14645 2013-10-04  Alan Modra  <amodra@gmail.com>
14647         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14648         Correct handling of unaligned relocs for little-endian.
14649         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14651 2013-10-04  Alan Modra  <amodra@gmail.com>
14653         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14654         * configure: Regenerate.
14655         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14656         * shlib-versions: Likewise.
14658 2013-10-04  Alan Modra  <amodra@gmail.com>
14660         * string/tester.c (test_memrchr): Increment reported test cycle.
14662 2013-10-04  Alan Modra  <amodra@gmail.com>
14664         * string/test-memcpy.c (do_one_test): When reporting errors, print
14665         string address and don't overrun end of string.
14667 2013-10-04  Alan Modra  <amodra@gmail.com>
14669         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14670         insrdi.  Make better use of reg selection to speed exit slightly.
14671         Schedule entry path a little better.  Remove useless "are we done"
14672         checks on entry to main loop.  Handle wrapping around zero address.
14673         Correct main loop count.  Handle single left-over word from main
14674         loop inline rather than by using loop_small.  Remove extra word
14675         case in loop_small caused by wrong loop count.  Add little-endian
14676         support.
14677         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14678         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14679         cache hint.
14680         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14681         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14682         support.  Avoid rlwimi.
14683         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14685 2013-10-04  Alan Modra  <amodra@gmail.com>
14687         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14688         insrdi.  Formatting.
14689         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14690         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14691         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14692         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14693         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14694         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14696 2013-10-04  Alan Modra  <amodra@gmail.com>
14698         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14699         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14700         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14701         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14702         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14703         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14704         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14705         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14706         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14707         use of regs.  Use power7 mtocrf.  Tidy function tails.
14709 2013-10-04  Alan Modra  <amodra@gmail.com>
14711         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14712         Formatting.  Consistently use rXXX register defines or rN defines.
14713         Use early exit labels that avoid restoring unused non-volatile regs.
14714         Make cr field use more consistent with rWORDn compares.  Rename
14715         regs used as shift registers for unaligned loop, using rN defines
14716         for short lifetime/multiple use regs.
14717         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14718         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14719         addi 1,1,64 to pop stack frame.  Simplify return value code.
14720         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14722 2013-10-04  Alan Modra  <amodra@gmail.com>
14724         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14725         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14726         rather than rlwimi.
14727         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14728         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14729         little-endian support.  Correct typos.
14730         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14731         rather than rlwimi.
14732         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14733         in loop and entry code to keep "and." results.
14734         (strchr): Add little-endian support.  Comment.  Move cntlzd
14735         earlier in tail.
14736         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14738 2013-10-04  Alan Modra  <amodra@gmail.com>
14740         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14741         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14742         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14743         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14745 2013-10-04  Alan Modra  <amodra@gmail.com>
14747         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14748         (rTMP): Define as r11.
14749         (strcmp): Add little-endian support.  Optimise tail.
14750         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14751         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14752         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14753         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14754         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14755         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14756         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14758 2013-10-04  Alan Modra  <amodra@gmail.com>
14760         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14761         little-endian support.  Remove unnecessary "are we done" tests.
14762         Handle "s" wrapping around zero and extremely large "size".
14763         Correct main loop count.  Handle single left-over word from main
14764         loop inline rather than by using small_loop.  Correct comments.
14765         Delete "zero" tail, use "end_max" instead.
14766         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14768 2013-10-04  Alan Modra  <amodra@gmail.com>
14770         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14771         support.  Don't branch over align.
14772         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14773         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14774         support.  Rearrange tmp reg use to suit.  Comment.
14775         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14777 2013-10-04  Alan Modra  <amodra@gmail.com>
14779         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14781 2013-10-04  Alan Modra  <amodra@gmail.com>
14783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14784         conditional form of branch and link when obtaining pc.
14785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14787 2013-10-04  Alan Modra  <amodra@gmail.com>
14789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14790         HIWORD/LOWORD.
14791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14794 2013-10-04  Alan Modra  <amodra@gmail.com>
14796         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14797         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14798         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14799         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14800         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14801         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14802         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14803         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14804         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14805         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14807 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14808             Alistair Popple <alistair@ozlabs.au.ibm.com>
14809             Alan Modra <amodra@gmail.com>
14811         [BZ #15723]
14812         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14813         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14814         _dl_hwcap access for little-endian.
14815         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14816         destroy vmx regs when saving unaligned.
14817         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14818         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14819         destroy vmx regs when saving unaligned.
14821 2013-10-04  Alan Modra  <amodra@gmail.com>
14823         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14824         Don't use a union to pack hi/low value.
14826 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14828         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14829         for little-endian.
14830         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14831         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14832         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14833         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14834         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14836 2013-10-04  Alan Modra  <amodra@gmail.com>
14838         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14839         constants to usual value for .cst8 section, and remove redundant
14840         high address load.
14841         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14842         constant for 0x1p52.  Load little-endian words of double from
14843         correct stack offsets.
14845 2013-10-04  Alan Modra  <amodra@gmail.com>
14847         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14848         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14849         words of double from correct stack offsets.
14850         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14851         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14852         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14853         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14854         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14855         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14856         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14857         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14858         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14859         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14860         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14861         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14862         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14863         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14864         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14865         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14866         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14868 2013-10-04  Alan Modra  <amodra@gmail.com>
14870         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14871         64-bit int/double union.
14872         (_FPU_SETCW): Likewise.
14873         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14874         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14876 2013-10-04  Alan Modra  <amodra@gmail.com>
14878         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14879         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14881 2013-10-04  Alan Modra  <amodra@gmail.com>
14883         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14884         use vector int constants.
14885         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14887 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14889         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14890         array with long long.
14891         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14892         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14893         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14894         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14895         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14896         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14897         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14898         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14899         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14900         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14901         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14902         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14903         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14905 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14907         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14908         (__signbit): Likewise.  Correct for little-endian.
14909         (__signbitl): Call __signbit.
14910         (lrint): Correct for little-endian.
14911         (lrintf): Call lrint.
14913 2013-10-04  Alan Modra  <amodra@gmail.com>
14915         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14916         union 32-bit int array member with 64-bit int array.
14917         (t515, tm256): Double rather than long double.
14918         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14920 2013-10-04  Alan Modra  <amodra@gmail.com>
14922         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14923         Delete.
14924         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14925         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14926         version of math_ldbl.h.
14928 2013-10-04  Alan Modra  <amodra@gmail.com>
14930         [BZ #15734], [BZ #15735]
14931         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14932         all uses of ieee875 long double macros and unions.  Simplify test
14933         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14934         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14935         normalize after ldbl_extract_mantissa, and don't add hidden bit
14936         already handled.  Don't treat low word of ieee854 mantissa like
14937         low word of IBM long double and mask off bit when testing for
14938         zero.
14939         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14940         all uses of ieee875 long double macros and unions.  Simplify tests
14941         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14942         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14943         two1022, instead use their values.  Recognise that tests for large
14944         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14945         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14946         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14947         test for 0.0L and nan.  Correct negation.
14948         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14949         ieee875 long double macros and unions.  Correct output for large
14950         magnitude x.  Correct absolute value calculation.
14951         (__erfcl): Likewise.
14952         * math/libm-test.inc: Add tests for errors discovered in IBM long
14953         double versions of fmodl, remainderl, erfl and erfcl.
14955 2013-10-04  Alan Modra  <amodra@gmail.com>
14957         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14958         all uses of ieee854 long double macros and unions.  Simplify tests
14959         for long doubles that are fully specified by the high double.
14960         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14961         Likewise.
14962         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14963         Remove dead code too.
14964         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14965         (__ieee754_ynl): Likewise.
14966         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14967         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14968         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14969         Remove dead code too.
14970         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14971         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14972         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14973         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14974         Simplify.
14975         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14976         Simplify.
14977         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14978         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14979         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14980         Comment on variable precision.
14981         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14982         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14983         Likewise.
14984         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14985         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14986         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14987         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14988         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14990 2013-10-04  Alan Modra  <amodra@gmail.com>
14992         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14993         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14994         all uses of ieee854 long double macros and unions.
14995         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14996         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14997         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14998         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14999         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15000         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15001         Likewise.
15002         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15003         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15004         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15005         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15006         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15007         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15008         Simplify sign and nan test too.
15009         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15010         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15011         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15012         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15013         Likewise.
15014         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15015         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15016         Likewise.
15017         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15018         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15019         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15020         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15021         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15022         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15024 2013-10-04  Alan Modra  <amodra@gmail.com>
15026         * stdio-common/printf_size.c (__printf_size): Don't use
15027         union ieee854_long_double in fpnum union.
15028         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
15029         signbit macro to retrieve sign from long double.
15030         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15031         retrieve sign from long double.
15032         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15033         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15034         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15035         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15036         * math/test-misc.c (main): Don't use union ieee854_long_double.
15038 2013-10-04  Alan Modra  <amodra@gmail.com>
15040         [BZ #15680]
15041         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15042         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15043         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15044         calculation.  Remove unnecessary test for denormal exponent.
15045         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15046         Correct handling of denormals.  Avoid undefined shift behaviour.
15047         Correct normalisation of low mantissa when low double is denormal.
15048         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15049         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15050         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15051         Correct normalisation of low mantissa.  Test for overflow of high
15052         mantissa and normalise.
15053         (ldbl_nearbyint): Use more readable constant for two52.
15054         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15055         (__mpn_construct_long_double): Fix test for overflow of high
15056         mantissa and correct normalisation.  Avoid undefined shift.
15058 2013-10-04  Alan Modra  <amodra@gmail.com>
15060         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15061         (union ibm_extended_long_double): Define as an array of ieee754_double.
15062         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15063         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15064         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15065         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15066         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15067         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15068         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15069         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15070         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15071         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15072         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15074 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15076         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15077         page size instead of calling getpagesize.
15079         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15080         (LOCFILE_ALIGN_MASK): Likewise.
15081         (LOCFILE_ALIGN_UP): Likewise.
15082         (LOCFILE_ALIGNED_P): Likewise.
15083         * locale/programs/ld-collate.c (collate_output): Use the new
15084         macros instead of __alignof__ (int32_t).
15085         * locale/weight.h (findidx): Likewise.
15087 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15089         [BZ #431]
15090         * manual/string.texi: Fix strncat and wcsncat.
15092 2013-10-03  Brooks Moses  <bmoses@google.com>
15094         [BZ #15915]
15095         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15096         * Makerules: ...here, and adjust associated comments.
15098 2013-10-02  Will Newton  <will.newton@linaro.org>
15100         * malloc/Makefile: Add tst-pvalloc.
15101         * malloc/tst-pvalloc.c: New file.
15103 2013-10-02  Will Newton  <will.newton@linaro.org>
15105         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15106         improve test coverage.
15108 2013-10-02  Will Newton  <will.newton@linaro.org>
15110         * malloc/Makefile: Add tst-posix_memalign.
15111         * malloc/tst-posix_memalign.c: New file.
15113 2013-10-01  Eric Blake  <eblake@redhat.com>
15115         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15116         Use __THROWNL rather than __THROW on static functions.
15118 2013-09-30  Petr Machata  <pmachata@redhat.com>
15120         * elf/elf.h (R_AARCH64_ABS16): New macro.
15121         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15122         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15123         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15124         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15125         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15126         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15127         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15128         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15129         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15130         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15131         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15132         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15133         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15134         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15135         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15136         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15137         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15138         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15139         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15140         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15141         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15142         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15143         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15144         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15145         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15146         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15147         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15148         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15149         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15150         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15151         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15152         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15153         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15154         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15155         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15156         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15157         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15158         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15159         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15160         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15161         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15162         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15163         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15164         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15165         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15166         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15167         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15168         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15169         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15170         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15171         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15172         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15173         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15174         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15175         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15176         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15177         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15178         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15179         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15180         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15181         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15182         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15183         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15184         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15185         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15186         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15187         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15188         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15189         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15190         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15191         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15192         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15193         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15194         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15195         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15196         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15197         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15198         (R_AARCH64_TLSDESC_LDR): Likewise.
15199         (R_AARCH64_TLSDESC_ADD): Likewise.
15200         (R_AARCH64_TLSDESC_CALL): Likewise.
15202 2013-09-30  Andreas Schwab  <schwab@suse.de>
15204         [BZ #15048]
15205         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15206         the nss database lookup.
15207         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15208         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15210 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15212         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15214 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15216         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15217         ${Bash-specific parameter/pattern/string} parameter expansion.
15218         * sysdeps/unix/make-syscalls.sh: Likewise.
15220 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15222         * sysdeps/sh/stackguard-macros.h: New file.
15224 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15227         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15228         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15229         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15230         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15231         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15233 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15235         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15236         Fix thread ID register.
15238 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15240         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15241         [POSIX || UNIX98]: Require rather than permitting all symbols from
15242         <time.h>.
15243         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15244         element of struct sched_param.
15245         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15246         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15247         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15248         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15249         constant.
15251 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15253         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15254         argument calculation.
15256 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15258         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15259         Expect macro.
15260         [POSIX] (pthread_attr_t): Do not require type.
15261         [POSIX] (pthread_cond_t): Likewise.
15262         [POSIX] (pthread_condattr_t): Likewise.
15263         [POSIX] (pthread_key_t): Likewise.
15264         [POSIX] (pthread_mutex_t): Likewise.
15265         [POSIX] (pthread_mutexattr_t): Likewise.
15266         [POSIX] (pthread_once_t): Likewise.
15267         [POSIX] (pthread_t): Likewise.
15268         [POSIX-based standards] (pthread_atfork): Expect function.
15270 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15271             Richard Sandiford  <richard@codesourcery.com>
15273         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15274         (swap_endianness_p): New extern variable.
15275         (set_big_endian): New inline function.
15276         (maybe_swap_uint32): Likewise.
15277         (maybe_swap_uint32_array): Likewise.
15278         (maybe_swap_uint32_obstack): Likewise.
15279         * locale/programs/locfile.c: Include <stdbool.h>.
15280         (swap_endianness_p): New variable.
15281         (add_locale_uint32): Call maybe_swap_uint32.
15282         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15283         (write_locale_data): Call maybe_swap_uint32_array.
15284         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15285         maybe_swap_uint32.
15286         (obstack_int32_grow_fast): Likewise.
15287         (output_weightwc): Call maybe_swap_uint32_obstack.
15288         (collate_output): Likewise.
15289         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15290         (OPT_LITTLE_ENDIAN): Likewise.
15291         (options): Add --little-endian and --big-endian options.
15292         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15293         * locale/programs/locarchive.c: Include "locfile.h".
15294         (GET): New macro.
15295         (SET): Likewise.
15296         (INC): Likewise.
15297         (create_archive): Use the new macros to access fields of
15298         structures directly mapped from or written to locale archives.
15299         (oldlocrecentcmp): Likewise.
15300         (enlarge_archive): Likewise.
15301         (insert_name): Likewise.
15302         (add_alias): Likewise.
15303         (add_locale): Likewise.
15304         (delete_locales_from_archive): Likewise.
15305         (show_archive_content): Likewise.
15306         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15307         locale data.
15309 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15311         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15312         http://www.gnu.org/doc/freemanuals.texi.
15313         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15315 2013-09-24  Will Newton  <will.newton@linaro.org>
15317         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15318         macro.
15320 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15322         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15323         unsigned char.
15325 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15327         * manual/threads.texi (POSIX Threads): Fix a typo.
15329 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15331         [BZ #14547]
15332         * string/tst-strcoll-overflow.c: New test case.
15333         * string/Makefile (xtests): Add tst-strcoll-overflow.
15334         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15335         cache if string sizes may cause integer overflow.
15337         [BZ #14547]
15338         * string/strcoll_l.c (coll_seq): New members rule, idx,
15339         save_idx and back_us.
15340         (get_next_seq_nocache): New function.
15341         (do_compare_nocache): New function.
15342         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15343         when malloc fails.
15345 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15347         [BZ #15754]
15348         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15349         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15350         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15352         [BZ #15754]
15353         * elf/Makefile (tests): Add tst-ptrguard1.
15354         (tests-static): Add tst-ptrguard1-static.
15355         (tst-ptrguard1-ARGS): Define.
15356         (tst-ptrguard1-static-ARGS): Define.
15357         * elf/tst-ptrguard1.c: New file.
15358         * elf/tst-ptrguard1-static.c: New file.
15359         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15360         * sysdeps/i386/stackguard-macros.h: Likewise.
15361         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15362         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15363         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15364         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15365         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15366         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15368 2013-09-23  Hector Marco  <hecmargi@upv.es>
15369             Ismael Ripoll  <iripoll@disca.upv.es>
15370             Carlos O'Donell  <carlos@redhat.com>
15372         [BZ #15754]
15373         * sysdeps/generic/stackguard-macros.h: Define
15374         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15375         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15376         Define __pointer_chk_guard_local.
15377         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15378         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15380 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15382         [BZ #15859]
15383         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15385 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15387         * include/string.h (__ffs): Declare as hidden.
15388         * string/ffs.c (__ffs): Define as hidden.
15389         * sysdeps/i386/ffs.c (__ffs): Likewise.
15390         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15391         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15392         * sysdeps/s390/ffs.c (__ffs): Likewise.
15393         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15395 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15397         * NEWS: Mention malloc probes.
15399         * malloc/arena.c (new_heap): New memory_heap_new probe.
15400         (grow_heap): New memory_heap_more probe.
15401         (shrink_heap): New memory_heap_less probe.
15402         (heap_trim): New memory_heap_free probe.
15403         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15404         (systrim): New memory_sbrk_less probe.
15405         * manual/probes.texi: Document them.
15407         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15408         * manual/probes.texi: Document it.
15410         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15411         (__libc_realloc): Add memory_realloc_retry probe.
15412         (__libc_memalign): Add memory_memalign_retry probe.
15413         (__libc_valloc): Add memory_valloc_retry probe.
15414         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15415         (__libc_calloc): Add memory_calloc_retry probe.
15416         * manual/probes.texi: Document them.
15418         * malloc/arena.c (get_free_list): Add probe
15419         memory_arena_reuse_free_list.
15420         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15421         and memory_arena_reuse.
15422         (arena_get2) [!PER_THREAD]: Likewise.
15423         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15424         memory_arena_reuse_realloc.
15425         * manual/probes.texi: Document them.
15427         * malloc/malloc.c (__libc_free): Add
15428         memory_mallopt_free_dyn_thresholds probe.
15429         (__libc_mallopt): Add multiple memory_mallopt probes.
15430         * manual/probes.texi: Document them.
15432         * malloc/malloc.c: Include stap-probe.h.
15433         (__libc_mallopt): Add memory_mallopt probe.
15434         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15435         * manual/probes.texi: New.
15436         * manual/Makefile (chapters): Add probes.
15437         * manual/threads.texi: Set next node.
15439 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15441         [BZ #15963, #13985]
15442         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15443         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15444         Add `Chinese' to `nan' entry name.
15446 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15448         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15449         (POLYNOMIAL): Likewise.
15450         (TAYLOR_SINCOS): Likewise.
15451         (TAYLOR_SLOW): Likewise.
15452         (__sin): Use TAYLOR_SINCOS.
15453         (__cos): Likewise.
15454         (slow): Use TAYLOR_SLOW.
15455         (sloww): Likewise.
15456         (bsloww): Likewise.
15457         (csloww): Likewise.
15459 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15461         * stdlib/strtod_l.c: Fix buffer overrun.
15463 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15465         * benchtests/Makefile (bench): Add sincos.
15466         * benchtests/bench-sincos.c: New file.
15468         * math/libm-test.inc (cos_test_data): New test inputs.
15469         (sin_test_data): Likewise.
15471         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15472         macro.
15473         (__sin): Use it.
15474         (__cos): Likewise.
15475         (slow1): Likewise.
15476         (slow2): Likewise.
15477         (sloww1): Likewise.
15478         (sloww2): Likewise.
15479         (bsloww1): Likewise.
15480         (bsloww2): Likewise.
15481         (cslow2): Likewise.
15482         (csloww1): Likewise.
15483         (csloww2): Likewise.
15485         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15486         function.
15487         (__sin): Use it.
15488         (__cos): Likewise.
15490         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15491         gotos.
15492         (__cos): Likewise.
15494 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15496         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15497         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15498         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15499         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15500         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15501         * elf/cache.c (print_entry): Handle the new cache flags.
15503 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15504             Aldy Hernandez  <aldyh@redhat.com>
15506         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15507         Change condition to [_SOFT_FLOAT].
15508         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15510         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15520         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15523         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15524         declaration.
15526 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15528         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15529         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15530         (__longjmp): Use LOAD_GP to load saved GPRs.
15531         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15532         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15533         (__sigsetjmp): Use SAVE_GP to save GPRs.
15535         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15536         Do not append -msoft-float.
15537         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15539 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15541         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15543 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15545         [BZ #15966]
15546         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15547         (_FPU_GETCW): Use initial "__" on variable and field names but not
15548         on macro parameter name.
15549         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15550         parentheses around reference to macro parameter.
15552 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15554         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15555         prototype.
15556         (ctype_startup): Use uint32_t in cast and sizeof for
15557         ctype->charnames.
15559 2013-09-11  Jia Liu  <proljc@gmail.com>
15561         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15562         __daddr_t_defined.
15563         [__FreeBSD__]: Likewise.
15565 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15567         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15568         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15569         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15570         (strchr): Remove __strchr_sse42 ifunc selection.
15571         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15572         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15574 2013-09-11  Will Newton  <will.newton@linaro.org>
15576         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15577         parameter to RES. Remove hardcoded 1000 value.
15578         * benchtests/bench-skeleton.c (main): Pass RES parameter
15579         to TIMING_INIT and multiply result by 1000.
15581 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15585 2013-09-11  Andreas Schwab  <schwab@suse.de>
15587         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15588         if not defined.
15589         (O_TMPFILE) [__USE_GNU]: Define.
15590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15591         Define.
15593 2013-09-11  Will Newton  <will.newton@linaro.org>
15595         [BZ #15857]
15596         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15597         does not overflow.
15599 2013-09-11  Will Newton  <will.newton@linaro.org>
15601         [BZ #15856]
15602         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15603         does not overflow.
15605 2013-09-11  Will Newton  <will.newton@linaro.org>
15607         [BZ #15855]
15608         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15609         does not overflow.
15611 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15613         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15614         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15615         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15616         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15617         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15619 2013-09-10  Allan McRae  <allan@archlinux.org>
15621         [BZ #15748]
15622         * manual/arith.texi (Parsing of Floats): Clarify
15623         cross-reference.
15625         [BZ #15849]
15626         * manual/install.texi (Running make install): Mention
15627         --enable-pt-chown.
15628         * INSTALL: Regenerated.
15630 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15632         * csu/init-first.c (_init): Remove the !SHARED condition around
15633         FPU control word initialization.
15634         * elf/dl-support.c (_dl_fpu_control): New variable.
15635         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15636         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15637         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15638         * math/test-fpucw-static.c: New file.
15639         * math/test-fpucw-ieee.c: New file.
15640         * math/test-fpucw-ieee-static.c: New file.
15641         * math/Makefile (tests): Add `test-fpucw-ieee' and
15642         `$(tests-static)'.
15643         (tests-static): New variable.
15644         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15645         dependency to...
15646         [($(build-shared),yes)]
15647         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15648         ... this.
15649         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15650         New dependency.
15652 2013-09-09  Allan McRae  <allan@archlinux.org>
15654         [BZ #15939]
15655         * manual/string.texi (Collation Functions): Fix typo in
15656         strcoll example.
15657         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15659         [BZ #15893]
15660         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15662         [BZ #15892]
15663         * libio/memstream.c (open_memstream): Fix memory leak.
15664         * libio/wmemstream.c (open_wmemstream): Likewise.
15666         [BZ #15895]
15667         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15669 2013-09-09  Will Newton  <will.newton@linaro.org>
15671         * malloc/Makefile: Add tst-realloc to tests.
15672         * malloc/tst-realloc.c: New file.
15674 2013-09-09  Allan McRae  <allan@archlinux.org>
15676         [BZ #15844]
15677         * COPYING: Update from GNU website to fix FSF address.
15678         * COPYING.LIB: Likewise.
15680 2013-09-06  David S. Miller  <davem@davemloft.net>
15682         * po/zh_TW.po: Update Chinese (traditional) translation from
15683         translation project.
15685 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15686             Joseph Myers  <joseph@codesourcery.com>
15688         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15689         "localeinfo.h".
15690         (obstack_chunk_alloc): New macro.
15691         (obstack_chunk_free): Likewise.
15692         (record_offset): New function.
15693         (init_locale_data): Likewise.
15694         (align_locale_data): Likewise.
15695         (add_locale_empty): Likewise.
15696         (add_locale_raw_data): Likewise.
15697         (add_locale_raw_obstack): Likewise.
15698         (add_locale_string): Likewise.
15699         (add_locale_wstring): Likewise.
15700         (add_locale_uint32): Likewise.
15701         (add_locale_uint32_array): Likewise.
15702         (add_locale_char): Likewise.
15703         (start_locale_structure): Likewise.
15704         (end_locale_structure): Likewise.
15705         (start_locale_prelude): Likewise.
15706         (end_locale_prelude): Likewise.
15707         (write_locale_data): Take locale_file structure rather than an
15708         iovec.
15709         * locale/programs/locfile.h: Include "obstack.h".
15710         (struct locale_file): Change to store locale file contents instead
15711         of header.
15712         (init_locale_data): New prototype.
15713         (align_locale_data): Likewise.
15714         (add_locale_empty): Likewise.
15715         (add_locale_raw_data): Likewise.
15716         (add_locale_raw_obstack): Likewise.
15717         (add_locale_string): Likewise.
15718         (add_locale_wstring): Likewise.
15719         (add_locale_uint32): Likewise.
15720         (add_locale_uint32_array): Likewise.
15721         (add_locale_char): Likewise.
15722         (start_locale_structure): Likewise.
15723         (end_locale_structure): Likewise.
15724         (start_locale_prelude): Likewise.
15725         (end_locale_prelude): Likewise.
15726         (write_locale_data): Update prototype.
15727         * locale/programs/3level.h (struct TABLE): Remove result field.
15728         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15729         Use new locale_file interface.
15730         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15731         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15732         * locale/programs/ld-address.c (address_output): Use new
15733         locale_file interface.
15734         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15735         NO_ADD_LOCALE.
15736         (collate_finish): Don't call collseq_table_finalize.
15737         (collate_output): Use new locale_file interface.
15738         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15739         in file.
15740         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15741         (TABLE): Move defines earlier in file.
15742         (ELEMENT): Likewise.
15743         (DEFAULT): Likewise.
15744         (wctrans_table_add): Move macro and inline function earlier in
15745         file.
15746         (struct wctype_table): Move type earlier in file.
15747         (add_locale_wctype_table): New static prototype.
15748         (struct locale_ctype_t): Use logical types instead of struct iovec
15749         pointers for members.
15750         (ctype_output): Use new locale_file interface.
15751         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15752         new locale_file interface.
15753         (allocate_arrays): Update for use of new locale_file interface.
15754         * locale/programs/ld-identification.c (identification_output): Use
15755         new locale_file interface.
15756         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15757         * locale/programs/ld-messages.c (messages_output): Likewise.
15758         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15759         * locale/programs/ld-name.c (name_output): Likewise.
15760         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15761         * locale/programs/ld-paper.c (paper_output): Likewise.
15762         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15763         * locale/programs/ld-time.c (time_output): Likewise.
15765 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15767         * benchtests/Makefile: Add memrchr benchmark.
15768         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15769         benchmark as memrchr.
15770         * benchtests/bench-memrchr-ifunc.c: New file.
15771         * benchtests/bench-memrchr.c: New file.
15773 2013-09-06   Will Newton  <will.newton@linaro.org>
15775         * benchtests/Makefile (string-bench): Add memcpy.
15777 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15778             Cong Wang  <amwang@redhat.com>
15780         [BZ #15850]
15781         * sysdeps/unix/sysv/linux/bits/in.h
15782         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15783         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15784         before __USE_KERNEL_IPV6_DEFS uses.
15785         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15786         IPPROTO_BEETPH.
15787         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15788         sockaddr_in6, or ipv6_mreq.
15790 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15792         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15793         memory access for final bytes in some large inputs.
15794         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15796 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15798         * string/test-memrchr.c: New file.
15799         * string/test-memrchr-ifunc.c: New file.
15800         * string/Makefile: Add new memrchr testcase.
15802 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15804         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15805         fanotify_init returns EPERM.
15807 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15809         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15810         errors.
15811         (top level): Treat second token from macro or constant entries for
15812         allowed headers as allowed.
15813         * include/complex.h: Condition internal declarations on
15814         [!_ISOMAC].
15815         * include/fenv.h: Condition include of <stdbool.h> and internal
15816         declarations on [!_ISOMAC].
15818 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15820         [BZ #15923]
15821         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15823 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15825         * configure.in (--enable-versioning): Remove configure option.
15826         (libc_cv_asm_symver_directive): Remove configure test.
15827         (libc_cv_ld_version_script_option): Likewise.
15828         (VERSIONING): Remove variable and AC_SUBST.
15829         (DO_VERSIONING): Remove AC_DEFINE.
15830         * configure: Regenerated.
15831         * config.h.in (DO_VERSIONING): Remove macro.
15832         * Makerules [$(versioning) = yes]: Change conditionals to
15833         [$(build-shared) = yes].
15834         * config.make.in (versioning): Remove variable.
15835         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15836         [$(build-shared) = yes].
15837         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15838         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15839         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15840         [$(build-shared) = yes].
15841         * extra-lib.mk [$(versioning) = yes]: Likewise.
15842         * hurd/Makefile [$(versioning) = yes]: Likewise.
15843         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15844         [SHARED].
15845         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15846         [SHARED].
15847         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15848         [SHARED && !NO_HIDDEN].
15849         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15850         [SHARED].
15851         [SHARED && DO_VERSIONING]: Likewise..
15852         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15853         [$(build-shared) = yes].
15854         * manual/install.texi (--disable-versioning): Remove
15855         documentation.
15856         * INSTALL: Regenerated.
15857         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15858         to [SHARED].
15859         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15860         [$(build-shared) = yes].
15861         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15862         * sysdeps/i386/i686/multiarch/strstr-c.c
15863         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15864         [SHARED && !NO_HIDDEN].
15865         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15866         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15867         * sysdeps/powerpc/powerpc32/dl-machine.c
15868         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15869         * sysdeps/powerpc/powerpc32/sysdep.h
15870         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15871         to [SHARED && PIC && !NO_HIDDEN].
15872         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15873         conditional to [SHARED].
15875 2013-09-04   Will Newton  <will.newton@linaro.org>
15877         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15878         * benchtests/bench-string.h: Include bench-timing.h instead
15879         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15880         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15881         call to HP_TIMING_DIFF_INIT.
15882         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15883         instead of hp-timing.h macros.
15884         * benchtests/bench-memchr.c: Likewise.
15885         * benchtests/bench-memcmp.c: Likewise.
15886         * benchtests/bench-memcpy.c: Likewise.
15887         * benchtests/bench-memmem.c: Likewise.
15888         * benchtests/bench-memmove.c: Likewise.
15889         * benchtests/bench-memset.c: Likewise.
15890         * benchtests/bench-rawmemchr.c: Likewise.
15891         * benchtests/bench-strcasecmp.c: Likewise.
15892         * benchtests/bench-strcasestr.c: Likewise.
15893         * benchtests/bench-strcat.c: Likewise.
15894         * benchtests/bench-strchr.c: Likewise.
15895         * benchtests/bench-strcmp.c: Likewise.
15896         * benchtests/bench-strcpy.c: Likewise.
15897         * benchtests/bench-strcpy_chk.c: Likewise.
15898         * benchtests/bench-strlen.c: Likewise.
15899         * benchtests/bench-strncasecmp.c: Likewise.
15900         * benchtests/bench-strncat.c: Likewise.
15901         * benchtests/bench-strncmp.c: Likewise.
15902         * benchtests/bench-strncpy.c: Likewise.
15903         * benchtests/bench-strnlen.c: Likewise.
15904         * benchtests/bench-strpbrk.c: Likewise.
15905         * benchtests/bench-strrchr.c: Likewise.
15906         * benchtests/bench-strspn.c: Likewise.
15907         * benchtests/bench-strstr.c: Likewise.
15909 2013-09-04  Will Newton  <will.newton@linaro.org>
15911         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15913 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15915         [BZ #15427]
15916         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15917         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15918         * math/libm-test.inc (lgamma_test_data): Add more tests.
15919         * sysdeps/i386/fpu/libm-test-ulps: Update.
15920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15922 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15924         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15925         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15926         Add ifunc.
15927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15928         Add strcmp-sse2-unaligned
15929         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15931 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15933         * Versions.def (libc): Add GLIBC_2.19.
15935 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15937         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15938         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15940 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15942         [BZ #14155]
15943         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15944         intermediate calculations in recurrence.
15945         (__ieee754_ynf): Likewise.
15946         * math/libm-test.inc (jn_test_data): Do not allow spurious
15947         underflow exception.  Add more tests.
15948         (yn_test_data): Add more tests.
15949         * sysdeps/i386/fpu/libm-test-ulps: Update.
15950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15952 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15954         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15956 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15958         * csu/init-first.c: Fix then/than typos.
15959         * locale/programs/ld-collate.c: Likewise.
15960         * locale/programs/linereader.h: Likewise.
15961         * manual/charset.texi: Likewise.
15962         * manual/filesys.texi: Likewise.
15963         * manual/stdio.texi: Likewise.
15964         * manual/string.texi: Likewise.
15965         * stdlib/fmtmsg.c: Likewise.
15966         * sysdeps/i386/stpncpy.S: Likewise.
15967         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15968         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15969         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15970         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15972 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15974         * elf/dl-open.c: Fix typos.
15975         * iconvdata/gbbig5.c: Likewise.
15976         * iconvdata/iso-2022-jp.c: Likewise.
15977         * iconv/gconv_int.h: Likewise.
15978         * iconv/loop.c: Likewise.
15979         * nis/rpcsvc/nis.h: Likewise.
15980         * resolv/ns_name.c: Likewise.
15981         * stdio-common/vfscanf.c: Likewise.
15982         * streams/stropts.h: Likewise.
15983         * sunrpc/rpc_thread.c: Likewise.
15984         * sysdeps/i386/strpbrk.S: Likewise.
15985         * sysdeps/ieee754/k_standard.c: Likewise.
15986         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15987         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15988         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15989         * sysdeps/mach/hurd/profil.c: Likewise.
15990         * sysdeps/s390/dl-procinfo.h: Likewise.
15991         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15992         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15993         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15994         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15995         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15997 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15999         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16000         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16002 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
16004         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16005         aix specific files.
16006         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16007         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16008         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16009         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16010         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16011         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16012         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16013         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16015 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16016             Roland McGrath  <roland@hack.frob.com>
16018         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16019         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16021 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16023         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16024         __executable_start symbol instead of _start.
16026 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
16028         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16029         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16030         Move macros to...
16031         * sysdeps/gnu/ldsodefs.h: ... this new file.
16033         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16034         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16035         instead of ELFOSABI_LINUX.
16037         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16038         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16039         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16040         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16041         Likewise.
16042         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16043         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16044         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16045         Likewise.
16046         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16047         (ibm_extended_long_double): Add ieee_nan member.
16048         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16049         (do_test): New function.
16051         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16052         TEST_TRUNC.
16053         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16054         functions, renamed from truncdfsf_test, trunctfsf_test,
16055         trunctfdf_test.
16056         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16057         functions.
16058         (do_test): Run all these.
16060 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16062         * argp/argp-help.c: Fix typos.
16063         * argp/argp-parse.c: Likewise.
16064         * debug/backtracesyms.c: Likewise.
16065         * elf/elf.h: Likewise.
16066         * malloc/malloc.c: Likewise.
16067         * nis/nis_print.c: Likewise.
16068         * resolv/res_comp.c: Likewise.
16069         * stdlib/stdlib.h: Likewise.
16070         * sunrpc/clnt_tcp.c: Likewise.
16071         * sunrpc/clnt_udp.c: Likewise.
16072         * sunrpc/clnt_unix.c: Likewise.
16073         * sysdeps/unix/bsd/ptsname.c: Likewise.
16074         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16075         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16077         Likewise.
16078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16079         Likewise.
16080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16081         Likewise.
16082         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16084 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16086         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16089 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16091         [BZ #15897]
16092         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16093         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16094         ($(objpfx)bug-dl-leaf): New rule.
16095         ($(objpfx)bug-dl-leaf.so): Likewise.
16096         ($(objpfx)bug-dl-leaf.out): Likewise.
16097         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16098         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16099         * dlfcn/bug-dl-leaf.c: New test.
16100         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16101         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16102         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16103         (dlclose): Likewise.
16104         (dlmopen): Likewise.
16106 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16108         * include/netdb.h [!_ISOMAC]:
16109         Don't include <tls.h>.
16110         (h_errno, __libc_h_errno): Move declaration and macros out of
16111         [_LIBC_REENTRANT].
16113         * include/resolv.h [_RESOLV_H_]:
16114         Don't include <tls.h>.
16115         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16116         * resolv/res_libc.c: Don't include <tls.h>.
16117         (_res): Use __attribute__ ((nocommon)) in place of
16118         __attribute__ ((section (".bss"))).
16120         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16121         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16123         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16125         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16126         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16128         * resolv/res_mkquery.c: Include <sys/time.h>.
16130         * inet/ifreq.c: Moved to ...
16131         * sysdeps/unix/ifreq.c: ... here.
16132         * inet/ifreq.c: New file, true stub version.
16134         * socket/sa_len.c: New file.
16135         * socket/Makefile (aux): Add it.
16136         * sysdeps/unix/sysv/linux/Makefile
16137         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16138         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16139         and #include <socket/sa_len.c>.
16140         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16141         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16143         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16144         * bits/socket.h: ... here.
16146         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16147         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16148         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16150 2013-08-27  Andreas Schwab  <schwab@suse.de>
16152         [BZ #15736]
16153         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16154         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16155         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16156         * string/test-strcasecmp.c (test_main): Run tests in several
16157         locales.
16158         * string/test-strncasecmp.c (test_main): Likewise.
16160         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16161         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16162         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16163         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16164         (__strncasecmp_ssse3) [PIC]: Likewise.
16166 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16168         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16170         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16171         instead of explicitly declaring xdecrypt.
16172         * nis/nss_nis/nis-publickey.c: Likewise.
16174 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16176         [BZ #15890]
16177         * nscd/aicache.c: Include res_hconf.h.
16178         (addhstaiX): Initialize res_hconf.
16180 2013-08-26  Andreas Schwab  <schwab@suse.de>
16182         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16183         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16185 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16187         * nscd/aicache.c (addhstaiX): Fix indentation.
16189 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16191         * configure.ac: Quote $build_pt_chown test.
16192         * configure: Regenerated.
16194 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16196         [BZ #15532]
16197         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16198         * math/s_cexpf.c (__cexpf): Likewise.
16199         * math/s_cexpl.c (__cexpl): Likewise.
16200         * math/libm-test.inc (cexp_test_data): Correct expected return
16201         value for NaN + i0.  Add another test.
16203 2013-08-22  David S. Miller  <davem@davemloft.net>
16205         * po/ca.po: Update Catalan translation from translation project.
16206         * po/uk.po: Add Ukrainian translations from translation project.
16208 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16210         [BZ #15797]
16211         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16212         is infinite, not alongside NaN test.
16213         * math/s_fdimf.c (__fdimf): Likewise.
16214         * math/s_fdiml.c (__fdiml): Likewise.
16215         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16216         errno is unchanged.
16218 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16220         * argp/argp-help.c: Fix typos.
16221         * crypt/speeds.c: Likewise.
16222         * csu/check_fds.c: Likewise.
16223         * elf/dl-load.c: Likewise.
16224         * elf/dl-open.c: Likewise.
16225         * elf/reldep3.c: Likewise.
16226         * elf/reldep.c: Likewise.
16227         * elf/sprof.c: Likewise.
16228         * iconv/iconv_charmap.c: Likewise.
16229         * iconv/skeleton.c: Likewise.
16230         * iconv/strtab.c: Likewise.
16231         * io/lockf64.c: Likewise.
16232         * libio/libioP.h: Likewise.
16233         * resolv/gai_notify.c: Likewise.
16234         * resolv/ns_name.c: Likewise.
16235         * resolv/ns_samedomain.c: Likewise.
16236         * resolv/res_send.c: Likewise.
16237         * stdlib/random.c: Likewise.
16238         * sunrpc/rpc/xdr.h: Likewise.
16239         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16240         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16241         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16242         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16243         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16244         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16245         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16246         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16247         * sysdeps/mach/hurd/check_fds.c: Likewise.
16248         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16249         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16250         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16251         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16252         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16253         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16254         * sysdeps/pthread/aio_notify.c: Likewise.
16255         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16256         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16257         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16258         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16259         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16261 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16263         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16264         version if bit_Slow_SSE4_2 is set.
16265         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16266         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16268 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16270         [BZ #15867]
16271         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16272         trampoline stack frame information.
16273         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16274         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16275         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16276         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16277         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16278         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16279         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16280         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16281         sa_flags value.
16282         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16283         interrupting a syscall and set with option SA_SIGINFO.
16285 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16287         [BZ #15531]
16288         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16289         argument is infinite.
16290         * math/s_cprojf.c (__cprojf): Likewise.
16291         * math/s_cprojl.c (__cprojl): Likewise.
16292         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16293         * math/libm-test.inc (cproj_test_data): Add more tests.
16295         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16297         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16298         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16299         size.  Use __ffs to determine corresponding shift.
16301 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16302             Roland McGrath  <roland@hack.frob.com>
16304         * Makefile (INSTALL): Remove trailing blank lines from output of
16305         makeinfo.
16307 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16309         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16310         Align 32 bit compat elf_greg to 8 bytes.
16312 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16314         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16316 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16318         * string/strcoll_l.c (coll_seq): New structure.
16319         (get_next_seq_cached): New function.
16320         (get_next_seq): New function.
16321         (do_compare): New function.
16322         (STRCOLL): Use GNU style definition.  Simplify implementation
16323         by using get_next_seq, get_next_seq_cached and do_compare.
16325 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16327         [BZ #14699]
16328         CVE-2013-4237
16329         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16330         member.
16331         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16332         member.
16333         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16334         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16335         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16336         conditional.
16337         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16338         GETDENTS_64BIT_ALIGNED.
16339         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16340         * manual/filesys.texi (Reading/Closing Directory): Document
16341         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16342         strongly.
16343         * manual/conf.texi (Limits for Files): Add portability note to
16344         NAME_MAX, PATH_MAX.
16345         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16347 2013-08-13  Andreas Schwab  <schwab@suse.de>
16349         [BZ #15749]
16350         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16351         of fabs.
16352         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16353         LDBL_MAX_EXP >= 16384]: Add tests for it.
16355 2013-08-12  David S. Miller  <davem@davemloft.net>
16357         * version.h (RELEASE): Set to "development".
16358         (VERSION): Set to "2.18.90".
16359         * NEWS: Add 2.19 section.
16361 2013-08-03  David S. Miller  <davem@davemloft.net>
16363         * po/ko.po: Update Korean translation from translation project.
16365 2013-08-01  David S. Miller  <davem@davemloft.net>
16367         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16368         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16369         Bilka.
16371 2013-07-30  David S. Miller  <davem@davemloft.net>
16373         * po/fr.po: Update French translation from translation project.
16375 2013-07-28  David S. Miller  <davem@davemloft.net>
16377         * po/cs.po: Update Czech translation from translation project.
16379         * po/sv.po: Update Swedish translation from translation project.
16381 2013-07-27  David S. Miller  <davem@davemloft.net>
16383         * po/eo.po: Update Esperanto translation from translation project.
16385         * po/vi.po: Update Vietnamese translation from translation project.
16387         * po/de.po: Update German translation from translation project.
16389 2013-07-26  David S. Miller  <davem@davemloft.net>
16391         * po/bg.po: Update Bulgarian translation from translation project.
16393         * po/nl.po: Update Dutch translation from translation project.
16394         * po/pl.po: Update Polish translation from translation project.
16395         * po/ru.po: Update Russian translation from translation project.
16397 2013-07-24  David S. Miller  <davem@davemloft.net>
16399         * po/libc.pot: Update.
16401 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16403         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16404         variable page size.
16405         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16406         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16407         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16409 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16411         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16413 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16414             Andreas Schwab  <schwab@suse.de>
16415             Roland McGrath  <roland@hack.frob.com>
16416             Joseph Myers  <joseph@codesourcery.com>
16417             Carlos O'Donell  <carlos@redhat.com>
16419         [BZ #15755]
16420         * config.h.in: Define HAVE_PT_CHOWN.
16421         * config.make.in (build-pt-chown): New variable.
16422         * configure.in (--enable-pt_chown): New configure option.
16423         * configure: Regenerate.
16424         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16425         build-pt-chown is enabled.
16426         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16427         pt_chown to fix pty ownership.
16428         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16429         CLOSE_ALL_FDS.
16430         * manual/install.texi (Configuring and compiling): Mention
16431         --enable-pt_chown. Add @findex for grantpt.
16432         * INSTALL: Regenerate.
16434 2013-07-20  David S. Miller  <davem@davemloft.net>
16436         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16437         difference between 32-bit and 64-bit.
16439 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16441         [BZ #15711]
16442         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16443         Avoid system header dependency with -ffreestanding.
16444         ($(objpfx)bits/syscall%d): Likewise.
16446 2013-07-13  David S. Miller  <davem@davemloft.net>
16448         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16449         underflows from atanl/atan2l due to bug 15319.
16450         (casinh_test_data): Likewise.
16452 2013-07-07  David S. Miller  <davem@davemloft.net>
16454         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16456 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16458         * sysdeps/i386/fpu/libm-test-ulps: Update.
16459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16461 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16463         * configure.in (--enable-lock-elision): Fix message text.
16464         * INSTALL: Regenerate.
16465         * configure: Regenerate.
16467 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16471 2013-07-03  Andreas Jaeger  <aj@suse.de>
16473         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16474         define.
16475         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16476         (ptrace_peeksiginfo_args): Add.
16477         (__ptrace_peeksiginfo_flags): Add.
16478         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16479         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16480         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16482 2013-07-03  Allan McRae  <allan@archlinux.org>
16484         * sysdeps/i386/fpu/libm-test-ulps: Update.
16486 2013-07-02  David S. Miller  <davem@davemloft.net>
16488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16490 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16494 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16496         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16499 2013-07-02  Andi Kleen <ak@linux.intel.com>
16501         * config.h.in (ENABLE_LOCK_ELISION): Add.
16502         * configure.in (--enable-lock-elision): Add option.
16503         * manual/install.texi: Document --enable lock elision.
16504         * configure: Regenerate
16505         * INSTALL: Regenerate.
16507 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16509         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16510         SSE4.2 strcasecmp for libc.a.
16511         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16513 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16515         [BZ #13304]
16516         * soft-fp/op-common.h (_FP_FMA): New macro.
16517         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16518         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16519         (_FP_MUL_MEAT_1_imm): ... here.
16520         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16521         (_FP_MUL_MEAT_1_wide): ... here.
16522         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16523         (_FP_MUL_MEAT_1_hard): ... here.
16524         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16525         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16526         (_FP_MUL_MEAT_2_wide): ... here.
16527         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16528         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16529         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16530         (_FP_MUL_MEAT_2_gmp): ... here.
16531         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16532         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16533         (_FP_MUL_MEAT_4_wide): ... here.
16534         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16535         (_FP_MUL_MEAT_4_gmp): ... here.
16536         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16537         (_FP_WFRACBITS_DW_S): Likewise.
16538         (_FP_WFRACXBITS_DW_S): Likewise.
16539         (_FP_HIGHBIT_DW_S): Likewise.
16540         (FP_FMA_S): Likewise.
16541         (_FP_FRAC_HIGH_DW_S): Likewise.
16542         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16543         (_FP_WFRACBITS_DW_D): Likewise.
16544         (_FP_WFRACXBITS_DW_D): Likewise.
16545         (_FP_HIGHBIT_DW_D): Likewise.
16546         (FP_FMA_D): Likewise.
16547         (_FP_FRAC_HIGH_DW_D): Likewise.
16548         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16549         (_FP_WFRACBITS_DW_E): Likewise.
16550         (_FP_WFRACXBITS_DW_E): Likewise.
16551         (_FP_HIGHBIT_DW_E): Likewise.
16552         (FP_FMA_E): Likewise.
16553         (_FP_FRAC_HIGH_DW_E): Likewise.
16554         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16555         (_FP_WFRACBITS_DW_Q): Likewise.
16556         (_FP_WFRACXBITS_DW_Q): Likewise.
16557         (_FP_HIGHBIT_DW_Q): Likewise.
16558         (FP_FMA_Q): Likewise.
16559         (_FP_FRAC_HIGH_DW_Q): Likewise.
16560         * soft-fp/fmasf4.c: New file.
16561         * soft-fp/fmadf4.c: Likewise.
16562         * soft-fp/fmatf4.c: Likewise.
16564 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16567         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16568         Silvermont.
16569         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16570         macro.
16571         (index_Slow_SSE4_2): Likewise.
16572         (index_Prefer_PMINUB_for_stringop): Likewise.
16573         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16574         bit_Slow_SSE4_2 is set.
16575         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16576         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16578 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16580         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16581         rtld_global._dl_hwcap2.
16582         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16583         POWER8.
16584         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16585         POWER8 feature descriptions defined in _dl_hwcap2.
16586         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16587         string handling for POWER8 feature bits.
16588         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16589         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16590         _dl_powerpc_cap_flags.
16591         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16592         * sysdeps/powerpc/rtld-global-offsets.sym
16593         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16594         _dl_hwcap2 in the rtld_global_ro structure.
16596 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16598         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16599         hardware capabilities in support of AT_HWCAP2.
16600         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16601         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16602         GLRO(dl_hwcap2).
16603         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16604         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16605         explicitly the unknown a_type display mechanism is used.
16606         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16607         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16608         struct member.
16609         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16610         to macro prototype for AT_HWCAP2 support.
16611         * sysdeps/i386/dl-procinfo.h: Likewise.
16612         * sysdeps/s390/dl-procinfo.h: Likewise.
16613         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16614         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16615         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16616         return -1 for unknown a_type display fallback.
16617         * sysdeps/sparc/dl-procinfo.h: Likewise.
16618         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16619         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16621 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16623         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16624         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16626 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16628         [BZ #12492]
16629         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16630         mprotect making __stack_prot writable.
16632 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16633             Joseph Myers  <joseph@codesourcery.com>
16635         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16636         as being properly aligned.
16638 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16640         * dlfcn/modstatic5.c: New file.
16641         * dlfcn/tststatic5.c: New file.
16642         * dlfcn/Makefile (tests): Add tststatic5.
16643         (tests-static): Likewise.
16644         (modules-names): Add modstatic5.
16645         (tststatic5-ENV): New variable.
16646         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16648         [BZ #15022]
16649         * elf/dl-support.c (_dl_main_map): New variable.
16650         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16651         (_dl_nns, _dl_load_adds): Set to 1.
16652         (_dl_initial_searchlist): Refer to _dl_main_map.
16653         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16654         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16655         call to _dl_get_origin.
16656         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16657         around call_map.
16658         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16659         * dlfcn/modstatic3.c: New file.
16660         * dlfcn/tststatic3.c: New file.
16661         * dlfcn/tststatic4.c: New file.
16662         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16663         (tests-static): Likewise.
16664         (modules-names): Add modstatic3.
16665         (tststatic3-ENV, tststatic4-ENV): New variables.
16666         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16667         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16669 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16671         * configure.in (CC): Require GCC version 4.4 or later.
16672         * configure: Regenerated.
16673         * manual/install.texi (Tools for Compilation): Update GCC version
16674         requirement.
16675         * INSTALL: Regenerated.
16677 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16679         [BZ #15674]
16680         * string/test-memcmp.c (check2): New.
16681         (main): Call check2.
16683         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16685 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16687         [BZ #15022]
16688         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16689         over to...
16690         (dl_open_worker) [!SHARED]: ... here.
16692 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16694         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16696 2013-06-25  Richard Henderson  <rth@redhat.com>
16698         * locale/programs/locarchive.c: Include <libc-internal.h>
16700 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16702         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16703         trailing whitespace removed.
16705 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16707         [BZ #10283]
16708         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16709         * locale/programs/locarchive.c: Include libc-mmap.h.
16710         (prepare_address_space): Take two new outputs (the mmap base and len).
16711         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16712         values.
16713         (create_archive): Declare new mmap base and len values for
16714         prepare_address_space, and store the result in ah.
16715         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16716         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16717         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16718         Declare new mmap base and len values for
16719         prepare_address_space, and store the result in new_ah.
16720         (open_archive): Declare new mmap base and len values for
16721         prepare_address_space, and store the result in ah.
16722         (close_archive): If ah->mmap_base is not NULL, use that and
16723         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16724         * sysdeps/generic/libc-mmap.h: New file.
16726 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16728         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16729         (ALIGN_UP): Likewise.
16730         (PTR_ALIGN_DOWN): Likewise.
16731         (PTR_ALIGN_UP): Likewise.
16733 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16735         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16736         entry mapped to PPC_PLATFORM_POWER8.
16737         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16738         POWER8.
16739         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16740         (_dl_string_platform): Add case for exporting platform position for
16741         POWER8.
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16743         search path to sysdeps/powerpc/powerpc32/power8 directory.
16744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16745         search path to sysdeps/powerpc/powerpc64/power8 directory.
16746         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16747         power7 directories.
16748         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16749         power7 directories.
16751 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16753         * INSTALL: Regenerate.
16755         * nscd/connections.c (nscd_init): Fix comment.
16757 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16759         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16761         [BZ #15667]
16762         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16763         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16765 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16767         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16768         DL_DST_REQ_STATIC.
16769         (DL_DST_REQ_STATIC): Remove macro.
16771 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16773         [BZ #7006]
16774         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16775         with a shift of 0 bits.
16777 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16779         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16780         $(tststatic-ENV).
16782 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16784         [BZ #15655]
16785         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16787 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16789         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16790         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16791         accepts -fno-tree-loop-distribute-patterns.
16792         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16793         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16794         recursive call.
16795         * string/memset.c (memset): Likewise.
16796         * string/test-memmove.c (simple_memmove): Disable loop transformation
16797         to library calls.
16798         * string/test-memset.c (simple_memset): Likewise.
16799         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16800         * benchtests/bench-memset.c (simple_memset): Likewise.
16801         * configure: Regenerated.
16803 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16805         * math/test-misc.c (main): Ignore fesetround failure when failures
16806         of subsequent rounding tests would be ignored.
16808         [BZ #15654]
16809         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16810         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16811         * math/fegetenv.c (__fegetenv): Return 0.
16812         * math/fegetexcept.c (fegetexcept): Return 0.
16813         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16814         FE_TONEAREST.
16815         * math/feholdexcpt.c (feholdexcept): Return 0.
16816         * math/fesetenv.c (__fesetenv): Return 0.
16817         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16818         argument FE_TONEAREST.
16819         * math/feupdateenv.c (__feupdateenv): Return 0.
16820         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16822 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16824         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16825         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16826         ($(objpfx)rtld-%.os rules): Use them.
16828 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16830         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16831         fields.
16833 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16835         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16836         length of target pattern, then descending length of dependency pattern.
16837         * configure.in (AWK): Require gawk 3.1.2 or newer.
16838         * manual/install.texi (Tools for Compilation): Say that we do.
16839         * configure: Regenerated.
16841         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16842         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16843         * scripts/sysd-rules.awk: ... this new script.
16844         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16845         than a glob-style pattern.
16847 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16849         * math/test-misc.c (main): Do not treat incorrectly rounded
16850         conversions as failure unless ROUNDING_TESTS passes.
16852 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16854         [BZ #15631]
16855         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16856         restore exception state around main square root computation, then
16857         check for inexactness explicitly.
16859         * math/libm-test.inc (fma_test_data): Add another test.
16861 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16863         * manual/threads.texi (Non-POSIX Extensions): New document
16864         node.  Document pthread_getattr_default_np and
16865         pthread_setattr_default_np.
16867         * Versions.def (libpthread): Add GLIBC_2.18.
16868         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16870         Likewise.
16871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16872         Likewise.
16873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16874         Likewise.
16875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16876         Likewise.
16877         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16878         Likewise.
16879         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16880         Likewise.
16881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16882         Likewise.
16883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16884         Likewise.
16885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16886         Likewise.
16888 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16890         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16891         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16893 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16894             H.J. Lu  <hjl.tools@gmail.com>
16896         [BZ #15627]
16897         * sysdeps/x86_64/rtld-memset.c: Remove file.
16898         * sysdeps/x86_64/rtld-memset.S: New file.
16900 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16902         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16903         (test_in_one_mode): Take arguments for whether the rounding mode
16904         is supported for each floating-point type.
16905         (do_test): Pass new arguments to test_in_one_mode using
16906         ROUNDING_TESTS.
16908 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16910         * posix/tst-waitid.c (do_test): Distinguish different instances of
16911         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16912         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16913         before entering the kernel for waitpid.
16915 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16917         * NEWS: Fix note on clock function precision.  Text by Roland
16918         McGrath.
16920 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16922         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16923         it into place only when and if the sanity check passes.
16925 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16927         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16928         output for whether conversion result is exact.  Take argument
16929         indicating whether type is IBM long double.
16930         (round_for_all): Change need_exact field to ibm_ld.
16931         * stdlib/tst-strtod-round.c (struct exactness): New type.
16932         (struct test): Change bool ld_ok field to struct exactness exact.
16933         (TEST): Update all definitions for change to field.
16934         (tests): Regenerate array contents.
16935         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16936         field value.  Check for IBM long double here.
16937         (do_test): Update calls to test_in_one_mode.
16939 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16941         [BZ #12515]
16942         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16943         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16945 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16947         [BZ #15605]
16948         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16949         generated by the compiler on loop optimizations.
16950         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16951         general definitions.
16953 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16955         * math/bug-nextafter.c: Include <math-tests.h>.
16956         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16957         the relevant type.
16958         * math/bug-nexttoward.c: Include <math-tests.h>.
16959         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16960         the relevant type.
16961         * math/test-misc.c: Include <math-tests.h>.
16962         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16963         the relevant type.
16965 2013-06-12  Andreas Jaeger  <aj@suse.de>
16967         * po/ia.po: Update Interlingua translation from translation
16968         project.
16970 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16972         * include/fenv.h: Include stdbool.h.
16973         (struct rm_ctx): New structure.
16974         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16975         Define macro.
16976         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16977         (SET_RESTORE_ROUNDF): Likewise.
16978         (SET_RESTORE_ROUNDL): Likewise.
16979         (SET_RESTORE_ROUND_NOEX): Likewise.
16980         (SET_RESTORE_ROUND_NOEXF): Likewise.
16981         (SET_RESTORE_ROUND_NOEXL): Likewise.
16982         (SET_RESTORE_ROUND_53BIT): Likewise.
16983         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16984         (libc_feresetround_noexf_ctx): Likewise.
16985         (libc_feresetround_noexl_ctx): Likewise.
16986         (libc_feholdsetround_53bit_ctx): Likewise.
16987         (libc_feresetround_53bit_ctx): Likewise.
16988         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16989         (libc_feholdexcept_setround_sse_ctx): New function.
16990         (libc_fesetenv_sse_ctx): Likewise.
16991         (libc_feupdateenv_sse_ctx): Likewise.
16992         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16993         (libc_feholdexcept_setround_387_ctx): Likewise.
16994         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16995         (libc_feholdsetround_387_prec_ctx): Likewise.
16996         (libc_feholdsetround_387_ctx): Likewise.
16997         (libc_feholdsetround_387_53bit_ctx): Likewise.
16998         (libc_feholdsetround_sse_ctx): Likewise.
16999         (libc_feresetround_sse_ctx): Likewise.
17000         (libc_feresetround_387_ctx): Likewise.
17001         (libc_feupdateenv_387_ctx): Likewise.
17002         (libc_feholdexcept_setroundf_ctx): Define macro.
17003         (libc_fesetenvf_ctx): Likewise.
17004         (libc_feupdateenvf_ctx): Likewise.
17005         (libc_feholdsetroundf_ctx): Likewise.
17006         (libc_feresetroundf_ctx): Likewise.
17007         (libc_feholdexcept_setround_ctx): Likewise.
17008         (libc_fesetenv_ctx): Likewise.
17009         (libc_feupdateenv_ctx): Likewise.
17010         (libc_feholdsetround_ctx): Likewise.
17011         (libc_feresetround_ctx): Likewise.
17012         (libc_feholdexcept_setroundl_ctx): Likewise.
17013         (libc_feupdateenvl_ctx): Likewise.
17014         (libc_feholdsetroundl_ctx): Likewise.
17015         (libc_feresetroundl_ctx): Likewise.
17016         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17017         (libc_feresetround_53bit_ctx): Likewise.
17019 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17021         * locale/iso-639.def: Convert to UTF-8.
17023 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
17025         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17026         (EXCEPTION_TESTS_double): Likewise.
17027         (EXCEPTION_TESTS_long_double): Likewise.
17028         (EXCEPTION_TESTS): Likewise.
17029         * math/libm-test.inc (test_exceptions): Only test exceptions if
17030         EXCEPTION_TESTS (FLOAT).
17032 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17034         * benchtests/Makefile (string-bench): Add strcpy_chk and
17035         stpcpy_chk.
17036         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17037         * benchtests/bench-stpcpy_chk.c: New file.
17038         * benchtests/bench-strcpy_chk-ifunc.c: New file.
17039         * benchtests/bench-strcpy_chk.c: New file.
17040         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17041         code.
17042         (do_test): Likewise.
17044 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17046         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17047         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17048         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17049         with tabs where appropriate.
17050         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17051         dl-procinfo.h.
17052         [PPC_PLATFORM_PPC440]: Likewise.
17053         [PPC_PLATFORM_PPC464]: Likewise.
17054         [PPC_PLATFORM_PPC476]: Likewise.
17055         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17056         ppc464, and ppc476 platform strings merging from ports/
17057         dl-procinfo.h.
17059 2013-06-11  Andreas Schwab  <schwab@suse.de>
17061         [BZ #14991]
17062         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17063         (from_ucs4_idx): Regenerate.
17064         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17065         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17066         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17067         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17068         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17069         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17070         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17071         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17072         from FROM_LOOP and TO_LOOP specific macros.
17073         (BODY): Handle combining characters.
17074         * iconvdata/BIG5HKSCS.irreversible: Update.
17075         * iconvdata/BIG5HKSCS.precomposed: New file.
17076         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17077         characters.
17078         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17080 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17082         * include/sys/time.h: Fix indentation and add copyright header.
17084         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17085         (do_test): Likewise.
17086         * string/test-memchr.c (do_one_test): Likewise.
17087         (do_test): Likewise.
17088         * string/test-memcmp.c (do_one_test): Likewise.
17089         (do_test): Likewise.
17090         * string/test-memcpy.c (do_one_test): Likewise.
17091         (do_test): Likewise.
17092         * string/test-memmem.c (do_one_test): Likewise.
17093         (do_test): Likewise.
17094         (do_random_tests): Likewise.
17095         * string/test-memmove.c (do_one_test): Likewise.
17096         (do_test): Likewise.
17097         * string/test-memset.c (do_one_test): Likewise.
17098         (do_test): Likewise.
17099         * string/test-rawmemchr.c (do_one_test): Likewise.
17100         (do_test): Likewise.
17101         * string/test-strcasecmp.c (do_one_test): Likewise.
17102         (do_test): Likewise.
17103         * string/test-strcasestr.c (do_one_test): Likewise.
17104         (do_test): Likewise.
17105         * string/test-strcat.c (do_one_test): Likewise.
17106         (do_test): Likewise.
17107         * string/test-strchr.c (do_one_test): Likewise.
17108         (do_test): Likewise.
17109         * string/test-strcmp.c (do_one_test): Likewise.
17110         (do_test): Likewise.
17111         * string/test-strcpy.c (do_one_test): Likewise.
17112         (do_test): Likewise.
17113         * string/test-string.h: Likewise.
17114         (test_init): Likewise.
17115         * string/test-strlen.c (do_one_test): Likewise.
17116         (do_test): Likewise.
17117         * string/test-strncasecmp.c (do_one_test): Likewise.
17118         (do_test): Likewise.
17119         * string/test-strncat.c (do_one_test): Likewise.
17120         (do_test): Likewise.
17121         * string/test-strncmp.c (do_one_test): Likewise.
17122         (do_test_limit): Likewise.
17123         (do_test): Likewise.
17124         * string/test-strncpy.c (do_one_test): Likewise.
17125         (do_test): Likewise.
17126         * string/test-strnlen.c (do_one_test): Likewise.
17127         (do_test): Likewise.
17128         * string/test-strpbrk.c (do_one_test): Likewise.
17129         (do_test): Likewise.
17130         * string/test-strrchr.c (do_one_test): Likewise.
17131         (do_test): Likewise.
17132         * string/test-strspn.c (do_one_test): Likewise.
17133         (do_test): Likewise.
17134         * string/test-strstr.c (do_one_test): Likewise.
17135         (do_test): Likewise.
17137         * benchtests/Makefile (string-bench): Add string benchmarks.
17138         * benchtests/bench-bcopy-ifunc.c: New file.
17139         * benchtests/bench-bcopy.c: New file.
17140         * benchtests/bench-bzero-ifunc.c: New file.
17141         * benchtests/bench-bzero.c: New file.
17142         * benchtests/bench-memccpy-ifunc.c: New file.
17143         * benchtests/bench-memccpy.c: New file.
17144         * benchtests/bench-memchr-ifunc.c: New file.
17145         * benchtests/bench-memchr.c: New file.
17146         * benchtests/bench-memcmp-ifunc.c: New file.
17147         * benchtests/bench-memcmp.c: New file.
17148         * benchtests/bench-memmem-ifunc.c: New file.
17149         * benchtests/bench-memmem.c: New file.
17150         * benchtests/bench-memmove-ifunc.c: New file.
17151         * benchtests/bench-memmove.c: New file.
17152         * benchtests/bench-mempcpy-ifunc.c: New file.
17153         * benchtests/bench-mempcpy.c: New file.
17154         * benchtests/bench-memset-ifunc.c: New file.
17155         * benchtests/bench-memset.c: New file.
17156         * benchtests/bench-rawmemchr-ifunc.c: New file.
17157         * benchtests/bench-rawmemchr.c: New file.
17158         * benchtests/bench-stpcpy-ifunc.c: New file.
17159         * benchtests/bench-stpcpy.c: New file.
17160         * benchtests/bench-stpncpy-ifunc.c: New file.
17161         * benchtests/bench-stpncpy.c: New file.
17162         * benchtests/bench-strcasecmp-ifunc.c: New file.
17163         * benchtests/bench-strcasecmp.c: New file.
17164         * benchtests/bench-strcasestr-ifunc.c: New file.
17165         * benchtests/bench-strcasestr.c: New file.
17166         * benchtests/bench-strcat-ifunc.c: New file.
17167         * benchtests/bench-strcat.c: New file.
17168         * benchtests/bench-strchr-ifunc.c: New file.
17169         * benchtests/bench-strchr.c: New file.
17170         * benchtests/bench-strchrnul-ifunc.c: New file.
17171         * benchtests/bench-strchrnul.c: New file.
17172         * benchtests/bench-strcmp-ifunc.c: New file.
17173         * benchtests/bench-strcmp.c: New file.
17174         * benchtests/bench-strcpy-ifunc.c: New file.
17175         * benchtests/bench-strcpy.c: New file.
17176         * benchtests/bench-strcspn-ifunc.c: New file.
17177         * benchtests/bench-strcspn.c: New file.
17178         * benchtests/bench-strlen-ifunc.c: New file.
17179         * benchtests/bench-strlen.c: New file.
17180         * benchtests/bench-strncasecmp-ifunc.c: New file.
17181         * benchtests/bench-strncasecmp.c: New file.
17182         * benchtests/bench-strncat-ifunc.c: New file.
17183         * benchtests/bench-strncat.c: New file.
17184         * benchtests/bench-strncmp-ifunc.c: New file.
17185         * benchtests/bench-strncmp.c: New file.
17186         * benchtests/bench-strncpy-ifunc.c: New file.
17187         * benchtests/bench-strncpy.c: New file.
17188         * benchtests/bench-strnlen-ifunc.c: New file.
17189         * benchtests/bench-strnlen.c: New file.
17190         * benchtests/bench-strpbrk-ifunc.c: New file.
17191         * benchtests/bench-strpbrk.c: New file.
17192         * benchtests/bench-strrchr-ifunc.c: New file.
17193         * benchtests/bench-strrchr.c: New file.
17194         * benchtests/bench-strspn-ifunc.c: New file.
17195         * benchtests/bench-strspn.c: New file.
17196         * benchtests/bench-strstr-ifunc.c: New file.
17197         * benchtests/bench-strstr.c: New file.
17199         * benchtests/Makefile: Disable parallel execution of targets.
17200         (string-bench): Add memcpy.
17201         (benchset): New variable to store a list of benchmark sets.
17202         (bench-func): Renamed from bench.
17203         (bench-set): New target.
17204         (bench): Depend on bench-func and bench-set.
17205         * benchtests/README: Add section on benchmark sets.
17206         * benchtests/bench-memcpy-ifunc.c: New file.
17207         * benchtests/bench-memcpy.c: New file.
17208         * benchtests/bench-string.h: New file.
17210 2013-06-11  Andreas Schwab  <schwab@suse.de>
17212         [BZ #15577]
17213         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17214         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17215         values in the triple.
17216         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17217         terminator in the group key.
17219 2013-06-11  Andreas Jaeger  <aj@suse.de>
17221         * po/zh_TW.po: Update Chinese (traditional) translation from
17222         translation project.
17224 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17226         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17227         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17228         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17229         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17230         (clock_getcpuclockid): Likewise.
17231         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17232         Add weak_alias and libc_hidden_def.
17233         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17234         * rt/clock_gettime.c (clock_gettime): Rename to
17235         __clock_gettime.  Add weak_alias and libc_hidden_def.
17236         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17237         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17238         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17239         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17240         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17241         Likewise.
17242         * rt/clock_settime.c (clock_settime): Rename to
17243         __clock_settime.  Add weak_alias and libc_hidden_def.
17244         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17246 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17248         * mach/err_boot.sub: Remove trailing whitespace.
17249         * mach/err_ipc.sub: Likewise.
17250         * mach/err_mach.sub: Likewise.
17252         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17253         (ROUNDING_TESTS_double): Likewise.
17254         (ROUNDING_TESTS_long_double): Likewise.
17255         (ROUNDING_TESTS): Likewise.
17256         * math/libm-test.inc: Include <math-tests.h>.
17257         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17258         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17259         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17260         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17262 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17264         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17265         of assigning.
17267 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17269         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17270         otherwise empty TRANS lines.
17271         * sysdeps/gnu/errlist.c: Regenerated.
17273         * catgets/gencat.c (error_print): Use (void) in function
17274         definition.
17275         * crypt/crypt_util.c (__init_des): Likewise.
17276         * crypt/speeds.c (Stop): Likewise.
17277         (main): Likewise.
17278         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17279         * inet/ruserpass.c (token): Likewise.
17280         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17281         * intl/localealias.c (extend_alias_table): Likewise.
17282         * intl/plural-exp.c (init_germanic_plural): Likewise.
17283         * libio/fcloseall.c (__fcloseall): Likewise.
17284         * libio/genops.c (_IO_flush_all): Likewise.
17285         (_IO_flush_all_linebuffered): Likewise.
17286         (_IO_cleanup): Likewise.
17287         (_IO_iter_begin): Likewise.
17288         (_IO_iter_end): Likewise.
17289         (_IO_list_lock): Likewise.
17290         (_IO_list_unlock): Likewise.
17291         (_IO_list_resetlock): Likewise.
17292         * libio/getchar.c (getchar): Likewise.
17293         * libio/getchar_u.c (getchar_unlocked): Likewise.
17294         * libio/getwchar.c (getwchar): Likewise.
17295         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17296         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17297         * login/getpt.c (__getpt): Likewise.
17298         * login/tst-utmp.c (main): Likewise.
17299         * malloc/hooks.c (__malloc_check_init): Likewise.
17300         * malloc/malloc.c (__malloc_stats): Likewise.
17301         * malloc/mtrace.c (tr_break): Likewise.
17302         (mtrace): Likewise.
17303         (muntrace): Likewise.
17304         * misc/fstab.c (endfsent): Likewise.
17305         * misc/getclktck.c (__getclktck): Likewise.
17306         * misc/getdtsz.c (__getdtablesize): Likewise.
17307         * misc/gethostid.c (gethostid): Likewise.
17308         * misc/getpagesize.c (__getpagesize): Likewise.
17309         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17310         (__get_nprocs): Likewise.
17311         (__get_phys_pages): Likewise.
17312         (__get_avphys_pages): Likewise.
17313         * misc/getttyent.c (getttyent): Likewise.
17314         (setttyent): Likewise.
17315         (endttyent): Likewise.
17316         * misc/getusershell.c (getusershell): Likewise.
17317         (endusershell): Likewise.
17318         (setusershell): Likewise.
17319         (initshells): Likewise.
17320         * misc/hsearch.c (__hdestroy): Likewise.
17321         * misc/sync.c (sync): Likewise.
17322         * misc/syslog.c (closelog_internal): Likewise.
17323         (closelog): Likewise.
17324         * misc/ttyslot.c (ttyslot): Likewise.
17325         * misc/vhangup.c (vhangup): Likewise.
17326         * posix/fork.c (__fork): Likewise.
17327         * posix/getegid.c (__getegid): Likewise.
17328         * posix/geteuid.c (__geteuid): Likewise.
17329         * posix/getgid.c (__getgid): Likewise.
17330         * posix/getpid.c (__getpid): Likewise.
17331         * posix/getppid.c (__getppid): Likewise.
17332         * posix/getuid.c (__getuid): Likewise.
17333         * posix/pause.c (pause): Likewise.
17334         * posix/setpgrp.c (setpgrp): Likewise.
17335         * posix/setsid.c (__setsid): Likewise.
17336         * posix/test-vfork.c (noop): Likewise.
17337         * resolv/gethnamaddr.c (_endhtent): Likewise.
17338         (_gethtent): Likewise.
17339         (ht_endhostent): Likewise.
17340         (gethostent): Likewise.
17341         (dns_service): Likewise.
17342         * stdlib/drand48.c (drand48): Likewise.
17343         * stdlib/lrand48.c (lrand48): Likewise.
17344         * stdlib/mrand48.c (mrand48): Likewise.
17345         * stdlib/rand.c (rand): Likewise.
17346         * stdlib/random.c (__random): Likewise.
17347         * stdlib/setenv.c (clearenv): Likewise.
17348         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17349         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17350         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17351         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17352         (__get_nprocs): Likewise.
17353         (__get_phys_pages): Likewise.
17354         (__get_avphys_pages): Likewise.
17355         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17356         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17357         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17358         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17359         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17360         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17361         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17362         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17363         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17364         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17365         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17366         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17367         * sysdeps/posix/clock.c (clock): Likewise.
17368         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17369         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17370         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17371         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17372         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17373         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17374         (__get_nprocs_conf): Likewise.
17375         (__get_phys_pages): Likewise.
17376         (__get_avphys_pages): Likewise.
17377         * time/clock.c (clock): Likewise.
17378         * time/tzset.c (__tzname_max): Likewise.
17380 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17382         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17383         (__bswap_32): Do not use "register".
17384         * crypt/crypt.c (_ufc_doit_r): Likewise.
17385         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17386         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17387         * gmon/gmon.c (__monstartup): Likewise.
17388         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17389         * hurd/hurdmalloc.c (more_memory): Likewise.
17390         (malloc): Likewise.
17391         (free): Likewise.
17392         (realloc): Likewise.
17393         (malloc_fork_prepare): Likewise.
17394         (malloc_fork_parent): Likewise.
17395         (malloc_fork_child): Likewise.
17396         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17397         (_svcauth_des): Likewise.
17398         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17399         * inet/inet_net.c (inet_network): Likewise.
17400         * inet/inet_netof.c (inet_netof): Likewise.
17401         * inet/rcmd.c (__validuser2_sa): Likewise.
17402         * io/fts.c (fts_open): Likewise.
17403         (fts_load): Likewise.
17404         (fts_close): Likewise.
17405         (fts_read): Likewise.
17406         (fts_children): Likewise.
17407         (fts_build): Likewise.
17408         (fts_stat): Likewise.
17409         (fts_sort): Likewise.
17410         (fts_alloc): Likewise.
17411         (fts_lfree): Likewise.
17412         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17413         (_IO_file_xsgetn): Likewise.
17414         (_IO_file_xsgetn_mmap): Likewise.
17415         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17416         (_IO_cookie_write): Likewise.
17417         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17418         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17419         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17420         * malloc/obstack.c (_obstack_begin): Likewise.
17421         (_obstack_begin_1): Likewise.
17422         (_obstack_newchunk): Likewise.
17423         (_obstack_allocated_p): Likewise.
17424         (obstack_free): Likewise.
17425         (_obstack_memory_used): Likewise.
17426         * misc/getttyent.c (getttynam): Likewise.
17427         (getttyent): Likewise.
17428         (skip): Likewise.
17429         (value): Likewise.
17430         * misc/getusershell.c (initshells): Likewise.
17431         * misc/syslog.c (__vsyslog_chk): Likewise.
17432         * misc/ttyslot.c (ttyslot): Likewise.
17433         * nis/nis_hash.c (__nis_hash): Likewise.
17434         * posix/fnmatch_loop.c (FCT): Likewise.
17435         * posix/getconf.c (print_all): Likewise.
17436         (main): Likewise.
17437         * posix/getopt.c (exchange): Likewise.
17438         * posix/glob.c (globfree): Likewise.
17439         (prefix_array): Likewise.
17440         (__glob_pattern_type): Likewise.
17441         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17442         (NS_GET32): Likewise.
17443         (NS_PUT16): Likewise.
17444         (NS_PUT32): Likewise.
17445         * resolv/gethnamaddr.c (getanswer): Likewise.
17446         (gethostbyname2): Likewise.
17447         (gethostbyaddr): Likewise.
17448         (_gethtent): Likewise.
17449         (_gethtbyname2): Likewise.
17450         (_gethtbyaddr): Likewise.
17451         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17452         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17453         * resolv/res_init.c (__res_vinit): Likewise.
17454         (net_mask): Likewise.
17455         * resolv/res_mkquery.c (outchar): Likewise.
17456         (PRINT): Likewise.
17457         * stdio-common/printf_fp.c (outchar): Likewise.
17458         (PRINT): Likewise.
17459         * stdio-common/printf_fphex.c (outchar): Likewise.
17460         (PRINT): Likewise.
17461         * stdio-common/printf_size.c (outchar): Likewise.
17462         (PRINT): Likewise.
17463         * stdio-common/test_rdwr.c (main): Likewise.
17464         * stdio-common/tfformat.c (matches): Likewise.
17465         * stdio-common/vfprintf.c (outchar): Likewise.
17466         (printf_unknown): Likewise.
17467         (buffered_vfprintf): Likewise.
17468         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17469         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17470         (ReadFile): Likewise.
17471         * stdlib/qsort.c (SWAP): Likewise.
17472         (_quicksort): Likewise.
17473         * stdlib/setenv.c (__add_to_environ): Likewise.
17474         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17475         * stdlib/strtol_l.c (__strtol_l): Likewise.
17476         * stdlib/tst-strtod.c (main): Likewise.
17477         * stdlib/tst-strtol.c (main): Likewise.
17478         * stdlib/tst-strtoll.c (main): Likewise.
17479         * string/bits/string2.h (__strcmp_cc): Likewise.
17480         (__strcmp_cg): Likewise.
17481         (__strcspn_c1): Likewise.
17482         (__strcspn_c2): Likewise.
17483         (__strcspn_c3): Likewise.
17484         (__strspn_c1): Likewise.
17485         (__strspn_c2): Likewise.
17486         (__strspn_c3): Likewise.
17487         (__strsep_1c): Likewise.
17488         (__strsep_2c): Likewise.
17489         (__strsep_3c): Likewise.
17490         * string/memccpy.c (__memccpy): Likewise.
17491         * string/stpcpy.c (__stpcpy): Likewise.
17492         * string/strcmp.c (strcmp): Likewise.
17493         * string/strrchr.c (strrchr): Likewise.
17494         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17495         Likewise.
17496         * sysdeps/mach/hurd/getcwd.c
17497         (_hurd_canonicalize_directory_name_internal): Likewise.
17498         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17499         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17500         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17501         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17502         Likewise, in both definitions.
17503         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17504         definitions.
17505         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17506         64] (__bswap_64): Likewise.
17507         * time/test_time.c (main): Likewise.
17508         * time/tzfile.c (__tzfile_read): Likewise.
17509         (__tzfile_compute): Likewise.
17510         * time/tzset.c (__tzset_parse_tz): Likewise.
17511         (tzset_internal): Likewise.
17512         (compute_change): Likewise.
17513         * wcsmbs/wcscat.c (__wcscat): Likewise.
17514         * wcsmbs/wcschr.c (wcschr): Likewise.
17515         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17516         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17517         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17518         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17519         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17520         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17521         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17522         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17523         * wcsmbs/wmemset.c (wmemset): Likewise.
17525 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17527         * scripts/config.guess: Update to version 2013-05-16.
17528         * scripts/config.sub: Update to version 2013-04-24.
17529         * scripts/install-sh: Update to version 2011-11-20.07.
17530         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17531         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17533 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17535         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17536         * elf/sln.c: Likewise.
17537         * hurd/hurd/ioctl.h: Likewise.
17538         * hurd/hurdmalloc.c: Likewise.
17539         * hurd/xattr.c: Likewise.
17540         * include/shlib-compat.h: Likewise.
17541         * inet/ruserpass.c: Likewise.
17542         * libio/iofgets_u.c: Likewise.
17543         * libio/iofgetws_u.c: Likewise.
17544         * locale/programs/ld-identification.c: Likewise.
17545         * locale/programs/ld-time.c: Likewise.
17546         * mach/msg-destroy.c: Likewise.
17547         * nss/nss_files/files-netgrp.c: Likewise.
17548         * resolv/res_data.c: Likewise.
17549         * soft-fp/op-1.h: Likewise.
17550         * soft-fp/op-2.h: Likewise.
17551         * soft-fp/op-4.h: Likewise.
17552         * soft-fp/op-common.h: Likewise.
17553         * stdio-common/printf_fphex.c: Likewise.
17554         * stdlib/strtod_l.c: Likewise.
17555         * sunrpc/rpc/clnt.h: Likewise.
17556         * sysdeps/generic/framestate.c: Likewise.
17557         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17558         * sysdeps/i386/bsd-setjmp.S: Likewise.
17559         * sysdeps/i386/__longjmp.S: Likewise.
17560         * sysdeps/i386/setjmp.S: Likewise.
17561         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17562         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17563         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17564         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17565         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17566         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17567         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17568         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17569         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17570         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17571         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17572         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17573         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17574         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17575         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17576         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17577         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17578         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17579         * sysdeps/ieee754/support.c: Likewise.
17580         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17581         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17582         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17583         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17584         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17585         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17586         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17587         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17588         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17589         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17590         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17591         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17592         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17593         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17594         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17595         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17596         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17599 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17601         * posix/transbug.c: Remove executable mode.
17603 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17605         * crypt/speeds.c: Remove trailing whitespace.
17606         * dlfcn/default.c: Likewise.
17607         * elf/ifuncdep2.c: Likewise.
17608         * elf/ifuncmain1.c: Likewise.
17609         * elf/ifuncmain1vis.c: Likewise.
17610         * elf/testobj.h: Likewise.
17611         * elf/tst-stackguard1.c: Likewise.
17612         * gmon/sys/gmon.h: Likewise.
17613         * hurd/hurdmsg.c: Likewise.
17614         * hurd/new-fd.c: Likewise.
17615         * hurd/ports-get.c: Likewise.
17616         * iconvdata/ibm1008_420.c: Likewise.
17617         * inet/tst-getni1.c: Likewise.
17618         * inet/tst-getni2.c: Likewise.
17619         * libio/ioungetc.c: Likewise.
17620         * libio/wfiledoalloc.c: Likewise.
17621         * manual/libm-err-tab.pl: Likewise.
17622         * math/w_dremf.c: Likewise.
17623         * misc/ftruncate.c: Likewise.
17624         * posix/bug-glob2.c: Likewise.
17625         * posix/tst-pcre.c: Likewise.
17626         * posix/wait4.c: Likewise.
17627         * resolv/README: Likewise.
17628         * resolv/res_debug.h: Likewise.
17629         * resolv/tst-inet_ntop.c: Likewise.
17630         * setjmp/bug269-setjmp.c: Likewise.
17631         * soft-fp/extended.h: Likewise.
17632         * soft-fp/op-1.h: Likewise.
17633         * soft-fp/op-2.h: Likewise.
17634         * soft-fp/op-4.h: Likewise.
17635         * soft-fp/op-8.h: Likewise.
17636         * soft-fp/testit.c: Likewise.
17637         * stdio-common/bug16.c: Likewise.
17638         * stdlib/random.c: Likewise.
17639         * sunrpc/rpcsvc/rquota.x: Likewise.
17640         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17641         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17642         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17643         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17644         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17645         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17646         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17647         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17648         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17649         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17650         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17651         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17652         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17653         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17654         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17655         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17656         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17657         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17658         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17659         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17660         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17661         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17662         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17663         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17664         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17665         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17666         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17667         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17668         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17669         * sysdeps/ieee754/s_lib_version.c: Likewise.
17670         * sysdeps/mach/hurd/check_fds.c: Likewise.
17671         * sysdeps/mach/hurd/getsockname.c: Likewise.
17672         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17673         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17674         * sysdeps/powerpc/bits/link.h: Likewise.
17675         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17676         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17677         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17678         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17679         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17680         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17681         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17682         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17683         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17684         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17685         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17686         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17687         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17688         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17689         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17690         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17691         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17692         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17693         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17694         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17695         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17696         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17697         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17698         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17699         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17700         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17701         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17702         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17703         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17704         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17705         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17706         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17707         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17708         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17709         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17710         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17711         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17712         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17713         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17714         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17715         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17716         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17717         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17718         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17719         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17720         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17721         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17722         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17723         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17724         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17725         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17726         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17727         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17728         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17729         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17730         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17731         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17732         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17733         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17734         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17735         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17736         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17737         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17738         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17739         * sysdeps/powerpc/sysdep.h: Likewise.
17740         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17741         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17742         * sysdeps/sh/dl-trampoline.S: Likewise.
17743         * sysdeps/sh/memset.S: Likewise.
17744         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17745         * sysdeps/sh/strlen.S: Likewise.
17746         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17747         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17748         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17749         * sysdeps/sparc/sparc32/rem.S: Likewise.
17750         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17751         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17752         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17753         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17754         * sysdeps/sparc/sparc32/urem.S: Likewise.
17755         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17756         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17757         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17758         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17759         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17760         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17761         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17762         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17763         * sysdeps/unix/bsd/times.c: Likewise.
17764         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17765         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17769         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17770         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17771         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17772         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17773         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17774         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17775         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17776         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17777         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17778         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17779         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17780         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17781         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17782         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17783         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17784         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17785         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17786         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17787         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17788         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17789         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17790         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17791         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17792         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17793         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17794         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17795         * sysdeps/x86_64/strcspn.S: Likewise.
17797 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17799         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17800         generated file.  Regenerate properly from gen-translit.pl.
17801         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17802         locale/C-translit.h.
17804 2013-06-05  Andreas Schwab  <schwab@suse.de>
17806         [BZ #15100]
17807         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17808         week as 6 instead of -1.
17809         * time/tst-strptime.c (day_tests): Add test case.
17811 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17813         * sysdeps/generic/math_private.h
17814         (libc_feholdexcept_setround_53bit): Replace with
17815         libc_feholdsetround_53bit.
17816         (libc_feupdateenv_53bit): Replace with
17817         libc_feresetround_53bit.
17818         (SET_RESTORE_ROUND_53BIT): Adjust.
17820 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17822         * string/test-strchrnul.c: Add copyright header.
17824         * posix/tst-getaddrinfo4.c: Increase test timeout.
17826 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17828         [BZ #15536]
17829         * math/libm-test.inc (MAX_EXP): Remove
17830         (MIN_EXP): Define.
17831         (ulp): Use MIN_EXP - MANT_DIG.
17832         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17834 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17836         * po/be.po: Revert last change.
17837         * po/zh_CN.po: Likewise.
17838         * po/header.pot: Likewise.
17840 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17842         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17843         link-libc-deps to empty as target-specific variable.
17844         * Makerules (link-libc-args): New variable.
17845         (libc-for-link): Likewise.
17846         (link-libc-deps): Likewise.
17847         (lib%.so): Depend on $(link-libc-deps).  Link with
17848         $(link-libc-args).
17849         (build-module): Link with $(link-libc-args).
17850         (build-module-asneeded): Likewise.
17851         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17852         list of objects.
17853         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17854         target-specific variable.
17855         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17856         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17857         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17858         libc.
17859         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17860         libc and ld.so.
17861         ($(objpfx)libpcprofile.so): Likewise.
17862         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17863         libc_nonshared.a.
17864         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17865         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17866         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17867         $(link-libc-deps).
17868         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17869         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17870         * login/Makefile ($(objpfx)libutil.so): Likewise.
17871         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17872         * math/Makefile ($(objpfx)libm.so): Likewise.
17873         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17874         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17875         variable instead of depending directly on libc.
17876         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17877         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17878         $(link-libc-deps).
17879         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17880         libc.
17881         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17882         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17883         ($(objpfx)libanl.so): Likewise.
17884         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17885         ld.so.
17886         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17887         $(link-libc-deps).
17888         * sysdeps/i386/fpu/Makefile: Remove file.
17889         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17890         ($(objpfx)libm.so): Remove dependency on ld.so.
17892 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17894         [BZ # 15553]
17895         * nis/yp_xdr.c (XDRMAXNAME): Define.
17896         (XDRMAXRECORD): Define.
17897         (xdr_domainname): Use XDRMAXNAME.
17898         (xdr_mapname): Likewise.
17899         (xdr_peername): Likewise.
17900         (xdr_keydat): Use XDRMAXRECORD.
17901         (xdr_valdat): Likewise.
17903 2013-05-30  Jeff Law  <law@redhat.com>
17905         [BZ #14256]
17906         * manual/errno.texi (ESTALE): Update to account for more than
17907         just NFS file systems.
17908         * sysdeps/gnu/errlist.c: Regenerated.
17910 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17912         [BZ #15465]
17913         * elf/Makefile (tests): Add tst-null-argv.
17914         (modules-names):  Add tst-null-argv-lib.
17915         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17916         (tst-null-argv-ENV): Set environment for tst-null-argv.
17917         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17918         (RTLD_PROGNAME): New macro.
17919         * elf/tst-null-argv.c: New test case.
17920         * elf/tst-null-argv-lib.c: Library for test case.
17921         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17922         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17923         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17924         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17925         * elf/dl-init.c (call_init): Likewise.
17926         (_dl_init): Likewise.
17927         * elf/dl-load.c (print_search_path): Likewise.
17928         (_dl_map_object): Likewise.
17929         * elf/dl-lookup.c (do_lookup_x): Likewise.
17930         (add_dependency): Likewise.
17931         (_dl_lookup_symbol_x): Likewise.
17932         (_dl_debug_bindings): Likewise.
17933         * elf/dl-open.c (_dl_show_scope): Likewise.
17934         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17935         * elf/dl-version.c (match_symbol): Likewise.
17936         (_dl_check_map_versions): Likewise.
17937         * elf/rtld.c (dl_main): Likewise.
17938         (print_unresolved): Use RTLD_PROGNAME.
17939         (print_missing_version): Likewise.
17940         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17941         (elf_machine_rela): Likewise.
17942         * sysdeps/powerpc/powerpc32/dl-machine.c
17943         (__process_machine_rela): Likewise.
17944         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17945         Likewise.
17946         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17947         Likewise.
17948         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17949         Likewise.
17950         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17951         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17952         Likewise.
17953         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17954         Likewise.
17955         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17957 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17959         * po/be.po: Add descriptive title.
17960         * po/zh_CN.po: Likewise.
17961         * po/header.pot: Likewise.
17963 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17965         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17966         error message.
17967         (enlarge_archive): Likewise.
17969 2013-05-28  Ben North  <ben@redfrontdoor.org>
17971         * manual/arith.texi (frexp): It is the magnitude of the return
17972         value which lies in [0.5, 1), not the return value itself.
17974 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17978 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17980         * stdio-common/bug26.c (main): Correct fscanf template.
17982         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17983         declare _dl_skip_args.
17985         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17986         Don't declare.
17988         * manual/platform.texi: Add missing @end deftypefun.
17990 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17992         [BZ #15529]
17993         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17994         bit of mantissa of 2^16382.
17995         * math/libm-test.inc (hypot_test_data): Add more tests.
17997         * math/libm-test.inc: Add drem and pow10 to list of tested
17998         functions.
17999         (pow10_test): New function.
18000         (drem_test): Likewise.
18001         (drem_test_tonearest): Likewise.
18002         (drem_test_towardzero): Likewise.
18003         (drem_test_downward): Likewise.
18004         (drem_test_upward): Likewise.
18005         (main): Call the new functions.
18007         * math/libm-test.inc (finite_test_data): Remove.
18008         (finite_test): Run tests from isfinite_test_data.
18009         (gamma_test_data): Remove.
18010         (gamma_test): Run tests from lgamma_test_data.
18011         * sysdeps/i386/fpu/libm-test-ulps: Update.
18012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18014 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18016         * manual/platform.texi: Add PowerPC PPR function set documentation.
18017         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18018         implementation.
18020 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
18022         * math/libm-test.inc (MAX_EXP): Define.
18023         (ULPDIFF): Define.
18024         (ulp): New function.
18025         (check_float_internal): Use ULPDIFF.
18026         (cpow_test): Disable failing test.
18027         (check_ulp): Test ulp() implemetnation.
18028         (main): Call check_ulp before starting tests.
18030 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
18032         * math/gen-libm-test.pl (generate_testfile): Do not handle
18033         START_DATA and END_DATA.
18034         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18035         END_DATA.
18036         (acos_tonearest_test_data): Likewise.
18037         (acos_towardzero_test_data): Likewise.
18038         (acos_downward_test_data): Likewise.
18039         (acos_upward_test_data): Likewise.
18040         (acosh_test_data): Likewise.
18041         (asin_test_data): Likewise.
18042         (asin_tonearest_test_data): Likewise.
18043         (asin_towardzero_test_data): Likewise.
18044         (asin_downward_test_data): Likewise.
18045         (asin_upward_test_data): Likewise.
18046         (asinh_test_data): Likewise.
18047         (atan_test_data): Likewise.
18048         (atanh_test_data): Likewise.
18049         (atan2_test_data): Likewise.
18050         (cabs_test_data): Likewise.
18051         (cacos_test_data): Likewise.
18052         (cacosh_test_data): Likewise.
18053         (carg_test_data): Likewise.
18054         (casin_test_data): Likewise.
18055         (casinh_test_data): Likewise.
18056         (catan_test_data): Likewise.
18057         (catanh_test_data): Likewise.
18058         (cbrt_test_data): Likewise.
18059         (ccos_test_data): Likewise.
18060         (ccosh_test_data): Likewise.
18061         (ceil_test_data): Likewise.
18062         (cexp_test_data): Likewise.
18063         (cimag_test_data): Likewise.
18064         (clog_test_data): Likewise.
18065         (clog10_test_data): Likewise.
18066         (conj_test_data): Likewise.
18067         (copysign_test_data): Likewise.
18068         (cos_test_data): Likewise.
18069         (cos_tonearest_test_data): Likewise.
18070         (cos_towardzero_test_data): Likewise.
18071         (cos_downward_test_data): Likewise.
18072         (cos_upward_test_data): Likewise.
18073         (cosh_test_data): Likewise.
18074         (cosh_tonearest_test_data): Likewise.
18075         (cosh_towardzero_test_data): Likewise.
18076         (cosh_downward_test_data): Likewise.
18077         (cosh_upward_test_data): Likewise.
18078         (cpow_test_data): Likewise.
18079         (cproj_test_data): Likewise.
18080         (creal_test_data): Likewise.
18081         (csin_test_data): Likewise.
18082         (csinh_test_data): Likewise.
18083         (csqrt_test_data): Likewise.
18084         (ctan_test_data): Likewise.
18085         (ctan_tonearest_test_data): Likewise.
18086         (ctan_towardzero_test_data): Likewise.
18087         (ctan_downward_test_data): Likewise.
18088         (ctan_upward_test_data): Likewise.
18089         (ctanh_test_data): Likewise.
18090         (ctanh_tonearest_test_data): Likewise.
18091         (ctanh_towardzero_test_data): Likewise.
18092         (ctanh_downward_test_data): Likewise.
18093         (ctanh_upward_test_data): Likewise.
18094         (erf_test_data): Likewise.
18095         (erfc_test_data): Likewise.
18096         (exp_test_data): Likewise.
18097         (exp_tonearest_test_data): Likewise.
18098         (exp_towardzero_test_data): Likewise.
18099         (exp_downward_test_data): Likewise.
18100         (exp_upward_test_data): Likewise.
18101         (exp10_test_data): Likewise.
18102         (exp2_test_data): Likewise.
18103         (expm1_test_data): Likewise.
18104         (fabs_test_data): Likewise.
18105         (fdim_test_data): Likewise.
18106         (finite_test_data): Likewise.
18107         (floor_test_data): Likewise.
18108         (fma_test_data): Likewise.
18109         (fma_towardzero_test_data): Likewise.
18110         (fma_downward_test_data): Likewise.
18111         (fma_upward_test_data): Likewise.
18112         (fmax_test_data): Likewise.
18113         (fmin_test_data): Likewise.
18114         (fmod_test_data): Likewise.
18115         (fpclassify_test_data): Likewise.
18116         (frexp_test_data): Likewise.
18117         (gamma_test_data): Likewise.
18118         (hypot_test_data): Likewise.
18119         (ilogb_test_data): Likewise.
18120         (isfinite_test_data): Likewise.
18121         (isgreater_test_data): Likewise.
18122         (isgreaterequal_test_data): Likewise.
18123         (isinf_test_data): Likewise.
18124         (isless_test_data): Likewise.
18125         (islessequal_test_data): Likewise.
18126         (islessgreater_test_data): Likewise.
18127         (isnan_test_data): Likewise.
18128         (isnormal_test_data): Likewise.
18129         (issignaling_test_data): Likewise.
18130         (isunordered_test_data): Likewise.
18131         (j0_test_data): Likewise.
18132         (j1_test_data): Likewise.
18133         (jn_test_data): Likewise.
18134         (ldexp_test_data): Likewise.
18135         (lgamma_test_data): Likewise.
18136         (lrint_test_data): Likewise.
18137         (lrint_tonearest_test_data): Likewise.
18138         (lrint_towardzero_test_data): Likewise.
18139         (lrint_downward_test_data): Likewise.
18140         (lrint_upward_test_data): Likewise.
18141         (llrint_test_data): Likewise.
18142         (llrint_tonearest_test_data): Likewise.
18143         (llrint_towardzero_test_data): Likewise.
18144         (llrint_downward_test_data): Likewise.
18145         (llrint_upward_test_data): Likewise.
18146         (log_test_data): Likewise.
18147         (log10_test_data): Likewise.
18148         (log1p_test_data): Likewise.
18149         (log2_test_data): Likewise.
18150         (logb_test_data): Likewise.
18151         (logb_downward_test_data): Likewise.
18152         (lround_test_data): Likewise.
18153         (llround_test_data): Likewise.
18154         (modf_test_data): Likewise.
18155         (nearbyint_test_data): Likewise.
18156         (nextafter_test_data): Likewise.
18157         (nexttoward_test_data): Likewise.
18158         (pow_test_data): Likewise.
18159         (pow_tonearest_test_data): Likewise.
18160         (pow_towardzero_test_data): Likewise.
18161         (pow_downward_test_data): Likewise.
18162         (pow_upward_test_data): Likewise.
18163         (remainder_test_data): Likewise.
18164         (remainder_tonearest_test_data): Likewise.
18165         (remainder_towardzero_test_data): Likewise.
18166         (remainder_downward_test_data): Likewise.
18167         (remainder_upward_test_data): Likewise.
18168         (remquo_test_data): Likewise.
18169         (rint_test_data): Likewise.
18170         (rint_tonearest_test_data): Likewise.
18171         (rint_towardzero_test_data): Likewise.
18172         (rint_downward_test_data): Likewise.
18173         (rint_upward_test_data): Likewise.
18174         (round_test_data): Likewise.
18175         (scalb_test_data): Likewise.
18176         (scalbn_test_data): Likewise.
18177         (scalbln_test_data): Likewise.
18178         (signbit_test_data): Likewise.
18179         (sin_test_data): Likewise.
18180         (sin_tonearest_test_data): Likewise.
18181         (sin_towardzero_test_data): Likewise.
18182         (sin_downward_test_data): Likewise.
18183         (sin_upward_test_data): Likewise.
18184         (sincos_test_data): Likewise.
18185         (sinh_test_data): Likewise.
18186         (sinh_tonearest_test_data): Likewise.
18187         (sinh_towardzero_test_data): Likewise.
18188         (sinh_downward_test_data): Likewise.
18189         (sinh_upward_test_data): Likewise.
18190         (sqrt_test_data): Likewise.
18191         (tan_test_data): Likewise.
18192         (tan_tonearest_test_data): Likewise.
18193         (tan_towardzero_test_data): Likewise.
18194         (tan_downward_test_data): Likewise.
18195         (tan_upward_test_data): Likewise.
18196         (tanh_test_data): Likewise.
18197         (tgamma_test_data): Likewise.
18198         (trunc_test_data): Likewise.
18199         (y0_test_data): Likewise.
18200         (y1_test_data): Likewise.
18201         (yn_test_data): Likewise.
18202         (significand_test_data): Likewise.
18204         * math/gen-libm-test.pl (@functions): Remove variable.
18205         (generate_testfile): Don't handle START and END lines.
18206         * math/libm-test.inc (START): New macro.
18207         (END): Likewise.
18208         (END_COMPLEX): Likewise.
18209         (acos_test): Use END macro without arguments.
18210         (acos_test_tonearest): Likewise.
18211         (acos_test_towardzero): Likewise.
18212         (acos_test_downward): Likewise.
18213         (acos_test_upward): Likewise.
18214         (acosh_test): Likewise.
18215         (asin_test): Likewise.
18216         (asin_test_tonearest): Likewise.
18217         (asin_test_towardzero): Likewise.
18218         (asin_test_downward): Likewise.
18219         (asin_test_upward): Likewise.
18220         (asinh_test): Likewise.
18221         (atan_test): Likewise.
18222         (atanh_test): Likewise.
18223         (atan2_test): Likewise.
18224         (cabs_test): Likewise.
18225         (cacos_test): Use END_COMPLEX macro without arguments.
18226         (cacosh_test): Likewise.
18227         (carg_test): Use END macro without arguments.
18228         (casin_test): Use END_COMPLEX macro without arguments.
18229         (casinh_test): Likewise.
18230         (catan_test): Likewise.
18231         (catanh_test): Likewise.
18232         (cbrt_test): Use END macro without arguments.
18233         (ccos_test): Use END_COMPLEX macro without arguments.
18234         (ccosh_test): Likewise.
18235         (ceil_test): Use END macro without arguments.
18236         (cexp_test): Use END_COMPLEX macro without arguments.
18237         (cimag_test): Use END macro without arguments.
18238         (clog_test): Use END_COMPLEX macro without arguments.
18239         (clog10_test): Likewise.
18240         (conj_test): Likewise.
18241         (copysign_test): Use END macro without arguments.
18242         (cos_test): Likewise.
18243         (cos_test_tonearest): Likewise.
18244         (cos_test_towardzero): Likewise.
18245         (cos_test_downward): Likewise.
18246         (cos_test_upward): Likewise.
18247         (cosh_test): Likewise.
18248         (cosh_test_tonearest): Likewise.
18249         (cosh_test_towardzero): Likewise.
18250         (cosh_test_downward): Likewise.
18251         (cosh_test_upward): Likewise.
18252         (cpow_test): Use END_COMPLEX macro without arguments.
18253         (cproj_test): Likewise.
18254         (creal_test): Use END macro without arguments.
18255         (csin_test): Use END_COMPLEX macro without arguments.
18256         (csinh_test): Likewise.
18257         (csqrt_test): Likewise.
18258         (ctan_test): Likewise.
18259         (ctan_test_tonearest): Likewise.
18260         (ctan_test_towardzero): Likewise.
18261         (ctan_test_downward): Likewise.
18262         (ctan_test_upward): Likewise.
18263         (ctanh_test): Likewise.
18264         (ctanh_test_tonearest): Likewise.
18265         (ctanh_test_towardzero): Likewise.
18266         (ctanh_test_downward): Likewise.
18267         (ctanh_test_upward): Likewise.
18268         (erf_test): Use END macro without arguments.
18269         (erfc_test): Likewise.
18270         (exp_test): Likewise.
18271         (exp_test_tonearest): Likewise.
18272         (exp_test_towardzero): Likewise.
18273         (exp_test_downward): Likewise.
18274         (exp_test_upward): Likewise.
18275         (exp10_test): Likewise.
18276         (exp2_test): Likewise.
18277         (expm1_test): Likewise.
18278         (fabs_test): Likewise.
18279         (fdim_test): Likewise.
18280         (finite_test): Likewise.
18281         (floor_test): Likewise.
18282         (fma_test): Likewise.
18283         (fma_test_towardzero): Likewise.
18284         (fma_test_downward): Likewise.
18285         (fma_test_upward): Likewise.
18286         (fmax_test): Likewise.
18287         (fmin_test): Likewise.
18288         (fmod_test): Likewise.
18289         (fpclassify_test): Likewise.
18290         (frexp_test): Likewise.
18291         (gamma_test): Likewise.
18292         (hypot_test): Likewise.
18293         (ilogb_test): Likewise.
18294         (isfinite_test): Likewise.
18295         (isgreater_test): Likewise.
18296         (isgreaterequal_test): Likewise.
18297         (isinf_test): Likewise.
18298         (isless_test): Likewise.
18299         (islessequal_test): Likewise.
18300         (islessgreater_test): Likewise.
18301         (isnan_test): Likewise.
18302         (isnormal_test): Likewise.
18303         (issignaling_test): Likewise.
18304         (isunordered_test): Likewise.
18305         (j0_test): Likewise.
18306         (j1_test): Likewise.
18307         (jn_test): Likewise.
18308         (ldexp_test): Likewise.
18309         (lgamma_test): Likewise.
18310         (lrint_test): Likewise.
18311         (lrint_test_tonearest): Likewise.
18312         (lrint_test_towardzero): Likewise.
18313         (lrint_test_downward): Likewise.
18314         (lrint_test_upward): Likewise.
18315         (llrint_test): Likewise.
18316         (llrint_test_tonearest): Likewise.
18317         (llrint_test_towardzero): Likewise.
18318         (llrint_test_downward): Likewise.
18319         (llrint_test_upward): Likewise.
18320         (log_test): Likewise.
18321         (log10_test): Likewise.
18322         (log1p_test): Likewise.
18323         (log2_test): Likewise.
18324         (logb_test): Likewise.
18325         (logb_test_downward): Likewise.
18326         (lround_test): Likewise.
18327         (llround_test): Likewise.
18328         (modf_test): Likewise.
18329         (nearbyint_test): Likewise.
18330         (nextafter_test): Likewise.
18331         (nexttoward_test): Likewise.
18332         (pow_test): Likewise.
18333         (pow_test_tonearest): Likewise.
18334         (pow_test_towardzero): Likewise.
18335         (pow_test_downward): Likewise.
18336         (pow_test_upward): Likewise.
18337         (remainder_test): Likewise.
18338         (remainder_test_tonearest): Likewise.
18339         (remainder_test_towardzero): Likewise.
18340         (remainder_test_downward): Likewise.
18341         (remainder_test_upward): Likewise.
18342         (remquo_test): Likewise.
18343         (rint_test): Likewise.
18344         (rint_test_tonearest): Likewise.
18345         (rint_test_towardzero): Likewise.
18346         (rint_test_downward): Likewise.
18347         (rint_test_upward): Likewise.
18348         (round_test): Likewise.
18349         (scalb_test): Likewise.
18350         (scalbn_test): Likewise.
18351         (scalbln_test): Likewise.
18352         (signbit_test): Likewise.
18353         (sin_test): Likewise.
18354         (sin_test_tonearest): Likewise.
18355         (sin_test_towardzero): Likewise.
18356         (sin_test_downward): Likewise.
18357         (sin_test_upward): Likewise.
18358         (sincos_test): Likewise.
18359         (sinh_test): Likewise.
18360         (sinh_test_tonearest): Likewise.
18361         (sinh_test_towardzero): Likewise.
18362         (sinh_test_downward): Likewise.
18363         (sinh_test_upward): Likewise.
18364         (sqrt_test): Likewise.
18365         (tan_test): Likewise.
18366         (tan_test_tonearest): Likewise.
18367         (tan_test_towardzero): Likewise.
18368         (tan_test_downward): Likewise.
18369         (tan_test_upward): Likewise.
18370         (tanh_test): Likewise.
18371         (tgamma_test): Likewise.
18372         (trunc_test): Likewise.
18373         (y0_test): Likewise.
18374         (y1_test): Likewise.
18375         (yn_test): Likewise.
18376         (significand_test): Likewise.
18378 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18380         [BZ #15381]
18381         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18383 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18385         [BZ #14894]
18386         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18387         __ppc_mdoio and __ppc_mdoom.
18388         * manual/platform.texi: Document new functions __ppc_yield,
18389         __ppc_mdoio and __ppc_mdoom.
18391 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18393         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18394         (main): Mention "tls" pseudo-hwcap is legacy.
18395         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18397 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18399         * math/gen-libm-test.pl (parse_args): Output only string of
18400         arguments as text for test name, not full call or descriptions of
18401         tests for extra outputs.
18402         (generate_testfile): Do not pass function name to parse_args.
18403         Generate this_func variable from START.
18404         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18405         field to arg_str.
18406         (struct test_ff_f_data): Likewise.
18407         (test_ff_f_data_nexttoward): Likewise.
18408         (struct test_fi_f_data): Likewise.
18409         (struct test_fl_f_data): Likewise.
18410         (struct test_if_f_data): Likewise.
18411         (struct test_fff_f_data): Likewise.
18412         (struct test_c_f_data): Likewise.
18413         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18414         (struct test_fF_f1_data): Likewise.
18415         (struct test_ffI_f1_data): Likewise.
18416         (struct test_c_c_data): Rename test_name field to arg_str.
18417         (struct test_cc_c_data): Likewise.
18418         (struct test_f_i_data): Likewise.
18419         (struct test_ff_i_data): Likewise.
18420         (struct test_f_l_data): Likewise.
18421         (struct test_f_L_data): Likewise.
18422         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18423         and extra2_name.
18424         (COMMON_TEST_SETUP): New macro.
18425         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18426         (COMMON_TEST_CLEANUP): Likewise.
18427         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18428         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18429         macros.
18430         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18431         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18432         macros.
18433         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18434         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18435         cleanup macros.
18436         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18437         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18438         macros.
18439         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18440         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18441         macros.
18442         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18443         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18444         cleanup macros.
18445         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18446         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18447         cleanup macros.
18448         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18449         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18450         cleanup macros.
18451         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18452         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18453         macros.
18454         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18455         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18456         macros.
18457         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18458         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18459         macros.
18460         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18461         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18462         cleanup macros.
18463         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18464         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18465         cleanup macros.
18466         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18467         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18468         macros.
18469         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18470         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18471         cleanup macros.
18472         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18473         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18474         macros.
18475         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18476         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18477         macros.
18478         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18479         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18480         cleanup macros.
18481         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18483 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18485         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18486         to _sifields.sigfault.
18487         (si_addr_lsb): Define new macro.
18488         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18489         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18490         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18492 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18494         [BZ #15441]
18495         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18496         returns -1.
18497         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18498         null return -1.
18499         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18500         loading the domain.
18502 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18504         * math/gen-libm-test.pl (parse_args): Do not include expected
18505         result in test name.
18506         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18507         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18508         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18509         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18510         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18513 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18515         * benchtests/Makefile: Sort function entries.
18517         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18518         tanh, asinh, acosh, atanh.
18519         * benchtests/acos-inputs: New file.
18520         * benchtests/acosh-inputs: New file.
18521         * benchtests/asin-inputs: New file.
18522         * benchtests/asinh-inputs: New file.
18523         * benchtests/atanh-inputs: New file.
18524         * benchtests/cosh-inputs: New file.
18525         * benchtests/log-inputs: New file.
18526         * benchtests/sinh-inputs: New file.
18527         * benchtests/tanh-inputs: New file.
18529 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18531         [BZ #15339]
18532         * posix/tst-getaddrinfo4.c: New test.
18533         * posix/Makefile (tests): Add it.
18535 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18537         [BZ #15339]
18538         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18539         when no services were used.
18540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18541         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18543 2013-05-21  Andreas Schwab  <schwab@suse.de>
18545         [BZ #15014]
18546         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18547         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18548         successful.
18549         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18550         redundant variable declarations and reallocation of buffer when
18551         parsing as IPv6 address.  Always set NSS status when called from
18552         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18553         buffer too small.  Correct computation of needed size.
18554         * nss/Makefile (tests): Add test-digits-dots.
18555         * nss/test-digits-dots.c: New test.
18557 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18559         * benchtests/Makefile: Remove instructions for adding
18560         benchmark tests.
18561         * benchtests/README: New file to explain how to execute and
18562         enhance the benchmark tests.
18564 2013-05-21  Andreas Schwab  <schwab@suse.de>
18566         [BZ #15493]
18567         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18568         * setjmp/tst-sigsetjmp.c: New test.
18570 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18572         * sysdeps/x86_64/memset.S (memset): New implementation.
18573         (__bzero): Likewise.
18574         (__memset_tail): New function.
18576 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18578         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18579         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18580         __memcpy_sse2_unaligned ifunc selection.
18581         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18582         Add memcpy-sse2-unaligned.S.
18583         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18584         Add: __memcpy_sse2_unaligned.
18586 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18588         [BZ #15490]
18589         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18590         math_force_eval before restoring floating-point envrionment.
18591         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18592         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18593         Likewise.
18594         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18595         <math_private.h>.
18596         (__nearbyintl): Use math_force_eval before restoring
18597         floating-point environment.
18598         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18600         * math/gen-libm-test.pl (special_functions): Remove.
18601         (parse_args): Don't handle TEST_extra.  Handle functions with no
18602         return value.
18603         * math/libm-test.inc (struct test_sincos_data): Replace with
18604         struct test_fFF_11_data.
18605         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18606         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18607         (sincos_test_data): Change element type to struct
18608         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18609         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18610         RUN_TEST_LOOP_sincos.
18611         * math/README.libm-test: Don't mention special handling of
18612         individual functions.
18613         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18614         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18615         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18616         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18617         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18620         * math/gen-libm-test.pl (get_variable): Remove function.
18621         (parse_args): Don't show pointer parameters to call in test
18622         names.  Use "extra output N" in test names for extra outputs
18623         rather than naming variables.
18625 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18627         [BZ #15488]
18628         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18629         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18630         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18631         double tests.
18632         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18633         disable.
18634         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18635         check_long_double.
18637         * math/gen-libm-test.pl (@tests): Remove variable.
18638         ($count): Likewise.
18639         (new_test): Remove function.
18640         (show_exceptions): New function.
18641         (special_functions): Use show_exceptions instead of new_test.
18642         (parse_args): Likewise.
18643         (generate_testfile): Pass only function name in generated call to
18644         print_max_error or print_complex_max_error.
18645         (get_ulps): Do not handle complex tests specially.
18646         (output_test): Rename to ...
18647         (get_all_ulps_for_test): ... this.  Return a string rather than
18648         printing to a file.  Require ulps to be present.
18649         (output_ulps): Generate arrays rather than #defines.
18650         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18651         (struct ulp_data): New type.
18652         (BUILD_COMPLEX_ULP): Remove macro.
18653         (compare_ulp_data): New function.
18654         (find_ulps): Likewise.
18655         (find_test_ulps): Likewise.
18656         (find_function_ulps): Likewise.
18657         (find_complex_function_ulps): Likewise.
18658         (print_max_error): Determine allowed ulps using
18659         find_function_ulps.
18660         (print_complex_max_error): Determine allowed ulps using
18661         find_complex_function_ulps.
18662         (check_float_internal): Determine max ulps using find_test_ulps.
18663         (check_float): Do not take max_ulp parameter.  Update call to
18664         check_float_internal.
18665         (check_complex): Likewise.
18666         (check_int): Do not take max_ulp parameter.
18667         (check_long): Likewise.
18668         (check_bool): Likewise.
18669         (check_longlong): Likewise.
18670         (struct test_f_f_data): Remove max_ulp field.
18671         (struct test_ff_f_data): Likewise.
18672         (struct test_ff_f_data_nexttoward): Likewise.
18673         (struct test_fi_f_data): Likewise.
18674         (struct test_fl_f_data): Likewise.
18675         (struct test_if_f_data): Likewise.
18676         (struct test_fff_f_data): Likewise.
18677         (struct test_c_f_data): Likewise.
18678         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18679         (struct test_fF_f1_data): Likewise.
18680         (struct test_ffI_f1_data): Likewise.
18681         (struct test_c_c_data): Remove max_ulp field.
18682         (struct test_cc_c_data): Likewise.
18683         (struct test_f_i_data): Likewise.
18684         (struct test_ff_i_data): Likewise.
18685         (struct test_f_l_data): Likewise.
18686         (struct test_f_L_data): Likewise.
18687         (struct test_sincos_data): Likewise.
18688         (RUN_TEST_f_f): Do not handle ulps.
18689         (RUN_TEST_LOOP_f_f): Likewise.
18690         (RUN_TEST_2_f): Likewise.
18691         (RUN_TEST_LOOP_2_f): Likewise.
18692         (RUN_TEST_fff_f): Likewise.
18693         (RUN_TEST_LOOP_fff_f): Likewise.
18694         (RUN_TEST_c_f): Likewise.
18695         (RUN_TEST_LOOP_c_f): Likewise.
18696         (RUN_TEST_f_f1): Likewise.
18697         (RUN_TEST_LOOP_f_f1): Likewise.
18698         (RUN_TEST_fF_f1): Likewise.
18699         (RUN_TEST_LOOP_fF_f1): Likewise.
18700         (RUN_TEST_fI_f1): Likewise.
18701         (RUN_TEST_LOOP_fI_f1): Likewise.
18702         (RUN_TEST_ffI_f1): Likewise.
18703         (RUN_TEST_LOOP_ffI_f1): Likewise.
18704         (RUN_TEST_c_c): Likewise.
18705         (RUN_TEST_LOOP_c_c): Likewise.
18706         (RUN_TEST_cc_c): Likewise.
18707         (RUN_TEST_LOOP_cc_c): Likewise.
18708         (RUN_TEST_f_i): Likewise.
18709         (RUN_TEST_LOOP_f_i): Likewise.
18710         (RUN_TEST_f_i_tg): Likewise.
18711         (RUN_TEST_LOOP_f_i_tg): Likewise.
18712         (RUN_TEST_ff_i_tg): Likewise.
18713         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18714         (RUN_TEST_f_b): Likewise.
18715         (RUN_TEST_LOOP_f_b): Likewise.
18716         (RUN_TEST_f_b_tg): Likewise.
18717         (RUN_TEST_LOOP_f_b_tg): Likewise.
18718         (RUN_TEST_f_l): Likewise.
18719         (RUN_TEST_LOOP_f_l): Likewise.
18720         (RUN_TEST_f_L): Likewise.
18721         (RUN_TEST_LOOP_f_L): Likewise.
18722         (RUN_TEST_sincos): Likewise.
18723         (RUN_TEST_LOOP_sincos): Likewise.
18725 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18727         [BZ #15480]
18728         [BZ #15485]
18729         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18730         main case of finite arguments, set rounding mode to FE_TONEAREST
18731         and discard exceptions.
18732         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18733         exceptions.
18734         (remainder_tonearest_test_data): New variable.
18735         (remainder_test_tonearest): New function.
18736         (remainder_towardzero_test_data): New variable.
18737         (remainder_test_towardzero): New function.
18738         (remainder_downward_test_data): New variable.
18739         (remainder_test_downward): New function.
18740         (remainder_upward_test_data): New variable.
18741         (remainder_test_upward): New function.
18742         (main): Call the new test functions.
18744         * math/libm-test.inc (struct test_f_f1_data): Remove field
18745         extra_init.
18746         (struct test_fF_f1_data): Likewise.
18747         (struct test_ffI_f1_data): Likewise.
18748         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18749         based on value of EXTRA_EXPECTED.
18750         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18751         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18752         EXTRA_VAR based on value of EXTRA_EXPECTED.
18753         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18754         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18755         EXTRA_VAR based on value of EXTRA_EXPECTED.
18756         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18757         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18758         EXTRA_VAR based on value of EXTRA_EXPECTED.
18759         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18760         * math/gen-libm-test.pl (parse_args): Don't output initializers
18761         for extra output values.
18763         * math/libm-test.inc (check_int): Expect result to be exactly
18764         equal to expected value and do not handle ulps.
18765         (check_long): Likewise.
18766         (check_longlong): Likewise.
18768         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18769         exceptions.
18770         (cimag_test_data): Likewise.
18771         (conj_test_data): Likewise.
18772         (copysign_test_data): Likewise.
18773         (cproj_test_data): Likewise.
18774         (creal_test_data): Likewise.
18775         (fabs_test_data): Likewise.
18776         (fdim_test_data): Likewise.
18777         (finite_test_data): Likewise.
18778         (floor_test_data): Likewise.
18779         (fmax_test_data): Likewise.
18780         (fmin_test_data): Likewise.
18781         (fmod_test_data): Likewise.
18782         (fpclassify_test_data): Likewise.
18783         (frexp_test_data): Likewise.
18784         (ilogb_test_data): Likewise.
18785         (isfinite_test_data): Likewise.
18786         (isgreater_test_data): Likewise.
18787         (isgreaterequal_test_data): Likewise.
18788         (isinf_test_data): Likewise.
18789         (isless_test_data): Likewise.
18790         (islessequal_test_data): Likewise.
18791         (islessgreater_test_data): Likewise.
18792         (isnan_test_data): Likewise.
18793         (isnormal_test_data): Likewise.
18794         (issignaling_test_data): Likewise.
18795         (isunordered_test_data): Likewise.
18796         (ldexp_test_data): Likewise.
18797         (lrint_test_data): Likewise.
18798         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18799         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18800         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18801         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18802         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18803         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18804         test input.
18805         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18806         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18807         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18808         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18809         that test input.
18810         (lrint_downward_test_data): Test for "inexact" exceptions.
18811         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18812         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18813         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18814         test input.
18815         (lrint_upward_test_data): Test for "inexact" exceptions.
18816         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18817         test input.
18818         (llrint_test_data): Test for "inexact" exceptions.
18819         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18820         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18821         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18822         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18823         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18824         (llrint_downward_test_data): Test for "inexact" exceptions.
18825         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18826         (llrint_upward_test_data): Test for "inexact" exceptions.
18827         (logb_test_data): Likewise.
18828         (logb_downward_test_data): Likewise.
18829         (nextafter_test_data): Likewise.
18830         (nexttoward_test_data): Likewise.
18831         (remainder_test_data): Likewise.
18832         (remquo_test_data): Likewise.
18833         (scalbn_test_data): Likewise.
18834         (scalbln_test_data): Likewise.
18835         (signbit_test_data): Likewise.
18836         (sqrt_test_data): Likewise.
18837         (significand_test_data): Likewise.
18839 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18841         [BZ #15424]
18842         * benchtests/bench-modf.c (struct args): Mark arg0 as
18843         volatile.
18844         * scripts/bench.pl: Mark members of struct args as volatile.
18846 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18848         [BZ # 15497]
18849         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18850         negative infinity on POWER6 or lower.
18851         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18853 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18855         [BZ #15442]
18856         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18857         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18858         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18859         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18860         (_FP_SETQNAN): New macro.
18861         (_FP_SETQNAN_SEMIRAW): Likewise.
18862         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18863         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18864         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18865         (FP_EXTEND): Use _FP_FRAC_SNANP.
18866         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18867         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18868         into account.
18869         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18870         New macro.
18871         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18872         Likewise.
18874 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18876         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18877         with DIVIDE_BY_ZERO_EXCEPTION.
18878         (gamma_test_data): Likewise.
18879         (lgamma_test_data): Likewise.
18880         (log_test_data): Likewise.
18881         (log10_test_data): Likewise.
18882         (log2_test_data): Likewise.
18883         (tgamma_test_data): Likewise.
18885         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18886         (acos_test_tonearest): Likewise.
18887         (acos_test_towardzero): Likewise.
18888         (acos_test_downward): Likewise.
18889         (acos_test_upward): Likewise.
18890         (acosh_test): Likewise.
18891         (asin_test): Likewise.
18892         (asin_test_tonearest): Likewise.
18893         (asin_test_towardzero): Likewise.
18894         (asin_test_downward): Likewise.
18895         (asin_test_upward): Likewise.
18896         (asinh_test): Likewise.
18897         (atan_test): Likewise.
18898         (atanh_test): Likewise.
18899         (atan2_test): Likewise.
18900         (cabs_test): Likewise.
18901         (cacos_test): Likewise.
18902         (cacosh_test): Likewise.
18903         (casin_test): Likewise.
18904         (casinh_test): Likewise.
18905         (catan_test): Likewise.
18906         (catanh_test): Likewise.
18907         (cbrt_test): Likewise.
18908         (ccos_test): Likewise.
18909         (ccosh_test): Likewise.
18910         (cexp_test): Likewise.
18911         (clog_test): Likewise.
18912         (clog10_test): Likewise.
18913         (cos_test): Likewise.
18914         (cos_test_tonearest): Likewise.
18915         (cos_test_towardzero): Likewise.
18916         (cos_test_downward): Likewise.
18917         (cos_test_upward): Likewise.
18918         (cosh_test): Likewise.
18919         (cosh_test_tonearest): Likewise.
18920         (cosh_test_towardzero): Likewise.
18921         (cosh_test_downward): Likewise.
18922         (cosh_test_upward): Likewise.
18923         (cpow_test): Likewise.
18924         (csin_test): Likewise.
18925         (csinh_test): Likewise.
18926         (csqrt_test): Likewise.
18927         (ctan_test): Likewise.
18928         (ctan_test_tonearest): Likewise.
18929         (ctan_test_towardzero): Likewise.
18930         (ctan_test_downward): Likewise.
18931         (ctan_test_upward): Likewise.
18932         (ctanh_test): Likewise.
18933         (ctanh_test_tonearest): Likewise.
18934         (ctanh_test_towardzero): Likewise.
18935         (ctanh_test_downward): Likewise.
18936         (ctanh_test_upward): Likewise.
18937         (erf_test): Likewise.
18938         (erfc_test): Likewise.
18939         (exp_test): Likewise.
18940         (exp_test_tonearest): Likewise.
18941         (exp_test_towardzero): Likewise.
18942         (exp_test_downward): Likewise.
18943         (exp_test_upward): Likewise.
18944         (exp10_test): Likewise.
18945         (exp2_test): Likewise.
18946         (expm1_test): Likewise.
18947         (fmod_test): Likewise.
18948         (gamma_test): Likewise.
18949         (hypot_test): Likewise.
18950         (j0_test): Likewise.
18951         (j1_test): Likewise.
18952         (jn_test): Likewise.
18953         (lgamma_test): Likewise.
18954         (log_test): Likewise.
18955         (log10_test): Likewise.
18956         (log1p_test): Likewise.
18957         (log2_test): Likewise.
18958         (logb_test_downward): Likewise.
18959         (pow_test): Likewise.
18960         (pow_test_tonearest): Likewise.
18961         (pow_test_towardzero): Likewise.
18962         (pow_test_downward): Likewise.
18963         (pow_test_upward): Likewise.
18964         (remainder_test): Likewise.
18965         (remquo_test): Likewise.
18966         (sin_test): Likewise.
18967         (sin_test_tonearest): Likewise.
18968         (sin_test_towardzero): Likewise.
18969         (sin_test_downward): Likewise.
18970         (sin_test_upward): Likewise.
18971         (sincos_test): Likewise.
18972         (sinh_test): Likewise.
18973         (sinh_test_tonearest): Likewise.
18974         (sinh_test_towardzero): Likewise.
18975         (sinh_test_downward): Likewise.
18976         (sinh_test_upward): Likewise.
18977         (sqrt_test): Likewise.
18978         (tan_test): Likewise.
18979         (tan_test_tonearest): Likewise.
18980         (tan_test_towardzero): Likewise.
18981         (tan_test_downward): Likewise.
18982         (tan_test_upward): Likewise.
18983         (tanh_test): Likewise.
18984         (tgamma_test): Likewise.
18985         (y0_test): Likewise.
18986         (y1_test): Likewise.
18987         (yn_test): Likewise.
18989         * math/gen-libm-test.pl (adjust_arg): Remove function.
18990         (special_function): Remove argument $in_func.  Only handle
18991         generating output for tables of tests, not inside functions.
18992         (parse_args): Likewise.
18993         (generate_testfile): Remove variable $in_func.  Update call to
18994         parse_args.
18995         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18996         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18997         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18998         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18999         (QNAN_VALUE_INIT): Rename macro to qnan_value.
19000         (MAX_VALUE_INIT): Rename macro to max_value.
19001         (MIN_VALUE_INIT): Rename macro to min_value.
19002         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19003         (plus_zero): Remove variable.
19004         (minus_zero): Likewise.
19005         (plus_infty): Likewise.
19006         (minus_infty): Likewise.
19007         (qnan_value): Likewise.
19008         (max_value): Likewise.
19009         (min_value): Likewise.
19010         (min_subnorm_value): Likewise.
19012 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19014         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19015         uint64_t or uint32_t usage.
19016         * crypt/sha256-block.c: Likewise.
19017         * crypt/sha256-crypt.c: Likewise.
19018         * crypt/sha256.c: Likewise.
19019         * crypt/sha512-block.c: Likewise.
19020         * crypt/sha512-crypt.c: Likewise.
19021         * crypt/sha512.c: Likewise.
19022         * debug/backtrace-tst.c: Likewise.
19023         * debug/pcprofiledump.c: Likewise.
19024         * elf/cache.c: Likewise.
19025         * elf/dl-cache.c: Likewise.
19026         * elf/dl-misc.c: Likewise.
19027         * elf/dl-profile.c: Likewise.
19028         * elf/dl-support.c: Likewise.
19029         * elf/ldconfig.c: Likewise.
19030         * elf/sprof.c: Likewise.
19031         * iconv/dummy-repertoire.c: Likewise.
19032         * iconv/iconv_charmap.c: Likewise.
19033         * iconv/skeleton.c: Likewise.
19034         * iconvdata/8bit-generic.c: Likewise.
19035         * iconvdata/cp737.h: Likewise.
19036         * iconvdata/cp775.h: Likewise.
19037         * iconvdata/ibm1008.h: Likewise.
19038         * iconvdata/ibm1025.h: Likewise.
19039         * iconvdata/ibm1046.h: Likewise.
19040         * iconvdata/ibm1097.h: Likewise.
19041         * iconvdata/ibm1112.h: Likewise.
19042         * iconvdata/ibm1122.h: Likewise.
19043         * iconvdata/ibm1123.h: Likewise.
19044         * iconvdata/ibm1124.h: Likewise.
19045         * iconvdata/ibm1129.h: Likewise.
19046         * iconvdata/ibm1130.h: Likewise.
19047         * iconvdata/ibm1132.h: Likewise.
19048         * iconvdata/ibm1133.h: Likewise.
19049         * iconvdata/ibm1137.h: Likewise.
19050         * iconvdata/ibm1140.h: Likewise.
19051         * iconvdata/ibm1141.h: Likewise.
19052         * iconvdata/ibm1142.h: Likewise.
19053         * iconvdata/ibm1143.h: Likewise.
19054         * iconvdata/ibm1144.h: Likewise.
19055         * iconvdata/ibm1145.h: Likewise.
19056         * iconvdata/ibm1146.h: Likewise.
19057         * iconvdata/ibm1147.h: Likewise.
19058         * iconvdata/ibm1148.h: Likewise.
19059         * iconvdata/ibm1149.h: Likewise.
19060         * iconvdata/ibm1153.h: Likewise.
19061         * iconvdata/ibm1154.h: Likewise.
19062         * iconvdata/ibm1155.h: Likewise.
19063         * iconvdata/ibm1156.h: Likewise.
19064         * iconvdata/ibm1157.h: Likewise.
19065         * iconvdata/ibm1158.h: Likewise.
19066         * iconvdata/ibm1160.h: Likewise.
19067         * iconvdata/ibm1161.h: Likewise.
19068         * iconvdata/ibm1162.h: Likewise.
19069         * iconvdata/ibm1163.h: Likewise.
19070         * iconvdata/ibm1164.h: Likewise.
19071         * iconvdata/ibm1166.h: Likewise.
19072         * iconvdata/ibm1167.h: Likewise.
19073         * iconvdata/ibm12712.h: Likewise.
19074         * iconvdata/ibm1390.h: Likewise.
19075         * iconvdata/ibm1399.h: Likewise.
19076         * iconvdata/ibm16804.h: Likewise.
19077         * iconvdata/ibm4517.h: Likewise.
19078         * iconvdata/ibm4899.h: Likewise.
19079         * iconvdata/ibm4909.h: Likewise.
19080         * iconvdata/ibm4971.h: Likewise.
19081         * iconvdata/ibm5347.h: Likewise.
19082         * iconvdata/ibm803.h: Likewise.
19083         * iconvdata/ibm856.h: Likewise.
19084         * iconvdata/ibm901.h: Likewise.
19085         * iconvdata/ibm902.h: Likewise.
19086         * iconvdata/ibm9030.h: Likewise.
19087         * iconvdata/ibm9066.h: Likewise.
19088         * iconvdata/ibm921.h: Likewise.
19089         * iconvdata/ibm922.h: Likewise.
19090         * iconvdata/ibm9448.h: Likewise.
19091         * iconvdata/isiri-3342.h: Likewise.
19092         * iconvdata/jis0201.h: Likewise.
19093         * include/link.h: Likewise.
19094         * include/netdb.h: Likewise.
19095         * inet/check_native.c: Likewise.
19096         * inet/check_pf.c: Likewise.
19097         * inet/getipv4sourcefilter.c: Likewise.
19098         * inet/getnameinfo.c: Likewise.
19099         * inet/getsourcefilter.c: Likewise.
19100         * inet/htonl.c: Likewise.
19101         * inet/setipv4sourcefilter.c: Likewise.
19102         * inet/setsourcefilter.c: Likewise.
19103         * inet/test-inet6_opt.c: Likewise.
19104         * inet/tst-network.c: Likewise.
19105         * locale/C-collate.c: Likewise.
19106         * locale/C-ctype.c: Likewise.
19107         * locale/C-time.c: Likewise.
19108         * locale/C-translit.h: Likewise.
19109         * locale/loadarchive.c: Likewise.
19110         * locale/programs/3level.h: Likewise.
19111         * locale/programs/charmap.c: Likewise.
19112         * locale/programs/charmap.h: Likewise.
19113         * locale/programs/ld-address.c: Likewise.
19114         * locale/programs/ld-collate.c: Likewise.
19115         * locale/programs/ld-ctype.c: Likewise.
19116         * locale/programs/ld-identification.c: Likewise.
19117         * locale/programs/ld-measurement.c: Likewise.
19118         * locale/programs/ld-messages.c: Likewise.
19119         * locale/programs/ld-monetary.c: Likewise.
19120         * locale/programs/ld-name.c: Likewise.
19121         * locale/programs/ld-numeric.c: Likewise.
19122         * locale/programs/ld-paper.c: Likewise.
19123         * locale/programs/ld-telephone.c: Likewise.
19124         * locale/programs/ld-time.c: Likewise.
19125         * locale/programs/linereader.c: Likewise.
19126         * locale/programs/locale.c: Likewise.
19127         * locale/programs/locarchive.c: Likewise.
19128         * locale/programs/locfile.h: Likewise.
19129         * locale/programs/repertoire.c: Likewise.
19130         * locale/programs/simple-hash.c: Likewise.
19131         * locale/programs/simple-hash.h: Likewise.
19132         * malloc/memusage.c: Likewise.
19133         * malloc/memusagestat.c: Likewise.
19134         * nis/nis_defaults.c: Likewise.
19135         * nis/nis_hash.c: Likewise.
19136         * nis/nis_print.c: Likewise.
19137         * nis/nis_xdr.c: Likewise.
19138         * nscd/connections.c: Likewise.
19139         * nscd/hstcache.c: Likewise.
19140         * nscd/nscd_gethst_r.c: Likewise.
19141         * nscd/nscd_getserv_r.c: Likewise.
19142         * nscd/nscd_helper.c: Likewise.
19143         * nscd/servicescache.c: Likewise.
19144         * nss/makedb.c: Likewise.
19145         * nss/nss_db/db-XXX.c: Likewise.
19146         * nss/nss_db/db-initgroups.c: Likewise.
19147         * nss/nss_db/db-netgrp.c: Likewise.
19148         * nss/nss_files/files-network.c: Likewise.
19149         * nss/nss_files/files-parse.c: Likewise.
19150         * posix/bug-regex5.c: Likewise.
19151         * posix/fnmatch_loop.c: Likewise.
19152         * posix/regcomp.c: Likewise.
19153         * posix/regexec.c: Likewise.
19154         * posix/tst-rfc3484-2.c: Likewise.
19155         * posix/tst-rfc3484-3.c: Likewise.
19156         * posix/tst-rfc3484.c: Likewise.
19157         * resolv/nss_dns/dns-canon.c: Likewise.
19158         * resolv/nss_dns/dns-network.c: Likewise.
19159         * resolv/res_init.c: Likewise.
19160         * resolv/res_mkquery.c: Likewise.
19161         * resolv/tst-aton.c: Likewise.
19162         * stdlib/cxa_atexit.c: Likewise.
19163         * stdlib/cxa_finalize.c: Likewise.
19164         * stdlib/gen-fpioconst.c: Likewise.
19165         * stdlib/strtol_l.c: Likewise.
19166         * string/tst-endian.c: Likewise.
19167         * sunrpc/auth_des.c: Likewise.
19168         * sunrpc/clnt_udp.c: Likewise.
19169         * sunrpc/rtime.c: Likewise.
19170         * sunrpc/svcauth_des.c: Likewise.
19171         * sunrpc/xdr.c: Likewise.
19172         * sunrpc/xdr_intXX_t.c: Likewise.
19173         * sunrpc/xdr_rec.c: Likewise.
19174         * sysdeps/generic/ldconfig.h: Likewise.
19175         * sysdeps/generic/ldsodefs.h: Likewise.
19176         * sysdeps/generic/memusage.h: Likewise.
19177         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19178         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19179         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19180         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19181         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19182         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19183         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19184         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19185         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19186         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19187         * sysdeps/posix/getaddrinfo.c: Likewise.
19188         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19189         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19190         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19191         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19192         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19193         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19194         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19195         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19196         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19197         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19198         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19199         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19200         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19201         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19202         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19203         * sysdeps/x86_64/dl-tls.h: Likewise.
19204         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19205         * time/alt_digit.c: Likewise.
19206         * time/era.c: Likewise.
19207         * wcsmbs/tst-c16c32-1.c: Likewise.
19209 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19211         * math/libm-test.inc (struct test_sincos_data): New type.
19212         (RUN_TEST_LOOP_sincos): New macro.
19213         (sincos_test_data): New variable.
19214         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19216 2013-05-16  Richard Henderson  <rth@redhat.com>
19218         * math/atest-exp2.c (LIMB64): New macro.
19219         (CONSTSZ): New macro.
19220         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19221         (hexdig): Move ...
19222         (print_mpn_fp): ... to function scope.
19223         (read_mpn_hex): Remove.
19224         (get_log2): Remove.
19225         (exp2_mpn): Use mp_log2.
19226         (main): Use mp_exp1.
19228 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19230         * math/libm-test.inc: Remove comment about not testing "inexact"
19231         exceptions.
19232         (INEXACT_EXCEPTION): New macro.
19233         (NO_INEXACT_EXCEPTION): Likewise.
19234         (INVALID_EXCEPTION_OK): Update value.
19235         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19236         (OVERFLOW_EXCEPTION_OK): Likewise.
19237         (UNDERFLOW_EXCEPTION_OK): Likewise.
19238         (IGNORE_ZERO_INF_SIGN): Likewise.
19239         (ERRNO_UNCHANGED): Likewise.
19240         (ERRNO_EDOM): Likewise.
19241         (ERRNO_ERANGE): Likewise.
19242         (test_exceptions): Handle testing "inexact" exceptions.
19243         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19244         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19245         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19246         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19247         INEXACT_EXCEPTION.
19248         (rint_towardzero_test_data): Likewise.
19249         (rint_downward_test_data): Likewise.
19250         (rint_upward_test_data): Likewise.
19252         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19253         with OVERFLOW_EXCEPTION.
19254         (exp10_test_data): Likewise.
19255         (exp2_test_data): Likewise.
19256         (expm1_test_data): Likewise.
19257         (lgamma_test_data): Likewise.
19258         (pow_test_data): Likewise.
19259         (tgamma_test_data): Likewise.
19260         (yn_test_data): Remove duplicate test of overflow.
19262         * math/libm-test.inc (struct test_cc_c_data): New type.
19263         (RUN_TEST_LOOP_cc_c): New macro.
19264         (cpow_test_data): New variable.
19265         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19267         * math/libm-test.inc (struct test_f_L_data): New type.
19268         (RUN_TEST_LOOP_f_L): New macro.
19269         (llrint_test_data): New variable.
19270         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19271         (llrint_tonearest_test_data): New variable.
19272         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19273         (llrint_towardzero_test_data): New variable.
19274         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19275         (llrint_downward_test_data): New variable.
19276         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19277         (llrint_upward_test_data): New variable.
19278         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19279         (llround_test_data): New variable.
19280         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19282 2013-05-13  Peter Collingbourne  <pcc@google.com>
19284         * math/atest-exp2.c (get_log2): Remove const attribute.
19286 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19288         * math/libm-test.inc (struct test_f_l_data): New type.
19289         (RUN_TEST_LOOP_f_l): New macro.
19290         (lrint_test_data): New variable.
19291         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19292         (lrint_tonearest_test_data): New variable.
19293         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19294         (lrint_towardzero_test_data): New variable.
19295         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19296         (lrint_downward_test_data): New variable.
19297         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19298         (lrint_upward_test_data): New variable.
19299         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19300         (lround_test_data): New variable.
19301         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19303 2013-05-15  Peter Collingbourne  <pcc@google.com>
19305         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19306         (EXTRACT_WORDS64) Use where appropriate.
19307         (INSERT_WORDS64) Likewise.
19309         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19310         constraints with x constraints.
19311         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19313         * malloc/obstack.c (_obstack_compat): Add initializer.
19315 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19317         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19318         si_trapno and add si_addr_lsb to _sifields.sigfault.
19319         (si_trapno): Remove macro.
19320         (si_addr_lsb): Define new macro.
19321         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19323 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19325         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19326         instead of TEST_f_l.
19327         (llrint_test_tonearest): Likewise.
19328         (llrint_test_towardzero): Likewise.
19329         (llrint_test_downward): Likewise.
19330         (llrint_test_upward): Likewise.
19331         (llround_test): Likewise.
19333         * math/libm-test.inc (struct test_f_i_data): Add comment.
19334         (RUN_TEST_LOOP_f_b): New macro.
19335         (RUN_TEST_LOOP_f_b_tg): Likewise.
19336         (finite_test_data): New variable.
19337         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19338         (isfinite_test_data): New variable.
19339         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19340         (isinf_test_data): New variable.
19341         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19342         (isnan_test_data): New variable.
19343         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19344         (isnormal_test_data): New variable.
19345         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19346         (issignaling_test_data): New variable.
19347         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19348         (signbit_test_data): New variable.
19349         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19351         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19352         with INVALID_EXCEPTION.
19353         (acosh_test_data): Likewise.
19354         (asin_test_data): Likewise.
19355         (atanh_test_data): Likewise.
19356         (fmod_test_data): Likewise.
19357         (log_test_data): Likewise.
19358         (log10_test_data): Likewise.
19359         (log2_test_data): Likewise.
19360         (pow_test_data): Likewise.
19361         (sqrt_test_data): Likewise.
19362         (y0_test_data): Likewise.
19363         (y1_test_data): Likewise.
19364         (yn_test_data): Likewise.
19366         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19367         function contents.
19369         * math/libm-test.inc (struct test_ff_i_data): New type.
19370         (RUN_TEST_LOOP_ff_i_tg): New macro.
19371         (isgreater_test_data): New variable.
19372         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19373         (isgreaterequal_test_data): New variable.
19374         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19375         (isless_test_data): New variable.
19376         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19377         (islessequal_test_data): New variable.
19378         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19379         (islessgreater_test_data): New variable.
19380         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19381         (isunordered_test_data): New variable.
19382         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19384 2013-05-14  David S. Miller  <davem@davemloft.net>
19386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19388 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19390         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19392         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19393         extra_test to int.
19394         (struct test_f_i_data): Change type of max_ulp to int.
19396         * math/libm-test.inc (test_ffI_f1_data): New type.
19397         (RUN_TEST_LOOP_ffI_f1): New macro.
19398         (remquo_test_data): New variable.
19399         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19401         * setjmp/tst-setjmp-fp.c: New file.
19402         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19403         (link-libm): New variable.
19404         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19406         * math/libm-test.inc (struct test_f_i_data): New type.
19407         (RUN_TEST_LOOP_f_i): New macro.
19408         (RUN_TEST_LOOP_f_i_tg): Likewise.
19409         (fpclassify_test_data): New variable.
19410         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19411         (ilogb_test_data): New variable.
19412         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19414         * math/libm-test.inc (scalbln_test): Correct function name in END
19415         call.
19417         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19418         (RUN_TEST_LOOP_fI_f1): New macro.
19419         (frexp_test_data): New variable.
19420         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19422         * math/libm-test.inc (struct test_fF_f1_data): New type.
19423         (RUN_TEST_LOOP_fF_f1): New macro.
19424         (modf_test_data): New variable.
19425         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19427         * math/libm-test.inc (struct test_f_f1_data): New type.
19428         (RUN_TEST_LOOP_f_f1): New macro.
19429         (gamma_test_data): New variable.
19430         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19431         (lgamma_test_data): New variable.
19432         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19434 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19436         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19437         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19438         (main): Comment "tls" pseudo-hwcap.
19440 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19442         * math/libm-test.inc (struct test_fl_f_data): New type.
19443         (RUN_TEST_LOOP_fl_f): New variable.
19444         (scalbln_test_data): New variable.
19445         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19447         * math/libm-test.inc (struct test_fi_f_data): New type.
19448         (RUN_TEST_LOOP_fi_f): New macro.
19449         (ldexp_test_data): New variable.
19450         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19451         (scalbn_test_data): New variable.
19452         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19454         * math/libm-test.inc (struct test_c_f_data): New type.
19455         (RUN_TEST_LOOP_c_f): New macro.
19456         (cabs_test_data): New variable.
19457         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19458         (carg_test_data): New variable.
19459         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19460         (cimag_test_data): New variable.
19461         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19462         (creal_test_data): New variable.
19463         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19465         * math/libm-test.inc (struct test_if_f_data): New type.
19466         (RUN_TEST_LOOP_if_f): New macro.
19467         (jn_test_data): New variable.
19468         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19469         (yn_test_data): New variable.
19470         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19472         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19474 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19476         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19477         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19479 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19481         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19482         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19483         (bench-deps): Add bench-timing.h.
19484         * benchtests-bench-skeleton.c: Include bench-timing.h.
19485         (main): Use TIMING_* macros instead of clock_gettime.
19486         * benchtests/bench-timing.h: New file.
19488         [BZ #14582]
19489         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19490         Renamed from _LIB_VERSION.
19491         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19493 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19495         * math/libm-test.inc (struct test_fff_f_data): New type.
19496         (RUN_TEST_LOOP_fff_f): New macro.
19497         (fma_test_data): New variable.
19498         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19499         (fma_towardzero_test_data): New variable.
19500         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19501         (fma_downward_test_data): New variable.
19502         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19503         (fma_upward_test_data): New variable.
19504         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19506         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19507         (struct test_c_c_data): New type.
19508         (RUN_TEST_LOOP_c_c): New macro.
19509         (cacos_test_data): New variable.
19510         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19511         (cacosh_test_data): New variable.
19512         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19513         (casin_test_data): New variable.
19514         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19515         (casinh_test_data): New variable.
19516         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19517         (catan_test_data): New variable.
19518         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19519         (catanh_test_data): New variable.
19520         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19521         (ccos_test_data): New variable.
19522         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19523         (ccosh_test_data): New variable.
19524         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19525         (cexp_test_data): New variable.
19526         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19527         (clog_test_data): New variable.
19528         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19529         (clog10_test_data): New variable.
19530         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19531         (conj_test_data): New variable.
19532         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19533         (cproj_test_data): New variable.
19534         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19535         (csin_test_data): New variable.
19536         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19537         (csinh_test_data): New variable.
19538         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19539         (csqrt_test_data): New variable.
19540         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19541         (ctan_test_data): New variable.
19542         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19543         (ctan_tonearest_test_data): New variable.
19544         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19545         (ctan_towardzero_test_data): New variable.
19546         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19547         (ctan_downward_test_data): New variable.
19548         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19549         (ctan_upward_test_data): New variable.
19550         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19551         (ctanh_test_data): New variable.
19552         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19553         (ctanh_tonearest_test_data): New variable.
19554         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19555         (ctanh_towardzero_test_data): New variable.
19556         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19557         (ctanh_downward_test_data): New variable.
19558         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19559         (ctanh_upward_test_data): New variable.
19560         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19561         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19562         of BUILD_COMPLEX.
19564         * math/libm-test.inc (struct test_ff_f_data): New type.
19565         (struct test_ff_f_data_nexttoward): Likewise.
19566         (RUN_TEST_LOOP_2_f): New macro.
19567         (RUN_TEST_LOOP_ff_f): Likewise.
19568         (atan2_test_data): New variable.
19569         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19570         (copysign_test_data): New variable.
19571         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19572         (fdim_test_data): New variable.
19573         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19574         (fmax_test_data): New variable.
19575         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19576         (fmin_test_data): New variable.
19577         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19578         (fmod_test_data): New variable.
19579         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19580         (hypot_test_data): New variable.
19581         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19582         (nextafter_test_data): New variable.
19583         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19584         (nexttoward_test_data): New variable.
19585         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19586         (pow_test_data): New variable.
19587         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19588         (pow_tonearest_test_data): New variable.
19589         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19590         (pow_towardzero_test_data): New variable.
19591         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19592         (pow_downward_test_data): New variable.
19593         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19594         (pow_upward_test_data): New variable.
19595         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19596         (remainder_test_data): New variable.
19597         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19598         (scalb_test_data): New variable.
19599         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19600         * sysdeps/i386/fpu/libm-test-ulps: Update.
19602 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19604         * math/libm-test.inc (fma_test): Use max_value instead of local
19605         variable fltmax.
19606         (nextafter_test): Likewise.
19608         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19609         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19610         (acos_downward_test_data): New variable.
19611         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19612         (acos_upward_test_data): New variable.
19613         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19614         (acosh_test_data): New variable.
19615         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19616         (asin_test_data): New variable.
19617         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19618         (asin_tonearest_test_data): New variable.
19619         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19620         (asin_towardzero_test_data): New variable.
19621         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19622         (asin_downward_test_data): New variable.
19623         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19624         (asin_upward_test_data): New variable.
19625         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19626         (asinh_test_data): New variable.
19627         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19628         (atan_test_data): New variable.
19629         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19630         (atanh_test_data): New variable.
19631         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19632         (cbrt_test_data): New variable.
19633         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19634         (ceil_test_data): New variable.
19635         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19636         (cos_test_data): New variable.
19637         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19638         (cos_tonearest_test_data): New variable.
19639         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19640         (cos_towardzero_test_data): New variable.
19641         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19642         (cos_downward_test_data): New variable.
19643         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19644         (cos_upward_test_data): New variable.
19645         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19646         (cosh_test_data): New variable.
19647         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19648         (cosh_tonearest_test_data): New variable.
19649         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19650         (cosh_towardzero_test_data): New variable.
19651         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19652         (cosh_downward_test_data): New variable.
19653         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19654         (cosh_upward_test_data): New variable.
19655         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19656         (erf_test_data): New variable.
19657         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19658         (erfc_test_data): New variable.
19659         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19660         (exp_test_data): New variable.
19661         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19662         (exp_tonearest_test_data): New variable.
19663         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19664         (exp_towardzero_test_data): New variable.
19665         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19666         (exp_downward_test_data): New variable.
19667         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19668         (exp_upward_test_data): New variable.
19669         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19670         (exp10_test_data): New variable.
19671         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19672         (exp2_test_data): New variable.
19673         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19674         (expm1_test_data): New variable.
19675         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19676         (fabs_test_data): New variable.
19677         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19678         (floor_test_data): New variable.
19679         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19680         (j0_test_data): New variable.
19681         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19682         (j1_test_data): New variable.
19683         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19684         (log_test_data): New variable.
19685         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19686         (log10_test_data): New variable.
19687         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19688         (log1p_test_data): New variable.
19689         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19690         (log2_test_data): New variable.
19691         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19692         (logb_test_data): New variable.
19693         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19694         (logb_downward_test_data): New variable.
19695         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19696         (nearbyint_test_data): New variable.
19697         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19698         (rint_test_data): New variable.
19699         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19700         (rint_tonearest_test_data): New variable.
19701         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19702         (rint_towardzero_test_data): New variable.
19703         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19704         (rint_downward_test_data): New variable.
19705         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19706         (rint_upward_test_data): New variable.
19707         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19708         (round_test_data): New variable.
19709         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19710         (sin_test_data): New variable.
19711         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19712         (sin_tonearest_test_data): New variable.
19713         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19714         (sin_towardzero_test_data): New variable.
19715         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19716         (sin_downward_test_data): New variable.
19717         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19718         (sin_upward_test_data): New variable.
19719         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19720         (sinh_test_data): New variable.
19721         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19722         (sinh_tonearest_test_data): New variable.
19723         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19724         (sinh_towardzero_test_data): New variable.
19725         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19726         (sinh_downward_test_data): New variable.
19727         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19728         (sinh_upward_test_data): New variable.
19729         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19730         (sqrt_test_data): New variable.
19731         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19732         (tan_test_data): New variable.
19733         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19734         (tan_tonearest_test_data): New variable.
19735         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19736         (tan_towardzero_test_data): New variable.
19737         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19738         (tan_downward_test_data): New variable.
19739         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19740         (tan_upward_test_data): New variable.
19741         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19742         (tanh_test_data): New variable.
19743         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19744         (tgamma_test_data): New variable.
19745         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19746         (trunc_test_data): New variable.
19747         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19748         (y0_test_data): New variable.
19749         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19750         (y1_test_data): New variable.
19751         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19752         (significand_test_data): New variable.
19753         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19755 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19757         [BZ #12387]
19758         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19760 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19762         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19764 2013-05-10  Andreas Jaeger  <aj@suse.de>
19766         [BZ #15448]
19767         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19768         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19770 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19772         * math/gen-libm-test.pl (adjust_arg): New function.
19773         (special_functions): Handle generating output in both functions
19774         and arrays.
19775         (parse_args): Likewise.
19776         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19777         $in_func argument to parse_args.
19778         * math/libm-test.inc (struct test_f_f_data): New type.
19779         (IF_ROUND_INIT_): New macro.
19780         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19781         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19782         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19783         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19784         (ROUND_RESTORE_): Likewise.
19785         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19786         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19787         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19788         (ROUND_RESTORE_FE_UPWARD): Likewise.
19789         (RUN_TEST_LOOP_f_f): New macro.
19790         (acos_test_data): New variable.
19791         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19792         (acos_tonearest_test_data): New variable.
19793         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19795 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19797         * benchtests/bench-skeleton.c (startup): Fix coding style.
19799 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19801         [BZ #6809]
19802         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19803         negative infinity argument.
19804         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19805         negative infinity argument.
19806         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19807         negative infinity argument.
19808         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19809         domain errors.
19811 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19813         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19814         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19815         * iconv/iconv_prog.c (main): Likewise.
19816         * locale/programs/charmap-dir.c (charmap_readdir)
19817         (fopen_uncompressed): Likewise.
19818         * locale/programs/locfile.c (siblings_uncached)
19819         (write_locale_data): Use lstat64 instead of lstat.
19820         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19821         stat.
19823 2013-05-10  Andreas Jaeger  <aj@suse.de>
19825         [BZ #15395]
19826         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19827         localization.
19828         Include <locale.h>.
19830 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19832         * elf/dl-close.c (_dl_close_worker): Add comments.
19834 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19836         [BZ #15359]
19837         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19838         high part of pi/2.
19839         (__ieee754_rem_pio2l): Update comments.
19841         [BZ #15429]
19842         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19843         high part of pi/2.
19844         (__ieee754_rem_pio2l): Update comments.
19846         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19847         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19849         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19850         M_PI_4l.
19852         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19853         (M_PI_34_LOG10El): Likewise.
19854         (M_PI2_LOG10El): Likewise.
19855         (M_PI4_LOG10El): Likewise.
19856         (M_PI_LOG10El): Likewise.
19858 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19862 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19864         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19865         (MINUS_ZERO_INIT): Likewise.
19866         (PLUS_INFTY_INIT): Likewise.
19867         (MINUS_INFTY_INIT): Likewise.
19868         (QNAN_VALUE_INIT): Likewise.
19869         (MAX_VALUE_INIT): Likewise.
19870         (MIN_VALUE_INIT): Likewise.
19871         (MIN_SUBNORM_VALUE_INIT): Likewise.
19872         (plus_zero): Initialize with PLUS_ZERO_INIT.
19873         (minus_zero): Initialize with MINUS_ZERO_INIT.
19874         (plus_infty): Initialize with PLUS_INFTY_INIT.
19875         (minus_infty): Initialize with MINUS_INFTY_INIT.
19876         (qnan_value): Initialize with QNAN_VALUE_INIT.
19877         (max_value): Initialize with MAX_VALUE_INIT.
19878         (min_value): Initialize with MIN_VALUE_INIT.
19879         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19881         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19882         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19883         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19884         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19886         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19887         (RUN_TEST_2_f): Likewise.
19888         (RUN_TEST_ff_f): Likewise.
19889         (RUN_TEST_fi_f): Likewise.
19890         (RUN_TEST_fl_f): Likewise.
19891         (RUN_TEST_fff_f): Likewise.
19892         (RUN_TEST_c_f): Likewise.
19893         (RUN_TEST_f_f1): Likewise.
19894         (RUN_TEST_fF_f1): Likewise.
19895         (RUN_TEST_fI_f1): Likewise.
19896         (RUN_TEST_ffI_f1): Likewise.
19897         (RUN_TEST_c_c): Likewise.
19898         (RUN_TEST_cc_c): Likewise.
19899         (RUN_TEST_f_i): Likewise.
19900         (RUN_TEST_f_i_tg): Likewise.
19901         (RUN_TEST_ff_i_tg): Likewise.
19902         (RUN_TEST_f_b): Likewise.
19903         (RUN_TEST_f_b_tg): Likewise.
19904         (RUN_TEST_f_l): Likewise.
19905         (RUN_TEST_f_L): Likewise.
19906         (RUN_TEST_sincos): Likewise.
19907         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19908         whether to show exceptions.  Do not include ");\n" in return
19909         value.
19910         (special_functions): Output call to RUN_TEST_sincos instead of
19911         check_float calls.  Update calls to new_test.
19912         (parse_args): Output call to single RUN_TEST_* macro instead of
19913         check_* calls and other assignments.  Update calls to new_test.
19915         [BZ #2546]
19916         [BZ #2560]
19917         [BZ #5159]
19918         [BZ #15426]
19919         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19920         input to result for tgamma overflow.
19921         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19922         (gamma_coeff): New variable.
19923         (NCOEFF): New macro.
19924         (gamma_positive): New function.
19925         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19926         underflow here.  Use gamma_positive instead of exp (lgamma) for
19927         other arguments.
19928         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19929         (gamma_coeff): New variable.
19930         (NCOEFF): New macro.
19931         (gammaf_positive): New function.
19932         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19933         underflow here.  Use gamma_positive instead of exp (lgamma) for
19934         other arguments.
19935         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19936         (gamma_coeff): New variable.
19937         (NCOEFF): New macro.
19938         (gammal_positive): New function.
19939         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19940         underflow here.  Use gamma_positive instead of exp (lgamma) for
19941         other arguments.
19942         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19943         (gamma_coeff): New variable.
19944         (NCOEFF): New macro.
19945         (gammal_positive): New function.
19946         (__ieee754_gammal_r): Handle positive infinity, overflow and
19947         underflow here.  Handle NaN the same as positive infinity.  Remove
19948         check x < 0xffffffff for negative integers.  Use gamma_positive
19949         instead of exp (lgamma) for other arguments.
19950         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19951         (gamma_coeff): New variable.
19952         (NCOEFF): New macro.
19953         (gammal_positive): New function.
19954         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19955         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19956         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19957         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19958         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19959         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19960         * sysdeps/generic/math_private.h (__gamma_productf): New
19961         prototype.
19962         (__gamma_product): Likewise.
19963         (__gamma_productl): Likewise.
19964         * math/Makefile (libm-calls): Add gamma_product.
19965         * math/libm-test.inc (tgamma_test): Add more tests.
19966         * sysdeps/i386/fpu/libm-test-ulps: Update.
19967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19969 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19971         * benchtests/bench-skeleton.c (main): Preheat CPU.
19973 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19975         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19977 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19979         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19980         and _dl_skip_args_internal.
19982 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19984         * manual/message.texi (Message Translation): Talk about users.
19985         Message to key mapping impacts design.
19987 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19989         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19991         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19993         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19994         * sysdeps/wordsize-64/glob64.c: ... here.
19996         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19997         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19998         New macros.
20000         * debug/getlogin_r_chk.c: Moved to ...
20001         * login/getlogin_r_chk.c: ... here.
20002         * debug/Makefile (routines): Move getlogin_r_chk to ...
20003         * login/Makefile (routines): ... here.
20004         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20005         * login/Versions (libc: GLIBC_2.4): ... here.
20007         * io/poll.c (__poll): Renamed from poll.
20008         Add libc_hidden_def.
20009         (poll): Define as weak alias.
20011         * debug/ptsname_r_chk.c: Moved to ...
20012         * login/ptsname_r_chk.c: ... here.
20013         * debug/Makefile (routines): Move ptsname_r_chk to ...
20014         * login/Makefile (routines): ... here.
20015         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20016         * login/Versions (libc: GLIBC_2.4): ... here.
20018         * posix/getlogin.c: Moved to ...
20019         * login/getlogin.c: ... here.
20020         * posix/getlogin_r.c: Moved to ...
20021         * login/getlogin_r.c: ... here.
20022         * posix/getlogin_r.c: Moved to ...
20023         * login/getlogin_r.c: ... here.
20024         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20025         * login/Makefile (routines): ... here.
20026         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20027         * login/Versions (libc: GLIBC_2.0): ... here.
20029         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20030         (setrlimit): Define as weak alias.
20032         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20033         Call __ names for open, ftruncate, and close.
20034         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20035         (truncate): Define as weak alias.
20037 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
20039         * math/gen-libm-test.pl (parse_args): Initialize x before each
20040         test of frexp, modf and remquo.
20042         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20043         test signgam value.
20045 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20047         [BZ #15418]
20048         [BZ #15419]
20049         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20050         internal tests.
20051         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20053 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20055         * elf/dl-writev.h: New file.
20056         * elf/dl-misc.c: Include it.
20057         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20058         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20060 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20062         * math/libm-test.inc (noXFails): Remove variable.
20063         (noXPasses): Likewise.
20064         (BUILD_COMPLEX_INT): Remove macro.
20065         (print_screen): Remove xfail argument.
20066         (print_screen_max_error): Likewise.
20067         (update_stats): Likewise.
20068         (print_max_error): Likewise.  Update calls to other affected
20069         functions.
20070         (print_complex_max_error): Likewise.
20071         (test_single_exception): Update calls to print_screen.
20072         (test_single_errno): Likewise.
20073         (check_float_internal): Remove xfail argument.  Update calls to
20074         other affected functions.
20075         (check_float): Likewise.
20076         (check_complex): Likewise.
20077         (check_int): Likewise.
20078         (check_long): Likewise.
20079         (check_bool): Likewise.
20080         (check_longlong): Likewise.
20081         (main): Don't print noXFails and noXPasses.
20082         * math/gen-libm-test.pl (top level): Don't mention expected
20083         failure handling in comment.
20084         (new_test): Don't handle expected failures.
20085         (parse_args): Don't mention expected failure handling in comment.
20086         (generate_testfile): Don't handle expected failures.
20087         (parse_ulps): Likewise.
20088         (print_ulps_file): Likewise.
20089         (get_failure): Remove function.
20090         (output_test): Don't handle expected failures.
20091         * make/README.libm-test: Don't mention expected failure handling.
20093         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20094         (minus_zero): Likewise.
20095         (plus_infty): Likewise.
20096         (minus_infty): Likewise.
20097         (qnan_value): Likewise.
20098         (max_value): Likewise.
20099         (min_value): Likewise.
20100         (min_subnorm_value): Likewise.
20101         (initialize): Do not initialize those variables dynamically.
20103 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20105         * io/open.c (__open_2): Moved to ...
20106         * io/open_2.c: ... this new file.
20107         * io/open64.c (__open64_2): Moved to ...
20108         * io/open64_2.c: ... this new file.
20109         * io/openat.c (__openat_2): Moved to ...
20110         * io/openat_2.c: ... this new file.
20111         * io/openat64.c (__openat64_2): Moved to ...
20112         * io/openat64_2.c: ... this new file.
20113         * io/Makefile (routines): Add them.
20114         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20115         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20116         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20117         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20118         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20119         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20120         (__openat64): Add hidden_ver.
20121         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20122         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20124         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20125         Separately conditionalize setting of GLRO(dl_sysinfo) so
20126         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20127         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20129 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20131         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20132         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20133         definition.
20134         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20135         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20136         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20137         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20138         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20140 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20142         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20143         test signgam value.
20145         * math/libm-test.inc (hypot_test): Do not use
20146         IGNORE_ZERO_INF_SIGN.
20148 2013-05-03  Andreas Jaeger  <aj@suse.de>
20150         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20151         Linux 3.9.
20152         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20153         (PF_MAX): Adjust for VSOCK change.
20155 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20159 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20161         [BZ #15264]
20162         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20163         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20164         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20166 2013-05-02  David S. Miller  <davem@davemloft.net>
20168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20170 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20172         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20174 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20176         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20178 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20180         [BZ #14952]
20181         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20182         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20183         Use __attribute__ ((__gnu_inline__)).
20184         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20185         Don't use __attribute__ ((__gnu_inline__)).
20187 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20189         [BZ #15423]
20190         * math/s_catan.c (__catan): Handle small real or imaginary part of
20191         input specially to avoid spurious underflow.
20192         * math/s_catanf.c (__catanf): Likewise.
20193         * math/s_catanh.c (__catanh): Likewise.
20194         * math/s_catanhf.c (__catanhf): Likewise.
20195         * math/s_catanhl.c (__catanhl): Likewise.
20196         * math/s_catanl.c (__catanl): Likewise.
20197         * math/libm-test.inc (catan_test): Add more tests.
20198         (catanh_test): Likewise.
20199         * sysdeps/i386/fpu/libm-test-ulps: Update.
20200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20202 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20206 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20208         [BZ #15416]
20209         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20210         accurately for denominator in atan2.
20211         * math/s_catanf.c (__catanf): Likewise.
20212         * math/s_catanh.c (__catanh): Likewise.
20213         * math/s_catanhf.c (__catanhf): Likewise.
20214         * math/s_catanhl.c (__catanhl): Likewise.
20215         * math/s_catanl.c (__catanl): Likewise.
20216         * math/libm-test.inc (catan_test): Add more tests.
20217         (catanh_test): Likewise.
20218         * sysdeps/i386/fpu/libm-test-ulps: Update.
20219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20221 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20223         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20225         * benchtests/Makefile (bench): Remove slow benchmarks.
20226         * benchtests/atan-inputs: Add slow benchmark inputs.
20227         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20228         (BENCH_FUNC): Accept variant offset.
20229         (VARIANT): Define.
20230         * benchtests/bench-skeleton.c (main): Run benchmark for each
20231         variant.
20232         * benchtests/cos-inputs: Add slow benchmark inputs.
20233         * benchtests/exp-inputs: Likewise.
20234         * benchtests/pow-inputs: Likewise.
20235         * benchtests/sin-inputs: Likewise.
20236         * benchtests/slowatan-inputs: Remove.
20237         * benchtests/slowatan.c: Remove.
20238         * benchtests/slowcos-inputs: Remove.
20239         * benchtests/slowcos.c: Remove.
20240         * benchtests/slowexp-inputs: Remove.
20241         * benchtests/slowexp.c: Remove.
20242         * benchtests/slowpow-inputs: Remove.
20243         * benchtests/slowpow.c: Remove.
20244         * benchtests/slowsin-inputs: Remove.
20245         * benchtests/slowsin.c: Remove.
20246         * benchtests/slowtan-inputs: Remove.
20247         * benchtests/slowtan.c: Remove.
20248         * benchtests/tan-inputs: Add slow benchmark inputs.
20249         * scripts/bench.pl: Parse comments and directives.
20251         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20252         in CPPFLAGS.
20253         ($(objpfx)bench-%.c): Remove *-ITER.
20254         * benchtests/bench-modf.c: Remove definition of ITER.
20255         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20256         (main): Loop for DURATION seconds instead of fixed number of
20257         iterations.
20258         * scripts/bench.pl: Don't expect iterations in parameters.
20260 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20262         * io/fchdir.c (__fchdir): Renamed from fchdir.
20263         (fchdir): Define as weak alias.
20265 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20267         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20268         (ERRNO_EDOM): Likewise.
20269         (ERRNO_ERANGE): Likewise.
20270         (noErrnoTests): New variable.
20271         (init_max_error): Set errno to 0.
20272         (test_single_errno): New function.
20273         (test_errno): Likewise.
20274         (check_float_internal): Call test_errno.  Set errno to 0.
20275         (check_complex): Refer to errno tests in comment.
20276         (check_int): Call test_errno.  Set errno to 0.
20277         (check_long): Likewise.
20278         (check_bool): Likewise.
20279         (check_longlong): Likewise.
20280         (cos_test): Use ERRNO_* flags for errno tests instead of
20281         check_int.
20282         (expm1_test): Likewise.
20283         (fmod_test): Likewise.
20284         (ilogb_test): Likewise.
20285         (lgamma_test): Likewise.
20286         (pow_test): Likewise.
20287         (remainder_test): Likewise.
20288         (sin_test): Likewise.
20289         (tan_test): Likewise.
20290         (yn_test): Likewise.
20291         (initialize): Set errno to 0.
20292         (main): Print number of errno tests.
20293         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20295 2013-04-29  Andreas Jaeger  <aj@suse.de>
20297         [BZ #15084]
20298         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20299         and RES_USEVC.
20301         [BZ #15085]
20302         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20303         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20304         unimplemented.
20306         [BZ #15380]
20307         * stdlib/random.c (__initstate): Return NULL if
20308         __initstate fails.
20310         [BZ #15086]
20311         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20312         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20313         RES_SNGLKUPREOP.
20315 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20319 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20321         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20322         of individual tests.
20323         (casin_test): Likewise.
20324         (casinh_test): Likewise.
20326 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20328         [BZ #15409]
20329         * math/s_catan.c (__catan): Handle arguments with large real or
20330         imaginary part separately without squaring.
20331         * math/s_catanf.c (__catanf): Likewise.
20332         * math/s_catanh.c (__catanh): Likewise.
20333         * math/s_catanhf.c (__catanhf): Likewise.
20334         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20335         and redefine.
20336         (__catanhl): Handle arguments with large real or imaginary part
20337         separately without squaring.
20338         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20339         and redefine.
20340         (__catanl): Handle arguments with large real or imaginary part
20341         separately without squaring.
20342         * math/libm-test.inc (catan_test): Add more tests.
20343         (catanh_test): Likewise.
20344         * sysdeps/i386/fpu/libm-test-ulps: Update.
20345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20347 2013-04-27  Andreas Jaeger  <aj@suse.de>
20349         [BZ #15007]
20350         * stdlib/stdlib.h: Update guards for qecvt.
20351         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20352         <stdlib.h>.
20354 2013-04-27  Allan McRae  <allan@archlinux.org>
20356         * sysdeps/i386/fpu/libm-test-ulps: Update.
20358 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20360         [BZ #15406]
20361         * math/s_catan.c: Include <float.h>.
20362         (__catan): Ensure underflow exception occurs for underflowed
20363         result.
20364         * math/s_catanf.c: Include <float.h>.
20365         (__catanf): Ensure underflow exception occurs for underflowed
20366         result.
20367         * math/s_catanh.c: Include <float.h>.
20368         (__catanh): Ensure underflow exception occurs for underflowed
20369         result.
20370         * math/s_catanhf.c: Include <float.h>.
20371         (__catanhf): Ensure underflow exception occurs for underflowed
20372         result.
20373         * math/s_catanhl.c: Include <float.h>.
20374         (__catanhl): Ensure underflow exception occurs for underflowed
20375         result.
20376         * math/s_catanl.c: Include <float.h>.
20377         (__catanl): Ensure underflow exception occurs for underflowed
20378         result.
20379         * math/libm-test.inc (catan_test): Add more tests.
20380         (catanh_test): Likewise.
20382         [BZ #15405]
20383         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20384         underflowed result.
20385         * math/s_ccoshf.c (__ccoshf): Likewise.
20386         * math/s_ccoshl.c (__ccoshl): Likewise.
20387         * math/s_csin.c (__csin): Likewise.
20388         * math/s_csinf.c (__csinf): Likewise.
20389         * math/s_csinh.c (__csinh): Likewise.
20390         * math/s_csinhf.c (__csinhf): Likewise.
20391         * math/s_csinhl.c (__csinhl): Likewise.
20392         * math/s_csinl.c (__csinl): Likewise.
20393         * math/libm-test.inc (ccos_test): Add more tests.
20394         (ccosh_test): Likewise.
20395         (csin_test): Likewise.
20396         (csinh_test): Likewise.
20398 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20400         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20401         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20402         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20403         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20404         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20405         powerpc/power5+/fpu folders.
20406         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20409 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20411         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20413 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20415         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20416         additions to variable.
20417         [$(config-machine) = x86_64] (modules-names): Likewise.
20418         ($(objpfx)tst-audit3): Remove dependency.
20419         ($(objpfx)tst-audit3.out): Likewise.
20420         ($(objpfx)tst-audit4): Likewise.
20421         ($(objpfx)tst-audit4.out): Likewise.
20422         ($(objpfx)tst-audit5): Likewise.
20423         ($(objpfx)tst-audit5.out): Likewise.
20424         ($(objpfx)tst-audit6): Likewise.
20425         ($(objpfx)tst-audit6.out): Likewise.
20426         ($(objpfx)tst-audit7): Likewise.
20427         ($(objpfx)tst-audit7.out): Likewise.
20428         (tst-audit3-ENV): Remove variable.
20429         (tst-audit4-ENV): Likewise.
20430         (tst-audit5-ENV): Likewise.
20431         (tst-audit6-ENV): Likewise.
20432         (tst-audit7-ENV): Likewise.
20433         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20434         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20435         addition to variable.
20436         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20437         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20438         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20439         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20440         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20441         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20442         tst-audit3, tst-audit4 and tst-audit5.
20443         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20444         tst-audit6 and tst-audit7.
20445         [$(subdir) = elf] (modules-names): Add audit modules for those
20446         tests.
20447         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20448         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20449         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20450         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20451         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20452         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20453         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20454         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20455         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20456         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20457         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20458         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20459         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20460         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20461         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20462         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20463         Likewise.
20464         [$(subdir) = elf && $(config-cflags-avx) = yes]
20465         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20466         [$(subdir) = elf && $(config-cflags-avx) = yes]
20467         (CFLAGS-tst-auditmod4a.c): Likewise.
20468         [$(subdir) = elf && $(config-cflags-avx) = yes]
20469         (CFLAGS-tst-auditmod4b.c): Likewise.
20470         [$(subdir) = elf && $(config-cflags-avx) = yes]
20471         (CFLAGS-tst-auditmod6b.c): Likewise.
20472         [$(subdir) = elf && $(config-cflags-avx) = yes]
20473         (CFLAGS-tst-auditmod6c.c): Likewise.
20474         [$(subdir) = elf && $(config-cflags-avx) = yes]
20475         (CFLAGS-tst-auditmod7b.c): Likewise.
20476         * elf/tst-audit3.c: Move to ...
20477         * sysdeps/x86_64/tst-audit3.c: ... here.
20478         * elf/tst-audit4.c: Move to ...
20479         * sysdeps/x86_64/tst-audit4.c: ... here.
20480         * elf/tst-audit5.c: Move to ...
20481         * sysdeps/x86_64/tst-audit5.c: ... here.
20482         * elf/tst-audit6.c: Move to ...
20483         * sysdeps/x86_64/tst-audit6.c: ... here.
20484         * elf/tst-audit7.c: Move to ...
20485         * sysdeps/x86_64/tst-audit7.c: ... here.
20486         * elf/tst-auditmod3a.c: Move to ...
20487         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20488         * elf/tst-auditmod3b.c: Move to ...
20489         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20490         * elf/tst-auditmod4a.c: Move to ...
20491         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20492         * elf/tst-auditmod4b.c: Move to ...
20493         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20494         * elf/tst-auditmod5a.c: Move to ...
20495         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20496         * elf/tst-auditmod5b.c: Move to ...
20497         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20498         * elf/tst-auditmod6a.c: Move to ...
20499         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20500         * elf/tst-auditmod6b.c: Move to ...
20501         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20502         * elf/tst-auditmod6c.c: Move to ...
20503         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20504         * elf/tst-auditmod7a.c: Move to ...
20505         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20506         * elf/tst-auditmod7b.c: Move to ...
20507         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20509 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20511         [BZ #15366]
20512         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20513         define unconditionally.
20514         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20515         define unconditionally.
20516         (INT8_C, INT16_C, etc.): Likewise.
20518 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20520         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20521         __ehdr_start with hidden visibility.
20523         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20525 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20527         * math/libm-test.inc (cos_test): Use accurate hex constants.
20528         (sincost_test): Likewise.
20530 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20532         * math/libm-test.inc (catan_test): Add more tests.
20533         (catanh_test): Likewise.
20535         * math/s_catanf.c (__catanf): Use suffixed floating-point
20536         constants.
20537         * math/s_catanhf.c (__catanhf): Likewise.
20538         * math/s_catanhl.c (__catanhl): Likewise.
20539         * math/s_catanl.c (__catanl): Likewise.
20541         [BZ #15394]
20542         * math/s_catan.c (__catan): Calculate imaginary part of result
20543         with log1p not log unless computing log of number close to 0.
20544         * math/s_catanf.c (__catanf): Likewise.
20545         * math/s_catanl.c (__catanl): Likewise.
20546         * math/s_catanh.c (__catanh): Calculate real part of result with
20547         log1p not log unless computing log of number close to 0.
20548         * math/s_catanhf.c (__catanhf): Likewise.
20549         * math/s_catanhl.c (__catanhl): Likewise.
20550         * math/libm-test.inc (catan_test): Add more tests.
20551         (catanh_test): Likewise.
20552         * sysdeps/i386/fpu/libm-test-ulps: Update.
20553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20555 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20557         * benchtests/Makefile: Mention files in which fast and slow
20558         paths of math functions are implemented.
20560 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20562         * sysdeps/posix/timespec_get.c: New file.
20564 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20566         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20567         POWER.
20568         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20569         for POWER.
20570         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20571         powerpc/power5/fpu folders.
20572         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20573         * benchtests/Makefile: Add modf testcase.
20574         * benchtests/bench-modf.c: New file: Benchmark test for mo
20576 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20578         [BZ #14888]
20579         * time/Makefile (tests): Add tst-strptime-whitespace.
20580         * time/strptime_l.c (get_number): Use ISSPACE.
20581         (__strptime_internal): Likewise.
20582         * time/tst-strptime-whitespace.c: New test case.
20584 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20586         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20587         member.
20588         (_nss_files_init): Set it here.
20590 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20592         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20593         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20594         unsigned.
20596 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20598         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20600 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20602         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20603         size just once.
20605 2013-04-21  David S. Miller  <davem@davemloft.net>
20607         * po/ru.po: Update Russion translation from translation project.
20609 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20611         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20612         and setfsgid.
20614 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20616         * configure.in: Remove i386 configure warning. Remove i386 case.
20617         * configure: Regenerate.
20618         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20619         Add example to error message.
20620         * sysdeps/i386/configure: Regenerate.
20622 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20624         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20625         slowtan.
20626         * benchtests/cos-inputs: New file.
20627         * benchtests/slowcos-inputs: New file.
20628         * benchtests/slowcos.c: New file.
20629         * benchtests/slowtan-inputs: New file.
20630         * benchtests/slowtan.c: New file.
20631         * benchtests/tan-inputs: New file.
20633 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20635         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20636         considered kosher.
20638 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20640         * benchtests/Makefile: Include cppflags-iterator.mk to add
20641         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20643         * Makefile.in (bench-clean): New target.
20644         * benchtests/Makefile (bench-clean): Likewise.
20646 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20648         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20650 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20652         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20654 2013-04-15  Andreas Schwab  <schwab@suse.de>
20656         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20657         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20658         * nscd/pwdcache.c (cache_addpw): Likewise.
20659         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20660         more than recsize.
20662 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20664         * benchtests/Makefile (bench): Write all output to
20665         bench-out.tmp together.
20667 2013-04-15  Andreas Schwab  <schwab@suse.de>
20669         * nscd/nscd.c (main): Don't fork again after closing files.
20671 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20673         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20675         * benchtests/Rules (bench-deps): Collect dependencies into a
20676         single variable.  Add Makefile to dependencies.
20677         ($(objpfx)bench-%.c): Depend on bench-deps.
20679 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20680             Xavier Roche  <roche+kml2@exalead.com>
20682         [BZ #15361]
20683         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20684         just that it's a file descriptor.
20685         * manual/llio.texi (Synchronizing AIO Operations): Update description
20686         for EBADF error from aio_fsync.
20688 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20690         * Rules (bench): Move target definition...
20691         * benchtests/Makefile: ... here.
20693 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20695         * math/libm-test.inc (cos_test): Fix PI/2 test.
20696         (sincos_test): Likewise.
20697         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20698         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20700 2013-04-11  Andreas Schwab  <schwab@suse.de>
20702         [BZ #13988]
20703         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20704         accept exponent character only when digits were seen.
20705         * stdio-common/Makefile (tests): Add bug26.
20706         * stdio-common/bug26.c: New file.
20708         [BZ #14293]
20709         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20710         non-freeable.
20712 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20714         * Makeconfig (rtld-prefix): Define built linker prefix.
20715         * Rules (run-bench): Use it.
20716         * math/Makefile (run-regen-ulps): Likewise.
20718         * Rules (bench): Remove eval.
20720 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20721             Roland McGrath  <roland@hack.frob.com>
20722             Ondrej Bilka  <neleai@seznam.cz>
20724         [BZ #15346]
20725         * time/getdate.c: Include ctype.h and alloca.h.
20726         (__getdate_r): Trim leading and trailing spaces of input.
20727         * time/tst-getdate.c (tests): Add tests with leading and
20728         trailing spaces.
20730 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20732         [BZ #14280]
20733         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20734         when computing value.
20736 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20738         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20739         Use testrun.sh to run libm tests.
20741         [BZ #15309]
20742         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20744 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20746         [BZ #15264]
20747         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20749 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20751         * Makefile.in (regen-ulps): New target.
20752         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20753         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20754         [ifneq (no,$(PERL)] (regen-ulps): New target.
20755         [ifeq (no,$(PERL)] (regen-ulps): New target.
20756         * math/libm-test.inc (ulps_file_name): Define.
20757         (output_dir): New variable.
20758         (options): Add "output-dir" option.
20759         (parse_opt): Handle 'o' case.
20760         (main): If output_dir is non-NULL use it as a prefix
20761         otherwise use "".
20762         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20764 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20766         [BZ #10060, #10062]
20767         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20768         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20769         fail configure if __sync_val_compare_and_swap is not inlined.
20770         * sysdeps/i386/configure: Regenerate.
20771         * configure.in: Build for i686 when configured for i386.
20772         * configure: Regenerate.
20773         * README: Remove i386 reference.
20775 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20777         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20778         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20780 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20782         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20783         (lmsnanval): New variables.
20784         (F): Add conversion tests.
20785         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20786         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20788         * stdio-common/tstdiomisc.c (F): Properly collect individual
20789         tests' results.
20791         [BZ #14686, #15336]
20792         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20793         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20794         Instead, use input NaN values or generate a qNaN by arithmetic
20795         operation.  Also fix bugs to comply with the standard.
20796         * math/libm-test.inc (remainder_test): Add more tests.
20798         [BZ #15335, #15342]
20799         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20800         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20801         input NaN values or generate a qNaN by arithmetic operation.
20803         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20804         unreachable code.
20806         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20807         definitions.
20809 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20811         [BZ #14478]
20812         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20813         underflowed result.
20814         * math/s_cexpf.c (__cexpf): Likewise.
20815         * math/s_cexpl.c (__cexpl): Likewise.
20816         * math/libm-test.inc (cexp_test): Add more tests.
20818 2013-04-03  Andreas Schwab  <schwab@suse.de>
20820         [BZ #15330]
20821         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20822         order arrays from heap if bigger than alloca cutoff.
20824 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20826         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20827         (SNAN_TESTS_double): Refer to GCC PR56831.
20828         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20829         GCC PR56828.
20831 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20833         * Rules (bench): Move bench.out after the run is complete.
20835         * Rules (bench): Echo currently running benchmark.
20837         * benchtests/Makefile (bench): Add atan and slowatan.
20838         * benchtests/atan-inputs: New file.
20839         * benchtests/slowatan-inputs: New file.
20840         * benchtests/slowatan.c: New file.
20842         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20843         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20844         its value.
20846         [BZ #15305]
20847         * sysdeps/unix/sysv/linux/kernel-features.h
20848         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20849         __ASSUME_XFS_RESTRICTED_CHOWN.
20850         * sysdeps/unix/sysv/linux/pathconf.c
20851         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20852         Save and restore errno.
20854 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20856         [BZ #15327]
20857         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20858         arguments using __kernel_casinh.
20859         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20860         arguments using __kernel_casinhf.
20861         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20862         arguments using __kernel_casinhl.
20863         * math/libm-test.inc (cacosh_test): Add more tests.
20864         * sysdeps/i386/fpu/libm-test-ulps: Update.
20865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20867 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20869         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20872         * bench/Makefile (bench): Add sin and slowsin.
20873         * benchtests/sin-inputs: New file.
20874         * benchtests/slowsin-inputs: New file.
20875         * benchtests/slowsin.c: New file.
20877         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20878         (bench): Add slowexp and slowpow.
20879         (exp-ITER): Increase iterations.
20880         (pow-ITER): Likewise.
20881         * benchtests/exp-inputs: Change input.
20882         * benchtests/pow-inputs: Likewise.
20883         * benchtests/slowexp-inputs: New file.
20884         * benchtests/slowexp.c: New file.
20885         * benchtests/slowpow-inputs: New file.
20886         * benchtests/slowpow.c: New file.
20888 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20890         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20891         instructions.
20892         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20893         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20894         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20895         * benchtests/Makefile: Add rint benchtest.
20896         * benchtests/rint-inputs: Input for rint benchtest.
20898 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20900         * Versions.def (libm): Add GLIBC_2.18.
20901         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20902         hidden libm prototypes.
20903         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20904         * math/Makefile (libm-calls): Add s_issignaling.
20905         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20906         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20907         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20908         declaration.
20909         * math/math.h [__USE_GNU] (issignaling): New macro.
20910         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20911         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20912         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20913         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20914         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20915         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20916         * manual/arith.texi (issignaling): New section.
20917         * manual/libm-err-tab.pl (@all_functions): Update comment.
20918         * math/gen-libm-test.pl (parse_args): Apply special handling for
20919         issignaling.
20920         * math/libm-test.inc (print_float, issignaling_test): New
20921         functions.
20922         (check_float_internal): Add issignaling checks.
20923         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20924         default definition.
20925         * sysdeps/powerpc/math-tests.h: New file.
20926         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20927         tests.
20928         * math/test-snan.c (TEST_FUNC): Likewise.
20930 2013-03-30  David S. Miller  <davem@davemloft.net>
20932         * po/de.po: Update from translation team.
20934 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20936         [BZ #10357]
20937         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20938         imaginary part less than 1.0 and real part less than 0.5
20939         specially.
20940         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20941         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20942         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20943         (cacos_test): Add more tests.
20944         (casin_test): Likewise.
20945         (casinh_test): Likewise.
20946         * sysdeps/i386/fpu/libm-test-ulps: Update.
20947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20949 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20951         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20952         ONE with its value.
20954         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20955         (__pow_mp): Replace ONE and MONE with their values.
20956         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20957         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20958         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20959         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20960         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20961         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20963         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20965         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20966         (__pow_mp): Replace ZERO and MZERO with their values.
20967         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20968         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20969         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20970         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20971         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20972         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20973         (__sqr): Likewise.
20975         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20977         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20979 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20981         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20982         Declare with __attribute__ ((weak)).
20983         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20984         Call __call_tls_dtors only if it's not NULL.
20986 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20988         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20989         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20990         magic __ehdr_start linker symbol if it's defined.
20991         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20992         them up here if it was already done.
20994         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20995         (_dl_aux_init): Use const in cast when setting it.
20996         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20997         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20998         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21000         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21001         Declare them here.
21002         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21003         * csu/libc-tls.c: Nor here.
21004         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21006         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21007         (__libc_message): Never call vsyslog.
21009 2013-03-28  Alan Modra  <amodra@gmail.com>
21011         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21012         Define as empty.
21013         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21014         Likewise.
21016 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21018         [BZ #15214]
21019         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21020         underflow.
21021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21023 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21025         [BZ #15304]
21026         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21027         Don't add gid passed as argument.
21029         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21031 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
21033         [BZ #15307]
21034         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21035         imaginary part between 1.0 and 1.5 and real part less than 0.5
21036         specially.
21037         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21038         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21039         * math/libm-test.inc (cacos_test): Add more tests.
21040         (casin_test): Likewise.
21041         (casinh_test): Likewise.
21042         * sysdeps/i386/fpu/libm-test-ulps: Update.
21043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21045 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21047         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21048         constants.
21049         (norm): Likewise.
21050         (denorm): Likewise.
21051         (__dbl_mp): Likewise.
21052         (add_magnitudes): Likewise.
21053         (sub_magnitudes): Likewise.
21054         (__add): Likewise.
21055         (__sub): Likewise.
21056         (__mul): Likewise.
21057         (__sqr): Likewise.
21058         (__inv): Likewise.
21059         (__dvd): Likewise.
21061         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21062         commented code.
21063         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21064         (__dubcos): Likewise.
21065         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21066         (__ieee754_acos): Likewise.
21067         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21068         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21069         (__exp1): Likewise.
21070         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21071         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21072         (log1): Likewise.
21073         (my_log2): Likewise.
21074         (checkint): Likewise.
21075         * sysdeps/ieee754/dbl-64/e_remainder.c
21076         (__ieee754_remainder): Likewise.
21077         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21078         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21079         (bsloww): Likewise.
21080         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21082         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21083         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21084         MANTISSA_STORE_T to store computations on mantissa.  Use
21085         macros for rounding and division.
21086         (denorm): Likewise.
21087         (__dbl_mp): Likewise.
21088         (add_magnitudes): Likewise.
21089         (sub_magnitudes): Likewise.
21090         (__mul): Likewise.
21091         (__sqr): Likewise.
21092         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21093         powers of two in terms of TWOPOW macro.
21094         (mp_no): Make type of mantissa as MANTISSA_T.
21095         [!RADIXI]: Define RADIXI.
21096         [!TWO52]: Define TWO52.
21097         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21099 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21101         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21102         llroundl symbol when building for PPC32.
21104 2013-03-24  Mark H Weaver  <mhw@netris.org>
21106         * manual/arith.texi (Normalization Functions): Fix prototypes for
21107         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21109 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21111         [BZ #13889]
21112         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21113         high value to check if expl overflow.
21114         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21115         to check for underflow and overflow.
21116         * math/libm-test.inc: Add exp test.
21118 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21120         [BZ #11120]
21121         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21122         with NOT_IN_libc.
21124 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21126         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21127         symbol.
21129 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21131         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21132         wrap blocks consisting of several statements.
21134         * sysdeps/generic/math-tests.h: New file.
21135         * sysdeps/i386/fpu/math-tests.h: Likewise.
21136         * math/test-snan.c: Include it.
21137         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21139 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21141         [BZ #15285]
21142         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21143         (__ieee754_j0l): Do not improve calculations using cos of twice
21144         input for inputs above LDBL_MAX / 2.0L.
21145         (__ieee754_y0l): Likewise.
21146         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21147         (__ieee754_j1l): Do not improve calculations using cos of twice
21148         input for inputs above LDBL_MAX / 2.0L.
21149         (__ieee754_y1l): Likewise.
21150         * math/libm-test.inc (j0_test): Add another test.
21151         (j1_test): Likewise.
21152         (y0_test): Likewise.
21153         (y1_test): Likewise.
21154         * sysdeps/i386/fpu/libm-test-ulps: Update.
21156 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21158         * Rules ($(objpfx)bench-%.c): Include code from a C source
21159         file.
21161 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21163         [BZ #15287]
21164         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21165         imaginary part 1.0 and real part less than 0.5 specially.
21166         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21167         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21168         * math/libm-test.inc (cacos_test): Add more tests.
21169         (casin_test): Likewise.
21170         (casinh_test): Likewise.
21171         * sysdeps/i386/fpu/libm-test-ulps: Update.
21172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21174 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21176         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21177         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21179 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21181         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21182         * config.make.in (config-cflags-sse4): Remove variable.
21183         (config-cflags-avx): Likewise.
21184         (config-cflags-sse2avx): Likewise.
21185         (config-cflags-novzeroupper): Likewise.
21186         (config-asflags-i686): Likewise.
21187         (have-mfma4): Likewise.
21188         (have-as-vis3): Likewise.
21189         (MIG): Likewise.
21190         * configure.in (MIG): Do not AC_SUBST.
21191         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21192         (libc_cv_cc_sse4): Do not AC_SUBST.
21193         (libc_cv_cc_avx): Likewise.
21194         (libc_cv_cc_sse2avx): Likewise.
21195         (libc_cv_cc_novzeroupper): Likewise.
21196         (libc_cv_cc_fma4): Likewise.
21197         (libc_cv_as_i686): Likewise.
21198         (libc_cv_sparc_as_vis3): Likewise.
21199         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21200         LIBC_CONFIG_VAR.
21201         (config-asflags-i686): Likewise.
21202         (config-cflags-avx): Likewise.
21203         (config-cflags-sse2avx): Likewise.
21204         (have-mfma4): Likewise.
21205         (config-cflags-novzeroupper): Likewise.
21206         * sysdeps/mach/configure.in (MIG): Likewise.
21207         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21208         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21209         LIBC_CONFIG_VAR.
21210         (config-cflags-avx): Likewise.
21211         (config-cflags-sse2avx): Likewise.
21212         (have-mfma4): Likewise.
21213         (config-cflags-novzeroupper): Likewise.
21214         * configure: Regenerated.
21215         * sysdeps/i386/configure: Likewise.
21216         * sysdeps/mach/configure: Likewise.
21217         * sysdeps/sparc/configure: Likewise.
21218         * sysdeps/x86_64/configure: Likewise.
21220 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21222         [BZ #14812]
21223         * locale/programs/localedef.c (options): Put N_ translation marker
21224         on argument names, not just descriptions.
21226 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21228         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21230 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21232         [BZ #14176]
21233         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21235 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21237         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21238         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21239         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21240         [!BEFORE_ABORT] (before_abort): New function.
21241         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21242         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21243         (writev_for_fatal): New function.
21244         (WRITEV_FOR_FATAL): New macro; call that.
21245         (backtrace_and_maps): New function.
21246         (BEFORE_ABORT): New macro; call that.
21247         (struct str_list): Type removed.
21248         (__libc_message, __libc_fatal): Functions removed.
21249         Include <sysdeps/posix/libc_fatal.c> instead.
21251 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21253         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21254         constants.
21255         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21256         double constants.
21258 2013-03-19  Andreas Schwab  <schwab@suse.de>
21260         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21261         * sysdeps/gnu/configure: Regenerate.
21263         * configure.in: Substitute libc_cv_rtlddir.
21264         * configure: Regenerate.
21265         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21266         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21267         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21268         * elf/Makefile (install-others, CFLAGS-interp.c)
21269         (ldso_install, common-ldd-rewrite): Likewise.
21270         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21271         $(inst_slibdir)/$(rtld-installed-name).
21272         * scripts/rellns-sh: Add -p option.
21273         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21274         for source.
21276 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21278         * manual/nptl.texi: Renamed to ...
21279         * manual/threads.texi: ... this.
21280         * manual/Makefile (chapters): Update.
21282 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21284         [BZ #14812]
21285         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21286         on argument names, not just descriptions.
21287         * malloc/memusagestat.c (options): Likewise.
21288         * nss/getent.c (options): Likewise.
21290 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21292         [BZ #14812]
21293         * iconv/iconv_prog.c (options): Put N_ translation marker
21294         on argument names, not just descriptions.
21295         * iconv/iconvconfig.c (options): Likewise.
21297 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21299         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21300         implementation which is faster on all x86_64 architectures.
21301         Tested on AMD, Intel Nehalem, SNB, IVB.
21302         * sysdeps/x86_64/strnlen.S: Likewise.
21304         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21305         Remove all multiarch strlen and strnlen versions.
21306         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21307         Remove strlen and strnlen related parts.
21309         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21310         Inline strlen part.
21311         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21313         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21314         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21315         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21316         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21317         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21318         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21320 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21322         * manual/memory.texi (Malloc Tunable Parameters):
21323         Sort parameters alphabetically. Add comments for missing entries.
21325 2013-03-17  David S. Miller  <davem@davemloft.net>
21327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21329 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21331         [BZ #15283]
21332         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21333         for arguments at most half maximum finite value.
21334         * math/libm-test.inc (j0_test): Add more tests.
21335         (j1_test): Likewise.
21336         (y0_test): Likewise.
21337         (y1_test): Likewise.
21338         * sysdeps/i386/fpu/libm-test-ulps: Update.
21339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21341         [BZ #14155]
21342         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21343         1 / x and functions P and Q for arguments above 0x1p256L.
21344         (__ieee754_y0l): Likewise.
21345         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21346         (__ieee754_y1l): Likewise.
21347         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21348         (j1_test): Likewise.
21349         (y0_test): Likewise.
21350         (y1_test): Likewise.
21352 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21354         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21355         variable.
21357 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21359         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21360         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21361         zero since it's initialized to EXEC_PAGESIZE.
21363         * sysdeps/unix/sysv/linux/ldsodefs.h
21364         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21365         * sysdeps/generic/ldsodefs.h: ... here.
21367 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21369         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21371         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21372         math/test-snan.c.
21373         * math/test-snan.c: Renamed from
21374         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21375         * math/Makefile (tests): Add test-snan.
21376         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21377         test-powerpc-snan.
21379         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21380         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21381         functions.
21382         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21383         __builtin_nan family of functions.
21384         * math/libm-test.inc (initialize): Initialize qnan_value with
21385         __builtin_nan family of functions.
21386         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21387         Remove variables.
21388         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21389         Remove functions.
21390         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21391         storage class.  Initialize qNaN_var and sNaN_var with
21392         __builtin_nan and __builtin_nans families of functions,
21393         respectively.
21395         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21396         (sqrt_test): Remove duplicate test with qNaN input.
21397         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21398         (round_test, signbit_test, significand_test): Note missing +/-Inf
21399         as well as qNaN tests.
21401         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21402         qNaN_var.  Fix a few strings, too.
21403         * math/libm-test.inc (nan_value): Rename to qnan_value.
21404         * math/gen-libm-test.pl (%beautify): Adjust to that.
21405         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21406         * math/test-misc.c (main): Likewise.
21407         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21408         to __qnan_bytes, and __qnan_union, respectively.
21409         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21410         Likewise.
21411         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21412         and lqnanval, respectively.
21413         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21414         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21415         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21416         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21418         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21419         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21420         doubles.
21422         * math/test-misc.c (main): Fix copy'n'pastos.
21423         * misc/tst-efgcvt.c (special): Likewise.
21425         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21426         Remove declarations.
21428 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21430         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21431         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21432         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21433         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21435 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21437         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21438         macro to return vdso values correctly in IFUNC implementations.
21439         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21440         Optimization by using IFUNC.
21442 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21443             Richard Henderson  <rth@redhat.com>
21444             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21446         * Makefile.in (bench): New target.
21447         * NEWS: Mention the benchmark framework.
21448         * Rules (bench): Likewise.
21449         (binaries-bench): Generate binaries for functions to
21450         benchmark.
21451         * benchtests/Makefile: New makefile for benchmark tests.
21452         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21453         programs.
21454         * benchtests/exp-inputs: New input file for EXP function.
21455         * benchtests/pow-inputs: New input file for POW function.
21456         * scripts/bench.pl: New script to generate source files for
21457         benchmark programs.
21459 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21461         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21462         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21463         computations on mantissa.  Use macros for rounding and
21464         division.
21465         (denorm): Likewise.
21466         (__dbl_mp): Likewise.
21467         (add_magnitudes): Likewise.
21468         (sub_magnitudes): Likewise.
21469         (__mul): Likewise.
21470         (__sqr): Likewise.
21471         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21472         powers of two in terms of TWOPOW macro.
21473         (mp_no): Make type of mantissa as MANTISSA_T.
21474         [!RADIXI]: Define RADIXI.
21475         [!TWO52]: Define TWO52.
21476         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21478         * manual/nptl.texi (cindex): Modify threads to pthreads.
21480 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21482         * sysdeps/x86_64/preconfigure: Regenerated.
21484 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21486         [BZ #14155]
21487         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21488         0x1p28 and above.
21489         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21490         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21491         0x1p28 and above.
21492         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21493         * math/libm-test.inc (j0_test): Do not allow one spurious
21494         underflow exception.
21495         (y1_test): Likewise.
21497 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21499         * manual/Makefile (chapters): Add nptl.
21500         * manual/debug.texi (Debugging Support): Add link to Threads
21501         chapter.
21502         * manual/nptl.texi: New file.
21504         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21506 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21508         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21509         for non-NULL pointer before the memory validity test. Pointed
21510         out by Holger Brunck <holger.brunck@keymile.com>.
21512 2013-03-13  Andreas Schwab  <schwab@suse.de>
21514         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21515         instead of .os.
21517 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21519         * timezone/zic.c: Update from tzcode 2013b.
21521 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21523         * manual/install.texi (Configuring and compiling):
21524         Mention i686 and i586.
21525         * INSTALL: Regenerate.
21527 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21529         * sysdeps/init_array/elf-init.c: New file.
21530         * csu/elf-init.c
21531         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21532         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21534         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21535         __gmon_start__ as global, but as static with a .preinit_array pointer.
21536         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21537         * sysdeps/init_array/crti.S: New file, empty except for comments.
21538         * sysdeps/init_array/crtn.S: Likewise.
21540 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21542         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21543         definining bcopy.
21544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21545         Remove Prefer_SSE_for_memop.
21546         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21547         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21548         HAS_PREFER_SSE_FOR_MEMOP.
21549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21550         memset-x86-64.
21551         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21552         Remove bzero, memset ifunc support.
21553         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21554         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21555         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21556         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21558 2013-03-11  Andreas Schwab  <schwab@suse.de>
21560         [BZ #15234]
21561         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21562         by SHLIB_COMPAT.
21563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21564         (GLIBC_2.16): Remove pthread_atfork.
21566 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21568         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21569         (ptestcases.h): Likewise.
21571 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21573         * Makeconfig ($(common-objpfx)config.status): Depend on
21574         sysdeps/*/preconfigure{,.in} too.
21576 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21578         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21579         (__free_hook): Use void * instead of __malloc_ptr_t.
21580         (__malloc_hook): Likewise.
21581         (__realloc_hook): Likewise.
21582         (__memalign_hook): Likewise.
21583         (__after_morecore_hook): Likewise.
21584         * malloc/arena.c (save_malloc_hook): Likewise.
21585         (save_free_hook): Likewise.
21586         * malloc/hooks.c (malloc_hook_ini): Likewise.
21587         (realloc_hook_ini): Likewise.
21588         (memalign_hook_ini): Likewise.
21589         * malloc/malloc.c (malloc_hook_ini): Likewise.
21590         (realloc_hook_ini): Likewise.
21591         (memalign_hook_ini): Likewise.
21592         (__free_hook): Likewise.
21593         (__malloc_hook): Likewise.
21594         (__realloc_hook): Likewise.
21595         (__memalign_hook): Likewise.
21596         (__libc_malloc): Likewise.
21597         (__libc_free): Likewise.
21598         (__libc_realloc): Likewise.
21599         (__libc_memalign): Likewise.
21600         (__libc_valloc): Likewise.
21601         (__libc_pvalloc): Likewise.
21602         (__libc_calloc): Likewise.
21603         (__posix_memalign): Likewise.
21604         * malloc/morecore.c (__sbrk): Likewise.
21605         (__default_morecore): Likewise.
21607         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21609         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21610         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21611         __malloc_ptrdiff_t.
21613         * malloc/malloc.h (__malloc_size_t): Remove macro.
21614         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21615         __malloc_size_t.
21616         (old_memalign_hook): Likewise.
21617         (old_realloc_hook): Likewise.
21618         (struct hdr): Likewise.
21619         (flood): Likewise.
21620         (mallochook): Likewise.
21621         (memalignhook): Likewise.
21622         (reallochook): Likewise.
21623         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21624         (tr_old_realloc_hook): Likewise.
21625         (tr_old_memalign_hook): Likewise.
21626         (tr_mallochook): Likewise.
21627         (tr_reallochook): Likewise.
21628         (tr_memalignhook): Likewise.
21630 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21632         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21633         default_ldbl_pack and using as default implementation.
21634         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21635         implementation.
21636         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21637         redundant definition.
21638         (ldbl_insert_mantissa): Likewise.
21639         (ldbl_canonicalize): Likewise.
21640         (ldbl_nearbyint): Likewise.
21641         (ldbl_pack): Rename to ldbl_pack_ppc.
21642         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21643         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21644         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21646 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21648         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21649         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21650         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21651         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21653         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21654         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21655         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21657 2013-03-07  Andreas Jaeger  <aj@suse.de>
21659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21660         bits/mman-linux.h.
21662 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21664         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21665         Include mpa.h and declare __MPEXP.
21666         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21667         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21668         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21669         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21670         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21671         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21672         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21674         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21675         (__slowpow): Use long double EXPL and LOGL functions to
21676         compute POW.
21677         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21678         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21679         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21680         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21681         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21682         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21684         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21685         intermediate variable to calculate exponent.
21686         (__sqr): Likewise.
21687         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21688         Likewise.
21689         (__sqr): Likewise.
21691         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21692         [!NO__SQR]: Define __sqr.
21693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21694         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21695         sysdeps/ieee754/dbl-64/mpa.c.
21696         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21698         [BZ #12723]
21699         * posix/Makefile (tests): Add tst-pathconf.
21700         * posix/tst-pathconf.c: New test case.
21701         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21702         _PC_PIPE_BUF.
21703         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21705 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21707         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21709 2013-03-06  Andreas Jaeger  <aj@suse.de>
21711         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21712         definition via __MAP_ANONYMOUS.
21714         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21715         it's not part of Linux headers.
21717         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21718         (MAP_HUGE_MASK): Define.
21720         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21721         Define.
21722         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21723         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21724         Define.
21725         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21726         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21727         Define.
21728         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21729         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21730         Define.
21731         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21733         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21734         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21735         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21736         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21737         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21738         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21740         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21741         Handle f2fs.
21743         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21744         Handle f2fs and efivarfs.
21746         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21747         f2fs.
21749         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21750         (EFIVARFS_MAGIC): Add.
21751         (F2FS_LINK_MAX): Add.
21753 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21755         * stdio-common/vfprintf.c: Replace __builtin_expect with
21756         __glibc_unlikely.
21758 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21760         [BZ #13550]
21761         * sysdeps/generic/bp-sym.h: Remove file.
21762         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21763         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21764         <bp-sym.h> and <bp-asm.h>.
21765         (__longjmp): Don't use BP_SYM.
21766         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21767         and <bp-asm.h>.
21768         (memcpy): Don't use BP_SYM.
21769         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21770         <bp-sym.h> and <bp-asm.h>.
21771         (memcpy): Don't use BP_SYM.
21772         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21773         <bp-asm.h>.
21774         (memcpy): Don't use BP_SYM.
21775         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21776         <bp-asm.h>.
21777         (memset): Don't use BP_SYM.
21778         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21779         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21780         (__bzero): Don't use BP_SYM.
21781         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21782         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21783         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21784         <bp-sym.h> and <bp-asm.h>.
21785         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21786         pointers.
21787         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21788         <bp-sym.h> and <bp-asm.h>.
21789         (memcpy): Don't use BP_SYM.
21790         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21791         <bp-sym.h> and <bp-asm.h>.
21792         (memset): Don't use BP_SYM.
21793         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21794         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21795         (__bzero): Don't use BP_SYM.
21796         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21797         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21798         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21799         <bp-sym.h> and <bp-asm.h>.
21800         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21801         pointers.
21802         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21803         <bp-sym.h> and <bp-asm.h>.
21804         (memcpy): Don't use BP_SYM.
21805         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21806         <bp-sym.h> and <bp-asm.h>.
21807         (memset): Don't use BP_SYM.
21808         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21809         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21810         (__bzero): Don't use BP_SYM.
21811         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21812         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21813         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21814         <bp-sym.h> and <bp-asm.h>.
21815         (__memchr): Don't use BP_SYM.
21816         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21817         <bp-sym.h> and <bp-asm.h>.
21818         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21819         pointers.
21820         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21821         <bp-sym.h> and <bp-asm.h>.
21822         (memcpy): Don't use BP_SYM.
21823         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21824         <bp-sym.h> and <bp-asm.h>.
21825         (__mempcpy): Don't use BP_SYM.
21826         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21827         <bp-sym.h> and <bp-asm.h>.
21828         (__memrchr): Don't use BP_SYM.
21829         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21830         <bp-sym.h> and <bp-asm.h>.
21831         (memset): Don't use BP_SYM.
21832         (__bzero): Likewise.
21833         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21834         <bp-sym.h> and <bp-asm.h>.
21835         (__rawmemchr): Don't use BP_SYM.
21836         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21837         <bp-sym.h> and <bp-asm.h>.
21838         (__STRCMP): Don't use BP_SYM.
21839         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21840         <bp-sym.h> and <bp-asm.h>.
21841         (strchr): Don't use BP_SYM.
21842         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21843         <bp-sym.h> and <bp-asm.h>.
21844         (__strchrnul): Don't use BP_SYM.
21845         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21846         <bp-sym.h> and <bp-asm.h>.
21847         (strlen): Don't use BP_SYM.
21848         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21849         <bp-sym.h> and <bp-asm.h>.
21850         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21851         pointers.
21852         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21853         <bp-sym.h> and <bp-asm.h>.
21854         (__strnlen): Don't use BP_SYM.
21855         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21856         <bp-sym.h> and <bp-asm.h>.
21857         (__GI__setjmp): Don't use BP_SYM.
21858         (_setjmp): Likewise.
21859         (__sigsetjmp): Likewise.
21860         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21861         (L(start_addresses)): Don't use BP_SYM.
21862         (_start): Likewise.
21863         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21864         <bp-asm.h>.
21865         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21866         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21867         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21868         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21869         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21870         <bp-asm.h>.
21871         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21872         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21873         about bounded pointers.
21874         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21875         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21876         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21877         <bp-asm.h>.
21878         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21879         about bounded pointers.  Remove GKM FIXME comments.
21880         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21881         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21882         <bp-asm.h>.
21883         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21884         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21885         Remove GKM FIXME comments.
21886         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21887         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21888         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21889         <bp-asm.h>.
21890         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21891         about bounded pointers.  Remove GKM FIXME comment.
21892         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21893         and <bp-asm.h>.
21894         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21895         pointers.
21896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21897         <bp-sym.h> and <bp-asm.h>.
21898         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21900         <bp-sym.h> and <bp-asm.h>.
21901         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21902         comment.
21904 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21906         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21907         call free(NULL).
21909 2013-03-05  David S. Miller  <davem@davemloft.net>
21911         * po/es.po: Update from translation team.
21913 2013-03-05  Andreas Jaeger  <aj@suse.de>
21915         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21916         <bits/mman-linux.h>.
21917         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21918         is fine.
21919         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21920         <bits/mman-linux.h> to end of file.
21921         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21922         is fine.
21923         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21924         <bits/mman-linux.h> to end of file.
21925         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21926         is fine.
21927         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21928         <bits/mman-linux.h> to end of file.
21930         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21931         (MCL_CURRENT, MCL_FUTURE): Define here.
21933 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21935         [BZ #15232]
21936         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21937         attribute_hidden.
21938         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21940 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21942         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21943         fourth parameter needed for rt_sigprocmask syscall.
21944         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21945         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21946         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21947         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21948         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21949         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21951 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21953         [BZ #13550]
21954         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21955         comment about bounded pointers.
21956         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21957         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21959 2013-03-04  Andreas Jaeger  <aj@suse.de>
21961         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21962         common definitions.
21964         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21965         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21966         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21967         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21968         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21969         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21971 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21973         [BZ #15055]
21974         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21975         __ieee754_sqrl instead of __sqrl.
21977 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21979         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21980         * sysdeps/powerpc/fpu_control.h: ... here.
21981         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21982         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21983         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21984         * sysdeps/powerpc/bits/mathinline.h: ... here.
21986 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21988         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21989         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21990         to just [NEED_DL_SYSINFO_DSO].
21991         * elf/dl-support.c: Likewise.
21992         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21993         * elf/rtld.c (dl_main): Likewise.
21994         * elf/setup-vdso.h (setup_vdso): Likewise.
21995         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21996         * sysdeps/unix/sysv/linux/dl-sysdep.c
21997         (_dl_discover_osversion): Likewise.
21999 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
22001         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22002         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22004 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22006         * NEWS: Mention libm performance improvements and non-x86 PI
22007         futex support.
22009         * csu/libc-start.c (__pthread_initialize_minimal): Change
22010         function arguments.
22011         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22013 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
22015         [BZ #13550]
22016         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22017         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22018         <bp-sym.h> and <bp-asm.h>.
22019         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22020         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22021         and <bp-asm.h>.
22022         (memcpy): Don't use BP_SYM.
22023         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22024         <bp-asm.h>.
22025         (__mpn_add_n): Don't use BP_SYM.
22026         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22027         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22028         and <bp-asm.h>.
22029         (__mpn_addmul_1): Don't use BP_SYM.
22030         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22031         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22032         <bp-sym.h>.
22033         (_setjmp): Don't use BP_SYM.
22034         (__novmx_setjmp): Likewise.
22035         (__GI__setjmp): Likewise.
22036         (__vmx_setjmp): Likewise.
22037         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22038         <bp-sym.h>.
22039         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22040         (__bzero): Don't use BP_SYM.
22041         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22042         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22043         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22044         <bp-sym.h> and <bp-asm.h>.
22045         (memcpy): Don't use BP_SYM.
22046         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22047         <bp-sym.h> and <bp-asm.h>.
22048         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22049         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22050         <bp-sym.h> and <bp-asm.h>.
22051         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22052         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22053         <bp-asm.h>.
22054         (__mpn_lshift): Don't use BP_SYM.
22055         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22056         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22057         <bp-asm.h>.
22058         (memset): Don't use BP_SYM.
22059         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22060         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22061         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22062         <bp-asm.h>.
22063         (__mpn_mul_1): Don't use BP_SYM.
22064         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22065         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22066         <bp-sym.h> and <bp-asm.h>.
22067         (memcmp): Don't use BP_SYM.
22068         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22069         <bp-sym.h> and <bp-asm.h>.
22070         (memcpy): Don't use BP_SYM.
22071         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22072         <bp-sym.h> and <bp-asm.h>.
22073         (memset): Don't use BP_SYM.
22074         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22075         <bp-sym.h> and <bp-asm.h>.
22076         (strncmp): Don't use BP_SYM.
22077         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22078         <bp-sym.h> and <bp-asm.h>.
22079         (memcpy): Don't use BP_SYM.
22080         * sysdeps/powerpc/powerpc32/power6/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/memchr.S: Don't include
22084         <bp-sym.h> and <bp-asm.h>.
22085         (__memchr): Don't use BP_SYM.
22086         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22087         <bp-sym.h> and <bp-asm.h>.
22088         (memcmp): Don't use BP_SYM.
22089         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22090         <bp-sym.h> and <bp-asm.h>.
22091         (memcpy): Don't use BP_SYM.
22092         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22093         <bp-sym.h> and <bp-asm.h>.
22094         (__mempcpy): Don't use BP_SYM.
22095         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22096         <bp-sym.h> and <bp-asm.h>.
22097         (__memrchr): Don't use BP_SYM.
22098         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22099         <bp-sym.h> and <bp-asm.h>.
22100         (memset): Don't use BP_SYM.
22101         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22102         <bp-sym.h> and <bp-asm.h>.
22103         (__rawmemchr): Don't use BP_SYM.
22104         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22105         <bp-sym.h> and <bp-asm.h>.
22106         (__STRCMP): Don't use BP_SYM.
22107         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22108         <bp-sym.h> and <bp-asm.h>.
22109         (strchr): Don't use BP_SYM.
22110         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22111         <bp-sym.h> and <bp-asm.h>.
22112         (__strchrnul): Don't use BP_SYM.
22113         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22114         <bp-sym.h> and <bp-asm.h>.
22115         (strlen): Don't use BP_SYM.
22116         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22117         <bp-sym.h> and <bp-asm.h>.
22118         (strncmp): Don't use BP_SYM.
22119         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22120         <bp-sym.h> and <bp-asm.h>.
22121         (__strnlen): Don't use BP_SYM.
22122         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22123         <bp-asm.h>.
22124         (__mpn_rshift): Don't use BP_SYM.
22125         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22126         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22127         <bp-sym.h> and <bp-asm.h>.
22128         (__sigsetjmp): Don't use BP_SYM.
22129         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22130         (L(start_addresses)): Don't use BP_SYM.
22131         (_start): Likewise.
22132         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22133         <bp-asm.h>.
22134         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22135         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22136         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22137         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22138         <bp-asm.h>.
22139         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22140         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22141         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22142         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22143         <bp-asm.h>.
22144         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22145         comments.
22146         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22147         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22148         <bp-asm.h>.
22149         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22150         FIXME comments.
22151         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22152         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22153         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22154         <bp-asm.h>.
22155         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22156         comment.
22157         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22158         and <bp-asm.h>.
22159         (strncmp): Don't use BP_SYM,
22160         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22161         <bp-asm.h>.
22162         (__mpn_sub_n): Don't use BP_SYM.
22163         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22164         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22165         and <bp-asm.h>.
22166         (__mpn_submul_1): Don't use BP_SYM.
22167         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22169         <bp-sym.h> and <bp-asm.h>.
22170         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22172         <bp-sym.h> and <bp-asm.h>.
22173         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22174         comment.
22176 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22179         Use ZK to minimize writes to Z.
22180         (sub_magnitudes): Simplify code a bit.
22181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22182         Use ZK to minimize writes to Z.
22183         (sub_magnitudes): Simplify code a bit.
22185 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22187         * csu/gmon-start.c: Add special exception to license text.
22189 2013-02-27  Richard Henderson  <rth@redhat.com>
22191         * scripts/config.guess: Update from config.git.
22192         * scripts/config.sub: Likewise.
22194 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22196         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22198         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22200         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22202         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22204         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22206 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22208         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22209         [$(build-shared = yes].
22211 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22213         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22214         (__mul): Reduce iterations for calculating mantissa.
22216         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22217         MPTWO.
22218         (__mpranred): Likewise.
22220         [BZ #15160]
22221         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22222         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22224 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22226         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22227         Define __attribute__.
22229 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22231         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22232         unused.
22233         * posix/regex_internal.h (__attribute): Remove.
22234         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22235         (re_string_context_at): Likewise.
22236         (bitset_not): Use __attribute__ and mark function as possibly
22237         unused.
22238         (bitset_merge): Likewise.
22239         (bitset_mask): Likewise.
22240         (re_string_char_size_at): Likewise.
22241         (re_string_wchar_at): Likewise.
22242         (re_string_elem_size_at): Likewise.
22244 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22246         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22247         code.
22248         (cc32): Likewise.
22250         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22251         (__acr): Likewise.
22252         (__cpy): Likewise.
22253         (norm): Likewise.
22254         (denorm): Likewise.
22255         (__dbl_mp): Likewise.
22256         (add_magnitudes): Likewise.
22257         (sub_magnitudes): Likewise.
22258         (__mul): Likewise.
22259         (__inv): Likewise.
22261         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22262         style.
22264         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22265         style.
22267         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22268         code.
22270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22271         up changes with default code.
22272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22273         Likewise.
22275 2013-02-24  Allan McRae  <allan@archlinux.org>
22277         * manual/socket.texi (The Internet Namespace): Order menu items
22278         to match that in the file.
22280         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22281         node listing of the info page menu.
22283 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22285         [BZ #13550]
22286         * sysdeps/i386/bp-asm.h: Remove file.
22287         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22288         (PARMS): Do not use macros from bp-asm.h.
22289         (S1): Likewise.
22290         (S2): Likewise.
22291         (SIZE): Likewise.
22292         (__mpn_add_n): Do not use BP_SYM
22293         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22294         "bp-asm.h".
22295         (PARMS): Do not use macros from bp-asm.h.
22296         (S1): Likewise.
22297         (SIZE): Likewise.
22298         (__mpn_addmul_1): Do not use BP_SYM
22299         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22300         "bp-asm.h".
22301         (PARMS): Do not use macros from bp-asm.h.
22302         (SIGMSK): Likewise.
22303         (_setjmp): Likewise.  Do not use BP_SYM.
22304         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22305         "bp-asm.h".
22306         (PARMS): Do not use macros from bp-asm.h.
22307         (SIGMSK): Likewise.
22308         (setjmp): Likewise.  Do not use BP_SYM.
22309         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22310         "bp-asm.h".
22311         (PARMS): Do not use macros from bp-asm.h.
22312         (__frexp): Do not use BP_SYM.
22313         (frexp): Likewise.
22314         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22315         "bp-asm.h".
22316         (PARMS): Do not use macros from bp-asm.h.
22317         (__frexpf): Do not use BP_SYM.
22318         (frexpf): Likewise.
22319         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22320         "bp-asm.h".
22321         (PARMS): Do not use macros from bp-asm.h.
22322         (__frexpl): Do not use BP_SYM.
22323         (frexpl): Likewise.
22324         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22325         "bp-asm.h".
22326         (PARMS): Do not use macros from bp-asm.h.
22327         (__remquo): Do not use BP_SYM.
22328         (remquo): Likewise.
22329         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22330         "bp-asm.h".
22331         (PARMS): Do not use macros from bp-asm.h.
22332         (__remquof): Do not use BP_SYM.
22333         (remquof): Likewise.
22334         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22335         "bp-asm.h".
22336         (PARMS): Do not use macros from bp-asm.h.
22337         (__remquol): Do not use BP_SYM.
22338         (remquol): Likewise.
22339         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22340         "bp-asm.h".
22341         (PARMS): Do not use macros from bp-asm.h.
22342         (DEST): Likewise.
22343         (SRC): Likewise.
22344         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22345         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22346         "bp-asm.h".
22347         (PARMS): Do not use macros from bp-asm.h.
22348         (strlen): Do not use BP_SYM.
22349         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22350         "bp-asm.h".
22351         (PARMS): Do not use macros from bp-asm.h.
22352         (S1): Likewise.
22353         (S2): Likewise.
22354         (SIZE): Likewise.
22355         (__mpn_add_n): Do not use BP_SYM.
22356         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22357         "bp-asm.h".
22358         (PARMS): Do not use macros from bp-asm.h.
22359         (S1): Likewise.
22360         (SIZE): Likewise.
22361         (__mpn_addmul_1): Do not use BP_SYM.
22362         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22363         weak_alias.
22364         (bzero): Likewise.
22365         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22366         "bp-asm.h".
22367         (PARMS): Do not use macros from bp-asm.h.
22368         (S): Likewise.
22369         (SIZE): Likewise.
22370         (__mpn_lshift): Do not use BP_SYM.
22371         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22372         "bp-asm.h".
22373         (PARMS): Do not use macros from bp-asm.h.
22374         (DEST): Likewise.
22375         (SRC): Likewise.
22376         (LEN): Likewise.
22377         (memcpy): Likewise.  Do not use BP_SYM.
22378         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22379         libc_hidden_def and weak_alias.
22380         (mempcpy): Do not use BP_SYM in weak_alias.
22381         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22382         "bp-asm.h".
22383         (PARMS): Do not use macros from bp-asm.h.
22384         (DEST): Likewise.
22385         (LEN): Likewise.
22386         [!BZERO_P] (CHR): Likewise.
22387         (memset): Likewise.  Do not use BP_SYM.
22388         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22389         "bp-asm.h".
22390         (PARMS): Do not use macros from bp-asm.h.
22391         (S1): Likewise.
22392         (SIZE): Likewise.
22393         (__mpn_mul_1): Do not use BP_SYM.
22394         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22395         "bp-asm.h".
22396         (PARMS): Do not use macros from bp-asm.h.
22397         (S): Likewise.
22398         (SIZE): Likewise.
22399         (__mpn_rshift): Do not use BP_SYM.
22400         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22401         "bp-asm.h".
22402         (PARMS): Do not use macros from bp-asm.h.
22403         (STR): Likewise.
22404         (CHR): Likewise.
22405         (strchr): Likewise.  Do not use BP_SYM.
22406         (index): Do not use BP_SYM in weak_alias.
22407         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22408         "bp-asm.h".
22409         (PARMS): Do not use macros from bp-asm.h.
22410         (DEST): Likewise.
22411         (SRC): Likewise.
22412         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22413         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22414         "bp-asm.h".
22415         (PARMS): Do not use macros from bp-asm.h.
22416         (strlen): Do not use BP_SYM.
22417         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22418         "bp-asm.h".
22419         (PARMS): Do not use macros from bp-asm.h.
22420         (S1): Likewise.
22421         (S2): Likewise.
22422         (SIZE): Likewise.
22423         (__mpn_sub_n): Do not use BP_SYM.
22424         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22425         "bp-asm.h".
22426         (PARMS): Do not use macros from bp-asm.h.
22427         (S1): Likewise.
22428         (SIZE): Likewise.
22429         (__mpn_submul_1): Do not use BP_SYM.
22430         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22431         "bp-asm.h".
22432         (PARMS): Do not use macros from bp-asm.h.
22433         (S1): Likewise.
22434         (S2): Likewise.
22435         (SIZE): Likewise.
22436         (__mpn_add_n): Do not use BP_SYM.
22437         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22438         weak_alias.
22439         (bzero): Likewise.
22440         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22441         "bp-asm.h".
22442         (PARMS): Do not use macros from bp-asm.h.
22443         (BLK2): Likewise.
22444         (LEN): Likewise.
22445         (memcmp): Do not use BP_SYM.
22446         (bcmp): Do not use BP_SYM in weak_alias.
22447         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22448         "bp-asm.h".
22449         (PARMS): Do not use macros from bp-asm.h.
22450         (DEST): Likewise.
22451         (SRC): Likewise.
22452         (LEN): Likewise.
22453         (memcpy): Likewise.  Do not use BP_SYM.
22454         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22455         "bp-asm.h".
22456         (PARMS): Do not use macros from bp-asm.h.
22457         (DEST): Likewise.
22458         (SRC): Likewise.
22459         (LEN): Likewise.
22460         (memmove): Likewise.  Do not use BP_SYM.
22461         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22462         "bp-asm.h".
22463         (PARMS): Do not use macros from bp-asm.h.
22464         (DEST): Likewise.
22465         (SRC): Likewise.
22466         (LEN): Likewise.
22467         (__mempcpy): Likewise.  Do not use BP_SYM.
22468         (mempcpy): Do not use BP_SYM in weak_alias.
22469         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22470         "bp-asm.h".
22471         (PARMS): Do not use macros from bp-asm.h.
22472         (DEST): Likewise.
22473         (LEN): Likewise.
22474         [!BZERO_P] (CHR): Likewise.
22475         (memset): Likewise.  Do not use BP_SYM.
22476         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22477         "bp-asm.h".
22478         (PARMS): Do not use macros from bp-asm.h.
22479         (STR2): Likewise.
22480         (strcmp): Do not use BP_SYM.
22481         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22482         "bp-asm.h".
22483         (PARMS): Do not use macros from bp-asm.h.
22484         (STR): Likewise.
22485         (DELIM): Likewise.
22486         [USE_AS_STRTOK_R] (SAVE): Likewise.
22487         (FUNCTION): Likewise.  Do not use BP_SYM.
22488         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22489         aliases.
22490         (strtok_r): Likewise.
22491         (__GI___strtok_r): Likewise.
22492         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22493         (PARMS): Do not use macros from bp-asm.h.
22494         (S): Likewise.
22495         (SIZE): Likewise.
22496         (__mpn_lshift): Do not use BP_SYM.
22497         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22498         (PARMS): Do not use macros from bp-asm.h.
22499         (STR): Likewise.
22500         (CHR): Likewise.
22501         (__memchr): Do not use BP_SYM.
22502         (memchr): Do not use BP_SYM in weak_alias.
22503         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22504         (PARMS): Do not use macros from bp-asm.h.
22505         (BLK2): Likewise.
22506         (LEN): Likewise.
22507         (memcmp): Do not use BP_SYM.
22508         (bcmp): Do not use BP_SYM in weak_alias.
22509         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22510         (PARMS): Do not use macros from bp-asm.h.
22511         (S1): Likewise.
22512         (SIZE): Likewise.
22513         (__mpn_mul_1): Do not use BP_SYM.
22514         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22515         "bp-asm.h".
22516         (PARMS): Do not use macros from bp-asm.h.
22517         (STR): Likewise.
22518         (CHR): Likewise.
22519         (__rawmemchr): Do not use BP_SYM.
22520         (rawmemchr): Do not use BP_SYM in weak_alias.
22521         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22522         (PARMS): Do not use macros from bp-asm.h.
22523         (S): Likewise.
22524         (SIZE): Likewise.
22525         (__mpn_rshift): Do not use BP_SYM.
22526         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22527         (PARMS): Do not use macros from bp-asm.h.
22528         (SIGMSK): Likewise.
22529         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22530         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22531         (_start): Do not use BP_SYM.
22532         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22533         (PARMS): Do not use macros from bp-asm.h.
22534         (DEST): Likewise.
22535         (SRC): Likewise.
22536         (__stpcpy): Likewise.  Do not use BP_SYM.
22537         (stpcpy): Do not use BP_SYM in weak_alias.
22538         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22539         "bp-asm.h".
22540         (PARMS): Do not use macros from bp-asm.h.
22541         (DEST): Likewise.
22542         (SRC): Likewise.
22543         (LEN): Likewise.
22544         (__stpncpy): Likewise.  Do not use BP_SYM.
22545         (stpncpy): Do not use BP_SYM in weak_alias.
22546         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22547         (PARMS): Do not use macros from bp-asm.h.
22548         (STR): Likewise.
22549         (CHR): Likewise.
22550         (strchr): Likewise.  Do not use BP_SYM.
22551         * sysdeps/i386/strchrnul.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         (__strchrnul): Likewise.  Do not use BP_SYM.
22557         (strchrnul): Do not use BP_SYM in weak_alias.
22558         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22559         "bp-asm.h".
22560         (PARMS): Do not use macros from bp-asm.h.
22561         (STOP): Likewise.
22562         (strcspn): Do not use BP_SYM.
22563         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22564         "bp-asm.h".
22565         (PARMS): Do not use macros from bp-asm.h.
22566         (STR): Likewise.
22567         (STOP): Likewise.
22568         (strpbrk): Likewise.  Do not use BP_SYM.
22569         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22570         "bp-asm.h".
22571         (PARMS): Do not use macros from bp-asm.h.
22572         (STR): Likewise.
22573         (CHR): Likewise.
22574         (strrchr): Likewise.  Do not use BP_SYM.
22575         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22576         (PARMS): Do not use macros from bp-asm.h.
22577         (SKIP): Likewise.
22578         (strspn): Do not use BP_SYM.
22579         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22580         (PARMS): Do not use macros from bp-asm.h.
22581         (STR): Likewise.
22582         (DELIM): Likewise.
22583         (SAVE): Likewise.
22584         (FUNCTION): Likewise.  Do not use BP_SYM.
22585         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22586         aliases.
22587         (strtok_r): Likewise.
22588         (__GI___strtok_r): Likewise.
22589         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22590         (PARMS): Do not use macros from bp-asm.h.
22591         (S1): Likewise.
22592         (S2): Likewise.
22593         (SIZE): Likewise.
22594         (__mpn_sub_n): Do not use BP_SYM.
22595         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22596         "bp-asm.h".
22597         (PARMS): Do not use macros from bp-asm.h.
22598         (S1): Likewise.
22599         (SIZE): Likewise.
22600         (__mpn_submul_1): Do not use BP_SYM.
22601         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22602         <bp-sym.h>.
22603         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22604         and <bp-asm.h>.
22605         (PARMS): Do not use macros from bp-asm.h.
22606         (FLAGS): Likewise.
22607         (PTID): Likewise.
22608         (TLS): Likewise.
22609         (CTID): Likewise.
22610         (__clone): Do not use BP_SYM.
22611         (clone): Do not use BP_SYM in weak_alias.
22612         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22613         and <bp-asm.h>.
22614         (PARMS): Do not use macros from bp-asm.h.
22615         (LEN): Likewise.
22616         (__mmap64): Do not use BP_SYM.
22617         (mmap64): Do not use BP_SYM in weak_alias.
22618         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22619         <bp-sym.h> and <bp-asm.h>.
22620         (PARMS): Do not use macros from bp-asm.h.
22621         (__posix_fadvise64_l64): Do not use BP_SYM.
22622         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22623         (PARMS): Do not use macros from bp-asm.h.
22624         (NSOPS): Likewise.
22625         (semtimedop): Do not use BP_SYM.
22626         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22627         and <bp-asm.h>.
22629 2013-02-21  Allan McRae  <allan@archlinux.org>
22631         * manual/message.texi (Charset conversion in gettext):
22632         Move @end statement to beginning of line.
22634 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22636         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22637         static.
22638         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22639         Likewise.
22641         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22642         (denorm): Likewise.
22643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22644         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22646 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22648         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22649         tail-call to the resolved function if pltexit isn't needed.
22651 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22653         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22654         or Y being zero as being unlikely.
22655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22656         Likewise.
22658 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22660         * manual/nss.texi (System Databases and Name Service Switch):
22661         Remove frobnicate @pxref.
22663 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22665         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22666         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22668 2013-02-20  Petr Machata  <pmachata@redhat.com>
22670         * elf/elf.h (R_ARM_TARGET1): New macro.
22671         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22672         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22673         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22674         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22675         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22676         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22677         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22678         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22679         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22680         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22681         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22682         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22683         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22684         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22685         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22686         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22687         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22688         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22689         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22690         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22691         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22692         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22693         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22694         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22695         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22696         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22697         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22698         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22699         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22700         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22701         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22702         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22703         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22704         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22705         (R_ARM_THM_GOT_BREL12): Likewise.
22706         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22707         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22708         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22709         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22710         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22711         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22712         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22713         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22714         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22716 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22718         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22719         __attribute_used__ to __attribute__ ((unused)).
22721 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22723         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22724         powerpc mpa.c.
22725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22726         comment formatting.
22727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22729 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22731         [BZ #13550]
22732         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22733         Remove macro.
22734         (ENTER): Remove both macro definitions.
22735         (LEAVE): Likewise.
22736         (CHECK_BOUNDS_LOW): Likewise.
22737         (CHECK_BOUNDS_HIGH): Likewise.
22738         (CHECK_BOUNDS_BOTH): Likewise.
22739         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22740         (RETURN_BOUNDED_POINTER): Likewise.
22741         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22742         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22743         (POP_ERRNO_LOCATION_RETURN): Likewise.
22744         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22745         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22746         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22747         macros.
22748         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22749         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22750         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22751         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22752         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22753         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22754         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22755         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22756         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22757         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22758         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22759         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22760         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22761         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22762         removed macros.
22763         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22764         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22765         macros.
22766         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22767         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22768         * sysdeps/i386/i586/memset.S (memset): Likewise.
22769         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22770         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22771         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22772         macros.
22773         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22774         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22775         Change uses of L(2) to L(out).
22776         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22777         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22778         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22779         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22780         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22781         removed macros.
22782         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22783         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22784         macros.
22785         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22786         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22787         (RETURN): Do not use macro LEAVE.
22788         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22789         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22790         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22791         * sysdeps/i386/i686/memset.S (memset): Likewise.
22792         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22793         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22794         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22795         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22796         Likewise.
22797         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22798         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22799         L(1_2) and L(1_3) into L(1).
22800         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22801         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22802         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22803         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22804         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22805         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22806         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22807         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22808         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22809         macros.
22810         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22811         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22812         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22813         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22814         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22815         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22816         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22817         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22818         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22819         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22820         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22821         * sysdeps/i386/strspn.S (strspn): Likewise.
22822         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22823         conditional code.
22824         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22825         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22826         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22827         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22828         L(1_3) into L(1_1).
22829         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22830         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22831         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22832         macros.
22833         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22835 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22837         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22838         macro.
22840 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22842         * math/atest-exp.c (exp_mpn): Remove ROUND.
22843         * math/atest-exp2.c (exp_mpn): Likewise.
22844         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22846         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22847         * stdlib/tst-tls-atexit-lib.c: Likewise.
22848         * stdlib/tst-tls-atexit.c: Likewise.
22850 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22852         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22853         and __attribute_alloc_size__.
22855 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22857         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22858         __attribute_alloc_size__.
22859         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22860         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22862 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22864         * include/programs/xmalloc.h: New file.
22865         * catgets/gencat.c: Include it.
22866         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22867         * elf/pldd.c: Likewise.
22868         * iconv/iconv_charmap.c: Likewise.
22869         * iconv/iconvconfig.c: Likewise.
22870         * iconv/strtab.c: Likewise.
22871         * locale/programs/locale.c: Likewise.
22872         * locale/programs/localedef.h: Likewise.
22873         * locale/programs/simple-hash.c: Likewise.
22874         * nscd/nscd.h: Likewise.
22875         * nss/makedb.c: Likewise.
22876         * sysdeps/generic/ldconfig.h: Likewise.
22878 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22880         * Versions.def: Add GLIBC_2.18.
22881         * include/link.h (struct link_map): New member l_tls_dtor_count.
22882         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22883         (__call_tls_dtors): Likewise.
22884         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22885         __cxa_thread_atexit_impl.
22886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22887         Likewise.
22888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22889         Likewise.
22890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22891         Likewise.
22892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22893         Likewise.
22894         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22896         Likewise.
22897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22898         Likewise.
22899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22901         Likewise.
22902         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22903         (tests): Add test case tst-tls-atexit.
22904         (modules-names): Add shared library for tst-tls-atexit.
22905         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22906         (GLIBC_PRIVATE): Add __call_tls_dtors.
22907         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22908         for libstdc++.
22909         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22910         * stdlib/tst-tls-atexit.c: New test case.
22911         * stdlib/tst-tls-atexit-lib.c: New test case.
22913         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22915         * elf/Versions (ld): Add _dl_find_dso_for_object.
22916         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22917         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22918         (dl_open_worker): Use _dl_find_dso_for_object.
22919         * elf/dl-sym.c (do_sym): Likewise.
22920         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22922 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22924         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22925         Syntactic changes only.
22926         (_dl_runtime_profile): Do a tail-call to the resolved function.
22928 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22930         [BZ #13550]
22931         * sysdeps/x86_64/bp-asm.h: Remove file.
22932         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22933         <bp-sym.h> and <bp-asm.h>.
22934         (__clone): Do not use BP_SYM.
22935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22936         <bp-sym.h> and <bp-asm.h>.
22937         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22938         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22939         "bp-asm.h".
22940         (_setjmp): Do not use BP_SYM.
22941         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22942         "bp-asm.h".
22943         (setjmp): Do not use BP_SYM.
22944         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22945         libc_hidden_def.
22946         (mempcpy): Do not use BP_SYM in weak_alias.
22947         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22948         "bp-asm.h".
22949         (strchr): Do not use BP_SYM.
22950         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22951         "bp-asm.h".
22952         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22953         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22954         (_start): Do not use BP_SYM.
22955         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22956         "bp-asm.h".
22957         (strcat): Do not use BP_SYM.
22958         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22959         "bp-asm.h".
22960         (STRCMP): Do not use BP_SYM.
22961         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22962         "bp-asm.h".
22963         (STRCPY): Do not use BP_SYM.
22964         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22965         "bp-asm.h".
22966         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22967         "bp-asm.h".
22968         (FUNCTION): Do not use BP_SYM.
22969         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22970         weak_alias.
22971         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22973 2013-02-17  Andreas Jaeger  <aj@suse.de>
22975         * time/Versions: Sort entries.
22976         * string/Versions: Likewise.
22977         * resolv/Versions: Likewise.
22978         * posix/Versions: Likewise.
22979         * iconv/Versions: Likewise.
22980         * elf/Versions: Likewise.
22981         * wcsmbs/Versions: Likewise.
22983 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22985         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22986         loop termination condition.
22988         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22989         variable to calculate EZ.
22990         (__sqr): Likewise.
22992         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22993         the lower precision input.
22995 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22997         [BZ #13550]
22998         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22999         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23000         (run-via-rtld-prefix): Do not handle %-bp tests.
23001         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23002         (all-object-suffixes): Remove .ob.
23003         (bppfx): Remove variable.
23004         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23005         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23006         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23007         [$(build-bounded) = yes] (libtype.ob): Likewise.
23008         * Makerules (elide-routines.ob): Remove variable.
23009         (do-tests-clean): Do not handle *-bp.out.
23010         (common-mostlyclean): Do not handle *-bp and *-bp.out.
23011         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23012         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23013         (tests): Do not include $(tests-bp.out).
23014         (xtests): Do not include $(xtests-bp.out).
23015         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23016         [$(build-bounded) = yes] ($(addprefix
23017         $(objpfx),$(binaries-bounded))): Remove rule.
23018         ($(objpfx)%-bp.out): Remove rule.
23019         * config.make.in (build-bounded): Remove variable.
23020         * crypt/Makefile [$(build-bounded) = yes]
23021         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23022         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23023         append to variable.
23024         [$(build-bounded) = yes] (install-lib): Likewise.
23025         [$(build-bounded) = yes] (generated): Likewise.
23026         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23027         Remove rule.
23028         * intl/Makefile [$(build-bounded) = yes]
23029         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23030         * math/Makefile [$(build-bounded) = yes]
23031         ($(tests:%=$(objpfx)%-bp): Likewise.
23032         * misc/Makefile [$(build-bounded) = yes]
23033         ($(objpfx)tst-tsearch-bp): Likewise.
23034         * nptl/Makeconfig (bounded-thread-library): Remove variable.
23035         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23036         Remove dependency.
23037         * string/Makefile (o-objects.ob): Remove variable.
23038         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23039         (CFLAGS-.ob): Remove variable.
23040         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23041         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23042         both definitions of variable.
23043         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23044         (ASFLAGS-.ob): Remove variable.
23046 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23048         [BZ #13550]
23049         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23050         Remove __BOUNDED_POINTERS__ from condition.
23051         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23052         * string/bits/string2.h [!__NO_STRING_INLINES &&
23053         !__BOUNDED_POINTERS__]: Likewise.
23054         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23055         Likewise.
23056         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23057         Remove conditional code.
23058         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23059         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23060         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23061         condition.
23063         [BZ #13550]
23064         * csu/libc-start.c: Do not include <bp-sym.h>.
23065         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23066         * elf/dl-open.c: Do not include <bp-sym.h>.
23067         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23068         * math/fegetenv.c: Do not include <bp-sym.h>.
23069         (fegetenv): Do not use BP_SYM in versioned symbols.
23070         * nptl/sysdeps/pthread/bits/libc-lockP.h
23071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23072         <bp-sym.h>.
23073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23074         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23076         (__pthread_mutex_destroy): Likewise.
23077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23078         (__pthread_mutex_lock): Likewise.
23079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23080         (__pthread_mutex_trylock): Likewise.
23081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23082         (__pthread_mutex_unlock): Likewise.
23083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23084         (__pthread_mutexattr_init): Likewise.
23085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23086         (__pthread_mutexattr_destroy): Likewise.
23087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23088         (__pthread_mutexattr_settype): Likewise.
23089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23090         (__pthread_rwlock_init): Likewise.
23091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23092         (__pthread_rwlock_destroy): Likewise.
23093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23094         (__pthread_rwlock_rdlock): Likewise.
23095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23096         (__pthread_rwlock_tryrdlock): Likewise.
23097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23098         (__pthread_rwlock_wrlock): Likewise.
23099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23100         (__pthread_rwlock_trywrlock): Likewise.
23101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23102         (__pthread_rwlock_unlock): Likewise.
23103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23104         (__pthread_key_create): Likewise.
23105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23106         (__pthread_setspecific): Likewise.
23107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23108         (__pthread_getspecific): Likewise.
23109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23110         Likewise.
23111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23112         (_pthread_cleanup_push_defer): Likewise.
23113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23114         (_pthread_cleanup_pop_restore): Likewise.
23115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23116         (pthread_setcancelstate): Likewise.
23117         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23118         <bp-sym.h>.
23119         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23120         (memchr): Do not use BP_SYM in weak_alias.
23121         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23122         (fegetenv): Do not use BP_SYM in versioned symbols.
23123         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23124         (fesetenv): Do not use BP_SYM in versioned symbols.
23125         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23126         (feupdateenv): Do not use BP_SYM in versioned symbols.
23127         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23128         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23129         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23130         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23131         (open64): Do not use BP_SYM in weak_alias.
23132         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23133         (fegetenv): Do not use BP_SYM in versioned symbols.
23134         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23135         (fesetenv): Do not use BP_SYM in versioned symbols.
23136         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23137         (feupdateenv): Do not use BP_SYM in versioned symbols.
23138         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23139         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23140         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23141         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23142         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23143         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23144         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23145         <bp-sym.h>.
23146         (__libc_start_main): Do not use BP_SYM.
23148 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23151         redundant return line.
23152         (norm): Likewise.
23153         (denorm): Likewise.
23154         (dbl_mp): Likewise.
23155         (sub_magnitudes): Likewise.
23156         (__add): Likewise.
23157         (__sub): Likewise.
23158         (__mul): Likewise.
23159         (__inv): Likewise.
23160         (__dvd): Likewise.
23161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23162         (norm): Likewise.
23163         (denorm): Likewise.
23164         (dbl_mp): Likewise.
23165         (sub_magnitudes): Likewise.
23166         (__add): Likewise.
23167         (__sub): Likewise.
23168         (__mul): Likewise.
23169         (__inv): Likewise.
23170         (__dvd): Likewise.
23172         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23173         instead of __mul.
23174         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23175         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23176         (cc32): Likewise.
23178         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23179         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23180         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23181         of __mul for squares.
23182         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23183         function
23184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23185         Likewise.
23186         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23187         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23189 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23191         [BZ #13550]
23192         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23193         code.
23194         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23195         prototype or function definition.  Rename ubp_* variables and
23196         parameters.  Remove argv definitions conditional on
23197         [__BOUNDED_POINTERS__].
23198         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23199         * elf/dl-runtime.c (_dl_fixup): Likewise.
23200         * include/set-hooks.h (RUN_HOOK): Likewise.
23201         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23202         definition.
23203         * string/strcpy.c (strcpy): Do not use __unbounded.
23204         * sysdeps/generic/frame.h (struct layout): Likewise.
23205         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23206         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23207         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23208         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23209         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23210         (__backtrace): Likewise.
23211         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23212         use __ptrvalue.
23213         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23214         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23215         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23216         Likewise.
23217         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23218         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23219         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23220         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23221         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23222         Do not use __unbounded.
23223         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23224         Rename __unboundedrlimits parameter to rlimits in prototype.
23225         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23226         Do not use __unbounded.
23227         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23228         not use __ptrvalue.
23229         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23230         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23231         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23232         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23233         __ptrvalue or __unbounded.
23234         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23235         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23236         use __unbounded.
23237         (__new_msgctl): Do not use __ptrvalue.
23238         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23239         __unbounded.
23240         (__libc_msgrcv): Do not use __ptrvalue.
23241         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23242         startup_info): Do not use __unbounded.
23243         (__libc_start_main): Likewise.  Rename ubp_* variables and
23244         parameters.  Remove argv definitions conditional on
23245         [__BOUNDED_POINTERS__].
23246         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23247         __ptrvalue.
23248         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23249         use __unbounded.
23250         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23251         or __ptrvalue.
23252         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23253         use __unbounded.
23254         (__new_shmctl): Do not use __ptrvalue.
23255         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23256         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23257         Likewise.
23258         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23259         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23260         (__libc_sigaction): Likewise.
23261         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23262         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23263         Likewise.
23264         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23266 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23268         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23270         * string/mempcpy.c: Implement by calling memcpy.
23272 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23274         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23276         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23277         evaluation.
23279         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23280         values in the mantissa.
23282         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23283         minimize writes to Z.
23284         (sub_magnitudes): Simplify code a bit.
23286 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23288         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23289         from the message.  The linker prefixes all warnings with that already.
23291 2013-02-12  Andreas Schwab  <schwab@suse.de>
23293         [BZ #15078]
23294         * posix/regexec.c (extend_buffers): Add parameter min_len.
23295         (check_matching): Pass minimum needed length.
23296         (clean_state_log_if_needed): Likewise.
23297         (get_subexp): Likewise.
23298         * posix/Makefile (tests): Add bug-regex34.
23299         (bug-regex34-ENV): Define.
23300         * posix/bug-regex34.c: New file.
23302         [BZ #11561]
23303         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23304         elements compare against the byte sequence of it, not its name.
23305         * posix/Makefile (tests): Add bug-regex35.
23306         (bug-regex35-ENV): Define.
23307         * posix/bug-regex35.c: New file.
23309 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23311         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23312         comment.
23313         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23314         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23315         (CHECK_EOL): Add undef.
23317 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23319         * bits/stdlib-bsearch.h: New file.
23320         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23321         * stdlib/stdlib.h: Likewise.
23323 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23325         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23326         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23327         declaration.
23328         * manual/search.texi (Array Search Function): Add missing const in
23329         lfind prototype.
23330         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23331         declaration to use rlim_t.
23332         (Basic Scheduling Functions): Remove erroneous const from
23333         sched_getparam prototype.  Remove erroneous * from
23334         sched_get_priority_max and sched_get_priority_min prototypes.
23335         (Resource Usage): Fix summary @comment on vtimes to refer to
23336         sys/vtimes.h rather than vtimes.h.
23337         Add missing *s in vtimes prototype.
23338         (Limits on Resources): Fix ulimit prototype to return long int.
23339         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23340         prototypes to use long int rather than double.
23341         (BSD Random): Fix initstate and setstate to use char *, not void *.
23342         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23343         prototype to make second argument 'struct aiocb64 *const[]'.
23344         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23345         (Status of AIO Operations): Remove erroneous const in aio_return and
23346         aio_return64 prototypes.
23347         (Synchronizing I/O): Fix sync prototype to return void.
23348         * manual/startup.texi (Suboptions): Remove an erroneous const in
23349         getsubopt prototype.
23350         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23351         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23352         use size_t rather than int.
23353         (Scanning All Users): Likewise for getpwent_r.
23354         (Setting Groups): Add missing const to setgroups prototype.
23355         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23356         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23357         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23358         'const void *' rather than 'const char *'.
23359         (Host Address Functions): Likewise for inet_ntop.
23360         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23361         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23362         ssize_t for return value.
23363         (Sending Data): Likewise for send, sendto, sendmsg.
23364         (Socket Option Functions): Add a missing const in setsockopt prototype.
23365         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23366         use wchar_t for the argument.
23367         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23368         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23369         take no arguments.
23370         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23371         double/float/long double for second argument.
23372         Fix return types of significand, significandf, significandl.
23373         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23374         argument in fchmod prototype.
23375         (File Owner): Use uid_t and gid_t in fchown prototype.
23376         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23377         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23378         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23379         use 'const struct dirent **' as argument types to CMP function pointer
23380         argument.
23381         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23382         (File Times): Fix summary magic @comment for struct utimbuf and utime
23383         to refer to utime.h, not time.h.
23384         * manual/string.texi (Argz Functions): Add missing const in
23385         argz_extract and argz_next prototypes.
23386         (Finding Tokens in a String): Likewise for basename.
23387         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23388         (Copying and Concatenation): Fix typo in wmemmove prototype.
23389         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23390         (Signal Stack): Remove erroneous const in sigstack prototype.
23391         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23392         prototype.
23393         (Simple Calendar Time): Likewise for stime.
23394         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23395         prototype.
23396         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23397         say sys/sysctl.h instead.
23398         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23399         and vsyslog prototypes.
23401 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23403         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23404         Remove.
23406 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23408         * misc/sys/mman.h: Fix typo in mremap comment.
23410 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23412         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23413         the '\0' terminator.
23415 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23417         [BZ #13550]
23418         * debug/segfault.c: Don't include <bp-checks.h>.
23419         * sysdeps/generic/bp-checks.h: Remove file.
23420         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23421         (__GETDENTS): Don't use CHECK_N.
23422         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23423         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23424         (__getgroups): Don't use CHECK_N.
23425         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23426         (setgroups): Don't use CHECK_N.
23427         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23428         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23429         (__libc_msgrcv): Don't use CHECK_N.
23430         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23431         (__libc_msgsnd): Don't use CHECK_N.
23432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23433         <bp-checks.h>.
23434         (__libc_pread): Don't use CHECK_N.
23435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23436         include <bp-checks.h>.
23437         (__libc_pread64): Don't use CHECK_N.
23438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23439         include <bp-checks.h>.
23440         (__libc_pwrite): Don't use CHECK_N.
23441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23442         include <bp-checks.h>.
23443         (__libc_pwrite64): Don't use CHECK_N.
23444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23445         <bp-checks.h>.
23446         (__libc_pread): Don't use CHECK_N.
23447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23448         include <bp-checks.h>.
23449         (__libc_pread64): Don't use CHECK_N.
23450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23451         include <bp-checks.h>.
23452         (__libc_pwrite): Don't use CHECK_N.
23453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23454         include <bp-checks.h>.
23455         (__libc_pwrite64): Don't use CHECK_N.
23456         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23457         (do_pread): Don't use CHECK_N.
23458         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23459         (do_pread64): Don't use CHECK_N.
23460         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23461         (do_pwrite): Don't use CHECK_N.
23462         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23463         (do_pwrite64): Don't use CHECK_N.
23464         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23465         (__libc_readv): Don't use CHECK_N.
23466         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23467         (semop): Don't use CHECK_N.
23468         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23469         <bp-checks.h>.
23470         (semtimedop): Don't use CHECK_N.
23471         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23472         (__libc_pread): Don't use CHECK_N.
23473         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23474         <bp-checks.h>.
23475         (__libc_pread64): Don't use CHECK_N.
23476         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23477         <bp-checks.h>.
23478         (__libc_pwrite): Don't use CHECK_N.
23479         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23480         <bp-checks.h>.
23481         (__libc_pwrite64): Don't use CHECK_N.
23482         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23483         <bp-checks.h>.
23484         (__libc_msgrcv): Don't use CHECK_N.
23485         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23486         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23487         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23488         (__libc_writev): Don't use CHECK_N.
23490 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23492         * string/strcpy.c: Removed unused variable.
23494         * Makeconfig (+sysdep-includes): Define with := rather than =.
23495         Use an existing include/ subdir of each sysdeps dir before it.
23497 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23499         * nscd/connection.c (register_traced_file): Comment function.
23500         [HAVE_INOTIFY] (union __inev): Define.
23501         [HAVE_INOTIFY] (inotify_check_files): New function.
23502         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23503         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23504         clear_db_cache.
23505         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23507 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23509         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23510         loaded if not already and that a failure is permanent.
23512 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23514         [BZ #15006]
23515         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23516         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23518 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23520         [BZ #13550]
23521         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23522         (CHECK_1_NULL_OK): Likewise.
23523         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23524         (__fxstat): Do not use CHECK_1.
23525         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23526         <bp-checks.h>.
23527         (___fxstat64): Do not use CHECK_1.
23528         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23529         <bp-checks.h>.
23530         (__fxstatat): Do not use CHECK_1.
23531         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23532         <bp-checks.h>.
23533         (__fxstatat64): Do not use CHECK_1.
23534         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23535         <bp-checks.h>.
23536         (__fxstat): Do not use CHECK_1.
23537         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23538         <bp-checks.h>.
23539         (__fxstatat): Do not use CHECK_1.
23540         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23541         <bp-checks.h>.
23542         (__getresgid): Do not use CHECK_1.
23543         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23544         <bp-checks.h>.
23545         (__getresuid): Do not use CHECK_1.
23546         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23547         <bp-checks.h>.
23548         (__lxstat): Do not use CHECK_1.
23549         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23550         <bp-checks.h>.
23551         (__old_msgctl): Do not use CHECK_1.
23552         (__new_msgctl): Likewise.
23553         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23554         <bp-checks.h>.
23555         (__new_setrlimit): Do not use CHECK_1.
23556         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23557         <bp-checks.h>.
23558         (__old_shmctl): Do not use CHECK_1.
23559         (__new_shmctl): Likewise.
23560         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23561         <bp-checks.h>.
23562         (__xstat): Do not use CHECK_1.
23563         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23564         (__lxstat): Do not use CHECK_1.
23565         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23566         <bp-checks.h>.
23567         (___lxstat64): Do not use CHECK_1.
23568         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23569         (__old_msgctl): Do not use CHECK_1.
23570         (__new_msgctl): Likewise.
23571         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23572         <bp-checks.h>.
23573         (__gettimeofday): Do not use CHECK_1.
23574         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23575         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23576         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23577         <bp-checks.h>.
23578         (__gettimeofday): Do not use CHECK_1.
23579         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23580         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23581         (__new_shmctl): Do not use CHECK_1.
23582         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23583         <bp-checks.h>.
23584         (do_sigtimedwait): Do not use CHECK_1.
23585         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23586         <bp-checks.h>.
23587         (do_sigwaitinfo): Do not use CHECK_1.
23588         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23589         <bp-checks.h>.
23590         (msgctl): Do not use CHECK_1.
23591         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23592         <bp-checks.h>.
23593         (shmctl): Do not use CHECK_1.
23594         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23595         (ustat): Do not use CHECK_1.
23596         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23597         <bp-checks.h>.
23598         (__fxstat): Do not use CHECK_1.
23599         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23600         <bp-checks.h>.
23601         (__fxstatat): Do not use CHECK_1.
23602         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23603         <bp-checks.h>.
23604         (__lxstat): Do not use CHECK_1.
23605         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23606         <bp-checks.h>.
23607         (__xstat): Do not use CHECK_1.
23608         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23609         (__xstat): Do not use CHECK_1.
23610         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23611         (___xstat64): Do not use CHECK_1.
23613         [BZ #13550]
23614         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23615         definitions.
23616         (CHECK_BOUNDS_HIGH): Likewise.
23617         * string/strcpy.c: Do not include <bp-checks.h>.
23618         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23620 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23622         * nscd/nscd-client.h (__nscd_drop_map_ref):
23623         Add __attribute__ ((unused)).
23624         * nis/nss-nisplus.h (niserr2nss): Likewise.
23626         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23627         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23629         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23630         Remove inline keyword.
23631         * include/rounding-mode.h (round_away): Likewise.
23632         * libio/wfileops.c (adjust_wide_data): Likewise.
23633         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23634         (__m128i_strloadu_tolower): Likewise.
23635         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23636         (__m128i_strloadu_tolower): Likewise.
23637         * time/mktime.c (ydhms_diff): Likewise.
23638         * locale/elem-hash.h (elem_hash): Likewise.
23639         * locale/setlocale.c (setdata): Likewise.
23640         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23641         (re_string_wchar_at): Likewise.
23642         (bitset_not, bitset_merge, bitset_mask): Likewise.
23643         [!(__GNUC__ > 3)] (inline): Remove macro.
23644         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23645         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23646         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23647         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23648         * string/memcmp.c (memcmp_bytes): Likewise.
23649         * locale/programs/locarchive.c (compute_hashval): Likewise.
23650         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23651         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23652         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23653         * nss/getent.c (print_rpc, print_protocols): Likewise.
23654         (print_passwd, print_group, print_aliases): Likewise.
23655         * nis/nss-nisplus.h (niserr2nss): Likewise.
23656         * nscd/connections.c (restart_p): Likewise.
23657         Change return type to bool.
23659 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23661         * Makeconfig (all-Depend-files): Add existing
23662         $(sorted-subdirs:=/Depend) files.
23663         (all-subdirs): Remove nss.
23664         * sysdeps/unix/inet/Subdirs: Add it here instead.
23665         * hesiod/Depend: New file.
23667         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23668         instead of calling alloca.
23670         * io/lseek.c (__lseek): Rename to __libc_lseek.
23671         Define __lseek as an alias.
23673         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23675 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23677         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23678         else clause and remove check for non-standard endianness.
23680 2013-02-04  David S. Miller  <davem@davemloft.net>
23682         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23684 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23686         [BZ #13550]
23687         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23688         (__ubp_memchr): Remove prototype.
23689         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23690         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23691         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23692         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23693         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23694         Remove alias.
23695         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23696         (__ubp_memchr): Likewise.
23697         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23698         (__ubp_memchr): Likewise.
23699         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23700         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23701         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23702         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23703         CHECK_STRING.
23704         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23705         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23706         (__getcwd): Do not use CHECK_STRING.
23707         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23708         <bp-checks.h>.
23709         (__real_chown): Do not use CHECK_STRING.
23710         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23711         <bp-checks.h>.
23712         (fchownat): Do not use CHECK_STRING.
23713         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23714         CHECK_STRING.
23715         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23716         <bp-checks.h>.
23717         (__lchown): Do not use CHECK_STRING.
23718         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23719         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23720         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23721         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23723         include <bp-checks.h>.
23724         (truncate64): Do not use CHECK_STRING.
23725         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23726         <bp-checks.h>.
23727         (__real_chown): Do not use CHECK_STRING.
23728         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23729         <bp-checks.h>.
23730         (__lchown): Do not use CHECK_STRING.
23731         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23732         <bp-checks.h>.
23733         (__chown): Do not use CHECK_STRING.
23734         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23735         <bp-checks.h>.
23736         (truncate64): Do not use CHECK_STRING.
23737         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23738         Likewise.
23739         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23740         (__xmknod): Do not use CHECK_STRING.
23741         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23742         <bp-checks.h>.
23743         (__xmknodat): Do not use CHECK_STRING.
23744         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23745         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23747 2013-02-04  Andreas Schwab  <schwab@suse.de>
23749         [BZ #14142]
23750         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23751         * include/netdb.h: Likewise for h_errno.
23752         * elf/tst-stackguard1.c: Include <tls.h>.
23754 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23756         * elf/link.h (struct link_map): Extend the l_addr comment.
23757         * include/link.h (struct link_map): Likewise.
23759 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23761         [BZ #13550]
23762         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23763         (BOUNDED_1): Remove macro.
23764         * debug/backtrace.c: Don't include <bp-checks.h>.
23765         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23766         (__backtrace): Likewise.
23767         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23768         <bp-checks.h>.
23769         (__backtrace): Don't use BOUNDED_1.
23770         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23771         <bp-checks.h>.
23772         (__backtrace): Don't use BOUNDED_1.
23773         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23774         (__backtrace): Don't use BOUNDED_1.
23775         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23776         (shmat): Don't use BOUNDED_N.
23778 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23780         [BZ #13550]
23781         * sysdeps/generic/bp-start.h: Remove file.
23782         * csu/libc-start.c: Don't include <bp-start.h>.
23783         (LIBC_START_MAIN): Set up __environ directly instead of using
23784         INIT_ARGV_and_ENVIRON.
23785         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23786         <bp-start.h>.
23788         [BZ #13550]
23789         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23790         definitions.
23791         (CHECK_FCNTL): Likewise.
23792         (CHECK_N_PAGES): Likewise.
23794         [BZ #13550]
23795         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23796         definitions.
23797         (CHECK_SIGSET_NULL_OK): Likewise.
23798         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23799         <bp-checks.h>.
23800         (sigpending): Don't use CHECK_SIGSET.
23801         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23802         <bp-checks.h>.
23803         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23804         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23805         <bp-checks.h>.
23806         (do_sigsuspend): Don't use CHECK_SIGSET.
23807         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23808         use CHECK_SIGSET.
23809         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23810         (do_sigwait): Don't use CHECK_SIGSET.
23811         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23812         use CHECK_SIGSET.
23813         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23814         include <bp-checks.h>.
23815         (sigpending): Don't use CHECK_SIGSET.
23816         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23817         include <bp-checks.h>.
23818         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23819         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23820         <bp-checks.h>.
23821         (sigpending): Don't use CHECK_SIGSET.
23822         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23823         <bp-checks.h>.
23824         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23826         [BZ #13550]
23827         * sysdeps/generic/bp-semctl.h: Remove file.
23828         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23829         <bp-checks.h> and <bp-semctl.h>.
23830         (__old_semctl): Don't use CHECK_SEMCTL.
23831         (__new_semctl): Likewise.
23832         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23833         and <bp-semctl.h>.
23834         (__old_semctl): Don't use CHECK_SEMCTL.
23835         (__new_semctl): Likewise.
23836         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23837         <bp-checks.h> and <bp-semctl.h>.
23838         (__old_semctl): Don't use CHECK_SEMCTL.
23839         (__new_semctl): Likewise.
23840         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23841         <bp-checks.h> and <bp-semctl.h>.
23842         (semctl): Don't use CHECK_SEMCTL.
23844         [BZ #13550]
23845         * Makerules (elide-bp-thunks): Remove variable.
23846         (elide-routines.oS): Don't use $(elide-bp-thunks).
23847         (elide-routines.os): Likewise.
23848         (elide-routines.o): Likewise.
23849         (elide-routines.op): Likewise.
23850         (elide-routines.og): Likewise.
23851         (objects): Don't use $(bp-thunks).
23852         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23853         include.
23854         (common-generated): Do not add s-proto-bp.d.
23855         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23856         (int): Likewise.
23857         (typ): Likewise.
23858         Do not generate makefile rules for bounded-pointer thunks.
23859         * sysdeps/generic/bp-thunks.h: Remove file.
23860         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23861         * sysdeps/unix/s-proto-bp.S: Likewise.
23863         [BZ #15062]
23864         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23865         parts of result separately when argument is not close to line from
23866         -i to i and one part of argument is small.
23867         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23868         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23869         * math/libm-test.inc (cacos_test): Add more tests.
23870         (casin_test): Likewise.
23871         (casinh_test): Likewise.
23872         * sysdeps/i386/fpu/libm-test-ulps: Update.
23873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23875 2013-01-31  David S. Miller  <davem@davemloft.net>
23877         * po/de.po: Update from translation team.
23879 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23881         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23883 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23885         * configure.in (_AC_PROG_CC_C89): New definition.
23886         * configure: Regenerate.
23888         * configure.in (AC_PROG_CPP): New definition.
23889         * configure: Regenerate.
23891 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23893         * debug/tst-backtrace.h: New file.
23894         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23895         (ret): Remove variable.
23896         (x): Likewise.
23897         (FAIL): Remove macro.
23898         (NO_INLINE): Likewise.
23899         (fn1): Use match function instead of strstr.
23900         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23901         (ret): Remove variable.
23902         (x): Likewise.
23903         (FAIL): Remove macro.
23904         (NO_INLINE): Likewise.
23905         (fn): Use match function instead of strstr.
23906         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23907         (ret): Remove variable.
23908         (x): Likewise.
23909         (FAIL): Remove macro.
23910         (NO_INLINE): Likewise.
23911         (handle_signal): Use match function instead of strstr.
23912         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23913         (ret): Remove variable.
23914         (x): Likewise.
23915         (FAIL): Remove macro.
23916         (NO_INLINE): Likewise.
23917         (handle_signal): Use match function instead of strstr.
23919 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23921         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23923 2013-01-23  David S. Miller  <davem@davemloft.net>
23925         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23926         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23927         argument of CAS if possible.
23928         * sysdeps/sparc/sparc64/bits/atomic.h
23929         (__arch_compare_and_exchange_val_32_acq): Likewise.
23930         (__arch_compare_and_exchange_val_64_acq): Likewise.
23932 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23934         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23935         * sysdeps/posix/ulimit.c: ... this.
23936         Include <limits.h>.
23937         * sysdeps/unix/bsd/ulimit.c: Remove file.
23939 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23941         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23942         (LDFLAGS-tst-array5): Likewise.
23944 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23946         [BZ #15036]
23947         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23948         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23949         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23950         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23952 2013-01-21  David S. Miller  <davem@davemloft.net>
23954         * sysdeps/sparc/backtrace.c: New file.
23955         * sysdeps/sparc/sparc32/backtrace.h: New file.
23956         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23957         * sysdeps/sparc/sparc64/backtrace.h: New file.
23958         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23959         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23960         -funwind-tables.
23962 2013-01-21  Andreas Schwab  <schwab@suse.de>
23964         [BZ #15020]
23965         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23966         closed its stdout.
23968 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23970         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23971         "mpa2.h".
23972         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23974 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23975             Mark Mitchell  <mark@codesourcery.com>
23976             Tom de Vries  <tom@codesourcery.com>
23977             Paul Pluzhnikov  <ppluzhnikov@google.com>
23979         * debug/tst-backtrace2.c: New file.
23980         * debug/tst-backtrace3.c: Likewise.
23981         * debug/tst-backtrace4.c: Likewise.
23982         * debug/tst-backtrace5.c: Likewise.
23983         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23984         (CFLAGS-tst-backtrace3.c): Likewise.
23985         (CFLAGS-tst-backtrace4.c): Likewise.
23986         (CFLAGS-tst-backtrace5.c): Likewise.
23987         (LDFLAGS-tst-backtrace2): Likewise.
23988         (LDFLAGS-tst-backtrace3): Likewise.
23989         (LDFLAGS-tst-backtrace4): Likewise.
23990         (LDFLAGS-tst-backtrace5): Likewise.
23991         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23992         tst-backtrace4 and tst-backtrace5.
23994 2013-01-18  Anton Blanchard  <anton@samba.org>
23995             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23997         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23998         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23999         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24000         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24002         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24003         "+r" and remove output regs list as redundant.  Add explicit inline
24004         asm to specify register of return val to work around compiler codegen
24005         bug.  Remove (int) cast on return value.  Add return type parameter to
24006         use in macro so that this macro does not truncate return value for
24007         64-bit values.
24008         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24009         pass to INTERNAL_VSYSCALL_NCS.
24010         (INLINE_VSYSCALL): Add 'long int' as return type to
24011         INTERNAL_VSYSCALL_NCS macro invocation.
24012         (INTERNAL_VSYSCALL): Add 'long int' as return type to
24013         INTERNAL_VSYSCALL_NCS macro invocation.
24014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24016 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24018         [BZ #14496]
24019         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24020         Fix application of SIMD FP exception mask.
24022         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24023         mp_no from a power of two.
24024         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24025         __mpexp_twomm1.  Use __pow_mp.
24027         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24028         multiplication.
24030 2013-01-17  David S. Miller  <davem@davemloft.net>
24032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24034 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24036         [BZ #15023]
24037         * include/complex.h: Condition contents on [!_COMPLEX_H].
24038         (__kernel_casinhf): New prototype.
24039         (__kernel_casinh): Likewise.
24040         (__kernel_casinhl): Likewise.
24041         * math/Makefile (libm_calls): Add k_casinh.
24042         * math/k_casinh.c: New file.
24043         * math/k_casinhf.c: Likewise.
24044         * math/k_casinhl.c: Likewise.
24045         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24046         finite nonzero arguments.
24047         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24048         finite nonzero arguments.
24049         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24050         finite nonzero arguments.
24051         * math/s_casinh.c: Do not include <float.h>.
24052         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24053         * math/s_casinhf.c: Do not include <float.h>.
24054         (__casinhf): Move code for finite nonzero arguments to
24055         k_casinhf.c.
24056         * math/s_casinhl.c: Do not include <float.h>.
24057         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24058         redefine.
24059         (__casinhl): Move code for finite nonzero arguments to
24060         k_casinhl.c.
24061         * math/libm-test.inc (cacos_test): Add more tests.
24062         * sysdeps/i386/fpu/libm-test-ulps: Update.
24063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24065 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24067         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24068         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24069         [!HAVE_MREMAP]: Remove [defined linux] case.
24070         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24072 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24074         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24076 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24078         * elf/elf.h (R_386_SIZE32): New relocation.
24079         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24080         R_386_SIZE32.
24081         (elf_machine_rela): Likewise.
24082         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24083         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24085 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24087         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24088         (FP_FAST_FMA): Do not define.
24089         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24090         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24091         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24092         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24093         !_SOFT_FLOAT]: Likewise.
24094         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24095         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24096         value.
24097         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24098         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24099         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24100         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24101         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24102         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24103         file.
24105 2013-01-16  Andreas Schwab  <schwab@suse.de>
24107         [BZ #14327]
24108         * include/stdlib.h (__mktemp): Add declaration.
24109         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24110         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24112 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24114         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24115         definitions.
24116         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24117         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24118         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24119         definitions here.
24120         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24121         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24122         definitions.
24123         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24124         and ONE.
24125         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24126         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24127         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24128         definitions.
24129         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24130         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24131         definitions.
24132         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24134         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24136 2013-01-15  David S. Miller  <davem@davemloft.net>
24138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24139         trunc{,f} to libm-sysdep_routes.
24140         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24142         file.
24143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24145         file.
24146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24147         file.
24148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24150         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24151         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24152         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24153         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24154         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24155         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24158         nearbyint{,f} to libm-sysdep_routes.
24159         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24161         New file.
24162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24163         file.
24164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24165         New file.
24166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24167         file.
24168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24170         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24171         file.
24172         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24173         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24174         file.
24175         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24176         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24177         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24179         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24180         libc_feholdexcept and libc_fesetenv.
24182 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24184         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24186 2013-01-14  David S. Miller  <davem@davemloft.net>
24188         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24189         (SPARC_ASM_VIS2_IFUNC): Likewise.
24190         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24192         use of 'siam' instruction.
24193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24194         Likewise.
24195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24196         Likewise.
24197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24198         Likewise.
24199         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24200         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24201         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24202         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24204         file.
24205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24206         file.
24207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24208         file.
24209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24210         file.
24211         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24212         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24213         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24214         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24216         new VIS2 routines.
24217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24220         Likewise.
24221         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24222         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24224         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24226         routines to libm-sysdep_routines.
24227         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24230         fdim/fdimf to libm-sysdep_routines.
24231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24232         file.
24233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24235         file.
24236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24239         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24240         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24241         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24242         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24244 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24246         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24247         to optimize copies.
24249         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24250         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24254         local variable MPTWO.
24255         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24256         Likewise.
24258 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24260         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24261         GLOB_NOESCAPE.
24263 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24265         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24267 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24269         * manual/pattern.texi (glob_t): Document gl_flags.
24270         (glob64_t): Likewise.
24272 2013-01-11  David S. Miller  <davem@davemloft.net>
24274         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24275         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24276         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24277         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24278         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24279         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24280         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24281         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24282         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24283         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24284         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24285         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24286         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24288         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24289         sparc V9 rather than using V8 code.
24290         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24291         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24293         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24294         Move to...
24295         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24296         Here.
24298 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24300         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24301         not in the main loop.
24302         * configure: Regenerated.
24304 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24306         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24307         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24308         to just #else.
24309         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24310         [!__GLIBC_HAVE_LONG_LONG] case.
24311         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24312         condition to just #else.
24313         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24314         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24315         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24316         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24317         unconditional.
24318         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24319         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24320         #elif condition to just #else.
24321         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24322         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24323         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24324         #elif condition to just #else.
24326 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24328         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24329         (EF_MIPS_ARCH_64): Fix value.
24330         (EF_MIPS_ARCH_32R2): New.
24331         (EF_MIPS_ARCH_64R2): New.
24333 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24335         * Makeconfig (+link-pie-before-libc): New.
24336         (+link-pie-after-libc): Likewise.
24337         (+link-pie-tests): Likewise.
24338         (+link-pie): Rewritten.
24339         (link-before-libc): Remove $(config-LDFLAGS).
24340         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24341         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24342         (config-LDFLAGS): Renamed to ...
24343         (rtld-LDFLAGS): This.
24344         (rtld-tests-LDFLAGS): New macro.
24345         (link-libc-rpath-link): Likewise.
24346         (link-libc-tests-rpath-link): Likewise.
24347         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24348         (link-libc): Prepand $(link-libc-rpath-link).
24349         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24350         (test-program-prefix): New macro.
24351         (test-via-rtld-prefix): Likewise.
24352         (test-program-cmd): Likewise.
24353         (host-test-program-cmd): Likewise.
24354         * Makefile ($(common-objpfx)testrun.sh): Replace
24355         $(run-program-prefix) with $(test-program-prefix).
24356         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24357         $(rtld-LDFLAGS).
24358         ($(common-objpfx)shlib.lds): Likewise.
24359         (build-module-helper): Likewise.
24360         ($(common-objpfx)format.lds): Likewise.
24361         * Rules (binaries-pie-tests): New.
24362         (binaries-pie-notests): Likewise.
24363         (binaries-pie): Rewritten.
24364         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24365         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24366         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24367         (make-test-out): Replace $(host-built-program-cmd) with
24368         $(host-test-program-cmd).
24369         * config.make.in (build-hardcoded-path-in-tests): New variable.
24370         * configure.in (--enable-hardcoded-path-in-tests): New configure
24371         option.
24372         (hardcoded_path_in_tests): New AC_SUBST.
24373         * configure: Regenerated.
24374         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24375         $(built-program-cmd) with $(test-program-cmd).
24376         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24377         (test_program_cmd): This.
24378         * elf/Makefile ($(objpfx)order.out): Run test with
24379         $(test-program-prefix).
24380         ($(objpfx)order2.out): Likewise.
24381         ($(objpfx)tst-initorder.out): Likewise.
24382         ($(objpfx)tst-initorder2.out): Likewise.
24383         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24384         $(test-program-cmd).
24385         ($(objpfx)tst-array1-static.out): Likewise.
24386         ($(objpfx)tst-array2.out): Likewise.
24387         ($(objpfx)tst-array3.out): Likewise.
24388         ($(objpfx)tst-array4.out): Likewise.
24389         ($(objpfx)tst-array5.out): Likewise.
24390         ($(objpfx)tst-array5-static.out): Likewise.
24391         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24392         $(test-program-cmd).
24393         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24394         $(run-program-prefix) with $(test-program-prefix).
24395         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24396         (test_program_prefix): This.
24397         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24398         $(run-program-prefix) with $(test-program-prefix).
24399         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24400         (test_program_prefix): This.
24401         * iconvdata/tst-tables.sh: Likewise.
24402         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24403         $(run-program-prefix) with $(test-program-prefix).
24404         ($(objpfx)tst-translit.out): Likewise.
24405         ($(objpfx)tst-gettext2.out): Likewise.
24406         ($(objpfx)tst-gettext4.out): Likewise.
24407         ($(objpfx)tst-gettext6.out): Likewise.
24408         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24409         (test_program_prefix): This.
24410         * intl/tst-gettext2.sh: Likewise.
24411         * intl/tst-gettext4.sh  Likewise.
24412         * intl/tst-gettext6.sh: Likewise.
24413         * intl/tst-translit.sh: Likewise.
24414         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24415         with $(test-program-cmd).
24416         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24417         $(run-program-prefix) with $(test-program-prefix).
24418         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24419         (test_program_prefix): This.
24420         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24421         $(run-program-prefix) with $(test-program-prefix).
24422         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24423         (test_program_prefix): This.
24424         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24425         * posix/Makefile ($(objpfx)globtest.out): Replace
24426         $(run-via-rtld-prefix) and $(test-wrapper) with
24427         $(test-program-prefix) and $(test-via-rtld-prefix).
24428         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24429         $(test-program-prefix).
24430         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24431         $(host-test-program-cmd).
24432         (tst-spawn-ARGS): Likewise.
24433         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24434         $(test-program-prefix).
24435         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24436         (test_via_rtld_prefix): This.
24437         (test_wrapper): Renamed to ...
24438         (test_program_prefix): This.
24439         (run_program_prefix): Replaced by test_program_prefix.
24440         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24441         (test_program_prefix): This.
24442         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24443         with $(host-test-program-cmd).
24444         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24445         $(run-program-prefix) with $(test-program-prefix).
24446         ($(objpfx)tst-printf.out): Likewise.
24447         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24448         $(test-program-cmd).
24449         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24450         (test_program_prefix): This.
24451         * stdio-common/tst-unbputc.sh: Likewise.
24452         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24453         $(run-program-prefix) with $(test-program-prefix).
24454         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24455         (test_program_prefix): This.
24456         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24457         $(built-program-cmd) with $(test-program-cmd).
24459 2013-01-11  Andreas Jaeger  <aj@suse.de>
24461         [BZ #15003]
24462         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24463         value. Sync with Linux 3.7.
24465 2013-01-10  David S. Miller  <davem@davemloft.net>
24467         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24468         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24469         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24471 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24473         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24474         never set.
24475         * configure: Regenerated.
24477 2013-01-10  David S. Miller  <davem@davemloft.net>
24479         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24480         sparc V9 rather than using V8 code.
24481         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24482         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24484 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24486         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24487         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24488         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24489         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24490         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24491         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24492         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24493         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24494         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24495         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24496         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24497         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24498         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24499         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24500         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24501         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24502         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24503         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24504         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24505         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24506         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24507         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24508         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24509         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24510         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24511         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24512         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24514 2013-01-10  David S. Miller  <davem@davemloft.net>
24516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24518 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24520         * posix/Makefile (tests-static): New variable.
24521         (tests): Add $(tests-static).
24522         (tst-exec-static-ARGS): New variable.
24523         (tst-spawn-static-ARGS): Likewise.
24524         * posix/tst-exec-static.c: New file.
24525         * posix/tst-spawn-static.c: Likewise.
24526         * posix/tst-exec.c: Support run directly.
24527         * posix/tst-spawn.c: Likewise.
24529 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24531         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24532         long.
24533         * math/bits/mathcalls.h (llrint): Likewise.
24534         (llround): Likewise.
24535         * stdlib/stdlib.h (struct drand48_data): Likewise.
24536         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24537         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24538         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24539         Likewise.
24540         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24541         Likewise.
24542         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24543         (elf_greg_t): Likewise.
24544         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24545         (__jmp_buf): Likewise.
24546         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24547         definitions.
24548         (llrint): Likewise, for all definitions.
24549         (llrintl): Likewise.
24551         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24552         Remove [__GNUC__] condition.
24553         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24554         condition to just [__USE_ISOC99].
24555         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24557 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24559         [BZ #14200]
24560         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24561         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24562         defined.
24563         (_POSIX_V6_ILP32_OFF32): Likewise.
24564         (_XBS5_ILP32_OFF32): Likewise.
24565         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24566         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24568 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24570         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24572         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24573         doubles __mpexp_twomm1.  Adjust usage.
24574         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24575         Remove.
24577 2013-01-10  Andreas Schwab  <schwab@suse.de>
24579         [BZ #14964]
24580         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24581         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24583 2013-01-09  David S. Miller  <davem@davemloft.net>
24585         [BZ #15003]
24586         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24587         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24588         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24589         (TCP_FASTOPEN): Define.
24590         (tcp_repair_opt): New structure.
24591         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24592         enum values.
24593         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24594         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24595         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24596         (tcp_cookie_transactions): New structure.
24598 2013-01-09  Anton Blanchard  <anton@samba.org>
24600         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24601         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24602         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24603         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24605 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24607         * include/features.h (__USE_ANSI): Remove.
24609 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24611         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24613         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24615 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24617         * sysdeps/s390/fpu/libm-test-ulps: Update.
24619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24621         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24622         (__acr): Likewise.
24623         (__cpy): Likewise.
24624         (norm): Likewise.
24625         (denorm): Likewise.
24626         (__mp_dbl): Likewise.
24627         (__dbl_mp): Likewise.
24628         (add_magnitudes): Likewise.
24629         (sub_magnitudes): Likewise.
24630         (__add): Likewise.
24631         (__sub): Likewise.
24632         (__mul): Likewise.
24633         (__inv): Likewise.
24634         (__dvd): Likewise.
24635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24636         (__acr): Likewise.
24637         (__cpy): Likewise.
24638         (norm): Likewise.
24639         (denorm): Likewise.
24640         (__mp_dbl): Likewise.
24641         (__dbl_mp): Likewise.
24642         (add_magnitudes): Likewise.
24643         (sub_magnitudes): Likewise.
24644         (__add): Likewise.
24645         (__sub): Likewise.
24646         (__mul): Likewise.
24647         (__inv): Likewise.
24648         (__dvd): Likewise.
24649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24650         (__acr): Likewise.
24651         (__cpy): Likewise.
24652         (norm): Likewise.
24653         (denorm): Likewise.
24654         (__mp_dbl): Likewise.
24655         (__dbl_mp): Likewise.
24656         (add_magnitudes): Likewise.
24657         (sub_magnitudes): Likewise.
24658         (__add): Likewise.
24659         (__sub): Likewise.
24660         (__mul): Likewise.
24661         (__inv): Likewise.
24662         (__dvd): Likewise.
24664 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24666         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24667         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24668         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24669         2 && __USE_EXTERN_INLINES]: Likewise.
24671 2013-01-08  Andreas Jaeger  <aj@suse.de>
24673         [BZ# 14985]
24674         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24675         Remove.
24676         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24677         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24679 2013-01-07  Anton Blanchard  <anton@samba.org>
24681         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24682         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24683         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24684         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24685         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24686         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24687         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24688         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24690         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24691         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24692         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24693         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24694         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24695         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24696         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24697         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24698         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24699         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24700         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24701         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24702         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24703         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24704         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24705         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24706         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24707         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24708         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24709         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24710         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24711         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24712         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24713         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24714         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24715         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24716         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24717         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24718         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24719         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24720         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24721         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24722         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24723         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24725 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24727         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24728         (__MALLOC_PMT): Likewise.
24729         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24730         [__GNUC__], only on [_LIBC].
24731         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24732         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24733         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24734         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24735         forward declaration.
24736         (realloc_hook_ini): Likewise.
24737         (memalign_hook_ini): Likewise.
24738         (__libc_memalign): Do not use __MALLOC_PMT in variable
24739         declaration.
24740         (__libc_valloc): Likewise.
24741         (__libc_pvalloc): Likewise.
24742         (__libc_calloc): Likewise.
24743         (__posix_memalign): Likewise.
24745         [BZ #14996]
24746         * math/s_casinh.c: Include <float.h>.
24747         (__casinh): Do not do computation with squaring and square root
24748         for large arguments.
24749         * math/s_casinhf.c: Include <float.h>.
24750         (__casinhf): Do not do computation with squaring and square root
24751         for large arguments.
24752         * math/s_casinhl.c: Include <float.h>.
24753         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24754         (__casinhl): Do not do computation with squaring and square root
24755         for large arguments.
24756         * math/libm-test.inc (casin_test): Add more tests.
24757         (casinh_test): Likewise.
24758         * sysdeps/i386/fpu/libm-test-ulps: Update.
24759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24761 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24763         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24764         (__x86_64_raw_data_cache_size): Likewise.
24765         (__x86_64_data_cache_size_half): Likewise.
24766         (__x86_64_raw_data_cache_size_half): Likewise.
24767         (__x86_64_shared_cache_size): Likewise.
24768         (__x86_64_raw_shared_cache_size): Likewise.
24769         (__x86_64_shared_cache_size_half): Likewise.
24770         (__x86_64_raw_shared_cache_size_half): Likewise.
24771         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24772         to ...
24773         (__x86_data_cache_size): This.
24774         (__x86_64_raw_data_cache_size): Renamed to ...
24775         (__x86_raw_data_cache_size): This.
24776         (__x86_64_data_cache_size_half): Renamed to ...
24777         (__x86_data_cache_size_half): This.
24778         (__x86_64_raw_data_cache_size_half): Renamed to ...
24779         (__x86_raw_data_cache_size_half): This.
24780         (__x86_64_shared_cache_size): Renamed to ...
24781         (__x86_shared_cache_size): This.
24782         (__x86_64_raw_shared_cache_size): Renamed to ...
24783         (__x86_raw_shared_cache_size): This.
24784         (__x86_64_shared_cache_size_half): Renamed to ...
24785         (__x86_shared_cache_size_half): This.
24786         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24787         (__x86_raw_shared_cache_size_half): This.
24788         * sysdeps/x86_64/memcpy.S: Updated.
24789         * sysdeps/x86_64/memset.S: Likewise.
24790         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24791         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24792         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24794 2013-01-04  David S. Miller  <davem@davemloft.net>
24796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24798 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24800         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24801         1 to avoid redefinition warning.
24802         (__USE_GNU): Don't define.
24803         (init_signaling_nan): Protoize.
24805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24807 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24809         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24811         (__cpymn): Likewise.
24812         (norm): Remove commented code.
24813         (denorm): Likewise.
24814         (__mp_dbl): Likewise.
24815         (__inv): Likewise.
24816         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24817         (__cpymn): Likewise.
24818         (norm): Remove commented code.
24819         (denorm): Likewise.
24820         (__mp_dbl): Likewise.
24821         (__inv): Likewise.
24823         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24824         mp_no value for 1.0 and 2.0.
24825         (norm): Use RADIXI instead of radixi.d.
24826         (denorm): Likewise.
24827         (__mul): Use 0.0 instead of zero.d.
24828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24829         mp_no value for 1.0 and 2.0.
24830         (norm): Use RADIXI instead of radixi.d.
24831         (denorm): Likewise.
24832         (__mul): Use 0.0 instead of zero.d.
24834 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24836         [BZ #14994]
24837         * math/s_casinh.c (__casinh): Reduce finite argument to first
24838         quadrant then set signs of results at the end.
24839         * math/s_casinhf.c (__casinhf): Likewise.
24840         * math/s_casinhl.c (__casinhl): Likewise.
24841         * math/libm-test.inc (casin_test): Add more tests.
24842         (casinh_test): Likewise.
24843         * sysdeps/i386/fpu/libm-test-ulps: Update.
24844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24846 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24848         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24850         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24852         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24853         declarations.
24854         (denorm): Likewise.
24855         (__mp_dbl): Likewise.
24856         (__inv): Likewise.
24858         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24859         and adjust the header comment.
24861         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24862         variable name from declaration.
24864 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24867         Initialize COMMON_CPUID_INDEX_7 element.
24868         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24869         (CPUID_RTM): Likewise.
24870         (HAS_RTM): Likewise.
24871         (COMMON_CPUID_INDEX_7): New enum.
24873 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24875         [BZ #14981]
24876         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24877         size is zero, record memory as freed.
24879 2013-01-03  Andreas Jaeger  <aj@suse.de>
24881         * po/ia.po: Add new Interlingua translation.
24883 2012-01-03  Allan McRae  <allan@archlinux.org>
24885         * locale/programs/localedef.c: Fix description of '--posix' flag.
24887 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24889         * NEWS: Update dates in second copyright notice.
24890         * README: Update copyright dates in example.
24891         * manual/libc.texinfo: Update copyright dates.
24892         * scripts/test-installation.pl: Update copyright date in --version
24893         output.
24895         * hurd/ctty-input.c: Fix copyright notice formatting.
24896         * hurd/ctty-output.c: Likewise.
24897         * hurd/dtable.c: Likewise.
24898         * hurd/hurd-raise.c: Likewise.
24899         * hurd/hurdprio.c: Likewise.
24900         * hurd/msgportdemux.c: Likewise.
24901         * misc/sys/file.h: Likewise.
24902         * misc/sys/ioctl.h: Likewise.
24903         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24904         * sysdeps/mach/hurd/chdir.c: Likewise.
24905         * sysdeps/mach/hurd/fchdir.c: Likewise.
24906         * sysdeps/mach/hurd/rename.c: Likewise.
24907         * sysdeps/mach/hurd/rmdir.c: Likewise.
24908         * sysdeps/mach/hurd/seekdir.c: Likewise.
24909         * sysdeps/mach/hurd/setsid.c: Likewise.
24910         * sysdeps/posix/wait3.c: Likewise.
24912         * All files with FSF copyright notices: Update copyright dates
24913         using scripts/update-copyrights.
24914         * intl/plural.c: Regenerated.
24915         * locale/programs/charmap-kw.h: Likewise.
24916         * locale/programs/locfile-kw.h: Likewise.
24918 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24920         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24921         four values.
24923         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24924         calculation loop and add branch prediction.
24926         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24927         check access beyond bounds of m1np.
24929         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24930         MPTWO.
24931         (__inv): Remove local variable MPTWO to use the global
24932         constant.
24933         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24934         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24935         variable MPTWO.
24936         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24937         MP3HALFS static const.
24939 2013-01-01  David S. Miller  <davem@davemloft.net>
24941         * po/ca.po: Update from translation team.
24943 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24945         * scripts/update-copyrights: New file.
24946         * Makeconfig: Reformat copyright notice.
24947         * ctype/ctype.h: Likewise.
24948         * debug/swprintf_chk.c: Likewise.
24949         * elf/dl-cache.c: Likewise.
24950         * elf/dl-debug.c: Likewise.
24951         * elf/dl-object.c: Likewise.
24952         * grp/initgroups.c: Likewise.
24953         * hurd/Makefile: Likewise.
24954         * hurd/hurd/signal.h: Likewise.
24955         * hurd/hurdfault.c: Likewise.
24956         * hurd/hurdioctl.c: Likewise.
24957         * hurd/hurdlookup.c: Likewise.
24958         * hurd/intr-msg.c: Likewise.
24959         * iconv/gconv_open.c: Likewise.
24960         * libio/swprintf.c: Likewise.
24961         * locale/lc-ctype.c: Likewise.
24962         * locale/nl_langinfo.c: Likewise.
24963         * mach/Machrules: Likewise.
24964         * mach/Makefile: Likewise.
24965         * malloc/obstack.h: Likewise.
24966         * manual/Makefile: Likewise.
24967         * manual/tsort.awk: Likewise.
24968         * misc/bits/stab.def: Likewise.
24969         * nis/nis_print_group_entry.c: Likewise.
24970         * nis/nis_table.c: Likewise.
24971         * nis/nss_compat/compat-pwd.c: Likewise.
24972         * nis/nss_compat/compat-spwd.c: Likewise.
24973         * po/Makefile: Likewise.
24974         * posix/fnmatch.c: Likewise.
24975         * posix/regex.h: Likewise.
24976         * resolv/Makefile: Likewise.
24977         * resolv/nss_dns/dns-network.c: Likewise.
24978         * resolv/res_hconf.c: Likewise.
24979         * scripts/gen-sorted.awk: Likewise.
24980         * soft-fp/soft-fp.h: Likewise.
24981         * stdio-common/printf.h: Likewise.
24982         * stdlib/monetary.h: Likewise.
24983         * stdlib/random.c: Likewise.
24984         * stdlib/random_r.c: Likewise.
24985         * sysdeps/generic/Makefile: Likewise.
24986         * sysdeps/gnu/Makefile: Likewise.
24987         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24988         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24989         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24990         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24991         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24992         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24993         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24994         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24995         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24996         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24997         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24998         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24999         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25000         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25001         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25002         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25003         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25004         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25005         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25006         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25007         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25008         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25009         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25010         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25011         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25012         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25013         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25014         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25015         * sysdeps/mach/hurd/errnos.awk: Likewise.
25016         * sysdeps/mach/hurd/fork.c: Likewise.
25017         * sysdeps/mach/hurd/getcwd.c: Likewise.
25018         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25019         * sysdeps/mach/hurd/mmap.c: Likewise.
25020         * sysdeps/mach/hurd/utimes.c: Likewise.
25021         * sysdeps/mach/hurd/xmknod.c: Likewise.
25022         * sysdeps/posix/profil.c: Likewise.
25023         * sysdeps/posix/readdir_r.c: Likewise.
25024         * sysdeps/powerpc/bits/mathdef.h: Likewise.
25025         * sysdeps/powerpc/bits/setjmp.h: Likewise.
25026         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25027         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25029         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25030         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25031         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25033         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25034         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25035         * sysdeps/pthread/lio_listio.c: Likewise.
25036         * sysdeps/sparc/dl-procinfo.h: Likewise.
25037         * sysdeps/unix/i386/sysdep.S: Likewise.
25038         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25039         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25040         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25041         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25043         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25044         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25045         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25046         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25047         * sysdeps/wordsize-32/divdi3.c: Likewise.
25048         * time/sys/time.h: Likewise.
25049         * wcsmbs/Makefile: Likewise.
25051 2013-01-01  David S. Miller  <davem@davemloft.net>
25053         * po/fr.po: Update from translation team.
25055         * catgets/gencat.c: Update copyright year.
25056         * csu/version.c: Likewise.
25057         * debug/catchsegv.sh: Likewise.
25058         * debug/pcprofiledump.c: Likewise.
25059         * debug/xtrace.sh: Likewise.
25060         * elf/ldconfig.c: Likewise.
25061         * elf/ldd.bash.in: Likewise.
25062         * elf/pldd.c: Likewise.
25063         * elf/sotruss.ksh: Likewise.
25064         * elf/sprof.c: Likewise.
25065         * iconv/iconv_prog.c: Likewise.
25066         * iconv/iconvconfig.c: Likewise.
25067         * locale/programs/locale.c: Likewise.
25068         * locale/programs/localedef.c: Likewise.
25069         * login/programs/pt_chown.c: Likewise.
25070         * malloc/memusage.sh: Likewise.
25071         * malloc/memusagestat.c: Likewise.
25072         * malloc/mtrace.pl: Likewise.
25073         * nscd/nscd.c: Likewise.
25074         * nss/getent.c: Likewise.
25075         * nss/makedb.c: Likewise.
25076         * posix/getconf.c: Likewise.
25078 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25080         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25081         numbers.
25083 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25085         * math/bits/mathcalls.h (modf): Use __nonnull.
25087 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25089         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25090         (split): Use macro CN instead of the bare value.
25091         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25092         could be used.
25093         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25094         instead of the bare value.
25095         (power1): Likewise.
25097 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25099         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25100         __ATAN_TWOM.
25101         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25103         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25104         their values.
25105         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25106         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25107         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25108         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25110 2012-12-28  Andreas Jaeger  <aj@suse.de>
25112         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25113         values are from Linux 3.7.
25115         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25116         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25118 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25120         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25121         TRUE case.
25123         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25124         (norm): Likewise.
25125         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25126         variables with preprocessor constants.
25127         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25128         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25129         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25131 2012-12-27  Bruno Haible  <bruno@clisp.org>
25133         [BZ #14317]
25134         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25135         only if needed.
25137 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25140         and use variable directly.
25141         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25143         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25144         MPONE.
25145         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25146         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25147         variable MPONE.
25148         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25149         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25150         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25151         include directive.  Remove local variable MPONE.
25152         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25153         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25154         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25156 2012-12-25  David S. Miller  <davem@davemloft.net>
25158         * version.h (RELEASE): Set to "development".
25159         (VERSION): Set to "2.17.90".
25160         * NEWS: Add 2.18 section.
25162 2012-12-21  David S. Miller  <davem@davemloft.net>
25164         * po/hr.po: Update from translation team.
25166 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25168         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25170 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25172         * NEWS:  Mention new memcpy for MIPS.
25174 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25176         * manual/contrib.texi (Contributors): Spelling correction.
25178 2012-12-15  David S. Miller  <davem@davemloft.net>
25180         * po/ru.po: Update from translation team.
25182 2012-12-13  David S. Miller  <davem@davemloft.net>
25184         * NEWS: Mention IFUNC testsuite enhancements.
25186         * po/pl.po: Update from translation team.
25187         * po/bg.po: Likewise.
25189         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25190         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25192 2012-12-11  David S. Miller  <davem@davemloft.net>
25194         * po/sv.po: Update from translation team.
25196         * po/vi.po: Update from translation team.
25198         * po/cs.po: Update from translation team.
25200         * po/de.po: Update from translation team.
25201         * po/eo.po: Likewise.
25202         * po/nl.po: Likewise.
25204 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25206         [BZ #14246]
25207         * manual/argp.texi (Argp Helper Functions): Move node to follow
25208         Argp Parsing State.
25210         [BZ #14872]
25211         * manual/conf.texi (Limits on File System Capacity): Mention if
25212         terminating null is included in the max size.
25214 2012-12-10  Andreas Jaeger  <aj@suse.de>
25216         * po/cs.po: Update from translation team.
25218 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25220         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25221         void pointer and cast to uintptr_t.
25222         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25223         path.
25224         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25225         * sysdeps/s390/s390-64/memset.S: Likewise.
25227 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25229         [BZ #14833]
25230         * menual/message.texi (Message Translation): Fix typos.
25231         (Helper programs for gettext): Likewise.
25233 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25235         [BZ #14898]
25236         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25237         Change to -1.
25239 2012-12-07  David S. Miller  <davem@davemloft.net>
25241         * po/libc.pot: Update.
25243 2012-12-07  Richard Henderson  <rth@redhat.com>
25245         [BZ #10114]
25246         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25247         normal/normal case to before the switch.
25248         (_FP_DIV): Likewise.
25250 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25251             Mike Frysinger  <vapier@gentoo.org>
25253         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25254         check for __NR_fadvise64_64.
25256 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25258         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25259         0, not just to plain "0" as a statement.
25260         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25261         with cw.
25263 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25265         * NEWS: Use sourceware.org in Bugzilla URL.
25267 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25270         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25272         * stdio-common/tst-put-error.c (do_test): Add newline to the
25273         padded test to ensure flush.
25275 2012-12-05  Jeff Law  <law@redhat.com>
25277         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25279 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25281         * README: Don't refer to ports add-on as distributed separately.
25282         Mention AArch64 in list of systems supported in the ports add-on.
25284         * LICENSES: Add more non-FSF copyright and license notices.
25286         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25287         ((unused)).
25289         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25291         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25292         10000 as width of padded output.
25294 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25296         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25298         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25299         variable LX with __attribute__ ((unused)).
25300         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25301         Likewise.
25302         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25303         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25304         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25305         with __attribute__ ((unused)).
25307 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25309         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25311 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25313         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25314         (CFLAGS-nldbl-acos.c): New variable.
25315         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25316         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25317         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25318         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25319         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25320         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25321         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25322         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25323         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25324         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25325         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25326         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25327         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25328         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25329         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25330         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25331         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25332         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25333         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25334         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25335         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25336         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25337         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25338         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25339         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25340         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25341         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25342         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25343         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25344         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25345         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25346         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25347         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25348         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25349         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25350         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25351         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25352         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25353         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25354         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25355         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25356         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25357         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25358         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25359         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25360         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25361         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25362         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25363         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25364         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25365         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25366         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25367         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25368         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25369         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25370         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25371         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25372         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25373         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25374         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25375         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25376         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25377         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25378         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25379         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25380         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25381         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25382         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25383         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25384         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25385         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25386         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25387         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25388         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25389         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25390         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25391         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25392         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25393         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25394         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25395         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25396         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25397         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25398         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25399         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25400         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25401         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25402         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25403         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25404         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25405         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25406         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25407         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25408         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25409         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25410         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25411         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25414         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25416         [BZ #14914]
25417         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25418         whole low double instead of just low 47 bits when splitting values
25419         into two parts.
25421 2012-12-03  Allan McRae  <allan@archlinux.org>
25423         * manual/stdio.texi (Predefined Printf Handlers): Remove
25424         @hsep and @vsep usage.
25426 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25428         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25429         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25431 2012-12-03  Jeff Law  <law@redhat.com>
25433         * time/sys/time.h (settimeofday): Do not mark TV argument
25434         as __nonnull.
25436 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25438         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25439         when currently writing and seek to current position when not.
25440         * libio/Makefile (tests): Remove bug-fclose1.
25441         * libio/bug-fclose1.c: Delete.
25443 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25445         * manual/arith.texi (feenableexcept): Fix typo.
25446         (fedisableexcept): Likewise.
25448 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25450         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25451         second, differently-typed declaration, rather than a cast.
25453 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25455         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25456         * include/rpc/svc.h: ... here.
25458 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25460         [BZ #13013]
25461         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25462         depending n and resplen2 to catch cases where answer
25463         equals answerp2.
25465 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25467         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25468         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25470 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25472         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25474 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25476         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25478 2012-11-28  Jeff Law  <law@redhat.com>
25480         [BZ #13761]
25481         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25482         dataset_temporary.  Track alloca usage into alloca_used.
25483         If dataset is large allocate and release it via malloc/free.
25485 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25487         [BZ #14197]
25488         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25490 2012-11-28  David S. Miller  <davem@davemloft.net>
25492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25494 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25496         [BZ #14803]
25497         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25498         of pi/2 rounded to nearest to 64 bits.
25499         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25500         nearest to 64 bits.
25501         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25502         bits.
25504 2012-11-28  Jeff Law <law@redhat.com>
25505             Martin Osvald <mosvald@redhat.com>
25507         [BZ #14889]
25508         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25509         * sunrpc/svc.c: Include time.h.
25510         (__svc_accept_failed): New function.
25511         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25512         any reason other than EINTR, call __svc_accept_failed.
25513         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25514         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25516 2012-11-28  Andreas Schwab  <schwab@suse.de>
25518         * scripts/abilist.awk: Also handle indirect functions in .opd
25519         section.
25521 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25523         [BZ #13881]
25524         * sysdeps/x86/fpu/powl_helper.c: New file.
25525         * sysdeps/x86/fpu/Makefile: Likewise.
25526         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25527         (p3): New object.
25528         (__ieee754_powl): Use __powl_helper for finite arguments except
25529         integer exponents below 8.
25530         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25531         (p3): New object.
25532         (__ieee754_powl): Use __powl_helper for finite arguments except
25533         integer exponents below 8.
25534         * math/libm-test.inc (pow_test): Add more tests and enable some
25535         previously disabled tests.
25536         * sysdeps/i386/fpu/libm-test-ulps: Update.
25537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25539 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25540             Carlos O'Donell  <carlos_odonell@mentor.com>
25542         * nss/makedb.c (is_prime): Assert that input is odd and greater
25543         than 4.  Note that fact in a comment too.
25544         (next_prime): Add 4 to input.
25546 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25548         [BZ #11741]
25549         * libio/Makefile (tests): Add test case tst-fwrite-error.
25550         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25551         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25552         * libio/tst-fwrite-error.c: New test case.
25554 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25556         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25557         before casting to void *.
25558         * include/libc-internal.h (__pointer_type): New macro.
25559         (__integer_if_pointer_type_sub): Likewise.
25560         (__integer_if_pointer_type): Likewise.
25561         (cast_to_integer): Likewise.
25562         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25563         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25564         before casting to atomic64_t.
25565         (atomic_exchange_acq): Likewise.
25566         (__arch_exchange_and_add_body): Likewise.
25567         (__arch_add_body): Likewise.
25568         (atomic_add_negative): Likewise.
25569         (atomic_add_zero): Likewise.
25571 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25573         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25574         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25575         (add_fdes): Likewise.
25576         (linear_search_fdes): Likewise.
25577         (binary_search_unencoded_fdes): Likewise.
25579 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25581         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25583 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25585         * configure.in: Autodetect C++ header directories.
25586         * configure: Regenerated.
25588 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25590         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25592 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25596 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25598         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25599         LDBL_MANT_DIG == 106]: Disable some tests.
25600         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25601         Likewise.
25602         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25603         Likewise.
25605         [BZ #14871]
25606         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25607         input for small inputs.  Return +/- pi/2 for large inputs.
25608         * math/libm-test.inc (atan_test): Add more tests.
25610         * sysdeps/generic/unwind-dw2-fde-glibc.c
25611         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25612         __attribute__ ((unused)).
25614         [BZ #14645]
25615         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25616         x * y if x and y are nonzero and z is zero.
25618         [BZ #14811]
25619         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25620         nonzero exponents with absolute value below 0x1p-117 to +/-
25621         0x1p-117.
25623         [BZ #14869]
25624         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25625         up arguments below 2**-450, not just those below 2**-500.
25626         * math/libm-test.inc (hypot_test): Add another test.
25628         [BZ #14868]
25629         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25630         Return a+b for ratio over 2**120, not 2**60.
25631         * math/libm-test.inc (hypot_test): Add another test.
25633         * math/libm-test.inc (clog_test): Use
25634         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25635         (clog10_test): Likewise.
25637         [BZ #6778]
25638         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25640 2012-11-22  Andreas Schwab  <schwab@suse.de>
25642         * sysdeps/i386/fpu/libm-test-ulps: Update.
25644 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25646         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25647         printf output with newline.
25649 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25651         [BZ #14865]
25652         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25653         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25654         -z nodlopen, -z initfirst and -z execstack support.
25655         * configure: Regenerated.
25657         * elf/elf.h (DF_1_NODIRECT): New macro.
25658         (DF_1_IGNMULDEF): Likewise.
25659         (DF_1_NOKSYMS): Likewise.
25660         (DF_1_NOHDR): Likewise.
25661         (DF_1_EDITED): Likewise.
25662         (DF_1_NORELOC): Likewise.
25663         (DF_1_SYMINTPOSE): Likewise.
25664         (DF_1_GLOBAUDIT): Likewise.
25665         (DF_1_SINGLETON): Likewise.
25666         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25667         DT_1_SUPPORTED_MASK bits.
25668         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25670 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25672         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25674 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25676         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25677         macro.
25679         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25680         (sendmmsg): Move declarations...
25681         * socket/sys/socket.h: ... here.
25682         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25683         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25684         include it from...
25685         * socket/recvmmsg.c: ... this new file.
25686         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25687         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25688         definition of __sendmmsg hidden.
25689         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25690         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25691         Move ENOSYS stub into and include it from...
25692         * socket/sendmmsg.c: ... this new file.
25693         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25694         (sysdep_routines): Move recvmmsg and sendmmsg...
25695         * socket/Makefile (routines): ... here.
25696         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25697         (GLIBC_PRIVATE): Add __sendmmsg.
25698         * include/sys/socket.h (__sendmmsg): Add declarations.
25699         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25700         sendmmsg.
25702 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25704         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25705         variable I1 with __attribute__ ((unused)).
25706         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25708 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25710         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25711         DUMMY variables with __attribute__ ((unused)).
25713         * bits/byteswap.h: Include <bits/types.h>.
25714         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25716 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25718         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25719         string_t.  Do not manually set errno.
25720         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25721         length with __strnlen.  Make sure to both set errno and return it on
25722         failure.
25724 2012-11-19  David S. Miller  <davem@davemloft.net>
25726         With help from Joseph Myers.
25727         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25728         very large arguments properly.
25729         * math/libm-test.inc (atan_test): New tests.
25730         (atan2_test): New tests.
25731         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25732         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25734 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25736         [BZ #14856]
25737         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25738         Define to 3.
25740         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25741         [POSIX] (EADDRNOTAVAIL): Likewise.
25742         [POSIX] (EAFNOSUPPORT): Likewise.
25743         [POSIX] (EALREADY): Likewise.
25744         [POSIX] (ECONNABORTED): Likewise.
25745         [POSIX] (ECONNREFUSED): Likewise.
25746         [POSIX] (ECONNRESET): Likewise.
25747         [POSIX] (EDESTADDRREQ): Likewise.
25748         [POSIX] (EDQUOT): Likewise.
25749         [POSIX] (EHOSTUNREACH): Likewise.
25750         [POSIX] (EIDRM): Likewise.
25751         [POSIX] (EISCONN): Likewise.
25752         [POSIX] (ELOOP): Likewise.
25753         [POSIX] (EMULTIHOP): Likewise.
25754         [POSIX] (ENETDOWN): Likewise.
25755         [POSIX] (ENETUNREACH): Likewise.
25756         [POSIX] (ENOBUFS): Likewise.
25757         [POSIX] (ENODATA): Likewise.
25758         [POSIX] (ENOLINK): Likewise.
25759         [POSIX] (ENOMSG): Likewise.
25760         [POSIX] (ENOPROTOOPT): Likewise.
25761         [POSIX] (ENOSR): Likewise.
25762         [POSIX] (ENOSTR): Likewise.
25763         [POSIX] (ENOTCONN): Likewise.
25764         [POSIX] (ENOTSOCK): Likewise.
25765         [POSIX] (EOPNOTSUPP): Likewise.
25766         [POSIX] (EOVERFLOW): Likewise.
25767         [POSIX] (EPROTO): Likewise.
25768         [POSIX] (EPROTONOSUPPORT): Likewise.
25769         [POSIX] (EPROTOTYPE): Likewise.
25770         [POSIX] (ESTALE): Likewise.
25771         [POSIX] (ETIME): Likewise.
25772         [POSIX] (ETXTBSY): Likewise.
25773         [POSIX] (EWOULDBLOCK): Likewise.
25774         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25775         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25776         [POSIX] (SEEK_CUR): Likewise.
25777         [POSIX] (SEEK_END): Likewise.
25778         [POSIX || UNIX98] (mode_t): Do not require.
25779         [POSIX] (off_t): Likewise.
25780         [POSIX] (pid_t): Likewise.
25781         [POSIX] (sys/stat.h): Do not allow header.
25782         [POSIX] (unistd.h): Likewise.
25783         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25784         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25785         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25786         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25787         require.
25788         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25789         sigevent): Specify elements.
25790         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25791         entry.
25792         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25793         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25795         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25796         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25797         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25798         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25799         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25800         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25801         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25802         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25803         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25804         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25805         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25806         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25807         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25808         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25809         Likewise.
25810         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25811         Likewise.
25812         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25813         Likewise.
25814         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25815         Likewise.
25816         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25817         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25818         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25819         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25820         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25821         Specify lower bound on value.
25822         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25823         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25824         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25825         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25826         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25827         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25828         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25829         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25830         value.
25831         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25832         as optional.
25833         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25834         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25835         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25836         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25837         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25838         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25839         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25840         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25841         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25842         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25843         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25844         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25845         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25846         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25847         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25848         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25849         entry.
25850         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25851         optional.
25852         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25853         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25854         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25855         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25856         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25857         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25858         Likewise.
25859         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25860         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25861         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25862         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25863         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25864         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25865         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25866         as optional.
25867         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25868         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25869         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25870         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25871         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25872         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25873         specify as optional.
25874         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25875         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25876         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25877         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25878         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25879         [XPG3] (NL_LANGMAX): Likewise.
25880         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25881         [POSIX || XPG3] (NL_NMAX): Likewise.
25882         [POSIX || XPG3] (NL_SETMAX): Likewise.
25883         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25884         [XPG3] (NZERO): Likewise.
25885         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25886         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25887         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25888         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25889         (REG_ERANGE): Expect.
25890         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25891         optional-constant.
25892         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25893         Use (void) in prototype.
25894         [POSIX] (*_t): Allow.
25895         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25896         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25897         (WRDE_BADVAL): Expect.
25899         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25900         expect.
25901         [XPG3 || XPG4] (O_RSYNC): Likewise.
25902         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25903         Likewise.
25904         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25905         [XPG3 || XPG4] (sigqueue): Likewise.
25906         [XPG3 || XPG4] (sigtimedwait): Likewise.
25907         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25908         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25909         [XPG3 || XPG4] (vsnprintf): Likewise.
25910         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25911         Likewise.
25912         [XPG3 || XPG4] (blksize_t): Likewise.
25913         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25914         Likewise.
25915         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25916         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25917         [XPG3 || XPG4] (struct itimerspec): Likewise.
25918         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25919         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25920         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25921         [XPG3 || XPG4] (clockid_t): Likewise.
25922         [XPG3 || XPG4] (timer_t): Likewise.
25923         [XPG3 || XPG4] (clock_getres): Likewise.
25924         [XPG3 || XPG4] (clock_gettime): Likewise.
25925         [XPG3 || XPG4] (clock_settime): Likewise.
25926         [XPG3 || XPG4] (nanosleep): Likewise.
25927         [XPG3 || XPG4] (timer_create): Likewise.
25928         [XPG3 || XPG4] (timer_delete): Likewise.
25929         [XPG3 || XPG4] (timer_gettime): Likewise.
25930         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25931         [XPG3 || XPG4] (timer_settime): Likewise.
25932         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25933         [XPG3 || XPG4] (getlogin_r): Likewise.
25934         [XPG3 || XPG4] (pread): Likewise.
25935         [XPG3 || XPG4] (pthread_atfork): Likewise.
25936         [XPG3 || XPG4] (pwrite): Likewise.
25938         [BZ #14835]
25939         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25940         <bits/siginfo.h>.
25942 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25944         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25945         finalizing MALLSTREAM.
25947         * sysdeps/mach/hurd/syncfs.c: New file.
25949 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25951         [BZ #14719]
25952         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25953         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25954         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25955         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25956         (_nss_dns_gethostbyname4_r): Likewise.
25957         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25958         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25960 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25962         [BZ #13763]
25963         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25965 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25967         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25968         * elf/cache.c (print_entry): Print ",AArch64" for
25969         FLAG_AARCH64_LIB64
25971         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25972         * elf/cache.c (print_entry): Print ",hard-float" for
25973         FLAG_ARM_LIBHF.
25975 2012-11-18  David S. Miller  <davem@davemloft.net>
25977         With help from Joseph Myers.
25978         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25979         cutoff to 2**-13.
25980         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25981         cutoff to 2**-25.
25982         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25983         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25984         small.
25985         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25986         * math/libm-test.inc (y0_test): New tests.
25987         (y1_test): New tests.
25988         * sysdeps/i386/fpu/libm-test-ulps: Update.
25989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25992 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25994         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25995         64-bit targets.
25996         * configure: Regenerated.
25998 2012-11-17  David S. Miller  <davem@davemloft.net>
26000         [BZ #14811]
26001         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26002         nonzero exponents with absolute value below 0x1p-128 to +/-
26003         0x1p-128.
26005 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
26007         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26009         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26011         * posix/getconf-speclist.c: New file.
26012         * posix/posix-envs.def: Likewise.
26013         * posix/confstr.c (START_ENV_GROUP): New macro.
26014         (END_ENV_GROUP): Likewise.
26015         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26016         (KNOWN_PRESENT_ENV_STRING): Likewise.
26017         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26018         (UNKNOWN_ENVIRONMENT): Likewise.
26019         (confstr): Include posix-envs.def instead of handling
26020         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26021         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26022         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26023         (END_ENV_GROUP): Likewise.
26024         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26025         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26026         (UNKNOWN_ENVIRONMENT): Likewise.
26027         (__sysconf): Include posix-envs.def instead of handling associated
26028         cases directly here.
26029         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26030         preprocessing getconf-speclist.c rather than running getconf or
26031         generating empty file.
26033 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
26035         * scripts/check-local-headers.sh: Ignore 'mach' headers.
26037 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
26039         [BZ #14672]
26040         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26042 2012-11-16  David S. Miller  <davem@davemloft.net>
26044         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26045         smaller than LDBL_EPSILON/2.0L, just return xm1.
26047 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26049         * elf/tst-array1.c (init): Set constructor priority to 1000.
26050         (fini): Set destructor priority to 1000.
26051         * elf/tst-array2dep.c: Likewise.
26053 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26055         [BZ #11741]
26056         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26057         (_IO_new_file_xsputn): Also return EOF if none of the input
26058         data was written when overflow failed.
26059         * libio/iopadn.c (_IO_padn): Likewise.
26060         * libio/iowpadn.c (_IO_wpadn): Likewise.
26061         * stdio-common/tst-put-error.c: Add copyright notice.
26062         (do_test): Add case for printing padded string.
26063         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26064         _IO_padn returned error.
26065         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26066         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26067         return EOF.
26069 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26071         * libio/libioP.h: Add comment note that the references to C++
26072         bits are now obsolete.
26074 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26076         * math/libm-test.inc (check_complex): Use asprintf.
26078 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26080         * debug/pcprofiledump.c (print_version): Update copyright year.
26081         * malloc/memusagestat.c (print_version): Likewise.
26083 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26085         [BZ #14831]
26086         * elf/Makefile (tests): Add tst-audit8.
26087         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26088         ($(objpfx)tst-audit8.out): New target.
26089         (tst-audit8-ENV): New variable.
26090         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26091         audit if l_reloc_result is NULL.
26092         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26093         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26094         * elf/tst-audit8.c: New file.
26096 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26098         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26099         * misc/Makefile (CFLAGS-select.c): Define.
26100         * posix/Makefile (CFLAGS-pause.c): Define.
26102 2012-11-13  David S. Miller  <davem@davemloft.net>
26104         * crypt/Makefile: Move test targets after toplevel Rules
26105         inclusion.  Grab any necessary sysdep routines when linking.
26106         * crypt/md5.c (md5_process_block): Remove define, we will always
26107         name it __md5_process_block.
26108         (md5_finish_ctx): Update md5_process_block call.
26109         (md5_stream): Likewise.
26110         (md5_process_bytes): Likewise.
26111         (md5_process_block): Rename to __md5_process_block and move to ...
26112         * crypt/md5-block.c: ... here.
26113         * crypt/sha256.c (sha256_process_block): Move to ...
26114         * crypt/sha256-block.c: ... here.
26115         * crypt/sha512.c (sha512_process_block): Move to ...
26116         * crypt/sha512-block.c: ... here.
26117         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26118         path.
26119         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26120         * sysdeps/sparc/sparc64/multiarch/Makefile
26121         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26122         crypt subdir.
26123         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26124         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26125         multiarch changes.
26126         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26127         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26128         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26129         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26130         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26131         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26132         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26133         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26134         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26135         file.
26136         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26137         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26138         file.
26139         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26141 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26143         * timezone/tzselect.ksh: Update from tzcode git revision
26144         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26145         * timezone/zdump.c: Likewise.
26146         * timezone/zic.c: Likewise.
26147         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26148         in TZVERSION setting, not $(PKGVERSION).
26149         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26150         REPORT_BUGS_TO settings.
26152         [BZ #14838]
26153         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26154         macro.
26156 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26158         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26159         detection to immediately after _FP_ROUND().
26160         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26161         bits are 0.
26163 2012-11-11  David S. Miller  <davem@davemloft.net>
26165         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26166         inttypes.h
26167         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26168         __close rather than their public counterparts.
26170 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26172         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26173         file.
26174         [UNIX98] (sem_timedwait): Do not expect.
26175         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26176         [XPG4 || UNIX98] (sockatmark): Do not expect.
26177         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26178         (clock_getcpuclockid): Do not expect.
26179         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26180         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26181         Do not expect.
26182         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26183         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26184         [UNIX98] (vwscanf): Likewise.
26185         [UNIX98] (vswscanf): Likewise.
26187 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26189         * timezone/version.h: Remove file.
26190         * timezone/README: Do not refer to version.h.
26191         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26192         $(objpfx)version.h.
26193         ($(objpfx)zdump.o): Likewise.
26194         ($(objpfx)version.h): New target.
26196         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26197         2012i.
26198         * timezone/README: Don't mention modification to tzselect.ksh.
26199         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26200         work on unmodified tzselect.ksh.  Substitute version numbers in
26201         tzselect.ksh.
26203         * Makefile (format-me): Remove.
26204         (INSTALL): Adjust indentation.  Use commands directly instead of
26205         using $(format-me).
26207         * aclocal.m4 (ACX_PKGVERSION): New macro.
26208         (ACX_BUGURL): Likewise.
26209         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26210         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26211         (REPORT_BUGS_TO): Likewise.
26212         * configure: Regenerated.
26213         * config.h.in (PKGVERSION): New macro.
26214         (REPORT_BUGS_TO): Likewise.
26215         * config.make.in (PKGVERSION): New variable.
26216         (PKGVERSION_TEXI): Likewise.
26217         (REPORT_BUGS_TO): Likewise.
26218         (REPORT_BUGS_TEXI): Likewise.
26219         * Makefile (format-me): Use -I$(common-objpfx)manual.
26220         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26221         ($(common-objpfx)manual/%): New target.
26222         (manual/%): Remove target.
26223         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26224         (print_version): Use PKGVERSION.
26225         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26226         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26227         and REPORT_BUGS_TO.
26228         ($(objpfx)xtrace): Likewise.
26229         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26230         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26231         (print_version): Use PKGVERSION.
26232         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26233         (do_version): Use PKGVERSION.
26234         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26235         REPORT_BUGS_TO.
26236         (common-ldd-rewrite): Likewise.
26237         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26238         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26239         (print_version): Use PKGVERSION.
26240         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26241         * elf/pldd.c (argp_program_bug_address): Remove variable.
26242         (more_help): New function.
26243         (argp): Use more_help.
26244         (print_version): Use PKGVERSION.
26245         * elf/sln.c (main): Use PKGVERSION.
26246         (usage): Use REPORT_BUGS_TO.
26247         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26248         (top level): Use PKGVERSION.
26249         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26250         (print_version): Use PKGVERSION.
26251         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26252         (print_version): Use PKGVERSION.
26253         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26254         (print_version): Use PKGVERSION.
26255         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26256         (print_version): Use PKGVERSION.
26257         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26258         (print_version): Use PKGVERSION.
26259         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26260         (print_version): Use PKGVERSION.
26261         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26262         and BUGURL.
26263         ($(objpfx)memusage): Likewise.
26264         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26265         (do_version): Use PKGVERSION.
26266         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26267         (print_version): Use PKGVERSION.
26268         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26269         ($PKGVERSION): New variable.
26270         ($REPORT_BUGS_TO): Likewise.
26271         (usage): Use $REPORT_BUGS_TO.
26272         (top level): Use $PKGVERSION.
26273         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26274         ($(objpfx)pkgvers.texi): New rule.
26275         ($(objpfx)stamp-pkgvers): Likewise.
26276         * manual/install.texi: Include pkgvers.texi.
26277         (--with-pkgversion): Document new configure option.
26278         (--with-bugurl): Likewise.
26279         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26280         than necessarily for this particular distribution.  Use
26281         REPORT_BUGS_TO for where to report bugs.
26282         * INSTALL: Regenerated.
26283         * manual/libc.texinfo: Include pkgvers.texi.
26284         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26285         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26286         (print_version): Use PKGVERSION.
26287         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26288         (print_version): Use PKGVERSION.
26289         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26290         (print_version): Use PKGVERSION.
26291         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26292         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26293         macro.
26294         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26295         (print_version): Use PKGVERSION.
26296         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26297         (print_version): Use PKGVERSION.
26298         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26299         and PKGVERSION.
26301         * timezone/checktab.awk: Update from tzcode 2012i.
26302         * timezone/ialloc.c: Likewise.
26303         * timezone/private.h: Likewise.
26304         * timezone/scheck.c: Likewise.
26305         * timezone/tzfile.h: Likewise.
26306         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26307         (TZVERSION): Hardcode tzcode version number.
26308         * timezone/zdump.c: Update from tzcode 2012i.
26309         * timezone/zic.c: Likewise.
26310         * timezone/version.h: New file.
26311         * timezone/README: Describe version.h.  Update upstream location.
26313         [BZ #14824]
26314         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26315         (mktemp): Enable declaration.
26316         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26317         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26318         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26319         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26320         Likewise.
26321         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26322         Likewise.
26323         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26324         Likewise.
26325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26326         Likewise.
26327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26328         Likewise.
26329         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26330         Likewise.
26332         [BZ #14821]
26333         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26334         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26335         for copies of such integer values.
26336         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26337         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26339 2012-11-09  Andreas Jaeger  <aj@suse.de>
26341         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26342         definitions and declarations that are provided by
26343         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26345 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26347         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26348         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26349         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26350         definition.
26352 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26354         * elf/elf.h: Update comment before AArch64 relocations.
26356 2012-11-07  David S. Miller  <davem@davemloft.net>
26358         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26359         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26360         (__start_context): Declare.
26361         (__makecontext_ret): Delete.
26362         (__makecontext): Hook up __start_context instead of
26363         __makecontext_ret.
26364         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26365         (sysdep_routines): Add __start_context when in stdlib.
26367 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26369         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26370         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26371         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26372         hardcoded "nm".
26373         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26374         (READELF): New variable.  Use it instead of hardcoded "readelf".
26376 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26378         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26379         * sysdeps/x86/Makefile: Here.
26380         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26381         * sysdeps/x86/tst-xmmymm.sh: This.
26383 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26385         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26386         expectations.
26387         [UNIX98] (pthread_barrier_t): Do not expect.
26388         [UNIX98] (pthread_barrierattr_t): Likewise.
26389         [UNIX98] (pthread_spinlock_t): Likewise.
26390         [UNIX98] (pthread_barrier_destroy): Likewise.
26391         [UNIX98] (pthread_barrier_init): Likewise.
26392         [UNIX98] (pthread_barrier_wait): Likewise.
26393         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26394         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26395         [UNIX98] (pthread_barrierattr_init): Likewise.
26396         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26397         [UNIX98] (pthread_getcpuclockid): Likewise.
26398         [UNIX98] (pthread_mutex_timedlock): Likewise.
26399         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26400         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26401         [UNIX98] (pthread_sigmask): Likewise.
26402         [UNIX98] (pthread_spin_destroy): Likewise.
26403         [UNIX98] (pthread_spin_init): Likewise.
26404         [UNIX98] (pthread_spin_lock): Likewise.
26405         [UNIX98] (pthread_spin_trylock): Likewise.
26406         [UNIX98] (pthread_spin_unlock): Likewise.
26407         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26408         Do not expect.
26409         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26410         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26411         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26412         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26413         [XPG3 || XPG4] (pthread_key_t): Likewise.
26414         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26415         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26416         [XPG3 || XPG4] (pthread_once_t): Likewise.
26417         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26418         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26419         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26420         [XPG3 || XPG4] (pthread_t): Likewise.
26422         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26423         not expect.
26424         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26426         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26427         Change function return type to int.
26429         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26430         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26431         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26432         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26433         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26434         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26435         [!POSIX] (posix_madvise): Likewise.
26436         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26437         && !UNIX98].
26438         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26439         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26440         (mode_t): Likewise.
26441         (posix_mem_offset): Likewise.
26442         (posix_typed_mem_get_info): Likewise.
26443         (posix_typed_mem_open): Likewise.
26445         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26446         Change condition to [XOPEN2K8].
26448         * conform/conformtest.pl: Preprocess allow-header data with -x c
26449         instead of from stdin.
26450         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26451         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26452         [C99-based standards] (cerfc): Likewise.
26453         [C99-based standards] (cexp2): Likewise.
26454         [C99-based standards] (cexpm1): Likewise.
26455         [C99-based standards] (clog10): Likewise.
26456         [C99-based standards] (clog1p): Likewise.
26457         [C99-based standards] (clog2): Likewise.
26458         [C99-based standards] (clgamma): Likewise.
26459         [C99-based standards] (ctgamma): Likewise.
26460         [C99-based standards] (cerff): Likewise.
26461         [C99-based standards] (cerfcf): Likewise.
26462         [C99-based standards] (cexp2f): Likewise.
26463         [C99-based standards] (cexpm1f): Likewise.
26464         [C99-based standards] (clog10f): Likewise.
26465         [C99-based standards] (clog1pf): Likewise.
26466         [C99-based standards] (clog2f): Likewise.
26467         [C99-based standards] (clgammaf): Likewise.
26468         [C99-based standards] (ctgammaf): Likewise.
26469         [C99-based standards] (cerfl): Likewise.
26470         [C99-based standards] (cerfcl): Likewise.
26471         [C99-based standards] (cexp2l): Likewise.
26472         [C99-based standards] (cexpm1l): Likewise.
26473         [C99-based standards] (clog10l): Likewise.
26474         [C99-based standards] (clog1pl): Likewise.
26475         [C99-based standards] (clog2l): Likewise.
26476         [C99-based standards] (clgammal): Likewise.
26477         [C99-based standards] (ctgammal): Likewise.
26478         * conform/data/inttypes.h-data [C99-based standards]: Include
26479         stdint.h-data.  Remove all expectations for stdint.h contents.
26480         [C99-based standards] (PRI*): Do not allow.
26481         [C99-based standards] (SCN*): Likewise.
26482         [C99-based standards] (*_t): Likewise.
26483         [C99-based-standards] (PRId8): Expect macro.
26484         [C99-based-standards] (PRIi8): Likewise.
26485         [C99-based-standards] (PRIo8): Likewise.
26486         [C99-based-standards] (PRIu8): Likewise.
26487         [C99-based-standards] (PRIx8): Likewise.
26488         [C99-based-standards] (PRIX8): Likewise.
26489         [C99-based-standards] (SCNd8): Likewise.
26490         [C99-based-standards] (SCNi8): Likewise.
26491         [C99-based-standards] (SCNo8): Likewise.
26492         [C99-based-standards] (SCNu8): Likewise.
26493         [C99-based-standards] (SCNx8): Likewise.
26494         [C99-based-standards] (PRIdLEAST8): Likewise.
26495         [C99-based-standards] (PRIiLEAST8): Likewise.
26496         [C99-based-standards] (PRIoLEAST8): Likewise.
26497         [C99-based-standards] (PRIuLEAST8): Likewise.
26498         [C99-based-standards] (PRIxLEAST8): Likewise.
26499         [C99-based-standards] (PRIXLEAST8): Likewise.
26500         [C99-based-standards] (SCNdLEAST8): Likewise.
26501         [C99-based-standards] (SCNiLEAST8): Likewise.
26502         [C99-based-standards] (SCNoLEAST8): Likewise.
26503         [C99-based-standards] (SCNuLEAST8): Likewise.
26504         [C99-based-standards] (SCNxLEAST8): Likewise.
26505         [C99-based-standards] (PRIdFAST8): Likewise.
26506         [C99-based-standards] (PRIiFAST8): Likewise.
26507         [C99-based-standards] (PRIoFAST8): Likewise.
26508         [C99-based-standards] (PRIuFAST8): Likewise.
26509         [C99-based-standards] (PRIxFAST8): Likewise.
26510         [C99-based-standards] (PRIXFAST8): Likewise.
26511         [C99-based-standards] (SCNdFAST8): Likewise.
26512         [C99-based-standards] (SCNiFAST8): Likewise.
26513         [C99-based-standards] (SCNoFAST8): Likewise.
26514         [C99-based-standards] (SCNuFAST8): Likewise.
26515         [C99-based-standards] (SCNxFAST8): Likewise.
26516         [C99-based-standards] (PRId16): Likewise.
26517         [C99-based-standards] (PRIi16): Likewise.
26518         [C99-based-standards] (PRIo16): Likewise.
26519         [C99-based-standards] (PRIu16): Likewise.
26520         [C99-based-standards] (PRIx16): Likewise.
26521         [C99-based-standards] (PRIX16): Likewise.
26522         [C99-based-standards] (SCNd16): Likewise.
26523         [C99-based-standards] (SCNi16): Likewise.
26524         [C99-based-standards] (SCNo16): Likewise.
26525         [C99-based-standards] (SCNu16): Likewise.
26526         [C99-based-standards] (SCNx16): Likewise.
26527         [C99-based-standards] (PRIdLEAST16): Likewise.
26528         [C99-based-standards] (PRIiLEAST16): Likewise.
26529         [C99-based-standards] (PRIoLEAST16): Likewise.
26530         [C99-based-standards] (PRIuLEAST16): Likewise.
26531         [C99-based-standards] (PRIxLEAST16): Likewise.
26532         [C99-based-standards] (PRIXLEAST16): Likewise.
26533         [C99-based-standards] (SCNdLEAST16): Likewise.
26534         [C99-based-standards] (SCNiLEAST16): Likewise.
26535         [C99-based-standards] (SCNoLEAST16): Likewise.
26536         [C99-based-standards] (SCNuLEAST16): Likewise.
26537         [C99-based-standards] (SCNxLEAST16): Likewise.
26538         [C99-based-standards] (PRIdFAST16): Likewise.
26539         [C99-based-standards] (PRIiFAST16): Likewise.
26540         [C99-based-standards] (PRIoFAST16): Likewise.
26541         [C99-based-standards] (PRIuFAST16): Likewise.
26542         [C99-based-standards] (PRIxFAST16): Likewise.
26543         [C99-based-standards] (PRIXFAST16): Likewise.
26544         [C99-based-standards] (SCNdFAST16): Likewise.
26545         [C99-based-standards] (SCNiFAST16): Likewise.
26546         [C99-based-standards] (SCNoFAST16): Likewise.
26547         [C99-based-standards] (SCNuFAST16): Likewise.
26548         [C99-based-standards] (SCNxFAST16): Likewise.
26549         [C99-based-standards] (PRId32): Likewise.
26550         [C99-based-standards] (PRIi32): Likewise.
26551         [C99-based-standards] (PRIo32): Likewise.
26552         [C99-based-standards] (PRIu32): Likewise.
26553         [C99-based-standards] (PRIx32): Likewise.
26554         [C99-based-standards] (PRIX32): Likewise.
26555         [C99-based-standards] (SCNd32): Likewise.
26556         [C99-based-standards] (SCNi32): Likewise.
26557         [C99-based-standards] (SCNo32): Likewise.
26558         [C99-based-standards] (SCNu32): Likewise.
26559         [C99-based-standards] (SCNx32): Likewise.
26560         [C99-based-standards] (PRIdLEAST32): Likewise.
26561         [C99-based-standards] (PRIiLEAST32): Likewise.
26562         [C99-based-standards] (PRIoLEAST32): Likewise.
26563         [C99-based-standards] (PRIuLEAST32): Likewise.
26564         [C99-based-standards] (PRIxLEAST32): Likewise.
26565         [C99-based-standards] (PRIXLEAST32): Likewise.
26566         [C99-based-standards] (SCNdLEAST32): Likewise.
26567         [C99-based-standards] (SCNiLEAST32): Likewise.
26568         [C99-based-standards] (SCNoLEAST32): Likewise.
26569         [C99-based-standards] (SCNuLEAST32): Likewise.
26570         [C99-based-standards] (SCNxLEAST32): Likewise.
26571         [C99-based-standards] (PRIdFAST32): Likewise.
26572         [C99-based-standards] (PRIiFAST32): Likewise.
26573         [C99-based-standards] (PRIoFAST32): Likewise.
26574         [C99-based-standards] (PRIuFAST32): Likewise.
26575         [C99-based-standards] (PRIxFAST32): Likewise.
26576         [C99-based-standards] (PRIXFAST32): Likewise.
26577         [C99-based-standards] (SCNdFAST32): Likewise.
26578         [C99-based-standards] (SCNiFAST32): Likewise.
26579         [C99-based-standards] (SCNoFAST32): Likewise.
26580         [C99-based-standards] (SCNuFAST32): Likewise.
26581         [C99-based-standards] (SCNxFAST32): Likewise.
26582         [C99-based-standards] (PRId64): Likewise.
26583         [C99-based-standards] (PRIi64): Likewise.
26584         [C99-based-standards] (PRIo64): Likewise.
26585         [C99-based-standards] (PRIu64): Likewise.
26586         [C99-based-standards] (PRIx64): Likewise.
26587         [C99-based-standards] (PRIX64): Likewise.
26588         [C99-based-standards] (SCNd64): Likewise.
26589         [C99-based-standards] (SCNi64): Likewise.
26590         [C99-based-standards] (SCNo64): Likewise.
26591         [C99-based-standards] (SCNu64): Likewise.
26592         [C99-based-standards] (SCNx64): Likewise.
26593         [C99-based-standards] (PRIdLEAST64): Likewise.
26594         [C99-based-standards] (PRIiLEAST64): Likewise.
26595         [C99-based-standards] (PRIoLEAST64): Likewise.
26596         [C99-based-standards] (PRIuLEAST64): Likewise.
26597         [C99-based-standards] (PRIxLEAST64): Likewise.
26598         [C99-based-standards] (PRIXLEAST64): Likewise.
26599         [C99-based-standards] (SCNdLEAST64): Likewise.
26600         [C99-based-standards] (SCNiLEAST64): Likewise.
26601         [C99-based-standards] (SCNoLEAST64): Likewise.
26602         [C99-based-standards] (SCNuLEAST64): Likewise.
26603         [C99-based-standards] (SCNxLEAST64): Likewise.
26604         [C99-based-standards] (PRIdFAST64): Likewise.
26605         [C99-based-standards] (PRIiFAST64): Likewise.
26606         [C99-based-standards] (PRIoFAST64): Likewise.
26607         [C99-based-standards] (PRIuFAST64): Likewise.
26608         [C99-based-standards] (PRIxFAST64): Likewise.
26609         [C99-based-standards] (PRIXFAST64): Likewise.
26610         [C99-based-standards] (SCNdFAST64): Likewise.
26611         [C99-based-standards] (SCNiFAST64): Likewise.
26612         [C99-based-standards] (SCNoFAST64): Likewise.
26613         [C99-based-standards] (SCNuFAST64): Likewise.
26614         [C99-based-standards] (SCNxFAST64): Likewise.
26615         [C99-based-standards] (PRIdMAX): Likewise.
26616         [C99-based-standards] (PRIiMAX): Likewise.
26617         [C99-based-standards] (PRIoMAX): Likewise.
26618         [C99-based-standards] (PRIuMAX): Likewise.
26619         [C99-based-standards] (PRIxMAX): Likewise.
26620         [C99-based-standards] (PRIXMAX): Likewise.
26621         [C99-based-standards] (SCNdMAX): Likewise.
26622         [C99-based-standards] (SCNiMAX): Likewise.
26623         [C99-based-standards] (SCNoMAX): Likewise.
26624         [C99-based-standards] (SCNuMAX): Likewise.
26625         [C99-based-standards] (SCNxMAX): Likewise.
26626         [C99-based-standards] (PRIdPTR): Likewise.
26627         [C99-based-standards] (PRIiPTR): Likewise.
26628         [C99-based-standards] (PRIoPTR): Likewise.
26629         [C99-based-standards] (PRIuPTR): Likewise.
26630         [C99-based-standards] (PRIxPTR): Likewise.
26631         [C99-based-standards] (PRIXPTR): Likewise.
26632         [C99-based-standards] (SCNdPTR): Likewise.
26633         [C99-based-standards] (SCNiPTR): Likewise.
26634         [C99-based-standards] (SCNoPTR): Likewise.
26635         [C99-based-standards] (SCNuPTR): Likewise.
26636         [C99-based-standards] (SCNxPTR): Likewise.
26637         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26638         allow.
26639         * conform/data/stdint.h-data: Update comments to clarify
26640         requirements.
26641         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26642         type.
26643         [C99-based standards] (INT8_MAX): Likewise.
26644         [C99-based standards] (INT16_MIN): Likewise.
26645         [C99-based standards] (INT16_MAX): Likewise.
26646         [C99-based standards] (INT32_MIN): Likewise.
26647         [C99-based standards] (INT32_MAX): Likewise.
26648         [C99-based standards] (INT64_MIN): Likewise.
26649         [C99-based standards] (INT64_MAX): Likewise.
26650         [C99-based standards] (UINT8_MAX): Likewise.
26651         [C99-based standards] (UINT16_MAX): Likewise.
26652         [C99-based standards] (UINT32_MAX): Likewise.
26653         [C99-based standards] (UINT64_MAX): Likewise.
26654         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26655         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26656         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26657         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26658         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26659         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26660         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26661         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26662         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26663         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26664         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26665         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26666         [C99-based standards] (INT_FAST8_MIN): Likewise.
26667         [C99-based standards] (INT_FAST8_MAX): Likewise.
26668         [C99-based standards] (INT_FAST16_MIN): Likewise.
26669         [C99-based standards] (INT_FAST16_MAX): Likewise.
26670         [C99-based standards] (INT_FAST32_MIN): Likewise.
26671         [C99-based standards] (INT_FAST32_MAX): Likewise.
26672         [C99-based standards] (INT_FAST64_MIN): Likewise.
26673         [C99-based standards] (INT_FAST64_MAX): Likewise.
26674         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26675         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26676         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26677         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26678         [C99-based standards] (INTPTR_MIN): Likewise.
26679         [C99-based standards] (INTPTR_MAX): Likewise.
26680         [C99-based standards] (UINTPTR_MAX): Likewise.
26681         [C99-based standards] (INTMAX_MIN): Likewise.
26682         [C99-based standards] (INTMAX_MAX): Likewise.
26683         [C99-based standards] (UINTMAX_MAX): Likewise.
26684         [C99-based standards] (PTRDIFF_MIN): Likewise.
26685         [C99-based standards] (PTRDIFF_MAX): Likewise.
26686         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26687         [C99-based standards] (SIZE_MAX): Likewise.
26688         [C99-based standards] (WCHAR_MAX): Likewise.
26689         [C99-based standards] (WINT_MAX): Likewise.
26690         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26691         constraint on value.
26692         [C99-based standards] (WCHAR_MIN): Likewise.
26693         [C99-based standards] (WINT_MIN): Likewise.
26694         [C99-based standards] (*_t): Allow.
26695         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26696         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26697         Include math.h-data and complex.h-data.  Remove all expectations
26698         of math.h and complex.h contents.
26699         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26700         at end of line.
26701         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26702         (struct tm): Expect tag.
26703         [C99-based-standards] (wcstof): Expect function.
26704         [C99-based-standards] (wcstold): Likewise.
26705         [C99-based-standards] (wcstoll): Likewise.
26706         [C99-based-standards] (wcstoull): Likewise.
26707         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26708         macro-int-constant.  Specify type.
26709         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26710         constraint on value.
26711         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26712         Specify type.
26713         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26714         Specify value.
26715         [ISO C standards]: Do not allow headers.
26716         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26717         wcs[abcdefghijklmnopqrstuvwxyz]*.
26718         [ISO C standards] (*_t): Do not allow.
26719         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26720         Expect function.
26721         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26722         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26723         Specify type.
26724         [ISO C standards]: Do not allow headers.
26725         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26726         is[abcdefghijklmnopqrstuvwxyz]*.
26727         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26728         to[abcdefghijklmnopqrstuvwxyz]*.
26729         [ISO C standards] (*_t): Do not allow.
26730         * conform/data/stdalign.h-data: New file.
26731         * conform/data/stdbool.h-data: Likewise.
26732         * conform/data/stdnoreturn.h-data: Likewise.
26734 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26736         [BZ #14815]
26737         * manual/filesys.texi (Directory Entries): Typo fix.
26738         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26740 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26742         * elf/elf.h (EM_AARCH64): New macro.
26743         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26744         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26745         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26746         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26747         (R_AARCH64_TLSDESC): Likewise.
26748         (NT_ARM_TLS): Likewise.
26749         (NT_ARM_HW_BREAK): Likewise.
26750         (NT_ARM_HW_WATCH): Likewise.
26752 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26754         [BZ #14811]
26755         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26756         (__ieee754_powl): Saturate nonzero exponents with absolute value
26757         below 0x1p-79 to +/- 0x1p-79.
26758         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26759         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26760         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26761         nonzero exponents with absolute value below 0x1p-32 to +/-
26762         0x1p-32.
26763         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26764         (__ieee754_powl): Saturate nonzero exponents with absolute value
26765         below 0x1p-79 to +/- 0x1p-79.
26766         * math/libm-test.inc (pow_test): Add more tests.
26768 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26770         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26771         _dl_s390_cap_flags with kernel. Increase string length.
26772         (_dl_s390_platforms): Add z196 and zEC12.
26774 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26776         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26777         Change XOPEN21K to XOPEN2K.
26779 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26781         * string/memmove.c: Use memcpy when possible.
26783 2012-11-06  Andreas Jaeger  <aj@suse.de>
26785         * po/eo.po: Update from translation team.
26787 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26789         [BZ #14793]
26790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26791         exponent and small x and y exponents, scale x or y up.  Increase
26792         by 2 the exponent used in scaling up.
26793         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26794         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26795         * math/libm-test.inc (fma_test): Add more tests.
26796         (fma_test_towardzero): Likewise.
26797         (fma_test_downward): Likewise.
26798         (fma_test_upward): Likewise.
26800 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26802         [BZ #14805]
26803         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26804         fenv_t *.
26806         [BZ #14801]
26807         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26808         namespace for names of struct fields.
26809         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26810         fenv_t fields.
26811         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26812         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26814 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26816         [BZ #3665]
26817         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26819 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26821         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26822         PTR_DEMANGLE.
26824         [BZ #5246]
26825         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26826         PTR_DEMANGLE.
26828 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26830         [BZ #14797]
26831         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26832         definitely overflow as x * y not x * y + z.
26833         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26834         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26835         * math/libm-test.inc (fma_test): Add more tests.
26836         (fma_test_towardzero): Likewise.
26837         (fma_test_downward): Likewise.
26838         (fma_test_upward): Likewise.
26840 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26842         [BZ #157]
26844         * include/stub-tag.h: Remove file.
26845         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26846         '#include' of it.
26847         * manual/maint.texi (Porting): Don't reference it.
26848         * Makerules ($(objpfx)stubs): Likewise.
26849         * dirent/closedir.c: Don't include <stub-tag.h>.
26850         * dirent/dirfd.c: Likewise.
26851         * dirent/fdopendir.c: Likewise.
26852         * dirent/getdents.c: Likewise.
26853         * dirent/getdents64.c: Likewise.
26854         * dirent/opendir.c: Likewise.
26855         * dirent/readdir.c: Likewise.
26856         * dirent/readdir64.c: Likewise.
26857         * dirent/readdir64_r.c: Likewise.
26858         * dirent/readdir_r.c: Likewise.
26859         * dirent/rewinddir.c: Likewise.
26860         * dirent/seekdir.c: Likewise.
26861         * dirent/telldir.c: Likewise.
26862         * gmon/profil.c: Likewise.
26863         * grp/setgroups.c: Likewise.
26864         * inet/if_index.c: Likewise.
26865         * io/access.c: Likewise.
26866         * io/chdir.c: Likewise.
26867         * io/chmod.c: Likewise.
26868         * io/chown.c: Likewise.
26869         * io/close.c: Likewise.
26870         * io/dup.c: Likewise.
26871         * io/dup2.c: Likewise.
26872         * io/dup3.c: Likewise.
26873         * io/euidaccess.c: Likewise.
26874         * io/faccessat.c: Likewise.
26875         * io/fchdir.c: Likewise.
26876         * io/fchmod.c: Likewise.
26877         * io/fchmodat.c: Likewise.
26878         * io/fchown.c: Likewise.
26879         * io/fchownat.c: Likewise.
26880         * io/fcntl.c: Likewise.
26881         * io/flock.c: Likewise.
26882         * io/fstatfs.c: Likewise.
26883         * io/fstatfs64.c: Likewise.
26884         * io/fstatvfs.c: Likewise.
26885         * io/fstatvfs64.c: Likewise.
26886         * io/futimens.c: Likewise.
26887         * io/fxstat.c: Likewise.
26888         * io/fxstat64.c: Likewise.
26889         * io/fxstatat.c: Likewise.
26890         * io/fxstatat64.c: Likewise.
26891         * io/getcwd.c: Likewise.
26892         * io/isatty.c: Likewise.
26893         * io/lchmod.c: Likewise.
26894         * io/lchown.c: Likewise.
26895         * io/link.c: Likewise.
26896         * io/linkat.c: Likewise.
26897         * io/lseek.c: Likewise.
26898         * io/lseek64.c: Likewise.
26899         * io/lxstat64.c: Likewise.
26900         * io/mkdir.c: Likewise.
26901         * io/mkdirat.c: Likewise.
26902         * io/mkfifo.c: Likewise.
26903         * io/mkfifoat.c: Likewise.
26904         * io/open.c: Likewise.
26905         * io/open64.c: Likewise.
26906         * io/openat.c: Likewise.
26907         * io/openat64.c: Likewise.
26908         * io/pipe.c: Likewise.
26909         * io/pipe2.c: Likewise.
26910         * io/poll.c: Likewise.
26911         * io/posix_fadvise.c: Likewise.
26912         * io/posix_fadvise64.c: Likewise.
26913         * io/posix_fallocate.c: Likewise.
26914         * io/posix_fallocate64.c: Likewise.
26915         * io/read.c: Likewise.
26916         * io/readlink.c: Likewise.
26917         * io/readlinkat.c: Likewise.
26918         * io/rmdir.c: Likewise.
26919         * io/sendfile.c: Likewise.
26920         * io/sendfile64.c: Likewise.
26921         * io/statfs.c: Likewise.
26922         * io/statfs64.c: Likewise.
26923         * io/statvfs.c: Likewise.
26924         * io/statvfs64.c: Likewise.
26925         * io/symlink.c: Likewise.
26926         * io/symlinkat.c: Likewise.
26927         * io/ttyname.c: Likewise.
26928         * io/ttyname_r.c: Likewise.
26929         * io/umask.c: Likewise.
26930         * io/unlink.c: Likewise.
26931         * io/unlinkat.c: Likewise.
26932         * io/utime.c: Likewise.
26933         * io/utimensat.c: Likewise.
26934         * io/write.c: Likewise.
26935         * io/xmknod.c: Likewise.
26936         * io/xmknodat.c: Likewise.
26937         * io/xstat.c: Likewise.
26938         * io/xstat64.c: Likewise.
26939         * login/getpt.c: Likewise.
26940         * login/grantpt.c: Likewise.
26941         * login/unlockpt.c: Likewise.
26942         * math/e_acoshl.c: Likewise.
26943         * math/e_acosl.c: Likewise.
26944         * math/e_asinl.c: Likewise.
26945         * math/e_atan2l.c: Likewise.
26946         * math/e_atanhl.c: Likewise.
26947         * math/e_coshl.c: Likewise.
26948         * math/e_expl.c: Likewise.
26949         * math/e_fmodl.c: Likewise.
26950         * math/e_gammal_r.c: Likewise.
26951         * math/e_hypotl.c: Likewise.
26952         * math/e_j0l.c: Likewise.
26953         * math/e_j1l.c: Likewise.
26954         * math/e_jnl.c: Likewise.
26955         * math/e_lgammal_r.c: Likewise.
26956         * math/e_log10l.c: Likewise.
26957         * math/e_log2l.c: Likewise.
26958         * math/e_logl.c: Likewise.
26959         * math/e_powl.c: Likewise.
26960         * math/e_rem_pio2l.c: Likewise.
26961         * math/e_sinhl.c: Likewise.
26962         * math/e_sqrtl.c: Likewise.
26963         * math/fclrexcpt.c: Likewise.
26964         * math/fedisblxcpt.c: Likewise.
26965         * math/feenablxcpt.c: Likewise.
26966         * math/fegetenv.c: Likewise.
26967         * math/fegetexcept.c: Likewise.
26968         * math/fegetround.c: Likewise.
26969         * math/feholdexcpt.c: Likewise.
26970         * math/fesetenv.c: Likewise.
26971         * math/fesetround.c: Likewise.
26972         * math/feupdateenv.c: Likewise.
26973         * math/fgetexcptflg.c: Likewise.
26974         * math/fraiseexcpt.c: Likewise.
26975         * math/fsetexcptflg.c: Likewise.
26976         * math/ftestexcept.c: Likewise.
26977         * math/k_cosl.c: Likewise.
26978         * math/k_rem_pio2l.c: Likewise.
26979         * math/k_sinl.c: Likewise.
26980         * math/k_tanl.c: Likewise.
26981         * math/s_asinhl.c: Likewise.
26982         * math/s_atanl.c: Likewise.
26983         * math/s_cbrtl.c: Likewise.
26984         * math/s_erfl.c: Likewise.
26985         * math/s_expm1l.c: Likewise.
26986         * math/s_log1pl.c: Likewise.
26987         * math/s_tanhl.c: Likewise.
26988         * misc/acct.c: Likewise.
26989         * misc/brk.c: Likewise.
26990         * misc/chflags.c: Likewise.
26991         * misc/chroot.c: Likewise.
26992         * misc/fchflags.c: Likewise.
26993         * misc/fgetxattr.c: Likewise.
26994         * misc/flistxattr.c: Likewise.
26995         * misc/fremovexattr.c: Likewise.
26996         * misc/fsetxattr.c: Likewise.
26997         * misc/fsync.c: Likewise.
26998         * misc/ftruncate.c: Likewise.
26999         * misc/futimes.c: Likewise.
27000         * misc/futimesat.c: Likewise.
27001         * misc/getdomain.c: Likewise.
27002         * misc/getdtsz.c: Likewise.
27003         * misc/gethostid.c: Likewise.
27004         * misc/gethostname.c: Likewise.
27005         * misc/getloadavg.c: Likewise.
27006         * misc/getpagesize.c: Likewise.
27007         * misc/getsysstats.c: Likewise.
27008         * misc/getxattr.c: Likewise.
27009         * misc/gtty.c: Likewise.
27010         * misc/ioctl.c: Likewise.
27011         * misc/lgetxattr.c: Likewise.
27012         * misc/listxattr.c: Likewise.
27013         * misc/llistxattr.c: Likewise.
27014         * misc/lremovexattr.c: Likewise.
27015         * misc/lsetxattr.c: Likewise.
27016         * misc/lutimes.c: Likewise.
27017         * misc/madvise.c: Likewise.
27018         * misc/mincore.c: Likewise.
27019         * misc/mlock.c: Likewise.
27020         * misc/mlockall.c: Likewise.
27021         * misc/mmap.c: Likewise.
27022         * misc/mprotect.c: Likewise.
27023         * misc/msync.c: Likewise.
27024         * misc/munlock.c: Likewise.
27025         * misc/munlockall.c: Likewise.
27026         * misc/munmap.c: Likewise.
27027         * misc/preadv.c: Likewise.
27028         * misc/preadv64.c: Likewise.
27029         * misc/ptrace.c: Likewise.
27030         * misc/pwritev.c: Likewise.
27031         * misc/pwritev64.c: Likewise.
27032         * misc/readv.c: Likewise.
27033         * misc/reboot.c: Likewise.
27034         * misc/remap_file_pages.c: Likewise.
27035         * misc/removexattr.c: Likewise.
27036         * misc/revoke.c: Likewise.
27037         * misc/select.c: Likewise.
27038         * misc/setdomain.c: Likewise.
27039         * misc/setegid.c: Likewise.
27040         * misc/seteuid.c: Likewise.
27041         * misc/sethostid.c: Likewise.
27042         * misc/sethostname.c: Likewise.
27043         * misc/setregid.c: Likewise.
27044         * misc/setreuid.c: Likewise.
27045         * misc/setxattr.c: Likewise.
27046         * misc/sstk.c: Likewise.
27047         * misc/stty.c: Likewise.
27048         * misc/swapoff.c: Likewise.
27049         * misc/swapon.c: Likewise.
27050         * misc/sync.c: Likewise.
27051         * misc/syncfs.c: Likewise.
27052         * misc/syscall.c: Likewise.
27053         * misc/truncate.c: Likewise.
27054         * misc/ualarm.c: Likewise.
27055         * misc/usleep.c: Likewise.
27056         * misc/ustat.c: Likewise.
27057         * misc/utimes.c: Likewise.
27058         * misc/vhangup.c: Likewise.
27059         * misc/writev.c: Likewise.
27060         * posix/_exit.c: Likewise.
27061         * posix/alarm.c: Likewise.
27062         * posix/execve.c: Likewise.
27063         * posix/fexecve.c: Likewise.
27064         * posix/fork.c: Likewise.
27065         * posix/fpathconf.c: Likewise.
27066         * posix/getaddrinfo.c: Likewise.
27067         * posix/getegid.c: Likewise.
27068         * posix/geteuid.c: Likewise.
27069         * posix/getgid.c: Likewise.
27070         * posix/getgroups.c: Likewise.
27071         * posix/getlogin.c: Likewise.
27072         * posix/getlogin_r.c: Likewise.
27073         * posix/getpgid.c: Likewise.
27074         * posix/getpid.c: Likewise.
27075         * posix/getppid.c: Likewise.
27076         * posix/getresgid.c: Likewise.
27077         * posix/getresuid.c: Likewise.
27078         * posix/getsid.c: Likewise.
27079         * posix/getuid.c: Likewise.
27080         * posix/glob64.c: Likewise.
27081         * posix/nanosleep.c: Likewise.
27082         * posix/pathconf.c: Likewise.
27083         * posix/pause.c: Likewise.
27084         * posix/posix_madvise.c: Likewise.
27085         * posix/pread.c: Likewise.
27086         * posix/pread64.c: Likewise.
27087         * posix/pwrite.c: Likewise.
27088         * posix/pwrite64.c: Likewise.
27089         * posix/sched_getaffinity.c: Likewise.
27090         * posix/sched_getp.c: Likewise.
27091         * posix/sched_gets.c: Likewise.
27092         * posix/sched_primax.c: Likewise.
27093         * posix/sched_primin.c: Likewise.
27094         * posix/sched_rr_gi.c: Likewise.
27095         * posix/sched_setaffinity.c: Likewise.
27096         * posix/sched_setp.c: Likewise.
27097         * posix/sched_sets.c: Likewise.
27098         * posix/sched_yield.c: Likewise.
27099         * posix/setgid.c: Likewise.
27100         * posix/setlogin.c: Likewise.
27101         * posix/setpgid.c: Likewise.
27102         * posix/setresgid.c: Likewise.
27103         * posix/setresuid.c: Likewise.
27104         * posix/setsid.c: Likewise.
27105         * posix/setuid.c: Likewise.
27106         * posix/sleep.c: Likewise.
27107         * posix/spawni.c: Likewise.
27108         * posix/sysconf.c: Likewise.
27109         * posix/times.c: Likewise.
27110         * posix/wait.c: Likewise.
27111         * posix/wait3.c: Likewise.
27112         * posix/wait4.c: Likewise.
27113         * posix/waitpid.c: Likewise.
27114         * resolv/gai_sigqueue.c: Likewise.
27115         * resource/getpriority.c: Likewise.
27116         * resource/getrlimit.c: Likewise.
27117         * resource/getrusage.c: Likewise.
27118         * resource/nice.c: Likewise.
27119         * resource/setpriority.c: Likewise.
27120         * resource/setrlimit.c: Likewise.
27121         * resource/ulimit.c: Likewise.
27122         * rt/aio_cancel.c: Likewise.
27123         * rt/aio_fsync.c: Likewise.
27124         * rt/aio_read.c: Likewise.
27125         * rt/aio_sigqueue.c: Likewise.
27126         * rt/aio_suspend.c: Likewise.
27127         * rt/aio_write.c: Likewise.
27128         * rt/clock_getres.c: Likewise.
27129         * rt/clock_gettime.c: Likewise.
27130         * rt/clock_nanosleep.c: Likewise.
27131         * rt/clock_settime.c: Likewise.
27132         * rt/lio_listio.c: Likewise.
27133         * rt/mq_close.c: Likewise.
27134         * rt/mq_getattr.c: Likewise.
27135         * rt/mq_notify.c: Likewise.
27136         * rt/mq_open.c: Likewise.
27137         * rt/mq_receive.c: Likewise.
27138         * rt/mq_send.c: Likewise.
27139         * rt/mq_setattr.c: Likewise.
27140         * rt/mq_timedreceive.c: Likewise.
27141         * rt/mq_timedsend.c: Likewise.
27142         * rt/mq_unlink.c: Likewise.
27143         * rt/shm_open.c: Likewise.
27144         * rt/shm_unlink.c: Likewise.
27145         * rt/timer_create.c: Likewise.
27146         * rt/timer_delete.c: Likewise.
27147         * rt/timer_getoverr.c: Likewise.
27148         * rt/timer_gettime.c: Likewise.
27149         * rt/timer_settime.c: Likewise.
27150         * setjmp/__longjmp.c: Likewise.
27151         * setjmp/setjmp.c: Likewise.
27152         * signal/kill.c: Likewise.
27153         * signal/killpg.c: Likewise.
27154         * signal/raise.c: Likewise.
27155         * signal/sigaction.c: Likewise.
27156         * signal/sigaltstack.c: Likewise.
27157         * signal/sigblock.c: Likewise.
27158         * signal/sigignore.c: Likewise.
27159         * signal/sigintr.c: Likewise.
27160         * signal/signal.c: Likewise.
27161         * signal/sigpause.c: Likewise.
27162         * signal/sigpending.c: Likewise.
27163         * signal/sigqueue.c: Likewise.
27164         * signal/sigreturn.c: Likewise.
27165         * signal/sigset.c: Likewise.
27166         * signal/sigsetmask.c: Likewise.
27167         * signal/sigstack.c: Likewise.
27168         * signal/sigsuspend.c: Likewise.
27169         * signal/sigtimedwait.c: Likewise.
27170         * signal/sigvec.c: Likewise.
27171         * signal/sigwait.c: Likewise.
27172         * signal/sigwaitinfo.c: Likewise.
27173         * signal/sysv_signal.c: Likewise.
27174         * socket/accept.c: Likewise.
27175         * socket/accept4.c: Likewise.
27176         * socket/bind.c: Likewise.
27177         * socket/connect.c: Likewise.
27178         * socket/getpeername.c: Likewise.
27179         * socket/getsockname.c: Likewise.
27180         * socket/getsockopt.c: Likewise.
27181         * socket/isfdtype.c: Likewise.
27182         * socket/listen.c: Likewise.
27183         * socket/recv.c: Likewise.
27184         * socket/recvfrom.c: Likewise.
27185         * socket/recvmsg.c: Likewise.
27186         * socket/send.c: Likewise.
27187         * socket/sendmsg.c: Likewise.
27188         * socket/sendto.c: Likewise.
27189         * socket/setsockopt.c: Likewise.
27190         * socket/shutdown.c: Likewise.
27191         * socket/sockatmark.c: Likewise.
27192         * socket/socket.c: Likewise.
27193         * socket/socketpair.c: Likewise.
27194         * stdio-common/ctermid.c: Likewise.
27195         * stdio-common/cuserid.c: Likewise.
27196         * stdio-common/remove.c: Likewise.
27197         * stdio-common/rename.c: Likewise.
27198         * stdio-common/renameat.c: Likewise.
27199         * stdio-common/tempname.c: Likewise.
27200         * stdlib/getcontext.c: Likewise.
27201         * stdlib/makecontext.c: Likewise.
27202         * stdlib/setcontext.c: Likewise.
27203         * stdlib/swapcontext.c: Likewise.
27204         * stdlib/system.c: Likewise.
27205         * streams/fattach.c: Likewise.
27206         * streams/fdetach.c: Likewise.
27207         * streams/getmsg.c: Likewise.
27208         * streams/getpmsg.c: Likewise.
27209         * streams/putmsg.c: Likewise.
27210         * streams/putpmsg.c: Likewise.
27211         * sysdeps/unix/bsd/getpt.c: Likewise.
27212         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27213         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27214         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27216         Likewise.
27217         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27218         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27219         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27220         * sysvipc/msgctl.c: Likewise.
27221         * sysvipc/msgget.c: Likewise.
27222         * sysvipc/msgrcv.c: Likewise.
27223         * sysvipc/msgsnd.c: Likewise.
27224         * sysvipc/semctl.c: Likewise.
27225         * sysvipc/semget.c: Likewise.
27226         * sysvipc/semop.c: Likewise.
27227         * sysvipc/semtimedop.c: Likewise.
27228         * sysvipc/shmat.c: Likewise.
27229         * sysvipc/shmctl.c: Likewise.
27230         * sysvipc/shmdt.c: Likewise.
27231         * sysvipc/shmget.c: Likewise.
27232         * termios/tcdrain.c: Likewise.
27233         * termios/tcflow.c: Likewise.
27234         * termios/tcflush.c: Likewise.
27235         * termios/tcgetattr.c: Likewise.
27236         * termios/tcgetpgrp.c: Likewise.
27237         * termios/tcsendbrk.c: Likewise.
27238         * termios/tcsetattr.c: Likewise.
27239         * termios/tcsetpgrp.c: Likewise.
27240         * time/adjtime.c: Likewise.
27241         * time/clock.c: Likewise.
27242         * time/getitimer.c: Likewise.
27243         * time/gettimeofday.c: Likewise.
27244         * time/setitimer.c: Likewise.
27245         * time/settimeofday.c: Likewise.
27246         * time/stime.c: Likewise.
27247         * time/time.c: Likewise.
27249 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27251         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27252         /usr/old/bin.
27254         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27255         instead of spaces.
27256         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27258 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27260         [BZ #14796]
27261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27262         FE_TONEAREST before applying Dekker multiplication and Knuth
27263         addition.  Clear inexact exceptions and check for exact zero
27264         results afterwards.
27265         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27266         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27268         * math/libm-test.inc (fma_test): Add more tests.
27269         (fma_test_towardzero): Likewise.
27270         (fma_test_downward): Likewise.
27271         (fma_test_upward): Likewise.
27272         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27273         function.
27274         (libc_fesetround): New macro.
27275         (libc_fesetroundf): Likewise.
27276         (libc_fesetroundl): Likewise.
27277         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27278         function.
27279         (libc_fesetround_387): Likewise.
27280         (libc_fesetroundf): New macro.
27281         (libc_fesetround): Likewise.
27282         (libc_fesetroundl): Likewise.
27283         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27284         function.
27285         (libc_fesetroundf): New macro.
27286         (libc_fesetround): Likewise.
27287         (libc_fesetroundl): Likewise.
27288         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27289         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27290         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27291         libm_hidden_ver.
27292         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27293         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27294         libm_hidden_def.
27295         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27296         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27297         libm_hidden_ver.
27298         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27299         libm_hidden_def.
27301         [BZ #3439]
27302         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27303         integer constant usable in #if and use that to give value to enum
27304         constant.
27305         (FE_DIVBYZERO): Likewise.
27306         (FE_UNDERFLOW): Likewise.
27307         (FE_OVERFLOW): Likewise.
27308         (FE_INVALID): Likewise.
27309         (FE_INVALID_SNAN): Likewise.
27310         (FE_INVALID_ISI): Likewise.
27311         (FE_INVALID_IDI): Likewise.
27312         (FE_INVALID_ZDZ): Likewise.
27313         (FE_INVALID_IMZ): Likewise.
27314         (FE_INVALID_COMPARE): Likewise.
27315         (FE_INVALID_SOFTWARE): Likewise.
27316         (FE_INVALID_SQRT): Likewise.
27317         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27318         (FE_TONEAREST): Likewise.
27319         (FE_TOWARDZERO): Likewise.
27320         (FE_UPWARD): Likewise.
27321         (FE_DOWNWARD): Likewise.
27322         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27323         (FE_DIVBYZERO): Likewise.
27324         (FE_OVERFLOW): Likewise.
27325         (FE_UNDERFLOW): Likewise.
27326         (FE_INEXACT): Likewise.
27327         (FE_TONEAREST): Likewise.
27328         (FE_DOWNWARD): Likewise.
27329         (FE_UPWARD): Likewise.
27330         (FE_TOWARDZERO): Likewise.
27331         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27332         (FE_UNDERFLOW): Likewise.
27333         (FE_OVERFLOW): Likewise.
27334         (FE_DIVBYZERO): Likewise.
27335         (FE_INVALID): Likewise.
27336         (FE_TONEAREST): Likewise.
27337         (FE_TOWARDZERO): Likewise.
27338         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27339         (FE_OVERFLOW): Likewise.
27340         (FE_UNDERFLOW): Likewise.
27341         (FE_DIVBYZERO): Likewise.
27342         (FE_INEXACT): Likewise.
27343         (FE_TONEAREST): Likewise.
27344         (FE_TOWARDZERO): Likewise.
27345         (FE_UPWARD): Likewise.
27346         (FE_DOWNWARD): Likewise.
27347         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27348         (FE_DIVBYZERO): Likewise.
27349         (FE_OVERFLOW): Likewise.
27350         (FE_UNDERFLOW): Likewise.
27351         (FE_INEXACT): Likewise.
27352         (FE_TONEAREST): Likewise.
27353         (FE_DOWNWARD): Likewise.
27354         (FE_UPWARD): Likewise.
27355         (FE_TOWARDZERO): Likewise.
27357 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27359         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27361 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27363         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27364         commands.  Quote $PWD.
27365         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27366         -x" by "export".
27367         (remove_newlines): Remove.
27369 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27371         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27372         * stdlib/stdlib.h (atof): Moved to ...
27373         * include/bits/stdlib-float.h: Here.  New file.
27374         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27375         * stdlib/bits/stdlib-float.h: New file.
27376         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27377         -mno-sse -mno-mmx.
27378         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27379         <xmmintrin.h>.
27381 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27383         * conform/conformtest.pl (@headers): Add fenv.h.
27384         * conform/data/fenv.h-data: New file.
27385         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27386         include of <math/fenv.h>.
27388         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27389         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27390         && !UNIX98].  Enables tests for XOPEN2K8.
27391         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27392         POSIX2008]: Likewise.
27394         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27395         (struct rusage): Do not expect type or its members.
27397         [BZ #3439]
27398         * math/math.h (FP_NAN): Define macro to integer constant usable in
27399         #if and use that to give value to enum constant.
27400         (FP_INFINITE): Likewise.
27401         (FP_ZERO): Likewise.
27402         (FP_SUBNORMAL): Likewise.
27403         (FP_NORMAL): Likewise.
27405 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27407         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27408         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27409         arguments.
27411 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27413         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27414         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27415         autoconf-time if not.
27416         * configure.in: Remove AC_PREREQ.
27418 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27420         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27421         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27422         of the internal implementation.
27424 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27426         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27427         except include of <misc/sys/syslog.h>.
27429 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27432         function returns with a NULL context exit with zero.
27434 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27436         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27438 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27440         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27441         (run_program_cmd): This.
27442         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27443         (tst_langinfo): New variable.  Use it.
27445 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27447         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27448         floating point opcodes.
27450 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27452         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27453         variable.
27455         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27457         * sysdeps/mach/hurd/powerpc: Remove directory.
27458         * sysdeps/mach/powerpc: Likewise.
27460 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27462         * scripts/check-local-headers.sh: Ignore c++ headers.
27464 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27466         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27467         __libc_cleanup_region_start argument.
27469 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27471         [BZ #14784]
27472         [BZ #14785]
27473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27474         x * y using scaling, not as x * y + z.
27475         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27476         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27477         * math/libm-test.inc (fma_test): Add more tests.
27478         (fma_test_towardzero): Likewise.
27479         (fma_test_downward): Likewise.
27480         (fma_test_upward): Likewise.
27482 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27484         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27486 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27488         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27489         New variable.
27491 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27493         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27495 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27498         Fix sort order.
27499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27500         Likewise.
27502 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27505         Fix the order of the list for glibc 2.17.
27506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27507         Likewise.
27509 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27511         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27513 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27515         [BZ #14610]
27516         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27517         for low part of x being zero before using __atanl (y).
27518         * math/libm-test.inc (atan2_test): Add another test.
27520         * manual/install.texi (Configuring and compiling): Document
27521         general use of test-wrapper and test-wrapper-env.
27522         * INSTALL: Regenerated.
27524         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27525         (__fma): Do not extract and scale down low bits on after-rounding
27526         systems when result rounded to normal precision would have normal
27527         exponent.
27528         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27529         (__fmal): Do not extract and scale down low bits on after-rounding
27530         systems when result rounded to normal precision would have normal
27531         exponent.
27532         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27533         (__fmal): Do not extract and scale down low bits on after-rounding
27534         systems when result rounded to normal precision would have normal
27535         exponent.
27536         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27537         macro.
27538         (fma_test): Add more tests.
27539         (fma_test_towardzero): Likewise.
27540         (fma_test_downward): Likewise.
27541         (fma_test_upward): Likewise.
27543 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27545         * sysdeps/i386/tininess.h: Renamed to ...
27546         * sysdeps/x86/tininess.h: This.
27547         * sysdeps/x86_64/tininess.h: Removed.
27549 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27551         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27552         input.  Use $(build-program-cmd).
27553         ($(objpfx)tst-array1-static.out): Likewise.
27554         ($(objpfx)tst-array2.out): Likewise.
27555         ($(objpfx)tst-array3.out): Likewise.
27556         ($(objpfx)tst-array4.out): Likewise.
27557         ($(objpfx)tst-array5.out): Likewise.
27558         ($(objpfx)tst-array5-static.out): Likewise.
27560 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27562         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27563         if defined.
27565         * nss/nsswitch.h (nss_interface_function): Provide new
27566         macro for use with NSS functions.
27567         * grp/initgroups.c: Use new macro.
27568         * nss/getXXbyYY.c: Likewise.
27569         * nss/getXXbyYY_r.c: Likewise.
27570         * nss/getXXent.c: Likewise.
27571         * nss/getXXent_r.c: Likewise.
27572         * sysdeps/posix/getaddrinfo.c: Likewise.
27574 2012-10-30  Andreas Jaeger  <aj@suse.de>
27576         * po/ru.po: Update Russion translation from translation project.
27578 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27580         [BZ #14152]
27581         [BZ #14783]
27582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27583         result and shift together with sticky bit instead of replicating
27584         round-to-nearest rounding.
27585         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27586         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27587         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27588         missing underflow exceptions.
27589         (fma_test_towardzero): Add more tests.
27590         (fma_test_downward): Likewise.
27591         (fma_test_upward): Likewise.
27593         [BZ #14047]
27594         * sysdeps/generic/tininess.h: New file.
27595         * sysdeps/i386/tininess.h: Likewise.
27596         * sysdeps/sh/tininess.h: Likewise.
27597         * sysdeps/x86_64/tininess.h: Likewise.
27598         * stdlib/tst-strtod-underflow.c: Likewise.
27599         * stdlib/tst-tininess.c: Likewise.
27600         * stdlib/strtod_l.c: Include <tininess.h>.
27601         (round_and_return): Do not set errno for exact underflow cases.
27602         Force an underflow exception when setting errno for underflow.
27603         Determine underflow based on rounding to normal precision if
27604         TININESS_AFTER_ROUNDING.
27605         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27606         ERANGE for exact underflow cases.
27607         * stdlib/Makefile (tests): Add tst-tininess and
27608         tst-strtod-underflow.
27609         ($(objpfx)tst-tininess): Use $(link-libm).
27610         ($(objpfx)tst-strtod-underflow): Likewise.
27612 2012-10-30  Andreas Jaeger  <aj@suse.de>
27614         [BZ#14767]
27615         * elf/Makefile (tests): Remove conditional for have-initfini-array
27616         since this is now always required and the variable does not exist
27617         anymore.
27618         (tests-static): Likewise.
27619         (modules-names): Likewise.
27621         * po/eo.po: Add Esperanto translation from translation project.
27623         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27624         merged with constructor/destructor.
27625         (init_array): Likewise.
27626         * elf/tst-array2dep.c (fini_array): Likewise.
27627         (init_array): Likewise.
27629 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27631         * manual/message.texi: Delete @cartouche tags.
27633 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27635         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27636         EOPNOTSUPP.
27637         * sysdeps/mach/hurd/fsync.c: Likewise.
27639         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27640         [_POSIX_REALTIME_SIGNALS]: Change condition to
27641         [_POSIX_REALTIME_SIGNALS > 0].
27643 2012-10-27  Andreas Jaeger  <aj@suse.de>
27645         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27646         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27647         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27648         [__WORDSIZE != 64]: Likewise.
27650 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27652         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27653         *  iconvdata/tst-tables.sh: Likewise.
27655 2012-10-25  David S. Miller  <davem@davemloft.net>
27657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27658         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27659         of strtoull.
27661         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27662         ifunc-impl-list.c
27663         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27664         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27665         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27666         file.
27668 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27670         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27671         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27672         __getdirentries.
27674 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27675             Jim Blandy  <jimb@codesourcery.com>
27677         * scripts/cross-test-ssh.sh: New file.
27678         * manual/install.texi (Configuring and compiling): Document use of
27679         cross-test-ssh.sh.
27680         * INSTALL: Regenerated.
27682 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27684         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27685         EOPNOTSUPP.
27687 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27689         * Makeconfig (run-program-prefix): Fix comment.
27691 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27692             Jim Blandy  <jimb@codesourcery.com>
27694         * Makeconfig (test-wrapper): New variable,
27695         (test-wrapper-env): Likewise.
27696         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27697         (run-built-tests): Define to yes.
27698         (run-program-prefix): Use $(test-wrapper).
27699         (built-program-cmd): Likewise.
27700         * Rules (make-test-out): Use $(test-wrapper-env) and
27701         $(host-built-program-cmd).
27702         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27703         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27704         tst-pathopt.sh.
27705         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27706         $(test-wrapper-env) to tst-rtld-load-self.sh.
27707         ($(objpfx)order2.out): Use $(test-wrapper).
27708         ($(objpfx)tst-initorder.out): Likewise.
27709         ($(objpfx)tst-initorder2.out): Likewise.
27710         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27711         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27712         (test_wrapper_env): New variable.  Use it to run ld.so.
27713         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27714         Use it to run ld.so.
27715         (test_wrapper_env): Likewise.
27716         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27717         $(test-wrapper) to run-iconv-test.sh.
27718         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27719         (ICONV): Use $test_wrapper.
27720         * posix/Makefile ($(objpfx)globtest.out): Pass
27721         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27722         globtest.sh, not $(run-program-prefix).
27723         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27724         (test_wrapper): Likewise.
27725         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27726         set together with run_via_rtld_prefix.
27727         (run_program_prefix): Define in terms of test_wrapper and
27728         run_via_rtld_prefix.
27730 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27732         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27733         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27734         Targets removed.
27736         [BZ #14743]
27737         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27738         Declare __clock_getres, __clock_gettime, __clock_settime,
27739         __clock_nanosleep, and __clock_getcpuclockid.
27740         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27741         Remove librt_hidden_def (clock_gettime).
27742         * sysdeps/unix/clock_gettime.c: Likewise.
27743         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27744         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27745         * rt/clock_getres.c: Define __clock_getres as an alias.
27746         * sysdeps/posix/clock_getres.c: Likewise.
27747         * rt/clock_settime.c: Define __clock_settime as an alias.
27748         * sysdeps/unix/clock_settime.c: Likewise.
27749         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27750         * sysdeps/unix/clock_nanosleep.c: Likewise.
27751         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27752         * rt/clock-compat.c: New file.
27753         * rt/Makefile (librt-routines): Add clock-compat and move
27754         $(clock-routines) to ...
27755         (routines): ... here, new variable.
27756         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27757         Don't add get_clockfreq here.
27758         * rt/Versions (libc: GLIBC_2.17): New version set.
27759         Add clock_* symbols here.
27760         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27761         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27762         (GLIBC_2.17): Add clock_* symbols.
27763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27765         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27767         Likewise.
27768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27769         Likewise.
27770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27774         * NEWS: Mention the move.
27776         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27777         Use __open, __read, __close rather than their public counterparts.
27778         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27779         (__get_clockfreq_via_cpuinfo): Likewise.
27780         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27781         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27783         * config.h.in (HAVE_IFUNC): New #undef.
27784         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27785         was successful.
27786         * configure: Regenerated.
27788 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27790         * configure.in: Move READELF check to start of file.
27791         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27792         libc_cv_asm_gnu_indirect_function in the process.
27793         * configure: Regenerated.
27795 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27797         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27798         send the output to /dev/null.
27799         (libc_cv_cc_with_libunwind): Likewise.
27800         (libc_cv_as_noexecstack): Likewise.
27801         * configure: Regenerate.
27803 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27805         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27807         * posix/globtest.sh (TMPDIR): Do not set.
27808         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27809         (testout): Likewise.
27811 2012-10-24  Andreas Jaeger  <aj@suse.de>
27813         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27814         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27815         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27816         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27817         posix_fadvise64, posix_fallocate64.
27819         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27820         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27821         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27822         Likewise.
27823         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27824         Likewise.
27825         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27827         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27828         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27829         <bits/fcntl-linux.h>.
27830         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27832         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27833         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27834         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27835         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27836         [__WORDSIZE != 64]: Likewise.
27838 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27840         * Makeconfig (run-built-tests): New variable.
27841         * Rules [$(cross-compiling) = yes]: Change condition to
27842         [$(run-built-tests) = no].
27843         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27844         to [$(run-built-tests) = yes].
27845         * elf/Makefile [$(cross-compiling) = no]: Likewise
27846         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27847         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27848         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27849         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27850         * io/Makefile [$(cross-compiling) = no]: Likewise.
27851         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27852         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27853         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27854         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27855         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27856         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27857         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27858         * string/Makefile [$(cross-compiling) = no]: Likewise.
27860         * posix/Makefile ($(objpfx)globtest.out): Pass
27861         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27862         $(rtld-installed-name).
27863         * posix/globtest.sh (elf_objpfx): Remove variable.
27864         (rtld_installed_name): Likewise.
27865         (library_path): Likewise.
27866         (run_program_prefix): New variable.  Use for running globtest
27867         binary.
27869 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27870             Joseph Myers  <joseph@codesourcery.com>
27872         * Makeconfig (host-built-program-cmd): New variable.
27873         * elf/Makefile (tst-stackguard1-ARGS): Use
27874         $(host-built-program-cmd).
27875         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27876         (tst-spawn-ARGS): Likewise.
27877         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27879 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27880             Jim Blandy  <jimb@codesourcery.com>
27882         * Makeconfig (run-via-rtld-prefix): New variable.
27883         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27884         (built-program-cmd): Likewise.
27886 2012-10-22  Andreas Jaeger  <aj@suse.de>
27888         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27889         __O_RSYNC if it exists, otherwise to O_SYNC.
27891 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27892             Joseph Myers  <joseph@codesourcery.com>
27894         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27895         /dev/null.
27896         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27897         from /dev/null
27898         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27899         /dev/null.
27901 2012-10-22  Andreas Jaeger  <aj@suse.de>
27903         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27904         Define always.
27905         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27907         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27908         bits/fcntl-linux.h.
27910         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27911         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27913         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27914         to __O_LARGEFILE.
27915         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27916         to __O_LARGEFILE.
27918 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27919             Joseph Myers  <joseph@codesourcery.com>
27921         * config.make.in (NM): New variable.
27923 2012-10-21  Andreas Jaeger  <aj@suse.de>
27925         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27926         definitions and declarations that are provided by
27927         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27929 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27931         [BZ #14683]
27932         * elf/Makefile (tests-static): Add tst-leaks1-static.
27933         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27934         ($(objpfx)tst-leaks1-static): New rule.
27935         ($(objpfx)tst-leaks1-static-mem): Likewise.
27936         (tst-leaks1-static-ENV): New macro.
27937         * elf/dl-open.c (dl_open_worker): Check the main application
27938         only if SHARED is defined.
27939         * elf/tst-leaks1-static.c: New file.
27941 2012-10-20  Andreas Jaeger  <aj@suse.de>
27943         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27944         generic values for Linux.
27945         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27946         and declarations that are provided by <bits/fcntl-linux.h> and
27947         include <bits/fcntl-linux.h>.
27948         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27949         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27951 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27953         * io/fcntl.h: Move include of <bits/types.h> to the top and
27954         include it unconditionally.
27956 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27958         * wcsmbs/Makefile (tests-ifunc): New variable.
27959         (tests): Add $(tests-ifunc).
27960         * wcsmbs/test-wcschr-ifunc.c: New file.
27961         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27962         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27963         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27964         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27965         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27967         * string/Makefile (tests-ifunc): New variable.
27968         (tests): Add $(tests-ifunc).
27969         * string/test-memccpy.c (TEST_NAME): New macro.
27970         * string/test-memchr.c (TEST_NAME): Likewise.
27971         * string/test-memcmp.c (TEST_NAME): Likewise.
27972         * string/test-memcpy.c (TEST_NAME): Likewise.
27973         * string/test-memmem.c (TEST_NAME): Likewise.
27974         * string/test-memmove.c (TEST_NAME): Likewise.
27975         * string/test-memset.c (TEST_NAME): Likewise.
27976         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27977         * string/test-stpcpy.c (TEST_NAME): Likewise.
27978         * string/test-stpncpy.c (TEST_NAME): Likewise.
27979         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27980         * string/test-strcasestr.c (TEST_NAME): Likewise.
27981         * string/test-strcat.c (TEST_NAME): Likewise.
27982         * string/test-strchr.c (TEST_NAME): Likewise.
27983         * string/test-strcmp.c(TEST_NAME): Likewise.
27984         * string/test-strcpy.c (TEST_NAME): Likewise.
27985         * string/test-strcspn.c (TEST_NAME): Likewise.
27986         * string/test-strlen.c (TEST_NAME): Likewise.
27987         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27988         * string/test-strncmp.c (TEST_NAME): Likewise.
27989         * string/test-strncpy.c (TEST_NAME): Likewise.
27990         * string/test-strnlen.c (TEST_NAME): Likewise.
27991         * string/test-strpbrk.c (TEST_NAME): Likewise.
27992         * string/test-strrchr.c (TEST_NAME): Likewise.
27993         * string/test-strspn.c (TEST_NAME): Likewise.
27994         * string/test-strstr.c (TEST_NAME): Likewise.
27995         * string/test-bcopy-ifunc.c: New file.
27996         * string/test-bzero-ifunc.c: Likewise.
27997         * string/test-memccpy-ifunc.c: Likewise.
27998         * string/test-memchr-ifunc.c: Likewise.
27999         * string/test-memcmp-ifunc.c: Likewise.
28000         * string/test-memcpy-ifunc.c: Likewise.
28001         * string/test-memmem-ifunc.c: Likewise.
28002         * string/test-memmove-ifunc.c: Likewise.
28003         * string/test-mempcpy-ifunc.c: Likewise.
28004         * string/test-memset-ifunc.c: Likewise.
28005         * string/test-rawmemchr-ifunc.c: Likewise.
28006         * string/test-stpcpy-ifunc.c: Likewise.
28007         * string/test-stpncpy-ifunc.c: Likewise.
28008         * string/test-strcasecmp-ifunc.c: Likewise.
28009         * string/test-strcasestr-ifunc.c: Likewise.
28010         * string/test-strcat-ifunc.c: Likewise.
28011         * string/test-strchr-ifunc.c: Likewise.
28012         * string/test-strchrnul-ifunc.c: Likewise.
28013         * string/test-strcmp-ifunc.c: Likewise.
28014         * string/test-strcpy-ifunc.c: Likewise.
28015         * string/test-strcspn-ifunc.c: Likewise.
28016         * string/test-strlen-ifunc.c: Likewise.
28017         * string/test-strncasecmp-ifunc.c: Likewise.
28018         * string/test-strncat-ifunc.c: Likewise.
28019         * string/test-strncmp-ifunc.c: Likewise.
28020         * string/test-strncpy-ifunc.c: Likewise.
28021         * string/test-strnlen-ifunc.c: Likewise.
28022         * string/test-strpbrk-ifunc.c: Likewise.
28023         * string/test-strrchr-ifunc.c: Likewise.
28024         * string/test-strspn-ifunc.c: Likewise.
28025         * string/test-strstr-ifunc.c: Likewise.
28027         * debug/Makefile (tests-ifunc): New variable.
28028         (tests): Add $(tests-ifunc).
28029         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28030         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28031         * debug/test-stpcpy_chk-ifunc.c: New file.
28032         * debug/test-strcpy_chk-ifunc.c: Likewise.
28034 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28036         [BZ #13601]
28037         * elf/dl-load.c (open_verify): Retry read if the entire ELF
28038         header is not read in.
28040 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
28042         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28043         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28044         directly.  Pass built executable to script as
28045         $(built-program-cmd).
28046         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28047         $testprogram without using LD_LIBRARY_PATH and $ldso.
28049         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28050         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28051         $(rtld-installed-name).
28052         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28053         (rtld_installed_name): Likewise.
28054         (library_path): Likewise.
28055         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28056         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28057         $(run-program-prefix) to tst-tables.sh.
28058         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28059         it to run tst-table-from and tst-table-to.
28060         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28061         Pass it to tst-table.sh.
28062         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28063         $(run-program-prefix) to tst-gettext.sh.
28064         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28065         tst-translit.sh.
28066         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28067         tst-gettext2.sh.
28068         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28069         to run tst-gettext.
28070         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28071         to run tst-gettext2.
28072         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28073         to run tst-translit.
28074         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28075         $(run-program-prefix) to tst-mtrace.sh.
28076         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28077         to run tst-mtrace.
28078         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28079         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28080         $(rtld-installed-name).
28081         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28082         (rtld_installed_name): Likewise.
28083         (run_program_prefix): New variable.  Use it to run wordexp-test.
28085         * Makeconfig (ARCH): Remove all definitions.
28086         (machine): Likewise.
28087         [ARCH]: Remove conditional code.
28088         [!objdir]: Give error.
28089         [!objdir] (objpfx): Remove.
28090         [!objdir] (common-objpfx): Likewise.
28091         [!objdir] (common-objdir): Likewise.
28092         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28093         AC_CONFIG_FILES call.
28094         * configure: Regenerated.
28096         [BZ #13888]
28097         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28098         or TMPDIR.
28099         (testout): Likewise.
28101         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28102         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28103         $(rtld-installed-name).
28104         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28105         (rtld_installed_name): Likwise.
28106         (runit): Remove function.
28107         (run_getconf): New variable,  Use it for running getconf binary.
28109 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28111         [BZ #14716]
28112         * string/test-memmem.c (check_result): New function.
28113         (do_one_test): Use it.
28114         (check1): New function.
28115         (test_main): Use it.
28117 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28119         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28121 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28123         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28124         (_G_LSEEK64): Likewise.
28125         (_G_MMAP64): Likewise.
28126         (_G_FSTAT64): Likewise.
28127         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28128         (_G_LSEEK64): Likewise.
28129         (_G_MMAP64): Likewise.
28130         (_G_FSTAT64): Likewise.
28131         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28132         unconditional.  Call __mmap64 directly.
28133         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28134         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28135         __lseek64 directly.
28136         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28137         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28138         __mmap64 directly.
28139         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28140         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28141         __lseek64 directly.
28142         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28143         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28144         __lseek64 directly.
28145         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28146         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28147         __lseek64 directly.
28148         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28149         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28150         __fxstat64 directly.
28151         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28152         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28153         unconditional.
28154         (freopen64) [!_G_OPEN64]: Remove conditional code.
28155         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28156         unconditional.
28157         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28158         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28159         unconditional.
28160         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28161         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28162         unconditional.
28163         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28164         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28165         unconditional.
28166         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28167         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28168         unconditional.
28169         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28170         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28171         unconditional.
28172         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28173         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28174         unconditional.
28175         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28177 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28179         [BZ #12140]
28180         * manual/memory.texi (Malloc Tunable Parameters): Add note
28181         about free list pointers overwriting some perturb bytes.
28182         Wording suggested by Roland McGrath.
28184 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28186         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28187         (lgamma_test): Likewise.
28188         (tgamma_test): Likewise.
28190 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28192         [BZ #14700]
28193         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28194         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28196 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28198         * NEWS: Mention BZ #14716.
28199         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28200         when removing AVAILABLE1_USES_J macro.
28202 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28204         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28205         (__bswap_64): __uint64_t for unsigned 64-bit int.
28207 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28209         * include/string.h (memmem): Declare libc hidden alias.
28210         * string/memmem.c (memmem): Define libc hidden alias.
28211         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28212         __read, __close instead of open, read, close.
28214 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28216         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28217         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28218         global and hidden.
28219         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28220         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28221         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28222         Likewise.
28223         (__rawmemchr_sse2): Likewise.
28224         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28225         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28226         (__strchr_sse2): Likewise.
28227         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28228         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28229         (__strcasecmp_sse2): Likewise.
28230         (__strncasecmp_sse2): Likewise.
28231         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28232         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28233         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28234         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28235         (__strrchr_sse2): Likewise.
28236         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28237         ifunc-impl-list.c.
28238         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28239         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28240         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28241         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28242         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28243         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28244         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28245         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28246         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28247         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28248         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28249         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28250         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28251         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28252         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28253         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28254         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28255         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28256         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28257         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28258         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28259         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28260         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28261         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28262         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28263         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28264         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28265         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28266         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28267         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28269         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28270         global and hidden.
28271         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28272         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28273         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28274         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28275         Likewise.
28276         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28277         Likewise.
28278         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28279         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28280         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28281         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28282         ifunc-impl-list.c.
28283         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28284         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28285         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28286         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28287         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28288         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28289         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28290         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28291         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28292         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28293         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28294         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28295         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28296         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28297         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28298         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28299         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28300         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28301         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28302         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28303         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28304         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28305         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28306         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28307         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28308         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28309         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28310         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28311         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28312         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28313         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28314         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28315         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28316         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28317         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28318         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28319         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28320         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28321         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28322         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28323         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28325         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28326         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28327         * include/ifunc-impl-list.h: New file.
28328         * misc/ifunc-impl-list.c: Likewise.
28329         * misc/Makefile (routines): Add ifunc-impl-list.
28330         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28331         * string/test-string.h: Include <ifunc-impl-list.h>.
28332         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28333         TEST_NAME]: New variables.
28334         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28335         are defined.
28336         (test_init): Call __libc_ifunc_impl_list to initialize
28337         func_list if TEST_IFUNC and TEST_NAME are defined.
28339         * string/Makefile (strop-tests): Add bcopy and bzero.
28340         * string/test-bcopy.c: New file.
28341         * string/test-bzero.c: Likewise.
28342         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28343         defined.
28344         * string/test-memset.c: Support bzero test if TEST_BZERO is
28345         defined.
28346         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28347         __libc_memmove.
28348         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28349         __libc_memset.
28350         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28351         of memset.
28353 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28355         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28356         * configure: Regenerated.
28358         * Makeconfig (+link-static-before-libc): Don't include
28359         $(link-static-libc).
28361         * libio/libio.h (_IO_pos_t): Remove.
28363 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28365         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28366         McGrath.
28368 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28370         * crypt/crypt-entry.c: Include fips-private.h.
28371         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28372         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28373         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28374         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28376 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28378         * crypt/crypt-private.h: Include stdbool.h.
28379         (_ufc_setup_salt_r): Return bool.
28380         * crypt/crypt-entry.c: Include errno.h.
28381         (__crypt_r): Return NULL with EINVAL for bad salt.
28382         * crypt/crypt_util.c (bad_for_salt): New.
28383         (_ufc_setup_salt_r): Check that salt is long enough and within
28384         the specified alphabet.
28385         * crypt/badsalttest.c: New file.
28386         * crypt/Makefile (tests): Add it.
28387         ($(objpfx)badsalttest): New.
28389 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28391         * NEWS: Add entry for BZ #14602.
28393 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28395         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28396         type-generic.
28397         * math/libm-test.inc: Update comment listing what functions and
28398         macros are tested.
28399         (isgreater_test): New function.
28400         (isgreaterequal_test): Likewise.
28401         (isless_test): Likewise.
28402         (islessequal_test): Likewise.
28403         (islessgreater_test): Likewise.
28404         (isunordered_test): Likewise.
28405         (main): Call the new functions.
28407 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28409         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28410         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28411         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28412         * sysdeps/i386/configure: Regenerated.
28413         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28414         * sysdeps/mach/configure: Regenerated.
28415         * sysdeps/mach/hurd/configure: Regenerated.
28416         * sysdeps/powerpc/configure: Regenerated.
28417         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28418         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28419         * sysdeps/s390/s390-32/configure: Regenerated.
28420         * sysdeps/s390/s390-64/configure: Regenerated.
28421         * sysdeps/sh/configure: Regenerated.
28422         * sysdeps/sparc/configure: Regenerated.
28423         * sysdeps/unix/sysv/linux/configure: Regenerated.
28424         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28425         * sysdeps/x86_64/configure: Regenerated.
28427         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28428         defined.  Don't check if MAP is NULL.
28430 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28432         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28433         (_G_stat64): Likewise.
28434         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28435         (_G_stat64): Likewise.
28436         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28437         instead of struct _G_stat64.
28438         * libio/fileops.c (mmap_remap_check): Likewise.
28439         (decide_maybe_mmap): Likewise.
28440         (_IO_new_file_seekoff): Likewise.
28441         (_IO_file_stat): Likewise.
28442         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28443         _G_off64_t.
28444         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28445         instead of struct _G_stat64.
28446         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28448 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28450         [BZ #14602]
28451         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28452         Replace with ...
28453         (CHECK_EOL): New macro.
28454         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28455         CHECK_EOL.
28456         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28457         Replace with CHECK_EOL.
28458         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28459         Replace with CHECK_EOL.
28461 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28463         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28464         type-generic.
28465         * math/libm-test.inc: Update comment listing what functions and
28466         macros are tested.
28467         (finite_test): New function.
28468         (isinf_test): Likewise.
28469         (isnan_test): Likewise.
28470         (fpclassify_test): Test subnormal input.
28471         (isfinite_test): Likewise.
28472         (isnormal_test): Likewise.
28473         (main): Call the new functions.
28475 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28477         [BZ #14660]
28478         * Makerules (%.dynsym): Force C locale when running
28479         $(OBJDUMP) --dynamic-syms.
28481 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28483         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28484         <stdint.h>.
28486 2012-10-06  David S. Miller  <davem@davemloft.net>
28488         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28489         upper 32-bits of the length value in %o2 since we use branch-on-register
28490         tests which consider the entire 64-bit register.
28492 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28494         * string/test-strstr.c (check2): Add a test for page boundary.
28496 2012-10-05  David S. Miller  <davem@davemloft.net>
28498         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28499         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28500         file.
28501         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28502         sysdep_routines.
28503         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28504         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28505         and bzero when HWCAP_SPARC_CRYPTO is present.
28507 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28509         [BZ #14602]
28510         * string/test-strstr.c (check2): New function.
28511         (test_main): Call check2.
28513         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28514         and bug-strchr1.
28515         * string/bug-strcasestr1.c (do_test): Moved to ...
28516         * string/test-strcasestr.c (check1): Here.  New function.
28517         (do_one_test): Break out result checking code into ...
28518         (check_result): This.  New function.
28519         (do_one_test): Call check_result.
28520         (test_main): Call check1.
28521         * string/bug-strchr1.c (do_test): Moved to ...
28522         * string/test-strchr.c (check1): Here.  New function.
28523         (do_one_test): Break out result checking code into ...
28524         (check_result): This.  New function.
28525         (do_one_test): Call check_result.
28526         (test_main): Call check1.
28527         * string/bug-strstr1.c (main): Moved to ...
28528         * string/test-strstr.c (check1): Here.  New function.
28529         (do_one_test): Break out result checking code into ...
28530         (check_result): This.  New function.
28531         (do_one_test): Call check_result.
28532         (test_main): Call check1.
28533         * string/bug-strcasestr1.c: Removed.
28534         * string/bug-strchr1.c: Likewise.
28535         * string/bug-strstr1.c: Likewise.
28537         * elf/Makefile (dl-routines): Add hwcaps.
28538         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28539         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28540         (_dl_important_hwcaps): Moved to ...
28541         * elf/dl-hwcaps.c: Here.  New file.
28542         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28544         [BZ #14557]
28545         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28546         if IS_IN_rtld isn't defined.
28548         * elf/dl-support.c (_dl_sysinfo_map): New.
28549         Include "get-dynamic-info.h" and "setup-vdso.h".
28550         (_dl_non_dynamic_init): Call setup_vdso.
28551         * elf/dynamic-link.h: Don't include <assert.h>.
28552         (elf_get_dynamic_info): Moved to ...
28553         * elf/get-dynamic-info.h: Here.  New file.
28554         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28555         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28556         * elf/setup-vdso.h: Here.  New file.
28557         * elf/rtld.c: Include "setup-vdso.h".
28558         (dl_main): Call setup_vdso.
28560 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28562         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28563         creal in comment listing functions tested.  List finite, isinf,
28564         isnan, isless, islessequal, isgreater, isgreaterequal,
28565         islessgreater, isunordered, lgamma_r and pow10 as functions and
28566         macros not tested.  Mention which functions not tested are aliases
28567         for other functions.  Fix typo.  Note that signs of NaNs are not
28568         tested.
28570         * scripts/config.guess: Update from config.git.
28571         * scripts/config.sub: Likewise.
28573 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28575         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28576         * misc/madvise.c (madvise): Renamed to __madvise.
28577         Make madvise a weak alias.
28578         * include/sys/mman.h: Declare __madvise.
28579         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28580         * sysdeps/unix/syscalls.list
28581         (madvise): Make __madvise the strong name, and madvise a weak alias.
28582         * sysdeps/unix/sysv/linux/syscalls.list
28583         (madvise, mmap): Remove redundant entries.
28584         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28585         * malloc/malloc.c (mtrim): Likewise.
28586         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28588 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28590         * sysdeps/mach/hurd/dl-cache.c: File removed.
28591         * config.h.in (USE_LDCONFIG): New #undef.
28592         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28593         * configure: Regenerated.
28594         * elf/Makefile (dl-routines): Add dl-cache only under
28595         [$(use-ldconfig) = yes].
28596         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28597         cache on [USE_LDCONFIG].
28598         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28599         [USE_LDCONFIG].
28600         * elf/rtld.c (dl_main): Likewise.
28602 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28604         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28605         _SC_LEVEL4_CACHE_LINESIZE.
28607 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28609         * sysdeps/unix/bsd/confstr.h: File removed.
28611 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28613         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28614         sys/sdt-config.h.
28616 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28618         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28619         Make 'mapoff' field ElfW(Off) rather than off_t.
28621 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28623         * nscd/Makefile: Remove nscd-cflags and all its users.
28624         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28625         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28627         [BZ #10631]
28628         * malloc.c (malloc_printerr): Clarify error message.
28630 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28632         [BZ #14648]
28633         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28634         Set bit_FMA_Usable if FMA is supported.
28635         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28636         macro.
28637         (bit_FMA4_Usable): Updated.
28638         (index_FMA_Usable): New macro.
28639         (CPUID_FMA): Likewise
28640         (HAS_FMA): Defined with bit_FMA_Usable.
28642 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28644         * bits/types.h (__swblk_t): Type removed.
28645         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28646         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28647         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28648         (__SWBLK_T_TYPE): Likewise.
28649         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28650         (__SWBLK_T_TYPE): Likewise.
28651         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28652         (__SWBLK_T_TYPE): Likewise.
28653         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28654         (__SWBLK_T_TYPE): Likewise.
28656 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28657             Honza Horak <hhorak@redhat.com>
28659         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28660         (xdr_mapname): Use YPMAXMAP as maxsize.
28661         (xdr_peername): Use YPMAXPEER as maxsize.
28662         (xdr_keydat): Use YPAXRECORD as maxsize.
28663         (xdr_valdat): Use YPMAXRECORD as maxsize.
28665 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28667         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28669         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28670         * csu/init-first.c: ... here.
28671         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28672         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28673         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28674         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28675         * sysdeps/i386/init-first.c: File removed.
28676         * sysdeps/sh/init-first.c: File removed.
28678 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28680         [BZ #14645]
28681         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28682         if x * y might underflow to zero and z is zero.
28683         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28684         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28685         * math/libm-test.inc (min_subnorm_value): New variable.
28686         (fma_test): Add more tests.
28687         (fma_test_towardzero): Likewise.
28688         (fma_test_downward): Likewise
28689         (fma_test_upward): Likewise.
28690         (initialize): Set min_subnorm_value.
28692 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28694         [BZ #14638]
28695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28696         0 + 0.
28697         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28698         mode for addition resulting in exact zero.
28699         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28700         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28701         exact 0 + 0.
28702         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28703         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28704         * math/libm-test.inc (fma_test): Add more tests.
28705         (fma_test_towardzero): New function.
28706         (fma_test_downward): Likewise.
28707         (fma_test_upward): Likewise.
28708         (main): Call the new functions.
28710 2012-09-28  David S. Miller  <davem@davemloft.net>
28712         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28714 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28716         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28717         instead of SIGALRM.
28719         * sysdeps/gnu/_G_config.h: Moved to ...
28720         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28721         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28722         * sysdeps/generic/_G_config.h: ... here.
28724         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28726         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28728         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28729         Conditionalize target on [libnss_test1.so-version].
28731         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28733         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28734         (elfobjdir): Move out of conditionals.
28736         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28737         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28738         (__nss_lookup_function): Conditionalize label remove_from_tree on
28739         [!DO_STATIC_NSS || SHARED], matching its only use.
28741 2012-09-28  David S. Miller  <davem@davemloft.net>
28743         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28744         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28745         file.
28746         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28747         sysdep_routines.
28748         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28749         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28750         when HWCAP_SPARC_CRYPTO is present.
28752 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28754         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28756 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28758         [BZ #6530]
28759         * stdio-common/vfprintf.c (process_string_arg): Revert
28760         2000-07-22 change.
28762 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28764         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28765         for testcase.
28766         * stdio-common/tst-sprintf.c: Include <locale.h>
28767         (main): Test sprintf's handling of incomplete multibyte
28768         characters.
28770 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28772         * elf/dl-runtime.c (VERSYMIDX): Removed.
28773         * elf/dl-version.c (VERSYMIDX): Likewise.
28774         * elf/do-rel.h (VERSYMIDX): Likewise.
28775         (VALIDX): Likewise.
28776         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28777         * elf/rtld.c (VALIDX): Likewise.
28778         (ADDRIDX): Likewise.
28779         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28780         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28781         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28782         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28783         (VALIDX): Likewise.
28784         (ADDRIDX): Likewise.
28786 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28788         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28790 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28792         [BZ #11438]
28793         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28794         to global scope.
28795         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28796         addresses are in the same scope as 192.0.2/24.
28797         * posix/gai.conf: Document new scope table defaults.
28799 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28801         [BZ #5298]
28802         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28803         for ftell.  Compute offsets from write pointers instead.
28804         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28806 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28808         [BZ #14543]
28809         * libio/Makefile (tests): New test case tst-fseek.
28810         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28811         combination works in wide mode.
28812         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28813         state when the external buffer state changes.
28815 2012-09-27  David S. Miller  <davem@davemloft.net>
28817         [BZ #14376]
28818         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28819         pass reloc->r_addend in as the 'high' argument to
28820         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28824 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28826         * rt/tst-aio2.c: Include <pthread.h>.
28827         * rt/tst-aio3.c: Likewise.
28829 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28831         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28833 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28835         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28836         contents on [SHARED].
28838 2012-09-26  Marek Polacek  <polacek@redhat.com>
28840         [BZ #14530]
28841         [BZ #13741]
28842         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28843         for C++ and GCC <4.3 as well as for non GCC compilers.
28845 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28847         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28849 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28851         * Makefile.in (all, install): Declare with .PHONY.
28852         Reported by Michael Hope <michael.hope@linaro.org>.
28854 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28856         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28857         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28858         system header.
28859         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28860         Likewise.
28861         (sydep_routines): Add the new and the internal functions.
28862         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28863         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28865         (GLIBC_2.17): Add the new function.
28866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28867         (GLIBC_2.17): Likewise.
28868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28869         (GLIBC_2.17): Likewise.
28870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28871         (GLIBC_2.17): Likewise.
28872         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28874 2012-09-25  Alan Modra  <amodra@gmail.com>
28876         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28877         Add release barrier before setting once_control to say
28878         initialisation is done.  Add hints on lwarx.  Use macro in
28879         place of isync.
28880         (clear_once_control): Add release barrier.
28882 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28884         [BZ #13629]
28885         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28886         specially.
28887         * math/s_clog10.c (__clog10): Likewise.
28888         * math/s_clog10f.c (__clog10f): Likewise.
28889         * math/s_clog10l.c (__clog10l): Likewise.
28890         * math/s_clogf.c (__clogf): Likewise.
28891         * math/s_clogl.c (__clogl): Likewise.
28892         * math/Makefile (libm-calls): Add x2y2m1.
28893         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28894         (__x2y2m1): Likewise.
28895         (__x2y2m1l): Likewise.
28896         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28897         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28898         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28899         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28900         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28901         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28902         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28903         * sysdeps/i386/fpu/libm-test-ulps: Update.
28904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28906         [BZ #14621]
28907         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28908         int as type of variable DEPTH.
28909         (glob): Use size_t instead of int as type of variables NEWCOUNT
28910         and OLD_PATHC.
28912 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28914         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28915         Add s_sincosf-sse2.
28916         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28917         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28918         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28919         macros for using routine as __sincosf_ia32.
28920         Use macro for function declaration and weak_alias.
28921         * sysdeps/i386/fpu/libm-test-ulps: Update.
28923         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28924         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28926         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28927         subnormal argument.
28928         * math/s_cexpf.c (__cexpf): Likewise.
28929         * math/s_csinf.c (__csinf): Likewise.
28930         * math/s_csinhf.c (__csinhf): Likewise.
28931         * math/s_ctanf.c (__ctanf): Likewise.
28932         * math/s_ctanhf.c (__ctanhf): Likewise.
28933         * math/s_ccosh.c (__ccoshf): Likewise.
28934         * math/s_cexp.c (__cexpl): Likewise.
28935         * math/s_csin.c (__csin): Likewise.
28936         * math/s_csinh.c (__csinh): Likewise.
28937         * math/s_ctan.c (__ctan): Likewise.
28938         * math/s_ctanh.c (ctanh): Likewise.
28939         * math/s_ccoshl.c (__ccoshl): Likewise.
28940         * math/s_cexpl.c (__cexpl): Likewise.
28941         * math/s_csinl.c (__csinl): Likewise.
28942         * math/s_csinhl.c (__csinhl): Likewise.
28943         * math/s_ctanl.c (__ctanl): Likewise.
28944         * math/s_ctanhl.c (__ctanhl): Likewise.
28946 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28948         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28949         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28950         (_IO_off_t): Define to __off_t, not _G_off_t.
28951         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28952         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28953         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28954         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28955         type of __dummy and __dummy2 fields.
28956         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28957         (_G_ssize_t): Likewise.
28958         (_G_off_t): Likewise.
28959         (_G_pid_t): Likewise.
28960         (_G_uid_t): Likewise.
28961         (_G_wchar_t): Likewise.
28962         (_G_wint_t): Likewise.
28963         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28964         (_G_ssize_t): Likewise.
28965         (_G_off_t): Likewise.
28966         (_G_pid_t): Likewise.
28967         (_G_uid_t): Likewise.
28968         (_G_wchar_t): Likewise.
28969         (_G_wint_t): Likewise.
28970         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28971         (_G_ssize_t): Likewise.
28972         (_G_off_t): Likewise.
28973         (_G_pid_t): Likewise.
28974         (_G_uid_t): Likewise.
28975         (_G_wchar_t): Likewise.
28976         (_G_wint_t): Likewise.
28978 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28980         * malloc/arena.c: Include malloc-sysdep.h.
28981         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28982         is sufficient to shrink the heap or an unmap is needed.
28983         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28984         new function check_may_shrink_heap.
28985         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28986         new function check_may_shrink_heap.
28988 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28990         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28991         comments.
28993 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28995         * catgets/test-gencat.sh: Add "set -e".
28996         * elf/tst-pathopt.sh: Likewise.
28997         * grp/tst_fgetgrent.sh: Likewise.
28998         * iconvdata/run-iconv-test.sh: Likewise.
28999         * intl/tst-gettext.sh: Likewise.
29000         * intl/tst-gettext2.sh: Likewise.
29001         * intl/tst-gettext4.sh: Likewise.
29002         * intl/tst-gettext6.sh: Likewise.
29003         * intl/tst-translit.sh: Likewise.
29004         * io/ftwtest-sh: Likewise.
29005         * libio/test-freopen.sh: Likewise.
29006         * malloc/tst-mtrace.sh: Likewise.
29007         * posix/globtest.sh: Likewise.
29008         * posix/tst-getconf.sh: Likewise.
29009         * posix/wordexp-tst.sh: Likewise.
29010         * stdio-common/tst-printf.sh: Likewise.
29011         * stdio-common/tst-unbputc.sh: Likewise.
29012         * stdlib/tst-fmtmsg.sh: Likewise.
29013         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29014         * catgets/Makefile: Do not specify -e option when running
29015         testsuite shell scripts.
29016         * elf/Makefile: Likewise.
29017         * grp/Makefile: Likewise.
29018         * iconvdata/Makefile: Likewise.
29019         * intl/Makefile: Likewise.
29020         * io/Makefile: Likewise.
29021         * libio/Makefile: Likewise.
29022         * malloc/Makefile: Likewise.
29023         * posix/Makefile: Likewise.
29024         * stdio-common/Makefile: Likewise.
29025         * stdlib/Makefile: Likewise.
29026         * sysdeps/x86_64/Makefile: Likewise.
29028         * io/ftwtest-sh: Add copyright header.
29029         * posix/globtest.sh: Likewise.
29030         * posix/tst-getconf.sh: Likewise.
29031         * posix/wordexp-tst.sh: Likewise.
29032         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29034 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
29036         [BZ #13679]
29037         * Makeconfig (+link): Defined as $(+link-static) if
29038         $(build-shared) isn't yes.
29039         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29040         isn't yes.
29041         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29043         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29045         [BZ #14562]
29046         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29047         new chunk size with MALLOC_ALIGN_MASK.
29049 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29051         [BZ #5044]
29052         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29053         <rounding-mode.h>.
29054         (__printf_fphex): Determine rounding using get_rounding_mode and
29055         round_away.
29056         * stdio-common/tst-printf-round.c (struct hex_test): New
29057         structure.
29058         (hex_tests): New variable.
29059         (test_hex_in_one_mode): New function.
29060         (do_test): Also run tests for hex float output.
29062 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29064         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29065         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29066         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29067         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29068         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29069         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29070         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29071         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29073 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29075         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29076         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29077         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29078         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29080 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29082         [BZ #14579]
29083         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29084         mode only.
29085         * elf/tst-rtld-load-self.sh: New test.
29086         * elf/Makefile: Run it.
29088 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29090         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29091         (tst-writev-ENV): Remove.
29092         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29094 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29096         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29098 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29100         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29101         unconditional.
29102         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29103         Likewise.
29104         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29105         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29106         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29107         Likewise.
29109 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29111         [BZ #14587]
29112         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29113         * config.make.in (have-cpp-asm-debuginfo): Removed.
29114         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29115         * configure: Regenerated.
29117 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29119         [BZ #5044]
29120         * stdio-common/printf_fp.c: Include <stdbool.h> and
29121         <rounding-mode.h>.
29122         (___printf_fp): Determine rounding using get_rounding_mode and
29123         round_away.
29124         * stdio-common/tst-printf-round.c: New file.
29125         * stdio-common/Makefile (tests): Add tst-printf-round.
29126         (link-libm): New variable.
29127         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29129 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29131         [BZ #14576]
29132         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29133         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29134         Likewise.
29135         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29136         Likewise.
29138 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29140         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29141         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29142         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29143         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29145 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29147         [BZ #14518]
29148         * include/rounding-mode.h: New file.
29149         * sysdeps/generic/get-rounding-mode.h: Likewise.
29150         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29151         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29152         (MAX_VALUE): New macro.
29153         (MIN_VALUE): Likewise.
29154         (overflow_value): New function.
29155         (underflow_value): Likewise.
29156         (round_and_return): Use overflow_value and underflow_value to
29157         determine return values in overflow and underflow cases.  Use
29158         round_away to determine rounding depending on rounding mode.
29159         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29160         determine return values in overflow and underflow cases.
29161         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29162         (struct test_results): New structure.
29163         (struct test): Use struct test_results to store expected results
29164         for all rounding modes.
29165         (TEST): Include expected results for all rounding modes.
29166         (test_in_one_mode): New function.
29167         (do_test): Use test_in_one_mode to compute and check results.
29168         Check results for all rounding modes.
29169         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29170         $(link-libm).
29172 2012-12-09  Allan McRae  <allan@archlinux.org>
29174         * sysdeps/i386/fpu/libm-test-ulps: Update
29176 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29178         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29179         (_G_int32_t): Likewise.
29180         (_G_uint16_t): Likewise.
29181         (_G_uint32_t): Likewise.
29182         (_G_HAVE_BOOL): Likewise.
29183         (_G_HAVE_ATEXIT): Likewise.
29184         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29185         (_G_HAVE_IO_FILE_OPEN): Likewise.
29186         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29187         (_G_int32_t): Likewise.
29188         (_G_uint16_t): Likewise.
29189         (_G_uint32_t): Likewise.
29190         (_G_HAVE_BOOL): Likewise.
29191         (_G_HAVE_ATEXIT): Likewise.
29192         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29193         (_G_HAVE_IO_FILE_OPEN): Likewise.
29194         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29195         (_G_int32_t): Likewise.
29196         (_G_uint16_t): Likewise.
29197         (_G_uint32_t): Likewise.
29198         (_G_HAVE_BOOL): Likewise.
29199         (_G_HAVE_ATEXIT): Likewise.
29200         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29201         (_G_HAVE_IO_FILE_OPEN): Likewise.
29203 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29205         * csu/libc-tls.c: Update copyright years.
29207 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29209         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29210         [!_G_USING_THUNKS]: Remove conditional code.
29211         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29212         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29214         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29215         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29216         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29217         (_G_VTABLE_LABEL_PREFIX): Likewise.
29218         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29219         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29220         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29221         (_G_VTABLE_LABEL_PREFIX): Likewise.
29222         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29223         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29224         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29225         (_G_VTABLE_LABEL_PREFIX): Likewise.
29226         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29228 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29230         * libio/Makefile: Include ../Makeconfig before tests.
29231         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29232         only if $(build-shared) is yes.
29234         * iconv/gconv_db.c: Update copyright years.
29236 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29238         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29239         unwind info if defined PIC. Fix special cases description.
29240         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29242         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29243         DP_HI_MASK entry.
29244         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29246 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29248         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29250         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29251         is NULL.
29253         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29254         (LDLIBS-tst-chk4): This.
29255         (LDFLAGS-tst-chk5): Renamed to ...
29256         (LDLIBS-tst-chk5): This.
29257         (LDFLAGS-tst-chk6): Renamed to ...
29258         (LDLIBS-tst-chk6): This.
29259         (LDFLAGS-tst-lfschk4): Renamed to ...
29260         (LDLIBS-tst-lfschk4): This.
29261         (LDFLAGS-tst-lfschk5): Renamed to ...
29262         (LDLIBS-tst-lfschk5): This.
29263         (LDFLAGS-tst-lfschk6): Renamed to ...
29264         (LDLIBS-tst-lfschk6): This.
29266         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29267         on $(common-objpfx)soversions.mk.
29269 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29271         [BZ #10014]
29272         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29273         example host name.
29275 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29277         * malloc/arena.c (arena_get_retry): New function that gets
29278         another arena for the caller to try its request on.
29279         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29280         current arena cannot fulfill the request.
29281         (__libc_memalign): Likewise.
29282         (__libc_memalign): Likewise.
29283         (__libc_pvalloc): Likewise.
29284         (__libc_calloc): Likewise.
29286 2012-09-05  John Tobey  <john.tobey@gmail.com>
29288         [BZ #13542]
29289         * manual/arith.texi (Operations on Complex): Fix description
29290         of carg branch cut.
29292 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29294         [BZ #10014]
29295         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29296         host name.
29298         [BZ #10038]
29299         * manual/memory.texi (Memory): Make order of menu items match
29300         order of sections.
29302 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29304         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29305         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29306         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29308 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29310         * csu/libc-tls.c (static_dtv): Renamed to ...
29311         (_dl_static_dtv): This.  Make it global.
29312         (_dl_initial_dtv): Removed.
29313         (__libc_setup_tls): Updated.
29314         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29315         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29316         DL_INITIAL_DTV.
29318 2012-09-06  Petr Machata  <pmachata@redhat.com>
29320         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29321         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29322         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29323         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29325 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29327         [BZ #14545]
29328         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29329         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29330         freeing dtv[-1].
29332 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29334         [BZ #14544]
29335         * Makeconfig (link-static-before-libc): Replace $(+prector)
29336         with $(+prectorT).
29337         (link-static-after-libc): Replace $(+postctor) with
29338         $(+postctorT).
29339         (link-bounded): Replace $(+prector)/$(+postctor) with
29340         $(+prectorT)/$(+postctorT).
29341         (+prectorT): New macro.
29342         (+postctorT): Likewise.
29344 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29346         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29347         (round_str): Handle values above the maximum for IBM long double
29348         as inexact.
29349         * stdlib/tst-strtod-round.c (tests): Regenerated.
29351 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29353         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29354         assembler flag.
29355         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29356         zarch_nohighgprs around the zarch optimized routines.
29357         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29358         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29359         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29360         for zarch.
29362 2012-09-05  David S. Miller  <davem@davemloft.net>
29364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29366         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29367         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29368         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29369         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29370         entries.
29372 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29374         * malloc/arena.c: Fold copyright years.
29375         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29377 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29379         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29381 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29383         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29385 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29387         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29388         change internal state upon failure.
29390 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29392         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29393         * malloc/memusage.c (mmap): Likewise.
29394         (mmap64, mremap): Likewise.  Adjust name in comment.
29396 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29398         * libio/fileops.c: Fix typos in comments.
29399         * libio/oldfileops.c: Likewise.
29400         * libio/wfileops.c: Likewise.
29402 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29404         [BZ #1349]
29405         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29406         (tst-malloc-usable-ENV): Set environment for test case.
29407         * malloc/hooks.c (malloc_check_get_size): New function to get
29408         requested size.
29409         * malloc/malloc.c (musable): Use malloc_check_get_size.
29410         * malloc/tst-malloc-usable.c: New test case.
29412 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29414         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29416 2012-09-05  Allan McRae  <allan@archlinux.org>
29418         [BZ #13966]
29419         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29420         determine header location.
29421         * configure: Regenerated.
29423 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29425         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29426         float format.
29427         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29428         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29429         format.
29430         (test): Regenerate.
29432 2012-09-04  David S. Miller  <davem@davemloft.net>
29434         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29435         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29436         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29438 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29440         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29441         failures.
29443         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29445 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29447         [BZ #9914]
29448         * libio/iogetdelim.c: Include <limits.h>.
29449         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29450         + len + 1 would overflow.
29452 2012-09-03  Andreas Jaeger  <aj@suse.de>
29454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29455         * sysdeps/i386/fpu/libm-test-ulps: Update.
29457 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29459         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29460         Add s_sinf-sse2, s_conf-sse2.
29462         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29463         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29464         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29465         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29467         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29468         for using routine as __sinf_ia32.
29469         Use macro for function declaration and weak_alias.
29470         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29471         for using routine as __cosf_ia32.
29472         Use macro for function declaration and weak_alias.
29474         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29475         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29477         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29478         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29481         * math/libm-test.inc (cos_test): Add more test cases.
29482         (sin_test): Likewise.
29483         (sincos_test): Likewise.
29485 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29487         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29488         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29489         hidden.
29490         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29492 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29494         [BZ #14538]
29495         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29496         first element of the GOT.
29497         (elf_machine_load_address): Return the difference between
29498         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29500 2012-09-01  Allan McRae  <allan@archlinux.org>
29502         [BZ #13412]
29503         * configure.in (AWK): Require gawk version 3.0 or later.
29504         * configure: Regenerated.
29506 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29508         * sysdeps/unix/sysv/linux/kernel-features.h
29509         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29510         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29511         [__NR_clock_getres]: Make code unconditional.
29512         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29513         (clock_getcpuclockid): Remove code left unreachable by removal of
29514         conditionals.
29515         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29516         code unconditional.
29517         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29518         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29519         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29520         Make code unconditional.
29521         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29522         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29523         * sysdeps/unix/sysv/linux/clock_settime.c
29524         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29525         conditional code.
29526         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29527         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29529 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29531         [BZ #14476]
29532         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29533         scripts/test-installation.pl.
29535         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29536         and $ld_so_version if it is set.
29538 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29540         [BZ #14516]
29541         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29542         failure if reading from procfs failed.
29543         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29545 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29547         * sysdeps/unix/sysv/linux/kernel-features.h
29548         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29549         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29550         Remove conditional code.
29551         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29552         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29553         Remove conditional code.
29554         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29555         * sysdeps/unix/sysv/linux/i386/fxstat.c
29556         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29557         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29558         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29559         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29560         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29561         * sysdeps/unix/sysv/linux/i386/lxstat.c
29562         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29563         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29564         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29565         Remove conditional code.
29566         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29567         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29568         Remove conditional code.
29569         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29570         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29571         <kernel-features.h>.
29572         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29573         Remove.
29574         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29575         Remove conditional code.
29576         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29577         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29578         Remove conditional.
29580 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29582         [BZ #5400]
29583         * NEWS: Add fixed bug number.
29585 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29587         [BZ #14519]
29588         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29589         underflowing exponent in case of negative sign.
29590         * stdlib/tst-strtod-round-data: Add more tests.
29591         * stdlib/tst-strtod-round.c (tests): Regenerated.
29593         [BZ #3479]
29594         * stdlib/strtod_l.c (NDIG): Remove.
29595         (HEXNDIG): Likewise.
29596         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29597         smallest representable value.
29598         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29599         lie within an exact representation of 1/2 ulp of the result.
29600         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29601         unconditionally.
29602         (TENS_P9_IDX): Define unconditionally.
29603         (TENS_P9_SIZE): Likewise.
29604         (TENS_P10_IDX): Likewise.
29605         (TENS_P10_SIZE): Likewise.
29606         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29607         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29608         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29609         entries for 10^2^13 and 10^2^14.
29610         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29611         (TENS_P13_IDX): Define.
29612         (TENS_P13_SIZE): Likewise.
29613         (TENS_P14_IDX): Likewise.
29614         (TENS_P14_SIZE): Likewise.
29615         (_fpioconst_pow10): Change array size to
29616         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29617         unconditional.
29618         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29619         1024]: Add entries for 10^2^13 and 10^2^14.
29620         [LAST_POW10 > _LAST_POW10]: Remove #error.
29621         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29622         (_fpioconst_pow10): Change array size to
29623         FPIOCONST_POW10_ARRAY_SIZE.
29624         * stdlib/gen-fpioconst.c: New file.
29625         * stdlib/gen-tst-strtod-round.c: Likewise.
29626         * stdlib/tst-strtod-round-data: Likewise.
29627         * stdlib/tst-strtod-round.c: Likewise.
29628         * stdlib/Makefile (tests): Add tst-strtod-round.
29630         [BZ #14459]
29631         * stdlib/strtod_l.c: Include <stdint.h>.
29632         (NDEBUG): Do not define.
29633         (round_and_return): Change EXPONENT parameter to type intmax_t.
29634         Rearrange calculations to avoid internal overflow possibilities.
29635         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29636         Rearrange calculations to avoid internal overflow possibilities.
29637         Assert that number fits inside MPNSIZE limbs.
29638         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29639         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29640         calculations and add assertions to avoid internal overflow
29641         possibilities.  Add casts to avoid signed/unsigned operations.
29642         * stdlib/tst-strtod-overflow.c: New file.
29643         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29645 2012-08-25  Marek Polacek  <polacek@redhat.com>
29647         * time/time.h: Fix some typos in comments.
29649 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29651         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29652         * posix/tst-rfc3484-2.c: Likewise.
29653         * posix/tst-rfc3484-3.c: Likewise.
29655 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29657         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29658         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29660 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29662         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29663         #include of fxstatat64.c.
29665 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29667         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29668         * shadow/getspent_r.c: Likewise.
29669         * shadow/getspnam.c: Likewise.
29670         * shadow/getspnam_r.c: Likewise.
29671         * gshadow/getsgent.c: Likewise.
29672         * gshadow/getsgent_r.c: Likewise.
29673         * gshadow/getsgnam.c: Likewise.
29674         * gshadow/getsgnam_r.c: Likewise.
29675         * inet/getnetbyad.c: Likewise.
29676         * inet/getnetbyad_r.c: Likewise.
29677         * inet/getnetbynm.c: Likewise.
29678         * inet/getnetbynm_r.c: Likewise.
29679         * inet/getnetent.c: Likewise.
29680         * inet/getnetent_r.c: Likewise.
29681         * inet/getproto.c: Likewise.
29682         * inet/getproto_r.c: Likewise.
29683         * inet/getprtent.c: Likewise.
29684         * inet/getprtent_r.c: Likewise.
29685         * inet/getprtname.c: Likewise.
29686         * inet/getprtname_r.c: Likewise.
29687         * inet/getrpcbyname.c: Likewise.
29688         * inet/getrpcbyname_r.c: Likewise.
29689         * inet/getrpcbynumber.c: Likewise.
29690         * inet/getrpcbynumber_r.c: Likewise.
29691         * inet/getrpcent.c: Likewise.
29692         * inet/getrpcent_r.c: Likewise.
29693         * inet/getaliasent.c: Likewise.
29694         * inet/getaliasent_r.c: Likewise.
29695         * inet/getaliasname.c: Likewise.
29696         * inet/getaliasname_r.c: Likewise.
29697         * nscd/getgrgid_r.c: Likewise.
29698         * nscd/getgrnam_r.c: Likewise.
29699         * nscd/gethstbyad_r.c: Likewise.
29700         * nscd/gethstbynm3_r.c: Likewise.
29701         * nscd/getpwnam_r.c: Likewise.
29702         * nscd/getpwuid_r.c: Likewise.
29703         * nscd/getsrvbynm_r.c: Likewise.
29704         * nscd/getsrvbypt_r.c: Likewise.
29705         * nscd/gai.c: Likewise.
29707         * configure.in (build_nscd): New substituted variable, set
29708         by --disable-build-nscd and defaults to $use_nscd.
29709         * configure: Regenerated.
29710         * config.make.in (build-nscd): New substituted variable.
29711         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29712         Change conditional to require [$(build-nscd) = yes] as well.
29713         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29715         [BZ# 13696]
29716         * configure.in (use_nscd): New substituted variable, set by
29717         --disable-nscd.  If enabled, define USE_NSCD.
29718         * configure: Regenerated.
29719         * config.h.in: Add USE_NSCD.
29720         * config.make.in (use-nscd): New substituted variable.
29721         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29722         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29723         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29724         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29725         (CFLAGS-getgrnam_r.c): Likewise.
29726         (CFLAGS-initgroups.c): Likewise.
29727         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29728         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29729         Variables removed.
29730         * inet/getnetgrent_r.c
29731         (nscd_setnetgrent): New function, broken out of ...
29732         (setnetgrent): ... here.  Call it.
29733         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29734         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29735         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29736         * nscd/Makefile (routines, aux): Move definitions after include of
29737         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29738         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29739         Conditionalize on [USE_NSCD].
29740         (is_nscd, nscd_init_cb): Likewise.
29741         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29742         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29743         * nss/nss_db/db-init.c: Likewise.
29744         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29745         [USE_NSCD].
29746         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29747         (make_request): Use it.
29748         (cache_valid_p): New function.
29749         (__check_pf): Use it.
29750         * NEWS: Add item for --disable-nscd.
29752 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29754         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29755         to support sed >= 4.2.1-20-ga9bf076.
29756         * configure: Regenerated.
29758 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29760         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29761         Conditionalize whole body on [IREL].
29763 2012-08-22  Jeff Law <law@redhat.com>
29765         [BZ #14505]
29766         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29767         if the family is PF_UNSPEC.
29769 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29771         * Makerules (lib-version): Rename from V.
29772         (install-lib-nosubdir): Change V to lib-version.
29774 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29776         [BZ #14252]
29777         * powerpc32/power6/wcschr.c: New file.
29778         * powerpc32/power6/wcscpy.c: New file.
29779         * powerpc32/power6/wcsrchr.c: New file.
29780         * powerpc64/power6/wcschr.c: New file.
29781         * powerpc64/power6/wcscpy.c: New file.
29782         * powerpc64/power6/wcsrchr.c: New file.
29784 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29786         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29787         (two_way_short_needle): Use it.
29788         * string/strstr.c (AVAILABLE1_USES_J): Define.
29789         * string/strcasestr.c: Likewise.
29791         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29792         array references.
29793         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29795         [BZ #11607]
29796         * NEWS: Add an entry.
29797         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29798         define their defaults.
29799         (two_way_short_needle): Detect end-of-string on-the-fly.
29800         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29801         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29802         * string/bug-strcasestr1.c: New test.
29803         * string/Makefile: Run it.
29805 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29807         [BZ #11607]
29808         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29809         the first character.
29811 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29813         * csu/elf-init.c (__libc_csu_irel): Function removed.
29814         * csu/libc-start.c (apply_irel): New function.
29815         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29817 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29819         * sysdeps/unix/sysv/linux/kernel-features.h
29820         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29821         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29822         <kernel-features.h>.
29823         [__NR_fadvise64_64]: Make code unconditional.
29824         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29825         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29826         !__NR_fadvise64_64)]: Likewise.
29827         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29828         !__NR_fadvise64_64))]: Likewise.
29829         [__NR_fadvise64]: Make code unconditional.
29830         [!__NR_fadvise64]: Remove conditional code.
29831         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29832         <kernel-features.h>.
29833         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29834         unconditional.
29835         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29836         conditional code.
29837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29838         not include <kernel-features.h>.
29839         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29840         unconditional.
29841         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29842         conditional code.
29843         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29844         include <kernel-features.h>.
29845         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29846         unconditional.
29847         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29848         conditional code.
29850 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29852         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29853         slight instruction rearrangements per scrollpipe analysis.
29854         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29856 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29858         * manual/syslog.texi (syslog; vsyslog, closelog):
29859         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29860         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29862         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29863         DSOCAPS to match condition on defining it.
29865 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29867         * sysdeps/unix/sysv/linux/kernel-features.h
29868         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29870         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29871         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29873         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29874         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29876         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29877         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29879         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29880         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29882         * sysdeps/unix/sysv/linux/kernel-features.h
29883         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29884         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29885         unconditional.
29886         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29887         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29888         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29889         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29890         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29891         Make code unconditional.
29892         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29893         (__mmap64) [!__NR_mmap2]: Likewise.
29894         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29895         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29896         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29897         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29898         [__NR_mmap2]: Make code unconditional.
29899         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29900         (__mmap64) [!__NR_mmap2]: Likewise.
29902 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29904         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29906 2012-08-18  Andreas Jaeger  <aj@suse.de>
29908         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29910 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29912         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29913         * include/unistd.h (__have_sock_cloexec): Likewise.
29914         (__have_pipe2): Likewise.
29915         (__have_dup3): Likewise.
29917 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29919         [BZ #9685]
29920         * include/unistd.h (__have_pipe2): Change define into an extern int.
29921         (__have_dup3): Likewise.
29922         * socket/have_sock_cloexec.c: Include fcntl.h.
29923         (__have_pipe2): New variable.
29924         (__have_dup3): Likewise.
29926 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29928         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29930 2012-08-17  Marek Polacek  <polacek@redhat.com>
29932         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29933         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29935 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29937         * configure.in: Add AC_SUBST for sysheaders.
29938         * configure: Regenerated.
29939         * config.make.in (sysheaders): New substituted variable.
29941         * sysdeps/unix/mkfifo.c: Moved ...
29942         * sysdeps/posix/mkfifo.c: ... here.
29943         * sysdeps/unix/mkfifoat.c: Moved ...
29944         * sysdeps/posix/mkfifoat.c: ... here.
29946         * sysdeps/unix/utime.c: Moved ...
29947         * sysdeps/posix/utime.c: ... here.
29949         * sysdeps/unix/time.c: Moved ...
29950         * sysdeps/posix/time.c: ... here.
29951         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29952         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29954         * sysdeps/unix/nice.c: Moved ...
29955         * sysdeps/posix/nice.c: ... here.
29957         * sysdeps/unix/alarm.c: Moved ...
29958         * sysdeps/posix/alarm.c: ... here.
29960         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29962 2012-08-17  Jeff Law <law@redhat.com>
29964         * intl/Makefile (codeset_mo): New variable.
29965         ($(codeset_mo)): New target.
29966         (tst-codeset.out): Depend on that.  Remove explicit rule.
29967         (tst-gettext3.out, tst-gettext5.out): Likewise.
29968         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29969         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29970         * intl/tst-codeset.sh: Remove.
29971         * intl/tst-gettext3.sh: Likewise.
29972         * intl/tst-gettext5.sh: Likewise.
29974 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29976         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29977         * sysdeps/unix/syscalls.list: ... here.
29979         * sysdeps/posix/getaddrinfo.c
29980         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29981         (gaiconf_init, gaiconf_reload): Use them.
29982         [!_STATBUF_ST_NSEC]
29983         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29984         Define using time_t rather than struct timespec.
29986         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29987         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29988         Macros removed.
29989         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29990         [!NO_THREADS].
29991         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29992         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29993         Likewise.
29995         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29996         __libc_cleanup_push argument.
29998         * bits/param.h: New file.
29999         * misc/sys/param.h: New file.
30000         * include/sys/param.h: New file.
30001         * misc/Makefile (headers): Add bits/param.h.
30002         * sysdeps/generic/sys/param.h: File removed.
30003         * sysdeps/unix/sysv/linux/bits/param.h: New file.
30004         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30005         * sysdeps/mach/hurd/bits/param.h: New file.
30006         * sysdeps/mach/hurd/sys/param.h: File removed.
30008         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30009         last change.
30011         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30012         [_IO_MTSAFE_IO].
30013         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30014         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30015         New macros.
30017         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30018         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30019         rather than -D_IO_MTSAFE_IO conditionally.
30020         * stdio-common/Makefile (CPPFLAGS): Likewise.
30021         * wcsmbs/Makefile (CPPFLAGS): Likewise.
30022         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30023         Use $(libio-mtsafe).
30024         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30025         of -D_IO_MTSAFE_IO.
30026         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30027         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30028         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30029         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30030         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30031         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30032         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30033         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30034         (CFLAGS-fread_u_chk.c): Likewise.
30035         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30036         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30037         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30038         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30039         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30040         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30041         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30042         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30043         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30045         * libio/Makefile: Test [$(libc-reentrant) = yes]
30046         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30048         * Makeconfig
30049         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30050         * sysdeps/pthread/configure: File removed.
30051         * sysdeps/pthread/Makeconfig: New file.
30052         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30053         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30055 2012-08-16  Gary Benson  <gbenson@redhat.com>
30057         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30058         unmapping the first object in a namespace.
30060 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30062         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30063         (__internal_setnetgrent): ... this.  Add internal_function to
30064         definition.  Add libc_hidden_def.
30065         (setnetgrent): Update caller.
30066         (internal_endnetgrent): Renamed to ...
30067         (__internal_endnetgrent): ... this.  Add internal_function to
30068         definition.  Add libc_hidden_def.
30069         (endnetgrent): Update caller.
30070         (internal_getnetgrent_r): Renamed to ...
30071         (__internal_getnetgrent_r): ... this.  Add internal_function to
30072         definition.  Add libc_hidden_def.
30073         (__getnetgrent_r): Update caller.
30074         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30076 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30078         * stdlib/longlong.h: Update from GCC.
30080 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30082         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30083         on _QL, which is set by umul_ppmm but never used.
30084         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30085         variables, which are set by GMP macros but never used.
30086         * stdio-common/_itowa.c (_itowa): Likewise.
30087         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30088         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30090 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30092         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30093         struct La_sh_regs is not constant.
30094         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30095         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30096         and struct La_sparc64_regs are not constant.
30098 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30100         * sysdeps/unix/sysv/linux/kernel-features.h
30101         (__ASSUME_POSIX_TIMERS): Remove.
30102         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30103         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30104         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30105         Make code unconditional.
30106         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30107         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30108         Make code unconditional.
30109         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30110         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30111         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30112         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30113         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30114         Make code unconditional.
30115         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30116         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30117         (__libc_missing_posix_timers): Remove.
30119 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30121         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30122         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30124         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30126         * elf/dl-sym.c: Include <stdlib.h>.
30128         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30129         constants, which avoids warnings in 32-bit builds.
30131         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30132         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30134         * misc/lseek.c: File moved to ...
30135         * io/lseek.c: ... here.
30137         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30139         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30140         shifting LEN more than 31 bits at once.
30142 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30144         [BZ #14195]
30145         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30146         segmentation fault for a case of two empty input strings.
30147         * string/test-strncasecmp.c (check1): Renamed to...
30148         (bz12205): ...this.
30149         (bz14195): Add new testcase for two empty input strings and N > 0.
30150         (test_main): Call new testcase, adapt for renamed function.
30152 2012-08-15  Andreas Jaeger  <aj@suse.de>
30154         [BZ #14090]
30155         * crypt/md5test2.c: New test, based on test supplied by Serge
30156         Belyshev <belyshev@depni.sinp.msu.ru>.
30157         * crypt/Makefile (xtests): Add md5test-giant..
30158         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30160 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30162         [BZ #14090]
30163         * crypt/md5.c (md5_process_block): Don't assume the buffer
30164         length is less than 2**32.
30165         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30166         length is less than 2**64.
30168 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30170         * string/str-two-way.h: Include <sys/param.h>.
30171         (MAX): Macro removed.
30173         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30174         Move #define and #undef of memmove to just before and after
30175         including <string.h>.
30177         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30178         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30179         and after including <string.h>.  Move declarations of
30180         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30181         to before #include "string/memmove.c".
30183         * include/dirent.h: Declare __getdirentries.
30185         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30186         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30188 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30190         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30191         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30192         * sysdeps/i386/configure: Regenerated.
30193         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30194         STABS_CURRENT_FILE, and STABS_FUN.
30195         (END): Remove call to STABS_FUN_END.
30196         (STABS_CURRENT_FILE1): Delete.
30197         (STABS_CURRENT_FILE): Likewise.
30198         (STABS_FUN): Likewise.
30199         (STABS_FUN_END): Likewise.
30200         (STABS_FUN2): Likewise.
30201         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30202         * sysdeps/x86_64/configure: Regenerated.
30204 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30206         * elf/dl-open.c: Include <atomic.h>.
30207         * elf/dl-lookup.c: Likewise.
30209 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30211         * sysdeps/unix/sysv/linux/kernel-features.h
30212         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30213         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30214         unconditionally.
30215         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30216         unconditionally.
30217         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30218         condition on __ASSUME_CLONE_THREAD_FLAGS.
30220 2012-08-14  Andreas Jaeger  <aj@suse.de>
30222         * sysdeps/i386/fpu/libm-test-ulps: Update.
30224 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30226         * include/atomic.h (atomic_exchange_and_add): Split into ...
30227         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30228         New atomic macros.
30230 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30234 2012-08-13  Jeff Law <law@redhat.com>
30236         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30237         null byte in the output string.
30239 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30241         * sysdeps/unix/sysv/linux/kernel-features.h
30242         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30243         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30244         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30245         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30246         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30247         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30248         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30250 2012-08-09  Jeff Law <law@redhat.com>
30252         [BZ #13939]
30253         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30254         When avoid_arena is set, don't retry in the that arena.  Pick the
30255         next one, whatever it might be.
30256         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30257         (arena_lock): Pass in new parameter to arena_get2.
30258         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30259         arena_get2.
30260         (__libc_malloc): Unify retrying after main arena failure with
30261         __libc_memalign version.
30262         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30264 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30266         [BZ #14166]
30267         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30268         to __redirect_strstr.
30269         (__strstr_sse42): Use typeof __redirect_strstr.
30270         (__strstr_ia32): Likewise.
30271         (__libc_strstr): New prototype.
30272         (strstr): Renamed to ...
30273         (__libc_strstr): This.
30274         (strstr): New strong alias of __libc_strstr.
30275         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30276         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30277         __redirect_time.
30278         Include <time.h>.
30279         (__libc_time): New prototype.
30280         (time_ifunc): Replace time with __libc_time.
30281         (time): New strong alias and hidden definition of __libc_time.
30282         (__GI_time): Remove strong alias.
30283         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30284         Include <stddef.h>.
30285         (memmove): Redefined to __redirect_memmove.
30286         (__memmove_sse2): Use typeof __redirect_memmove.
30287         (__memmove_ssse3): Likewise.
30288         (__memmove_ssse3_back): Likewise.
30289         (__libc_memmove): New prototype.
30290         (memmove): Renamed to ...
30291         (__libc_memmove): This.
30292         (memmove): New strong alias of __libc_memmove.
30294 2012-08-08  Mark Salter  <msalter@redhat.com>
30296         * elf/elf.h
30297         (R_MN10300_TLS_GD): Define.
30298         (R_MN10300_TLS_LD): Likewise.
30299         (R_MN10300_TLS_LDO): Likewise.
30300         (R_MN10300_TLS_GOTIE): Likewise.
30301         (R_MN10300_TLS_IE): Likewise.
30302         (R_MN10300_TLS_LE): Likewise.
30303         (R_MN10300_TLS_DTPMOD): Likewise.
30304         (R_MN10300_TLS_DTPOFF): Likewise.
30305         (R_MN10300_TLS_TPOFF): Likewise.
30306         (R_MN10300_SYM_DIFF): Likewise.
30307         (R_MN10300_ALIGN): Likewise.
30308         (R_MN10300_NUM): Update.
30310 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30312         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30313         Remove.
30315 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30317         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30319         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30320         sysdeps/unix -> sysdeps/posix move.
30321         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30323 2012-08-07      Allan McRae     <allan@archlinux.org>
30325         [BZ #14303]
30326         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30327         (SUNOS_CPP): Likewise.
30328         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30329         not found.
30330         (open_input): Call CPP using execvp.
30332 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30334         * sysdeps/unix/sysv/linux/kernel-features.h
30335         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30336         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30337         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30338         (__ASSUME_WAITID_SYSCALL): Likewise.
30339         * sysdeps/unix/sysv/linux/dl-execstack.c
30340         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30341         code unconditional.
30342         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30343         conditional code.
30344         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30345         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30346         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30347         code.
30348         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30349         unconditional.
30350         [__ASSUME_WAITID_SYSCALL]: Likewise.
30351         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30353 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30355         * sysdeps/unix/closedir.c: Renamed to ...
30356         * sysdeps/posix/closedir.c: ... here.
30357         * sysdeps/unix/dirfd.c: Renamed to ...
30358         * sysdeps/posix/dirfd.c: ... here.
30359         * sysdeps/unix/dirstream.h: Renamed to ...
30360         * sysdeps/posix/dirstream.h: ... here.
30361         * sysdeps/unix/fdopendir.c: Renamed to ...
30362         * sysdeps/posix/fdopendir.c: ... here.
30363         * sysdeps/unix/opendir.c: Renamed to ...
30364         * sysdeps/posix/opendir.c: ... here.
30365         * sysdeps/unix/readdir.c: Renamed to ...
30366         * sysdeps/posix/readdir.c: ... here.
30367         * sysdeps/unix/readdir_r.c: Renamed to ...
30368         * sysdeps/posix/readdir_r.c: ... here.
30369         * sysdeps/unix/rewinddir.c: Renamed to ...
30370         * sysdeps/posix/rewinddir.c: ... here.
30371         * sysdeps/unix/seekdir.c: Renamed to ...
30372         * sysdeps/posix/seekdir.c: ... here.
30373         * sysdeps/unix/telldir.c: Renamed to ...
30374         * sysdeps/posix/telldir.c: ... here.
30375         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30376         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30377         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30378         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30380         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30381         * bits/fcntl.h: ... here.
30383         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30384         not 0.
30385         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30386         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30387         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30388         (struct flock): Move l_start, l_len to the beginning.
30389         Use __pid_t for l_pid.
30390         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30391         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30392         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30393         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30394         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30395         [__USE_LARGEFILE64] (struct flock64): New type.
30396         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30398         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30399         * bits/dirent.h: ... here.
30401         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30402         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30404 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30406         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30407         Change from 2.6.0 to 2.6.16.
30408         * sysdeps/unix/sysv/linux/configure: Regenerated.
30409         * sysdeps/unix/sysv/linux/kernel-features.h
30410         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30411         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30412         version.
30413         (__ASSUME_UTIMES): Likewise.
30414         (__ASSUME_CLONE_STOPPED): Remove.
30415         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30416         architectures, not kernel version.
30417         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30418         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30419         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30420         (__ASSUME_WAITID_SYSCALL): Likewise.
30421         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30422         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30423         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30424         refer to older versions.
30426 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30428         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30429         Define alphasort64 as an alias.
30430         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30431         Define versionsort64 as an alias.
30432         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30433         Define scandir64 as an alias.
30434         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30435         Define scandirat64 as an alias.
30436         * dirent/alphasort64.c (alphasort64):
30437         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30438         * dirent/versionsort64.c: Likewise.
30439         * dirent/scandir64.c: Likewise.
30440         * dirent/scandirat64.c: Likewise.
30441         * sysdeps/wordsize-64/alphasort.c: File removed.
30442         * sysdeps/wordsize-64/alphasort64.c: File removed.
30443         * sysdeps/wordsize-64/scandir.c: File removed.
30444         * sysdeps/wordsize-64/scandir64.c: File removed.
30445         * sysdeps/wordsize-64/scandirat.c: File removed.
30446         * sysdeps/wordsize-64/scandirat64.c: File removed.
30447         * sysdeps/wordsize-64/versionsort.c: File removed.
30448         * sysdeps/wordsize-64/versionsort64.c: File removed.
30449         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30450         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30451         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30452         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30453         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30454         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30455         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30456         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30458         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30459         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30460         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30461         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30462         [defined __arch64__ || defined __sparcv9]
30463         (__INO_T_MATCHES_INO64_T): New macro.
30464         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30465         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30466         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30467         * sysdeps/unix/sysv/linux/bits/dirent.h
30468         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30469         (_DIRENT_MATCHES_DIRENT64): New macro.
30471         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30472         Define lockf64 as an alias.
30473         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30474         Define fseeko64 as an alias.
30475         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30476         Define ftello64 as an alias.
30477         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30478         Define _IO_fgetpos64 and fgetpos64 as aliases.
30479         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30480         Define _IO_fsetpos64 and fsetpos64 as aliases.
30481         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30482         Conditionalize body on this.
30483         * libio/fseeko64.c: Likewise.
30484         * libio/ftello64.c: Likewise.
30485         * libio/iofgetpos64.c: Likewise.
30486         * libio/iofsetpos64.c: Likewise.
30487         * sysdeps/wordsize-64/lockf.c: File removed.
30488         * sysdeps/wordsize-64/lockf64.c: File removed.
30489         * sysdeps/wordsize-64/fseeko.c: File removed.
30490         * sysdeps/wordsize-64/fseeko64.c: File removed.
30491         * sysdeps/wordsize-64/ftello.c: File removed.
30492         * sysdeps/wordsize-64/ftello64.c: File removed.
30493         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30494         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30495         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30496         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30497         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30498         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30499         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30500         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30501         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30502         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30503         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30504         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30505         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30506         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30508         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30509         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30510         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30511         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30512         [defined __arch64__ || defined __sparcv9]
30513         (__OFF_T_MATCHES_OFF64_T): New macro.
30514         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30515         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30516         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30517         (__OFF_T_MATCHES_OFF64_T): New macro.
30519 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30521         * stdlib/secure-getenv.c (__secure_getenv): Replace
30522         GLIBC_2_16 with GLIBC_2_17.
30524 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30526         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30527         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30529 2012-08-03  David S. Miller  <davem@davemloft.net>
30531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30533 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30535         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30536         Remove.
30537         (__ASSUME_CORRECT_SI_PID): Likewise.
30538         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30539         (__ASSUME_TMPFS_NAME): Likewise.
30540         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30541         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30542         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30543         (HAVE_AUX_SECURE): Make definition unconditional.
30544         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30545         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30547 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30549         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30550         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30551         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30552         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30553         __eloop_threshold instead of SYMLOOP_MAX.
30555         * sysdeps/generic/eloop-threshold.h: New file.
30556         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30557         of MAXSYMLINKS.
30558         * elf/chroot_canon.c (chroot_canon): Likewise.
30560 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30562         [BZ #13717]
30563         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30564         Change to 2.6.0 everywhere.
30565         * sysdeps/unix/sysv/linux/configure: Regenerated.
30566         * sysdeps/unix/sysv/linux/kernel-features.h
30567         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30568         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30569         kernel versions.
30570         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30571         (__ASSUME_FUTEX_REQUEUE): Remove.
30572         (__ASSUME_STATFS64): Define unconditionally.
30573         (__ASSUME_AT_SECURE): Likewise.
30574         (__ASSUME_CORRECT_SI_PID): Likewise.
30575         (__ASSUME_TGKILL): Define without depending on kernel version for
30576         i386.
30577         (__ASSUME_UTIMES): Likewise.
30578         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30579         kernel version.
30580         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30581         (__ASSUME_TMPFS_NAME): Likewise.
30582         * README: Update reference to Linux kernel versions.
30584 2012-08-02  Marek Polacek  <polacek@redhat.com>
30586         [BZ# 14150]
30587         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30588         libc_cv_asm_type_prefix with %.
30589         * configure: Regenerated.
30590         * include/libc-symbols.h: Remove comment about
30591         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30592         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30593         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30594         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30595         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30596         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30597         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30598         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30599         * elf/tst-unique2mod1.c: Likewise.
30600         * elf/tst-unique1mod2.c: Likewise.
30601         * elf/tst-unique1mod1.c: Likewise.
30602         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30603         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30604         Replace ASM_TYPE_DIRECTIVE with .type.
30605         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30606         * sysdeps/i386/sysdep.h: Likewise.
30607         * sysdeps/x86_64/sysdep.h: Likewise.
30608         * sysdeps/sh/sysdep.h: Likewise.
30609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30610         Do not define ASM_TYPE_DIRECTIVE.
30611         * sysdeps/powerpc/sysdep.h: Likewise.
30612         * sysdeps/powerpc/powerpc32/sysdep.h:
30613         Replace ASM_TYPE_DIRECTIVE with .type.
30614         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30615         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30616         * sysdeps/i386/fpu/e_powf.S: Likewise.
30617         * sysdeps/i386/fpu/e_expl.S: Likewise.
30618         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30619         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30620         * sysdeps/i386/fpu/e_pow.S: Likewise.
30621         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30622         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30623         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30624         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30625         * sysdeps/i386/fpu/e_log2.S: Likewise.
30626         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30627         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30628         * sysdeps/i386/fpu/e_powl.S: Likewise.
30629         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30630         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30631         * sysdeps/i386/fpu/e_logl.S: Likewise.
30632         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30633         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30634         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30635         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30636         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30637         * sysdeps/i386/fpu/e_log.S: Likewise.
30638         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30639         * sysdeps/i386/fpu/e_logf.S: Likewise.
30640         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30641         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30642         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30643         * sysdeps/i386/fpu/e_log10.S: Likewise.
30644         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30645         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30646         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30647         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30648         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30649         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30650         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30651         * sysdeps/i386/i686/strtok.S: Likewise.
30652         * sysdeps/i386/i386-mcount.S: Likewise.
30653         * sysdeps/i386/strtok.S: Likewise.
30654         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30655         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30656         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30657         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30658         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30659         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30660         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30661         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30662         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30663         * sysdeps/x86_64/_mcount.S: Likewise.
30664         * sysdeps/x86_64/strtok.S: Likewise.
30665         * sysdeps/sh/_mcount.S: Likewise.
30667 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30669         * libio/iofopen.c: Include <fcntl.h>.
30670         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30671         (_IO_fopen64, fopen64): Define as aliases.
30672         * libio/iofopen64.c: Include <fcntl.h>.
30673         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30674         Conditionalize body on this.
30675         * sysdeps/wordsize-64/iofopen.c: File removed.
30676         * sysdeps/wordsize-64/iofopen64.c: File removed.
30678 2012-08-01  Marek Polacek  <polacek@redhat.com>
30680         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30681         Use dlfcn directly instead of a variable.
30682         (binfmt-subdir): Do not define.
30683         (dlfcn): Likewise.
30685 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30687         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30688         Remove all definitions.
30689         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30690         <kernel-features.h>.
30691         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30692         (miss_F_GETOWN_EX): Remove all definitions.
30693         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30694         macro definition.
30695         [!__ASSUME_FCNTL64]: Remove conditional code.
30696         [__ASSUME_FCNTL64]: Make code unconditional.
30697         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30698         <kernel-features.h>.
30699         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30700         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30701         (lockf64) [__NR_fcntl64]: Make code unconditional.
30702         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30704         * sysdeps/unix/sysv/linux/kernel-features.h
30705         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30706         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30707         Make code unconditional.
30708         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30709         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30711         [__NR_vfork]: Make code unconditional.
30712         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30713         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30715         [__NR_vfork]: Make code unconditional.
30716         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30717         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30719 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30721         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30722         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30724         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30725         Define mkstemp64 as an alias.
30726         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30727         Define mkstemps64 as an alias.
30728         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30729         Define mkostemp64 as an alias.
30730         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30731         Define mkostemps64 as an alias.
30732         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30733         Conditionalize body on this.
30734         * misc/mkostemp64.c: Likewise.
30735         * misc/mkostemps64.c: Likewise.
30736         * misc/mkstemps64.c: Likewise.
30737         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30738         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30739         * sysdeps/wordsize-64/mkostemp.c: File removed.
30740         * sysdeps/wordsize-64/mkstemp.c: File removed.
30741         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30742         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30743         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30744         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30746         [BZ #14138]
30747         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30748         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30749         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30750         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30752         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30753         compat_symbol macros from <shlib-compat.h> rather than the underlying
30754         default_symbol_version and symbol_version macros, so that DEFAULT
30755         lines in shlib-versions are respected.
30756         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30758 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30760         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30761         Declare with warn_unused_result.
30762         (setgid, setregid, setegid, setresgid): Likewise.
30763         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30764         Likewise.
30765         * WUR-REPORT: Remove set*id functions.
30767 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30769         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30771 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30773         [BZ #10191]
30774         * include/sys/socket.h (__libc_accept, __libc_accept4):
30775         Add attribute_hidden.
30776         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30778         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30779         use of PTR_MANGLE.
30780         * inet/getnetgrent_r.c (setup): Likewise.
30782         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30784 2012-07-31  David S. Miller  <davem@davemloft.net>
30786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30788 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30790         [BZ #13629]
30791         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30792         value between 1.0 and 2.0 and smaller part has absolute value less
30793         than 1.0.
30794         * math/s_clog10.c (__clog10): Likewise.
30795         * math/s_clog10f.c (__clog10f): Likewise.
30796         * math/s_clog10l.c (__clog10l): Likewise.
30797         * math/s_clogf.c (__clogf): Likewise.
30798         * math/s_clogl.c (__clogl): Likewise.
30799         * math/libm-test.inc (clog_test): Add more tests.
30800         (clog10_test): Likewise.
30801         * sysdeps/i386/fpu/libm-test-ulps: Update.
30802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30804 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30806         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30807         Exit with zero in case no suitable GID is found, and write a
30808         message to standard error.
30810 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30812         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30813         rather than to 1.
30814         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30815         (MAXPATHLEN): Removed.
30816         (NOGROUP, NODEV): New macros.
30817         (setbit, clrbit, isset, isclr): New macros.
30818         (howmany, roundup, powerof2): New macros.
30819         (DEV_BSIZE): New macro.
30821         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30822         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30824         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30825         definition on [!__NO_LONG_DOUBLE_MATH].
30827         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30828         PTR_MANGLE and PTR_DEMANGLE.
30830         * socket/accept4.c (accept4): Rename to __libc_accept4.
30831         Define accept4 as a weak alias.
30833         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30834         on [_DIRENT_HAVE_D_TYPE].
30835         * io/ftw.c (ftw_dir): Likewise.
30837         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30839         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30841         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30842         Use the BSD numbers rather than the arbitrary ones we had.
30843         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30844         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30845         (SIGXCPU, SIGXFSZ): New macros.
30846         (_NSIG): Now 32.
30848         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30849         initializer on [_LIBC_REENTRANT].
30851         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30852         definitions inside [_POSIX_MAPPED_FILES].
30854         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30856         * dirent/opendir.c: Include <fcntl.h>.
30858         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30859         (__libc_getspecific): Likewise.
30860         (__libc_key_create): Likewise.
30862         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30863         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30864         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30865         (tmpfile64): Define as alias.
30866         * sysdeps/wordsize-64/tmpfile.c: File removed.
30867         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30868         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30869         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30871         * stdio-common/vfscanf.c: Include <stdbool.h>.
30872         * nss/makedb.c: Likewise.
30873         * stdio-common/_i18n_number.h: Likewise.
30874         * argp/argp-help.c: Likewise.
30875         * posix/wordexp.c: Likewise.
30876         * sysdeps/posix/spawni.c: Likewise.
30877         * nss/nss_files/files-initgroups.c: Likewise.
30878         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30879         * nss/nss_files/files-initgroups.c: Likewise.
30880         * nss/nss_db/db-netgrp.c: Likewise.
30881         * nss/nss_db/db-initgroups.c: Likewise.
30882         * io/fchmodat.c: Include <sys/stat.h>.
30884         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30885         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30887         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30888         [HAVE_MMAP].
30890         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30891         Add multiple inclusion protection.
30893 2012-07-27  David S. Miller  <davem@davemloft.net>
30895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30897 2012-07-27  Gary Benson  <gbenson@redhat.com>
30899         [BZ #14298]
30900         * elf/rtld.c: Include <stap-probe.h>.
30901         (dl_main): Added static probes "init_start" and "init_complete".
30902         * elf/dl-load.c: Include <stap-probe.h>.
30903         (lose): Take new parameter "nsid".
30904         Added static probe "map_failed".
30905         (_dl_map_object_from_fd): Pass namespace id to lose.
30906         Added static probe "map_start".
30907         (open_verify): Pass namespace id to lose.
30908         * elf/dl-open.c: Include <stap-probe.h>.
30909         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30910         and "reloc_complete".
30911         * elf/dl-close.c: Include <stap-probe.h>.
30912         (_dl_close_worker): Added static probes "unmap_start" and
30913         "unmap_complete".
30914         * elf/rtld-debugger-interface.txt: New file documenting the above.
30916 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30918         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30919         rather than a string variable.
30920         * sunrpc/rpc_main.c (h_output): Likewise.
30921         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30923 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30925         * inet/check_native.c: New file.
30927 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30929         [BZ #13629]
30930         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30931         if larger part has absolute value 1.0.
30932         * math/s_clog10.c (__clog10): Likewise.
30933         * math/s_clog10f.c (__clog10f): Likewise.
30934         * math/s_clog10l.c (__clog10l): Likewise.
30935         * math/s_clogf.c (__clogf): Likewise.
30936         * math/s_clogl.c (__clogl): Likewise.
30937         * math/libm-test.inc (clog_test): Add more tests.
30938         (clog10_test): Likewise.
30939         * sysdeps/i386/fpu/libm-test-ulps: Update.
30940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30942         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30943         (pltexit): Likewise.
30944         (La_regs): Likewise.
30945         (La_retval): Likewise.
30946         (int_retval): Likewise.
30947         Update #error for removed macros to refer only to definitions in
30948         tst-audit.h.
30949         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.c (pltenter): Remove all definitions of
30962         macro.
30963         (pltexit): Likewise.
30964         (La_regs): Likewise.
30965         (La_retval): Likewise.
30966         (int_retval): Likewise.
30967         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30968         macro.
30969         (pltexit): Likewise.
30970         (La_regs): Likewise.
30971         (La_retval): Likewise.
30972         (int_retval): Likewise.
30973         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30974         macro.
30975         (pltexit): Likewise.
30976         (La_regs): Likewise.
30977         (La_retval): Likewise.
30978         (int_retval): Likewise.
30979         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30980         macro.
30981         (pltexit): Likewise.
30982         (La_regs): Likewise.
30983         (La_retval): Likewise.
30984         (int_retval): Likewise.
30985         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30986         macro definitions in tst-audit.h.
30987         * sysdeps/i386/tst-audit.h: New file.
30988         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30989         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30990         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30991         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30992         * sysdeps/sh/tst-audit.h: Likewise.
30993         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30994         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30995         * sysdeps/x86_64/tst-audit.h: Likewise.
30997 2012-07-26  Andreas Jaeger  <aj@suse.de>
30999         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31000         ptrace.
31002         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31003         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31004         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31005         PTRACE_O_MASK.
31006         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31007         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31008         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31010         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31011         value.
31013         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31014         _sigsys.
31015         (si_call_addr, si_syscall, si_arch): Define new macro.
31016         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31017         _sigsys.
31018         (si_call_addr, si_syscall, si_arch): Define new marcro.
31019         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31020         _sigsys.
31021         (si_call_addr, si_syscall, si_arch): Define new macro.
31022         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31023         _sigsys.
31024         (si_call_addr, si_syscall, si_arch): Define new macro.
31026 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31028         [BZ #13717]
31029         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31030         Change to 2.4.21 where previously 2.4.1.
31031         * sysdeps/unix/sysv/linux/configure: Regenerated.
31032         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31033         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31034         Linux kernel version.
31035         (__ASSUME_STD_AUXV): Remove.
31036         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31037         kernel version.
31038         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31039         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31040         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31041         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31042         (__ASSUME_NETLINK_SUPPORT): Likewise.
31043         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31044         (__no_netlink_support): Remove conditional definition.
31045         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31046         Remove.
31047         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31048         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31049         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31050         (if_nameindex_ioctl): Remove.
31051         (if_nameindex_netlink): Do not handle __no_netlink_support.
31052         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31053         code.
31054         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31055         Remove conditional code.
31056         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31057         code.
31058         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31059         unconditional.
31060         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31061         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31062         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31063         Remove.
31064         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31065         [!__ASSUME_STD_AUXV]: Remove conditional code.
31066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31067         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31068         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31070         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31071         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31072         code.
31073         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31075         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31076         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31077         conditional code.
31078         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31080         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31081         code.
31082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31083         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31084         conditional code.
31085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31086         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31087         code unconditional.
31088         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31089         conditional code.
31090         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31091         unconditional.
31092         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31093         conditional code.
31094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31095         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31096         unconditional.
31097         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31098         conditional code.
31099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31100         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31101         code unconditional.
31102         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31103         conditional code.
31104         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31105         unconditional.
31106         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31107         conditional code.
31108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31109         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31110         code unconditional.
31111         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31112         conditional code.
31113         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31114         unconditional.
31115         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31116         conditional code.
31118 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31120         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31121         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31122         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31123         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31124         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31125         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31126         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31127         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31128         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31129         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31130         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31131         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31132         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31133         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31134         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31135         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31136         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31137         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31138         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31139         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31140         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31141         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31142         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31144 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31146         * Versions.def: Add GLIBC_2.17.
31147         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31148         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31149         Introduce __libc_secure_getenv.
31150         * stdlib/Versions (2.17): Add secure_getenv
31151         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31152         * stdlib/secure-getenv.c: Rename __secure_getenv to
31153         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31154         symbol __secure_getenv for GLIBC_2.0.
31155         * stdlib/tst-secure-getenv.c: New.
31156         * stdlib/Makefile (tests): Add testcase.
31157         * manual/startup.texi (Environment Access): Document
31158         secure_getenv.
31159         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31160         __libc_secure_getenv.
31161         * inet/ruserpass.c (ruserpass): Likewise.
31162         * malloc/mtrace.c (mtrace): Likewise.
31163         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31164         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31165         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31166         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31167         HAVE_SECURE_GETENV.
31168         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31169         __secure_getenv to __libc_secure_getenv.
31170         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31172         Likewise.
31173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31174         Likewise.
31175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31177         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31183 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31185         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31186         (struct La_i86_retval): Likewise.
31187         (struct La_x86_64_regs): Likewise.
31188         (struct La_x86_64_retval): Likewise.
31189         (struct La_x32_regs): Likewise.
31190         (struct La_x32_retval): Likewise.
31191         (struct La_ppc32_regs): Likewise.
31192         (struct La_ppc32_retval): Likewise.
31193         (struct La_ppc64_regs): Likewise.
31194         (struct La_ppc64_retval): Likewise.
31195         (struct La_sh_regs): Likewise.
31196         (struct La_sh_retval): Likewise.
31197         (struct La_s390_32_regs): Likewise.
31198         (struct La_s390_32_retval): Likewise.
31199         (struct La_s390_64_regs): Likewise.
31200         (struct La_s390_64_retval): Likewise.
31201         (struct La_sparc32_regs): Likewise.
31202         (struct La_sparc32_retval): Likewise.
31203         (struct La_sparc64_regs): Likewise.
31204         (struct La_sparc64_retval): Likewise.
31205         (struct audit_ifaces): Remove architecture-specific pltenter and
31206         pltexit members.
31207         * sysdeps/i386/ldsodefs.h: New file.
31208         * sysdeps/powerpc/ldsodefs.h: Likewise.
31209         * sysdeps/s390/ldsodefs.h: Likewise.
31210         * sysdeps/sh/ldsodefs.h: Likewise.
31211         * sysdeps/sparc/ldsodefs.h: Likewise.
31212         * sysdeps/x86_64/ldsodefs.h: Likewise.
31214 2012-07-25  Marek Polacek  <polacek@redhat.com>
31216         [BZ #6808]
31217         * math/libm-test.inc (yn_test): Add another test.
31218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31219         to ERANGE when the result is +-Inf.
31220         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31221         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31222         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31223         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31225 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31227         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31228         equal to 0.
31229         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31230         clock_t.
31231         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31233 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31235         * configure.in <sysdeps resolving>: Correct printing
31236         Implies_before.
31237         * configure: Regenerate.
31239 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31241         * math/w_ilogb.c: Include <limits.h>.
31242         * math/w_ilogbl.c: Likewise.
31244 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31246         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31247         va_copy.  Document allowing for unavailable va_copy only as
31248         pre-C99 compatibility.
31249         * manual/string.texi (Copying and Concatenation): Use va_copy
31250         instead of __va_copy in concat example.
31252 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31254         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31255         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31256         it if not null.
31258         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31259         with O_NOLINK passed to __file_name_lookup.
31261         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31262         with O_NOLINK passed to __file_name_lookup.
31264         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31265         negative N or less than NGIDS.
31267         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31268         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31269         enough.  Use memcpy instead of strncpy.
31271 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31273         * elf/Makefile (check-data): Remove.
31274         (localplt.data): New vpath directive.
31275         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31276         instead of $(check-data).
31277         * scripts/data/localplt-generic.data: Move to ...
31278         * sysdeps/generic/localplt.data: ... here.
31279         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31280         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31281         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31283         ... here.
31284         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31286         ... here.
31287         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31289         ... here.
31290         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31292         ... here.
31293         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31295         ... here.
31296         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31298         ... here.
31300 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31302         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31303         PPC32 and PPC64 files.
31304         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31305         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31307 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31309         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31310         __makecontext_ret to ...
31311         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31312         ... here and call exit if uc_link is NULL.  New file.
31313         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31314         __makecontext_ret.S.
31315         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31316         __makecontext_ret to ...
31317         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31318         ... here and call exit if uc_link is NULL.  New file.
31319         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31320         __makecontext_ret.S.
31322 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31324         * elf/elf.h (R_390_IRELATIVE): New definition.
31325         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31326         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31327         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31328         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31329         (elf_machine_lazy_rel): Likewise.
31330         * sysdeps/s390/dl-irel.h: New file.
31331         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31332         * sysdeps/s390/s390-64/memset.S: New asm code.
31333         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31334         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31335         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31336         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31337         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31338         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31339         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31340         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31341         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31342         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31343         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31344         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31345         * sysdeps/s390/s390-32/memset.S: New asm code.
31346         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31348 2012-07-17  Marek Polacek  <polacek@redhat.com>
31350         [BZ #14349]
31351         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31352         * sysdeps/s390/s390-64/configure.in: Likewise.
31353         * sysdeps/sparc/configure.in: Likewise.
31354         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31355         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31356         * sysdeps/i386/configure.in: Likewise.
31357         * sysdeps/x86_64/configure.in: Likewise.
31358         * sysdeps/sh/configure.in: Likewise.
31359         * sysdeps/s390/s390-32/configure: Regenerated.
31360         * sysdeps/s390/s390-64/configure: Likewise.
31361         * sysdeps/x86_64/configure: Likewise.
31362         * sysdeps/sh/configure: Likewise.
31363         * sysdeps/powerpc/powerpc64/configure: Likewise.
31364         * sysdeps/powerpc/powerpc32/configure: Likewise.
31365         * sysdeps/sparc/configure: Likwise.
31366         * sysdeps/i386/configure: Likewise.
31368         * elf/dl-open.c: Comment fixes.
31370 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31372         * Makefile [CXX] (check-data): Remove.
31373         [CXX] (c++-types.data): New vpath directive.
31374         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31375         vpath.  Do not allow for C++ type data being missing.
31376         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31377         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31378         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31379         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31380         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31381         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31382         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31384         ... here.
31385         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31387         ... here.
31388         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31390         ... here.
31391         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31393         ... here.
31394         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31396         ... here.
31397         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31399         ... here.
31400         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31402         ... here.
31403         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31406         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31407         definitions to architecture-specific files.
31408         (TLS_IE): Likewise.
31409         (TLS_LD): Likewise.
31410         (TLS_GD): Likewise.
31411         * sysdeps/i386/tls-macros.h: New file.
31412         * sysdeps/powerpc/tls-macros.h: Likewise.
31413         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31414         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31415         * sysdeps/sh/tls-macros.h: Likewise.
31416         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31417         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31418         * sysdeps/x86_64/tls-macros.h: Likewise.
31420 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31422         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31423         zero value for regular exit case.
31425         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31426         (__start_context): Preserve zero value for regular exit case.
31428 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31429             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31431         * manual/setjmp.texi (setcontext): Clarify normal process
31432         termination when uc_link is the null pointer.
31433         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31434         exit call.
31436 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31438         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31439         preprocessor.  Test for each exception mask separately.
31441 2012-07-16  Andreas Jaeger  <aj@suse.de>
31443         * po/ru.po: Update from translation team.
31445 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31447         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31448         equal to 0.
31449         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31450         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31451         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31452         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31453         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31455 2012-07-13  Andreas Jaeger  <aj@suse.de>
31457         * po/fr.po: Update from translation team.
31459 2012-07-12  Marek Polacek  <polacek@redhat.com>
31461         [BZ #14173]
31462         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31463         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31464         loop condition.
31466 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31468         [BZ #13717]
31469         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31470         Change to 2.4.1 where previously 2.4.0.
31471         * sysdeps/unix/sysv/linux/configure: Regenerated.
31472         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31473         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31474         version.
31475         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31476         (__ASSUME_AT_CLKTCK): Remove.
31477         (__ASSUME_AT_PAGESIZE): Likewise.
31478         (__ASSUME_AT_XID): Likewise.
31479         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31480         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31481         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31482         unconditionally.
31483         (HAVE_AUX_PAGESIZE): Likewise.
31484         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31485         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31486         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31488 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31490         [BZ #14307]
31491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31492         the temporary buffer used to invoke __gethostbyname2_r,
31493         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31494         host_data / struct gaih_addrtuple.
31495         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31496         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31497         header file nss/nsswitch.h.
31498         * nss/nsswitch.h (global scope): Add definition of implementation
31499         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31500         resolv/nss_dns/dns-host.c).
31502 2012-07-11  Andreas Jaeger  <aj@suse.de>
31504         * po/fr.po: Update from translation team.
31506         * po/sv.po: Update from translation team
31507         * po/fr.po: Another update from translation team.
31509 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31511         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31512         for subnormals or multiply small sinh result by itself.
31513         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31516 2012-07-11  David S. Miller  <davem@davemloft.net>
31518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31520 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31522         [BZ #14347]
31523         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31524         (INTERNAL_MARK): Shift it here.
31526 2012-07-10  Marek Polacek  <polacek@redhat.com>
31528         [BZ #14151]
31529         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31530         libc_cv_asm_global_directive with .globl.
31531         * configure: Regenerated.
31532         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31533         with .globl.
31534         * sysdeps/i386/configure: Regenerated.
31535         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31536         with .globl.
31537         * sysdeps/x86_64/configure: Regenerated.
31538         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31539         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31540         * elf/tst-unique2mod2.c: Likewise.
31541         * elf/tst-unique2mod1.c: Likewise.
31542         * elf/tst-unique1mod2.c: Likewise.
31543         * elf/tst-unique1mod1.c: Likewise.
31544         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31545         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31546         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31547         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31548         * sysdeps/mach/sysdep.h: Likewise.
31549         * sysdeps/i386/sysdep.h: Likewise.
31550         * sysdeps/i386/i386-mcount.S: Likewise.
31551         * sysdeps/x86_64/_mcount.S: Likewise.
31552         * sysdeps/x86_64/sysdep.h: Likewise.
31553         * sysdeps/sh/_mcount.S: Likewise.
31554         * sysdeps/sh/sysdep.h: Likewise.
31555         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31556         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31557         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31558         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31559         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31560         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31561         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31562         * locale/localeinfo.h: Likewise.
31563         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31564         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31566 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31568         [BZ #14336]
31569         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31570         system".
31571         * manual/message.texi (The Uniforum approach): Likewise.
31572         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31573         (glibc iconv Implementation): Likewise.
31575 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31577         [BZ #14337]
31578         * math/s_clog.c (__clog): Avoid scaling a value down where that
31579         could result in underflow.
31580         * math/s_clog10.c (__clog10): Likewise.
31581         * math/s_clog10f.c (__clog10f): Likewise.
31582         * math/s_clog10l.c (__clog10l): Likewise.
31583         * math/s_clogf.c (__clogf): Likewise.
31584         * math/s_clogl.c (__clogl): Likewise.
31585         * math/libm-test.inc (clog_test): Add more tests.
31586         (clog10_test): Likewise.
31587         * sysdeps/i386/fpu/libm-test-ulps: Update.
31588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31590 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31592         [BZ #14283]
31593         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31594         by 7 not 8 to examine high bit of fractional part.
31596         [BZ #14042]
31597         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31598         for call to __mcount_internal.
31599         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31600         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31601         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31603 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31605         [BZ #14154]
31606         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31607         approximation for values within 0x1p-13f of an odd multiple of
31608         pi/4.
31609         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31610         exception.  Add more tests.
31611         * sysdeps/i386/fpu/libm-test-ulps: Update.
31613         [BZ #6778]
31614         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31615         inputs and return -1 for them.  Do not check for +Inf in case not
31616         reachable for +Inf.
31617         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31618         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31619         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31620         and return -1 for them.  Do not check for +Inf in case not
31621         reachable for +Inf.
31622         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31623         define.
31624         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31625         and return -1 for them.  Do not check for +Inf in case not
31626         reachable for +Inf.
31627         * math/libm-test.inc (expm1_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.
31632 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31634         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31636 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31638         [BZ #14157]
31639         [BZ #14331]
31640         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31641         could result in spurious underflow.  Scale down values above
31642         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31643         * math/s_csqrtf.c (__csqrtf): Likewise.
31644         * math/s_csqrtl.c (__csqrtl): Likewise.
31645         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31646         spurious underflow.
31647         * sysdeps/i386/fpu/libm-test-ulps: Update.
31648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31650 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31652         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31653         xopen-msg.sed.
31654         * catgets/xopen-msg.awk: New file.
31655         * catgets/xopen-msg.sed: Removed.
31657         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31658         po2text.sed.
31659         * intl/po2test.awk: New file.
31660         * intl/po2test.sed: Removed.
31662 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31664         [BZ #14328]
31665         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31666         or multiply small sinh result by itself.
31667         * math/s_ctanf.c (__ctanf): Likewise.
31668         * math/s_ctanh.c (__ctanh): Likewise.
31669         * math/s_ctanhf.c (__ctanhf): Likewise.
31670         * math/s_ctanhl.c (__ctanhl): Likewise.
31671         * math/s_ctanl.c (__ctanl): Likewise.
31672         * math/libm-test.inc (ctan_test_tonearest): New function.
31673         (ctan_test_towardzero): Likewise.
31674         (ctan_test_downward): Likewise.
31675         (ctan_test_upward): Likewise.
31676         (ctanh_test_tonearest): Likewise.
31677         (ctanh_test_towardzero): Likewise.
31678         (ctanh_test_downward): Likewise.
31679         (ctanh_test_upward): Likewise.
31680         (main): Call these new functions.
31681         * sysdeps/i386/fpu/libm-test-ulps: Update.
31682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31684 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31686         * .gitignore: Delete /ports entry.
31688 2012-07-03  Andreas Jaeger  <aj@suse.de>
31690         * po/bg.po: Update from translation team.
31691         * po/cs.po: Likewise.
31692         * po/de.po: Likewise.
31693         * po/hr.po: Likewise.
31694         * po/nl.pl: Likewise.
31695         * po/pl.po: Likewise.
31696         * po/vi.po: Likewise.
31698 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31700         * Makeconfig [!+link] (+link-before-libc): New variable.
31701         [!+link] (+link-after-libc): Likewise.
31702         [!+link] (+link-tests): Likewise.
31703         [!+link] (+link): Define in terms of $(+link-before-libc) and
31704         $(+link-after-libc).
31705         [!+link-static] (+link-static-before-libc): New variable.
31706         [!+link-static] (+link-static-after-libc): Likewise.
31707         [!+link-static] (+link-static-tests): Likewise.
31708         [!+link-static] (+link-static): Define in terms of
31709         $(+link-static-before-libc) and $(+link-static-after-libc).
31710         [build-shared] (link-libc-before-gnulib): New variable.
31711         [build-shared] (link-libc-tests): Likewise.
31712         [build-shared] (link-libc): Define in terms of
31713         $(link-libc-before-gnulib).
31714         [!build-shared] (link-libc-tests): New variable.
31715         (link-libc-static-tests): New variable.
31716         [!gnulib] (gnulib-arch): New variable.
31717         [!gnulib] (gnulib-tests): Likewise.
31718         [!gnulib] (static-gnulib-arch): Likewise.
31719         [!gnulib] (static-gnulib-tests): Likewise.
31720         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31721         Define with "=" instead of ":=".
31722         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31723         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31724         * Rules (binaries-all-notests): New variable.
31725         (binaries-all-tests): Likewise.
31726         (binaries-static-notests): Likewise.
31727         (binaries-static-tests): Likewise.
31728         (binaries-all): Define using $(binaries-all-notests) and
31729         $(binaries-all-tests).
31730         (binaries-static): Define using $(binaries-static-notests) and
31731         $(binaries-static-tests).
31732         (binaries-shared-tests): New variable.
31733         (binaries-shared-notests): Likewise.
31734         (binaries-shared): Remove variable.
31735         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31736         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31737         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31738         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31739         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31740         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31741         * elf/Makefile (sln-modules): New variable.
31742         (extra-objs): Add $(sln-modules:=.o).
31743         (ldconfig-modules): Add static-stubs.
31744         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31745         * elf/static-stubs.c: New file.
31747         [BZ #14283]
31748         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31749         by 7 not 8 to examine high bit of fractional part.  Use volatile
31750         variables when splitting into final array of floats if
31751         __FLT_EVAL_METHOD__ != 0.
31752         * math/libm-test.inc (cos_test): Add another test.
31753         (sin_test): Likewise.
31754         * sysdeps/i386/fpu/libm-test-ulps: Update.
31756         [BZ #14273]
31757         * math/libm-test.inc (cosh_test): Add more tests.
31759         * version.h (RELEASE): Set to "development".
31760         (VERSION): Set to "2.16.90".
31762 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31764         * NEWS: Update copyright. Remove last-updated date.
31765         Mention math library bug fixes and timezone data changes.
31766         * README: Mention GNU/Hurd, x32, and HPPA support status.
31768 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31770         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31772 2012-06-27  Andreas Jaeger  <aj@suse.de>
31774         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31776 2012-06-25  Andreas Jaeger  <aj@suse.de>
31778         * sysdeps/s390/fpu/libm-test-ulps: Update.
31780 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31781             Thomas Schwinge  <thomas@codesourcery.com>
31783         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31784         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31785         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31786         fanotify_mark.
31788 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31790         * sysdeps/mach/start.c: Remove file.
31791         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31792         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31793         * sysdeps/sh/init-first.c: Likewise.
31795         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31796         registers for frame unwinding purposes, add CFI directives.
31797         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31798         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31799         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31800         Likewise.
31802         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31803         __fortify_fail returning.
31804         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31806         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31807         sysdeps/sh/____longjmp_chk.S.
31808         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31809         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31810         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31811         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31813         * sysdeps/sh/abort-instr.h: New file.
31814         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31815         process in case exit returns.
31817         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31818         initialize the GOT register before use.
31820         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31821         calculation of ARGC > 4.
31823         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31824         meaningful names to some local labels.
31826 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31827             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31829         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31830         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31831         (__arch_compare_and_exchange_val_16_acq): Likewise.
31832         (__arch_compare_and_exchange_val_32_acq): Likewise.
31833         (atomic_exchange_and_add): Fix gUSA sequence.
31834         (atomic_add): Likewise.
31835         (atomic_add_negative): Likewise.
31836         (atomic_add_zero): Likewise.
31837         (atomic_bit_test_set): Likewise.
31839 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31841         [BZ #13579]
31842         * include/link.h (struct link_map): Add l_free_initfini.
31843         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31844         l_initfini.
31845         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31846         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31847         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31848         set.
31850 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31852         * configure.in: Use AC_LANG_SOURCE.
31853         * configure: Regenerate.
31855 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31857         * configure.in (libc_cv_localstatedir): New substituted variable.
31858         * configure: Regenerated.
31859         * config.make.in (localstatedir): New variable, substituted from
31860         libc_cv_localstatedir.
31861         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31862         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31863         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31864         * sysdeps/gnu/configure: Regenerated.
31866 2012-06-21  Jeff Law  <law@redhat.com>
31868         [BZ #14277]
31869         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31870         free.  Simplify list management for _LIBC case.
31872 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31874         [BZ #14273]
31875         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31876         Clear sign bit of 64-bit integer value before comparing against
31877         overflow value.
31879         * sysdeps/mach/configure: Regenerated.
31881 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31883         [BZ #14278]
31884         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31886 2012-06-21  Jeff Law  <law@redhat.com>
31888         [BZ #13882]
31889         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31890         uint16_t for elements in the "seen" array to avoid char overflows.
31891         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31892         * elf/dl-open.c (dl_open_worker): Likewise.
31894 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31896         * scripts/list-sources.sh: Scan PORTS for translations.
31897         * po/libc.pot: Regenerated.
31899 2012-06-21  Andreas Jaeger  <aj@suse.de>
31901         [BZ #12194]
31902         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31903         warning.
31904         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31905         * bits/byteswap-16.h (__bswap_16): Likewise.
31906         * bits/byteswap.h (__bswap_constant_16): Likewise.
31908 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31910         [BZ #14117]
31911         * sysdeps/i386/fpu_control.h: Removed.
31912         * sysdeps/x86_64/fpu_control.h: Moved to ...
31913         * sysdeps/x86/fpu_control.h: Here.
31915         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31916         (_FPU_SETCW): Likewise.
31918 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31920         [BZ #14117]
31921         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31922         * sysdeps/x86/fpu/bits/mathinline.h: This.
31923         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31925         [BZ #14050]
31926         [BZ #14117]
31927         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31928         functions if __x86_64__ is defined.
31930 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31932         * string/endian.h: Add !__ASSEMBLER__ condition for including
31933         conversion interfaces.
31935 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31937         [BZ #14241]
31938         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31939         of ABS(x) in calculating zero to negative powers other than odd
31940         integers.
31941         * math/libm-test.inc (pow_test): Add more tests.
31943 2012-06-15  Andreas Jaeger  <aj@suse.de>
31945         * manual/contrib.texi (Contributors): Update entry of Liubov
31946         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31947         Machado Filho.
31949 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31951         * string/string.h: Add __wur to GNU version of strerror_r.
31953 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31955         [BZ #14229]
31956         * string/Makefile (tests): Add tst-strtok_r.
31957         * string/tst-strtok_r.c: New file.
31958         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31959         RAX_LP/RDX_LP on SAVE_PTR.
31961 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31963         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31965 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31967         * libm_test.inc (csqrt_test): Allow more spurious underflow
31968         exceptions.
31969         (j0_test): Likewise.
31970         (j1_test): Likewise.
31971         (y0_test): Likewise.
31972         (y1_test): Likewise.
31974 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31976         * po/Makefile (libc.pot): Use UTF-8 charset.
31978 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31980         [BZ #14210]
31981         Suppress sign-conversion warning from FD_SET.
31982         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31983         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31984         not unsigned long int.
31985         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31987 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31989         [BZ #14050]
31990         [BZ #14117]
31991         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31992         __extern_always_inline instead of __extern_inline.
31993         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31994         (__signbit): Likewise.
31995         (__signbitl): Support C++ namespace.
31996         (lrintf): New inline function.
31997         (lrint): Likewise.
31998         (llrintf): Likewise.
31999         (llrint): Likewise.
32000         (fmaxf): Likewise.
32001         (fmax): Likewise.
32002         (fminf): Likewise.
32003         (fmin): Likewise.
32004         (rint): Likewise.
32005         (rintf): Likewise.
32006         (ceil): Likewise.
32007         (ceilf): Likewise.
32008         (floor): Likewise.
32009         (floorf): Likewise.
32010         (nearbyint): Likewise.
32011         (nearbyintf): Likewise.
32013 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
32015         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32016         non-default versions.
32018 2012-06-11  Roland McGrath  <roland@hack.frob.com>
32020         [BZ #14218]
32021         * manual/argp.texi (Argp): Reword argp_parse description slightly.
32023 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
32025         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32026         (FE_UPWARD, FE_DOWNWARD): Don't define.
32027         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32028         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32030         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32031         reading it.
32032         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32033         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32035 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32037         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32038         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32039         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32040         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32042 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32044         [BZ #14117]
32045         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32046         * sysdeps/i386/fpu/Implies: New file.
32047         * sysdeps/x86_64/fpu/Implies: Likewise.
32048         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32049         * sysdeps/x86/fpu/bits/fenv.h: This.
32051         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32052         __SSE_MATH__.
32054 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32056         [BZ #14134]
32057         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32058         character 0xffff that matches the last element of the
32059         conversion table.
32061 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32063         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32064         fmodl commit.
32066 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32068         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32069         values higher than 25.6283.
32071 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32073         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32074         subnormal exponent extraction and add some __builtin_expect.
32075         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32076         Fix for subnormal mantissa calculation.
32078 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32080         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32081         cpu2 is -1 and errno is not ENOSYS.
32083 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32085         [BZ #14117]
32086         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32087         * sysdeps/x86/bits/string.h: This.
32088         * sysdeps/x86_64/bits/string.h: Removed.
32090         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32091         if not compiling for x86-64, but compiling for >= i486.
32093         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32094         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32096         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32097         New macro from Linux kernel 3.4.0.
32098         (FP_XSTATE_MAGIC2): Likewise.
32099         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32100         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32101         (struct _fpx_sw_bytes): New struct.
32102         (struct _xsave_hdr): Likewise.
32103         (struct _ymmh_state): Likewise.
32104         (struct _xstate): Likewise.
32106         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32107         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32108         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32109         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32110         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32111         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32113         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32114         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32115         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32116         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32117         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32118         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32120 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32122         [BZ #13743]
32123         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32124         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32125         (sysdep_headers): Include sys/platform/ppc.h.
32126         * sysdeps/powerpc/test-gettimebase.c: Test for
32127         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32128         * manual/Makefile (appendices): Include platform.texi.
32129         * manual/contrib.texi (Contributors): Update @node pointers.
32130         * manual/maint.texi (Maintenance): Likewise.
32131         (Platform): New node.
32132         * manual/platform.texi: New file.  Document the new features.
32134 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32135             Jakub Jelinek  <jakub@redhat.com>
32137         [BZ #14188]
32138         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32139         where __builtin_expect is unavailable.
32141 2012-06-03  David S. Miller  <davem@davemloft.net>
32143         * stdlib/longlong.h: Updated from GCC.
32145 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32147         [BZ #14042]
32148         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32149         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32150         __mcount_internal.
32151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32152         (GLIBC_2.16): Likewise.
32154 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32156         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32158 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32161         (default-abi): New variable.
32162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32163         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32164         variable.
32165         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32166         Likewise.
32167         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32168         Likewise.
32169         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32170         Likewise.
32172         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32173         definition.  Document in comment.
32175 2012-06-01  David S. Miller  <davem@davemloft.net>
32177         * stdlib/longlong.h: Updated from GCC.
32179 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32181         [BZ #14117]
32182         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32183         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32184         sys/debugreg.h sys/io.h here.
32185         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32186         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32187         sys/io.h.
32188         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32189         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32190         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32191         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32192         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32193         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32195         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32196         Define only if __x86_64__ is defined.
32198 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32200         [BZ #14048]
32201         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32202         Use int64_t for variable i.
32203         * math/libm-test.inc (fmod_test): Add more tests.
32205         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32206         z computation is not scheduled after fetestexcept.
32207         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32208         Use math_force_eval instead of asm to ensure calculation scheduled
32209         before exception test.
32210         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32211         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32213 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32215         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32216         computation is not scheduled after fetestexcept.
32218 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32220         [BZ #14117]
32221         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32222         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32224 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32226         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32227         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32229 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32231         [BZ #14117]
32232         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32233         <bits/wordsize.h>.
32234         (__WCHAR_MIN): Support __WORDSIZE == 64.
32235         (__WCHAR_MAX): Likewise.
32237         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32238         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32240         [BZ #14183]
32241         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32242         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32244         [BZ #14117]
32245         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32246         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32248         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32249         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32251         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32252         Defined to 1 if __x86_64__ isn't defined.
32253         (_STAT_VER_LINUX_OLD): New.
32254         (st_atime): Remove duplicate.
32255         (st_mtime): Likewise.
32256         (st_ctime): Likewise.
32258 2012-05-31  David S. Miller  <davem@davemloft.net>
32260         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32261         entries.
32263 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32265         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32266         gen-libm-test.pl.
32268         [BZ #14132]
32269         * elf/dl-reloc.c: Include <_itoa.h>.
32270         (_dl_reloc_bad_type): Remove use of INTUSE.
32271         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32272         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32273         * stdio-common/psiginfo.c (psiginfo): Likewise.
32274         * stdio-common/psignal.c (psignal): Likewise.
32275         * string/strsignal.c (strsignal): Likewise.
32276         * include/signal.h (_sys_siglist): Declare hidden proto.
32277         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32278         INTVARDEF with libc_hidden_data_def.
32279         * stdio-common/itoa-udigits.c: Likewise.
32280         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32281         (_itoa_lower_digits_internal): Remove declaration.
32282         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32283         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32284         (_sys_sigabbrev_internal): Remove aliases.
32285         (_sys_siglist): Define hidden alias.
32287 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32290         bits/sysctl.h.
32292 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32294         [BZ #14117]
32295         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32296         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32298         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32299         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32300         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32301         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32302         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32303         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32305         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32306         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32307         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32309         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32310         with __addr.
32311         (insw): Likewise.
32312         (insl): Likewise.
32313         (outsb): Likewise.
32314         (outsw): Likewise.
32315         (outsl): Likewise.
32317         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32318         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32319         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32321         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32322         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32323         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32324         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32325         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32326         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32328         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32329         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32331         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32332         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32334         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32335         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32336         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32338         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32339         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32340         to ...
32341         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32343         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32344         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32345         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32347         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32348         for x86-64.
32349         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32351 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32353         * math/math.h (M_El): Use two more decimal places.
32354         (M_LOG2El): Likewise.
32355         (M_LOG10El): Likewise.
32356         (M_LN2l): Likewise.
32357         (M_LN10l): Likewise.
32358         (M_PIl): Likewise.
32359         (M_PI_2l): Likewise.
32360         (M_PI_4l): Likewise.
32361         (M_1_PIl): Likewise.
32362         (M_2_PIl): Likewise.
32363         (M_2_SQRTPIl): Likewise.
32364         (M_SQRT2l): Likewise.
32365         (M_SQRT1_2l): Likewise.
32367 2012-05-31  David S. Miller  <davem@davemloft.net>
32369         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32370         values between float registers.
32371         * sysdeps/sparc/sparc64/memset.S: Likewise.
32372         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32374 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32376         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32377         -D_FORTIFY_SOURCE=1.
32378         (CPPFLAGS-tst-longjmp_chk.c): Define.
32379         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32380         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32381         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32382         CFLAGS-tst-wchar-h.c.
32384 2012-05-31  Marek Polacek  <polacek@redhat.com>
32386         [BZ #14132]
32387         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32388         __endmntent_internal): Remove declaration.
32389         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32390         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32391         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32393 2012-05-30  David S. Miller  <davem@davemloft.net>
32395         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32396         (___Q_simulate_exceptions): Use real FP ops rather than writing
32397         into the %fsr.
32398         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32399         Likewise.
32401 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32403         [BZ #14117]
32404         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32405         * sysdeps/x86/bits/xtitypes.h: This.
32407         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32408         * sysdeps/x86/bits/wordsize.h: This.
32410         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32411         * sysdeps/x86/bits/huge_vall.h: This.
32413         * sysdeps/i386/bits/select.h: Removed.
32414         * sysdeps/x86_64/bits/select.h: Renamed to ...
32415         * sysdeps/x86/bits/select.h: This.
32417         * sysdeps/i386/bits/setjmp.h: Removed.
32418         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32419         * sysdeps/x86/bits/setjmp.h: This.
32421         * sysdeps/i386/bits/mathdef.h: Removed.
32422         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32423         * sysdeps/x86/bits/mathdef.h: This.
32425 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32427         [BZ #14132]
32428         * include/sys/socket.h (__connect_internal)
32429         (__libc_sa_len_internal): Remove declaration.
32430         (__connect, __libc_sa_len): Declare hidden_proto.
32431         (SA_LEN): Remove use of INTUSE.
32432         * socket/connect.c: Add libc_hidden_def.
32433         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32434         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32435         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32436         alias.
32437         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32438         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32439         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32440         of adding _internal alias.
32442 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32444         [BZ #14117]
32445         * sysdeps/i386/bits/link.h: Removed.
32446         * sysdeps/i386/bits/linkmap.h: Likewise.
32447         * sysdeps/x86_64/bits/link.h: Renamed to ...
32448         * sysdeps/x86/bits/link.h: This.
32449         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32450         * sysdeps/x86/bits/linkmap.h: This.
32452         * sysdeps/i386/bits/endian.h: Removed.
32453         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32454         * sysdeps/x86/bits/endian.h: This.
32456         * sysdeps/i386/bits/byteswap.h: Removed.
32457         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32458         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32459         * sysdeps/x86/bits/byteswap.h: This.
32460         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32461         * sysdeps/x86/bits/byteswap-16.h: This.
32462         * sysdeps/i386/Implies: Add x86.
32463         * sysdeps/x86_64/Implies: Likewise.
32465 2012-05-30  David S. Miller  <davem@davemloft.net>
32467         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32468         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32469         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32470         (FP_TRAPPING_EXCEPTIONS): Define.
32471         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32472         (FP_TRAPPING_EXCEPTIONS): Define.
32473         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32474         subnormals only when inexact has been signalled or underflow
32475         exceptions are enabled.
32476         (_FP_PACK_CANONICAL): Likewise.
32478 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32480         [BZ #14183]
32481         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32482         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32484 2012-05-30  Richard Henderson  <rth@twiddle.net>
32486         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32487         with #ifndef NOT_IN_libc.
32489         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32490         marked to avoid plt entry.
32492 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32494         [BZ #14112]
32495         * Makeconfig (default-abi): New macro.
32496         (abi-includes): Likewise.
32497         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32498         $(abi-$(default-abi)-lib-soname) for soname if defined.
32499         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32500         abi-variants.
32501         * Makefile (installed-stubs): Likewise.
32502         * include/stubs-biarch.h: Removed.
32503         * scripts/lib-names.awk: Only handle one library at a time.
32504         * scripts/soversions.awk: Remove WORDSIZE support.
32505         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32506         entries.
32507         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32508         Removed.
32509         (syscall-list-default-condition): Likewise.
32510         (syscall-list-default-condition): Likewise.
32511         (syscall-list-includes): Likewise.
32512         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32513         syscall-list-* with abi-*.  Handle undefined abi-variants.
32514         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32515         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32516         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32517         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32518         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32519         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32520         Removed.
32521         (syscall-list-32-options): Likewise.
32522         (syscall-list-32-condition): Likewise.
32523         (syscall-list-64-options): Likewise.
32524         (syscall-list-64-condition): Likewise.
32525         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32526         macro.
32527         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32528         Renamed to ...
32529         (abi-*): This.
32530         (abi-64-ld-soname): New macro.
32531         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32532         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32533         Renamed to ...
32534         (abi-*): This.
32535         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32536         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32538 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32540         * sysdeps/unix/sysv/linux/kernel-features.h
32541         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32542         * sysdeps/unix/sysv/linux/ftruncate64.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         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32549         include <kernel-features.h>.
32550         [!__NR_ftruncate64]: Remove conditional code.
32551         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32552         [__NR_ftruncate64]: Make code unconditional.
32553         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32555         include <kernel-features.h>.
32556         [!__NR_ftruncate64]: Remove conditional code.
32557         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32558         [__NR_ftruncate64]: Make code unconditional.
32559         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32561         include <kernel-features.h>.
32562         [!__NR_ftruncate64]: Remove conditional code.
32563         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32564         [__NR_ftruncate64]: Make code unconditional.
32565         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32567         * configure.in (libc_cv_fpie): Weaken to a compile test using
32568         LIBC_TRY_CC_OPTION.
32569         * configure: Regenerated.
32571 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32577         Refreshed.
32578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32584         Refreshed.
32586 2012-05-27  David S. Miller  <davem@davemloft.net>
32588         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32589         (___Q_zero): New.
32590         (__Q_simulate_exceptions): Return void.  Change to simulate
32591         exceptions by writing into the %fsr.
32592         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32593         (__Qp_handle_exceptions): Likewise.
32594         (numbers): Delete.
32595         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32596         __Qp_handle_exceptions.
32597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32598         __Qp_handle_exceptions.
32599         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32600         as unused and give dummy FP_RND_NEAREST initializer.
32601         (FP_INHIBIT_RESULTS): Define.
32602         (___Q_simulate_exceptions): Update declaration.
32603         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32604         formatting.
32605         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32606         as unused and give dummy FP_RND_NEAREST initializer.
32607         (__Qp_handle_exceptions): Update declaration.
32608         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32609         formatting.
32611 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32613         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32614         the temporary FPU control word.
32615         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32616         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32617         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32618         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32619         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32620         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32621         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32622         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32623         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32624         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32625         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32627 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32629         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32630         fields.
32632 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32634         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32635         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32636         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32637         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32638         Likewise.
32639         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32640         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32641         Likewise.
32643 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32645         * po/h.po: Update from translation team.
32647 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32649         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32651         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32652         handling of denormals.
32653         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32654         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32655         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32656         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32657         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32658         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32659         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32660         Likewise.
32662 2012-05-26  Marek Polacek  <polacek@redhat.com>
32664         [BZ #14152]
32665         * math/libm-test.inc (fma_test): Don't always expect underflow
32666         exception.
32668 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32670         [BZ #12416]
32671         * elf/tst-execstack.c: Include stackinfo.h.
32672         (do_test): Adjust test case to ensure that pthread_getattr_np
32673         behaviour remains the same after marking stack executable.
32675 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32677         * sysdeps/unix/sysv/linux/kernel-features.h
32678         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32679         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32680         kernel-features.h.
32681         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32682         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32683         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32684         kernel-features.h.
32685         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32686         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32688 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32690         * configure.in: Define the default includes to being none.
32691         * configure: Regenerated.
32693 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32695         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32696         * sysdeps/x86_64/setjmp.S: Likewise.
32697         * sysdeps/i386/bsd-setjmp.S: Likewise.
32698         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32699         * sysdeps/i386/setjmp.S: Likewise.
32700         * sysdeps/i386/__longjmp.S: Likewise.
32701         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32702         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32704         * include/stap-probe.h: New file.
32705         * configure.in: Handle --enable-systemtap.
32706         * configure: Regenerated.
32707         * config.h.in (USE_STAP_PROBE): New #undef.
32708         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32709         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32710         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32712 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32714         [BZ #13717]
32715         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32716         to 2.4.0 where earlier.
32717         * sysdeps/unix/sysv/linux/configure: Regenerated.
32718         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32719         <kernel-features.h>.
32720         [__ASSUME_32BITUIDS]: Make code unconditional.
32721         [!__ASSUME_32BITUIDS]: Remove conditional code.
32722         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32723         <kernel-features.h>.
32724         [__ASSUME_32BITUIDS]: Make code unconditional.
32725         [!__ASSUME_32BITUIDS]: Remove conditional code.
32726         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32727         [__ASSUME_32BITUIDS]: Make code unconditional.
32728         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32729         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32730         <kernel-features.h>.
32731         [__ASSUME_32BITUIDS]: Make code unconditional.
32732         [!__ASSUME_32BITUIDS]: Remove conditional code.
32733         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32734         <kernel-features.h>.
32735         [__ASSUME_32BITUIDS]: Make code unconditional.
32736         [!__ASSUME_32BITUIDS]: Remove conditional code.
32737         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32738         <kernel-features.h>.
32739         [__ASSUME_32BITUIDS]: Make code unconditional.
32740         [!__ASSUME_32BITUIDS]: Remove conditional code.
32741         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32742         <kernel-features.h>.
32743         [__ASSUME_32BITUIDS]: Make code unconditional.
32744         [!__ASSUME_32BITUIDS]: Remove conditional code.
32745         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32746         <kernel-features.h>.
32747         [__ASSUME_32BITUIDS]: Make code unconditional.
32748         [!__ASSUME_32BITUIDS]: Remove conditional code.
32749         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32750         <kernel-features.h>.
32751         [__ASSUME_32BITUIDS]: Make code unconditional.
32752         [!__ASSUME_32BITUIDS]: Remove conditional code.
32753         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32754         <kernel-features.h>.
32755         [__ASSUME_32BITUIDS]: Make code unconditional.
32756         [!__ASSUME_32BITUIDS]: Remove conditional code.
32757         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32758         <kernel-features.h>.
32759         [__ASSUME_32BITUIDS]: Make code unconditional.
32760         [!__ASSUME_32BITUIDS]: Remove conditional code.
32761         * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
32770         <kernel-features.h>.
32771         [__NR_setresgid] (__setresgid): Do not declare.
32772         [__ASSUME_32BITUIDS]: Make code unconditional.
32773         [!__ASSUME_32BITUIDS]: Remove conditional code.
32774         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32775         <kernel-features.h>.
32776         [__NR_setresuid] (__setresuid): Do not declare.
32777         [__ASSUME_32BITUIDS]: Make code unconditional.
32778         [!__ASSUME_32BITUIDS]: Remove conditional code.
32779         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32780         <kernel-features.h>.
32781         [__ASSUME_32BITUIDS]: Make code unconditional.
32782         [!__ASSUME_32BITUIDS]: Remove conditional code.
32783         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32784         <kernel-features.h>.
32785         [__ASSUME_32BITUIDS]: Make code unconditional.
32786         [!__ASSUME_32BITUIDS]: Remove conditional code.
32787         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32788         <kernel-features.h>.
32789         [__ASSUME_32BITUIDS]: Make code unconditional.
32790         [!__ASSUME_32BITUIDS]: Remove conditional code.
32791         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32792         <kernel-features.h>.
32793         [__ASSUME_32BITUIDS]: Make code unconditional.
32794         [!__ASSUME_32BITUIDS]: Remove conditional code.
32795         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32796         <kernel-features.h>.
32797         [__ASSUME_32BITUIDS]: Make code unconditional.
32798         [!__ASSUME_32BITUIDS]: Remove conditional code.
32799         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32800         <kernel-features.h>.
32801         [__ASSUME_32BITUIDS]: Make code unconditional.
32802         [!__ASSUME_32BITUIDS]: Remove conditional code.
32803         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32804         <kernel-features.h>.
32805         [__ASSUME_32BITUIDS]: Make code unconditional.
32806         [!__ASSUME_32BITUIDS]: Remove conditional code.
32807         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32808         <kernel-features.h>.
32809         [__ASSUME_32BITUIDS]: Make code unconditional.
32810         [!__ASSUME_32BITUIDS]: Remove conditional code.
32811         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32812         <kernel-features.h>.
32813         [__ASSUME_32BITUIDS]: Make code unconditional.
32814         [!__ASSUME_32BITUIDS]: Remove conditional code.
32815         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32816         <kernel-features.h>.
32817         [__ASSUME_32BITUIDS]: Make code unconditional.
32818         [!__ASSUME_32BITUIDS]: Remove conditional code.
32819         * sysdeps/unix/sysv/linux/kernel-features.h
32820         (__ASSUME_SETRESUID_SYSCALL): Remove.
32821         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32822         (__ASSUME_32BITUIDS): Likewise.
32823         (__ASSUME_LDT_WORKS): Likewise.
32824         (__ASSUME_O_DIRECTORY): Likewise.
32825         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32826         architecture but not kernel version.
32827         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32828         (__ASSUME_MMAP2_SYSCALL): Likewise.
32829         (__ASSUME_STAT64_SYSCALL): Likewise.
32830         (__ASSUME_IPC64): Likewise.
32831         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32832         <kernel-features.h>.
32833         [__ASSUME_32BITUIDS]: Make code unconditional.
32834         [!__ASSUME_32BITUIDS]: Remove conditional code.
32835         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32836         <kernel-features.h>.
32837         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32838         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32839         132096]: Remove conditional code.
32840         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32841         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32842         <kernel-features.h>.
32843         [__ASSUME_32BITUIDS]: Make code unconditional.
32844         [!__ASSUME_32BITUIDS]: Remove conditional code.
32845         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
32850         <kernel-features.h>.
32851         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32852         unconditional.
32853         (__setresgid): Do not declare.
32854         [__ASSUME_32BITUIDS]: Make code unconditional.
32855         [!__ASSUME_32BITUIDS]: Remove conditional code.
32856         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32857         <kernel-features.h>.
32858         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32859         unconditional.
32860         (__setresuid): Do not declare.
32861         [__ASSUME_32BITUIDS]: Make code unconditional.
32862         [!__ASSUME_32BITUIDS]: Remove conditional code.
32863         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32864         <kernel-features.h>.
32865         [__ASSUME_32BITUIDS]: Make code unconditional.
32866         [!__ASSUME_32BITUIDS]: Remove conditional code.
32867         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32868         <kernel-features.h>.
32869         [__ASSUME_32BITUIDS]: Make code unconditional.
32870         [!__ASSUME_32BITUIDS]: Remove conditional code.
32872 2012-05-25  Richard Henderson  <rth@twiddle.net>
32874         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32875         dl_hwcap to ifunc resolver.
32876         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32877         elf_ifunc_invoke.
32878         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32879         dl_hwcap to ifunc resolver.
32880         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32882 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32884         [BZ #14153]
32885         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32886         for |x| <= 2**-26, not 2**-57.
32887         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32888         exception.
32890 2012-05-24  Jeff Law  <law@redhat.com>
32892         * stdio-common/Makefile (tests): Add bug25.
32893         * stdio-common/bug25.c: New test.
32895 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32897         [BZ #13576]
32898         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32899         multiple of MALLOC_ALIGNMENT in size.
32900         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32902 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32904         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32905         Require >= 256.
32906         (FILENAME_MAX): Use macro-int-constant.
32907         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32908         (_IOFBF): Use macro-int-constant.
32909         (_IOLBF): Likewise.
32910         (_IONBF): Likewise.
32911         (SEEK_CUR): Likewise.
32912         (SEEK_END): Likewise.
32913         (SEEK_SET): Likewise.
32914         (TMP_MAX): Likewise.
32915         (EOF): Use macro-int-constant.  Require < 0.
32916         (NULL): Use macro-constant.  Require == 0.
32917         (stdin): Require type to be FILE *.
32918         (stdout): Likewise.
32919         (stderr): Likewise.
32920         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32921         macro-int-constant.
32922         (EXIT_SUCCESS): Likewise.
32923         (NULL): Use macro-constant.  Require == 0.
32924         (RAND_MAX): Use macro-int-constant.
32925         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32926         [C99-based standards] (strtof): Require function.
32927         [C99-based standards] (strtold): Likewise.
32928         [C99-based standards] (strtoll): Likewise.
32929         [C99-based standards] (strtoull): Likewise.
32930         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32931         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32932         [ISO || ISO99 || ISO11] (math.h): Likewise.
32933         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32934         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32935         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32937 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32939         [BZ #14132]
32940         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32941         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32942         * intl/dgettext.c (DCGETTEXT): Likewise.
32943         * intl/gettext.c (DCGETTEXT): Likewise.
32944         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32945         * posix/regex_internal.h (gettext): Likewise.
32946         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32947         Remove declaration.
32948         * include/argz.h (__argz_count_internal)
32949         (__argz_stringify_internal): Remove declaration.
32950         (__argz_count, __argz_stringify): Declare hidden proto.
32951         * intl/dcgettext.c: Remove use of INTDEF.
32952         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32953         * string/argz-stringify.c: Likewise.
32954         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32955         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32956         Declare hidden proto.
32957         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32958         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32959         Declare hidden proto.
32960         * include/stdio.h (__asprintf_internal): Don't declare.
32961         (__asprintf): Don't define as macro.  Declare hidden proto.
32962         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32963         (__fsetlocking): Declare hidden proto.
32964         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32965         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32966         hidden proto.
32967         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32968         (_IO_setlinebuf): Remove use of INTUSE.
32969         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32970         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32971         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32972         Remove declaration.
32973         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32974         (_IO_do_flush): Remove use of INTUSE.
32975         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32976         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32977         (_IO_adjust_column, _IO_least_wmarker)
32978         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32979         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32980         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32981         (_IO_default_doallocate, _IO_wdefault_doallocate)
32982         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32983         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32984         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32985         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32986         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32987         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32988         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32989         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32990         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32991         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32992         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32993         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32994         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32995         proto.
32996         (_IO_flush_all_internal, _IO_adjust_column_internal)
32997         (_IO_default_uflow_internal, _IO_default_finish_internal)
32998         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32999         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33000         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33001         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33002         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33003         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33004         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33005         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33006         (_IO_file_close_internal, _IO_file_close_it_internal)
33007         (_IO_file_underflow_internal, _IO_file_overflow_internal)
33008         (_IO_file_init_internal, _IO_file_attach_internal)
33009         (_IO_file_fopen_internal, _IO_file_read_internal)
33010         (_IO_file_sync_internal, _IO_file_seek_internal)
33011         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33012         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33013         (_IO_str_underflow_internal, _IO_str_overflow_internal)
33014         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33015         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33016         (_IO_list_all_internal, _IO_link_in_internal)
33017         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33018         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33019         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33020         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33021         (_IO_do_write_internal, _IO_padn_internal)
33022         (_IO_getline_info_internal, _IO_getline_internal)
33023         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33024         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33025         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33026         (_IO_vfscanf_internal, _IO_vfprintf_internal)
33027         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33028         (_IO_init_internal, _IO_un_link_internal): Don't declare.
33029         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33030         with libc_hidden_ver, remove use of INTUSE.
33031         * libio/genops.c: Likewise.
33032         * libio/freopen.c: Likewise.
33033         * libio/freopen64.c: Likewise.
33034         * libio/iofclose.c: Likewise.
33035         * libio/iofdopen.c: Likewise.
33036         * libio/iofflush.c: Likewise.
33037         * libio/iofflush_u.c: Likewise.
33038         * libio/iofgets.c: Likewise.
33039         * libio/iofgets_u.c: Likewise.
33040         * libio/iofopen.c: Likewise.
33041         * libio/iofopncook.c: Likewise.
33042         * libio/iofread.c: Likewise.
33043         * libio/iofread_u.c: Likewise.
33044         * libio/ioftell.c: Likewise.
33045         * libio/iofwrite.c: Likewise.
33046         * libio/iogetline.c: Likewise.
33047         * libio/iogets.c: Likewise.
33048         * libio/iogetwline.c: Likewise.
33049         * libio/iopadn.c: Likewise.
33050         * libio/iopopen.c: Likewise.
33051         * libio/ioseekoff.c: Likewise.
33052         * libio/ioseekpos.c: Likewise.
33053         * libio/iosetbuffer.c: Likewise.
33054         * libio/iosetvbuf.c: Likewise.
33055         * libio/ioungetc.c: Likewise.
33056         * libio/ioungetwc.c: Likewise.
33057         * libio/iovdprintf.c: Likewise.
33058         * libio/iovsprintf.c: Likewise.
33059         * libio/iovsscanf.c: Likewise.
33060         * libio/memstream.c: Likewise.
33061         * libio/obprintf.c: Likewise.
33062         * libio/oldfileops.c: Likewise.
33063         * libio/oldiofclose.c: Likewise.
33064         * libio/oldiofdopen.c: Likewise.
33065         * libio/oldiofopen.c: Likewise.
33066         * libio/oldiopopen.c: Likewise.
33067         * libio/oldstdfiles.c: Likewise.
33068         * libio/putc.c: Likewise.
33069         * libio/setbuf.c: Likewise.
33070         * libio/setlinebuf.c: Likewise.
33071         * libio/stdfiles.c: Likewise.
33072         * libio/strops.c: Likewise.
33073         * libio/vasprintf.c: Likewise.
33074         * libio/vscanf.c: Likewise.
33075         * libio/vsnprintf.c: Likewise.
33076         * libio/vswprintf.c: Likewise.
33077         * libio/wfiledoalloc.c: Likewise.
33078         * libio/wfileops.c: Likewise.
33079         * libio/wgenops.c: Likewise.
33080         * libio/wmemstream.c: Likewise.
33081         * libio/wstrops.c: Likewise.
33082         * libio/__fpurge.c: Likewise.
33083         * libio/__fsetlocking.c: Likewise.
33084         * assert/assert.c: Likewise.
33085         * debug/fgets_chk.c: Likewise.
33086         * debug/fgets_u_chk.c: Likewise.
33087         * debug/fread_chk.c: Likewise.
33088         * debug/fread_u_chk.c: Likewise.
33089         * debug/gets_chk.c: Likewise.
33090         * debug/obprintf_chk.c: Likewise.
33091         * debug/vasprintf_chk.c: Likewise.
33092         * debug/vdprintf_chk.c: Likewise.
33093         * debug/vsnprintf_chk.c: Likewise.
33094         * debug/vsprintf_chk.c: Likewise.
33095         * malloc/mtrace.c: Likewise.
33096         * misc/error.c: Likewise.
33097         * misc/syslog.c: Likewise.
33098         * stdio-common/asprintf.c: Likewise.
33099         * stdio-common/fxprintf.c: Likewise.
33100         * stdio-common/getw.c: Likewise.
33101         * stdio-common/isoc99_fscanf.c: Likewise.
33102         * stdio-common/isoc99_scanf.c: Likewise.
33103         * stdio-common/isoc99_vfscanf.c: Likewise.
33104         * stdio-common/isoc99_vscanf.c: Likewise.
33105         * stdio-common/isoc99_vsscanf.c: Likewise.
33106         * stdio-common/printf-prs.c: Likewise.
33107         * stdio-common/printf_fp.c: Likewise.
33108         * stdio-common/printf_fphex.c: Likewise.
33109         * stdio-common/printf_size.c: Likewise.
33110         * stdio-common/putw.c: Likewise.
33111         * stdio-common/scanf.c: Likewise.
33112         * stdio-common/sprintf.c: Likewise.
33113         * stdio-common/tmpfile.c: Likewise.
33114         * stdio-common/vfprintf.c: Likewise.
33115         * stdio-common/vfscanf.c: Likewise.
33116         * stdlib/strfmon_l.c: Likewise.
33117         * sunrpc/openchild.c: Likewise.
33118         * sunrpc/xdr_stdio.c: Likewise.
33119         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33120         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33122 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33124         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33126         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33127         in the third column, to generate for the shared library an IFUNC
33128         that uses _dl_vdso_vsym.
33129         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33130         * Makeconfig (object-suffixes-noshared): New variable.
33132         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33133         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33134         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33135         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33137         [BZ #14132]
33138         * include/sys/time.h (__gettimeofday): Remove macro.
33139         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33140         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33141         Remove INTDEF.
33142         (__gettimeofday): Add libc_hidden_def.
33143         (gettimeofday): Add libc_hidden_weak.
33144         * sysdeps/mach/gettimeofday.c: Likewise.
33145         * sysdeps/posix/gettimeofday.c: Likewise.
33146         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33147         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33148         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33149         (__gettimeofday_internal): Remove strong_alias.
33150         (__gettimeofday): Add libc_hidden_def.
33151         (gettimeofday): Add libc_hidden_weak.
33152         * sysdeps/unix/syscalls.list (gettimeofday):
33153         Remove __gettimeofday_internal alias.
33155 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33156             H.J. Lu  <hongjiu.lu@intel.com>
33158         [BZ #12495]
33159         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33160         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33161         (largebin_index_32_big): New.
33162         (largebin_index): Use it for 16-byte alignment.
33163         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33164         correction with front_misalign.
33166 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33170         Likewise.
33171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33172         Likewise.
33173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33174         Likewise.
33175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33176         Likewise.
33177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33178         Likewise.
33179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33180         Likewise.
33181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33182         Likewise.
33183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33184         Likewise.
33185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33186         Likewise.
33187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33188         Likewise.
33189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33190         Likewise.
33191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33192         Likewise.
33194         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33195         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33197 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33199         [BZ #10846]
33200         [BZ #14036]
33201         * math/libm-test.inc (exp_test): Add test from bug 14036.
33202         (pow_test): Add test from bug 10846.
33204         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33205         and other flags.
33206         (special_function): Do not include flags in test name.
33207         (parse_args): Likewise.
33208         * sysdeps/i386/fpu/libm-test-ulps: Update.
33209         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33210         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33211         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33214         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33215         exceptions.
33216         * math/libm-test.inc ("Philosophy"): Update comment about
33217         exception testing.
33218         (UNDERFLOW_EXCEPTION): New macro.
33219         (UNDERFLOW_EXCEPTION_OK): Likewise.
33220         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33221         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33222         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33223         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33224         (INVALID_EXCEPTION_OK): Update value.
33225         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33226         (OVERFLOW_EXCEPTION_OK): Likewise.
33227         (IGNORE_ZERO_INF_SIGN): Likewise.
33228         (test_exceptions): Handle underflow exceptions.
33229         (acos_test): Update for underflow exception expectations.
33230         (cexp_test): Likewise.
33231         (clog_test): Likewise.
33232         (clog10_test): Likewise.
33233         (csqrt_test): Likewise.
33234         (ctan_test): Likewise.
33235         (ctanh_test): Likewise.
33236         (exp_test): Likewise.
33237         (exp10_test): Likewise.
33238         (exp2_test): Likewise.
33239         (expm1_test): Likewise.
33240         (fma_test): Likewise.
33241         (j0_test): Likewise.
33242         (jn_test): Likewise.
33243         (nexttoward_test): Likewise.
33244         (pow_test): Likewise.
33245         (scalbn_test): Likewise.
33246         (scalbln_test): Likewise.
33247         (tan_test): Likewise.
33248         (y1_test): Likewise.
33249         * sysdeps/i386/fpu/libm-test-ulps: Update.
33250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33252 2012-05-23  David S. Miller  <davem@davemloft.net>
33254         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33255         (__libc_sigaction): Remove unused local variables.
33257 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33259         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33261 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33263         mktime: avoid signed integer overflow
33264         * time/mktime.c (__mktime_internal): Do not mishandle the case
33265         where diff == INT_MIN.
33267         mktime: simplify computation of average
33268         * time/mktime.c (ranged_convert): Use new time_t_avg function
33269         instead of rolling our own (probably-slower) code.
33271         mktime: do not assume signed right shift propagates sign bit
33272         * time/mktime.c (isdst_differ): New static function.
33273         (__mktime_internal): No need to normalize tm_isdst now.
33274         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33275         tm_isdst values.
33277         mktime: merge another wrapv change from gnulib
33278         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33279         from some compilers.
33281         mktime: remove incorrect attempt at unusual arithmetics
33282         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33283         The code didn't really work on such machines anyway.
33284         (TYPE_MINIMUM): Assume two's complement.
33285         (twos_complement_arithmetic): Verify that long_int and time_t
33286         are two's complement (or unsigned, in the latter case).
33288         mktime: check signed shifts on long_int and time_t, too
33289         * time/mktime.c (SHR): Check that shifts work as desired
33290         on the types long_int and time_t too, as SHR is used on
33291         such types.
33293         mktime: do not assume 'long' is wide enough
33294         * time/mktime.c (verify): Move decl up.
33295         (long_int): New type.
33296         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33297         to remove assumption in the code that 'long' is wide enough to
33298         store year values.  This assumption is not true on x32 and on
33299         some non-glibc platforms.
33301         mktime: merge wrapv change from gnulib
33302         * time/mktime.c (WRAPV): New macro.
33303         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33304         (guess_time_tm, __mktime_internal): Do not assume that signed
33305         integer overflow wraps around; modern compilers generate code
33306         where this assumption is no longer valid.
33308 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33310         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33311         Replace "jmp L(pseudo_end)" with "ret".
33312         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33313         Likewise.
33315 2012-05-23  Andreas Jaeger  <aj@suse.de>
33317         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33318         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33320 2012-05-23  Andreas Jaeger  <aj@suse.de>
33321             Maximilian Attems  <max@stro.at>
33323         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33324         New macros.
33326 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33328         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33329         code so that pseudo_end is just ret and the stack pointer is
33330         correct also for static library in error case.
33332 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33334         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33335         move to syscalls.list.
33336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33341         * manual/install.texi (Running make install): Do not mention Linux
33342         kernel version for which pt_chown is not needed.
33343         (Linux): Do not mention problems with nscd with 2.0 kernels.
33344         * INSTALL: Regenerated.
33346 2012-05-23  Andreas Jaeger  <aj@suse.de>
33348         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33349         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33350         macro.
33351         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33352         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33353         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33354         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33355         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33356         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33357         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33358         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33359         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33360         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33361         * sysdeps/unix/sysv/linux/bits/in.h
33362         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33364 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33366         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33367         (PREPARE_VERSION): Just use assert instead, it will be elided
33368         under [NDEBUG] anyway.
33370 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33372         * sysdeps/unix/sysv/linux/Makefile: Include
33373         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33374         (sysdep_routines): Remove sysctl.
33375         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33376         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33377         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33378         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33379         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33381 2012-05-22  Andreas Jaeger  <aj@suse.de>
33383         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33384         that pseudo_end is just ret and the stack pointer is correct also
33385         for static library in error case.
33387 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33389         [BZ #14122]
33390         * nss/nsswitch.c (defconfig_entries): New variable.
33391         (__nss_database_lookup): Don't leak defconfig entries.
33392         (nss_parse_service_list): Don't leak on error paths.
33393         (free_database_entries): New function.
33394         (free_defconfig): New function.
33395         (free_mem): Move common code to free_database_entries.
33397 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33399         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33400         Add arch_prctl.
33401         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33403         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33404         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33406         New macro.
33407         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33408         (INTERNAL_SYSCALL_TYPES): Likewise.
33409         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33410         (LOAD_REGS_TYPES_[1-6]): Likewise.
33411         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33412         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33414 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33416         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33417         copysignl for GLIBC_2_0.
33418         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33419         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33420         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33421         logbl for GLIBC_2_0.
33422         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33423         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33425 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33427         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33428         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33430         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33431         Use "neg %eax".
33433         * time/mktime.c: Update copyright years.
33435 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33437         mktime: merge comment-quoting-style change from gnulib
33438         * time/mktime.c: Quote 'like this' in comments.
33439         The GNU coding standards suggest that we no longer quote `like this',
33440         as "`" and "'" are typically rendered asymmetrically nowadays.
33441         The typical gnulib style is to quote 'like this' when quoting
33442         code, and "like this" when quoting English.
33444         * time/mktime.c (compile-command): Add "-I.".
33446         mktime: merge mktime-internal.h change from gnulib
33447         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33449         mktime: merge time_r change from gnulib
33450         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33452         mktime: merge DEBUG change from gnulib
33453         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33454         case system <time.h> has a #define.
33456         mktime: merge <sys/types.h> change from gnulib
33457         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33458         since <time.t> is now guaranteed to define time_t.
33460         mktime: merge HAVE_CONFIG_H change from gnulib
33461         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33463 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33466         Use "neg %eax".
33468         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33469         __rlim_t cast.
33470         (struct rusage): Use anonymous union to pad each field to
33471         __syscall_slong_t.
33473 2012-05-21  David S. Miller  <davem@davemloft.net>
33475         * Makefules (o-iterator): Remove .s cases.
33476         (compile-command.s): Delete.
33477         (COMPILE.s): Delete.
33478         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33480 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33482         * configure.in (libc_cv_predef_stack_protector): Only consider
33483         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33484         * configure: Regenerated.
33486 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33488         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33489         New macro.  Use R*LP on int and pointer.
33490         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33491         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33492         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33493         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33495         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33496         [__WORDSIZE_TIME64_COMPAT32] instead of
33497         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33498         (struct utmp): Likewise.
33499         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33500         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33501         Renamed to ...
33502         (__WORDSIZE_TIME64_COMPAT32): This.
33503         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33504         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33505         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33506         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33507         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33508         (__WORDSIZE_TIME64_COMPAT32): New macro.
33510 2012-05-21  Andreas Jaeger  <aj@suse.de>
33512         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33513         only if [SHARED]. Add prototype for __wcschr_ia32.
33515 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33517         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33518         of %rbp unmolested in the jmp_buf while mangling the low bits.
33519         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33520         unmolested high bits of %rbp while demangling the low bits.
33521         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33523 2012-05-21  Andreas Jaeger  <aj@suse.de>
33525         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33526         * sunrpc/svc_simple.c: Use it for registerrpc.
33527         * sunrpc/xcrypt.c: Use it for passwd2des.
33529         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33531 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33533         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33534         Don't define if [__SYSCALL_WORDSIZE != 32].
33535         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33536         New macro.
33538 2012-05-21  Bruno Haible  <bruno@clisp.org>
33539             Andreas Jaeger  <aj@suse.de>
33541         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33542         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33543         inptr and inend for must_buffer_ch.
33544         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33545         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33546         * stdio-common/Makefile (tests): Remove bug15.
33547         (bug15-ENV): Remove macro.
33548         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33549         anymore.
33551 2012-05-19  Andreas Jaeger  <aj@suse.de>
33552             Roland McGrath  <roland@hack.frob.com>
33554         * manual/contrib.texi: Completely rewritten. It contains now an
33555         alphabetical list of contributors and their contributions.
33557 2012-05-21  Richard Henderson  <rth@twiddle.net>
33559         * misc/getauxval.c (__getauxval): Use unsigned long int.
33560         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33561         (getauxval): Use unsigned long int.
33563 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33565         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33567 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33569         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33570         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33571         __alignof__ (long double).
33573 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33577 2012-05-20  Richard Henderson  <rth@twiddle.net>
33579         * misc/getauxval.c: New file.
33580         * misc/sys/auxv.h: New file.
33581         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33582         (routines): Add getauxval.
33583         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33584         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33585         * elf/dl-sysdep.c (_dl_auxv): Remove.
33586         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33587         * elf/dl-support.c (_dl_auxv): New variable.
33588         (_dl_aux_init): Initialize it.
33589         * manual/startup.texi (Auxiliary Vector): New node.
33590         * sysdeps/generic/bits/hwcap.h: New file.
33591         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33592         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33593         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33594         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33595         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33596         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33598         Update.
33599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33602         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33608 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33612 2012-05-19  David S. Miller  <davem@davemloft.net>
33614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33616 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33618         [BZ #14123]
33619         * math/s_ccosh.c: Include <float.h>
33620         (__ccosh): Avoid internal overflow calculating sinh and cosh
33621         values before multiplying by sin and cos values.
33622         * math/s_ccoshf.c: Likewise.
33623         * math/s_ccoshl.c: Likewise.
33624         * math/s_csin.c: Likewise.
33625         * math/s_csinf.c: Likewise.
33626         * math/s_csinl.c: Likewise.
33627         * math/s_csinh.c: Likewise.
33628         * math/s_csinhf.c: Likewise.
33629         * math/s_csinhl.c: Likewise.
33630         * math/libm-test.inc (ccos_test): Add more tests.
33631         (ccosh_test): Likewise.
33632         (csin_test): Likewise.
33633         (csinh_test): Likewise.
33634         * sysdeps/i386/fpu/libm-test-ulps: Update.
33635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33637 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33639         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33640         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33642         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33644 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33646         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33647         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33648         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33649         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33650         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33651         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33652         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33653         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33654         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33655         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33656         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33657         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33658         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33659         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33660         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33661         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33662         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33663         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33664         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33665         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33666         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33667         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33668         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33669         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33670         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33671         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33672         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33673         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33674         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33675         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33676         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33678 2012-05-18  Andreas Jaeger  <aj@suse.de>
33680         * csu/.gitignore: Delete.
33682 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33684         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33685         (timex): Use __syscall_slong_t.
33687 2012-05-18  Andreas Jaeger  <aj@suse.de>
33688             Carlos O'Donell  <carlos_odonell@mentor.com>
33690         * manual/install.texi (Configuring and compiling): Update
33691         description about files modified in the source directory.
33692         * INSTALL: Regenerated.
33694 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33696         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33697         value.  Use "or" to set return value to -1.
33698         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33699         negate return value.
33701 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33703         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33704         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33705         failure if the compiler has Graphite support disabled.
33706         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33707         Likewise.
33708         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33709         (CFLAGS-memmove.c): Likewise.
33710         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33711         Likewise.
33713 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33715         * sysdeps/x86_64/x32/_itoa.h: New file.
33717         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33718         getdents system call only if kernel and user dirents have the
33719         same d_ino and d_off.
33721         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33722         LLONG_MAX != LONG_MAX.
33723         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33724         (_fitoa_word): Likewise.
33726         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33727         years.
33728         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33729         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33730         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33732         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33733         include <bits/wordsize.h>.  Check __x86_64__ instead of
33734         __WORDSIZE.
33735         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33736         if __x86_64__ is defined.  Use anonymous union on fpstate.
33738         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33739         anonymous union.
33741 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33743         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33744         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33745         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33746         Refer to _rtld_local_ro instead of _rtld_global_ro.
33747         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33748         Likewise.
33749         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33750         Likewise.
33751         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33752         Likewise.
33753         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33754         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33755         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33757         * sysdeps/powerpc/powerpc32/dl-machine.c
33758         (__elf_machine_runtime_setup) [PROF]: Don't reference
33759         _dl_prof_resolve.
33761 2012-05-18  Andreas Jaeger  <aj@suse.de>
33763         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33764         function only available for GCCs before 3.4 since GCC 3.4
33765         introduced a builtin.
33766         (lrint): Likewise.
33767         (llrintf): Likewise.
33768         (llrint): Likewise.
33769         (fmaxf): Likewise.
33770         (fmax): Likewise.
33771         (fminf): Likewise.
33772         (fmin): Likewise.
33773         (rint): Likewise.
33774         (rintf): Likewise.
33775         (nearbyint): Likewise.
33776         (nearbyintf): Likewise.
33777         (ceil): Likewise.
33778         (ceilf): Likewise.
33779         (floor): Likewise.
33780         (floorf): Likewise.
33782 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33784         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33785         on both fields and cast pointer to __syscall_ulong_t.
33787         * bits/types.h (__fsword_t): New type.
33788         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33789         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33790         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33791         (__FSWORD_T_TYPE): Likewise.
33792         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33793         (__FSWORD_T_TYPE): Likewise.
33794         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33795         (__FSWORD_T_TYPE): Likewise.
33796         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33797         (__FSWORD_T_TYPE): Likewise.
33798         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33799         __SWORD_TYPE with __fsword_t.
33800         (statfs64): Likewise.
33802 2012-05-17  David S. Miller  <davem@davemloft.net>
33804         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33806 2012-05-17  Andreas Jaeger  <aj@suse.de>
33808         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33809         warning.
33811 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33813         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33815 2012-05-17  Andreas Jaeger  <aj@suse.de>
33817         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33818         when it is used.
33820 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33822         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33824 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33826         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33827         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33829 2012-05-17  Andreas Jaeger  <aj@suse.de>
33830             Carlos O'Donell  <carlos_odonell@mentor.com>
33832         [BZ #14059]
33833         * sysdeps/x86_64/multiarch/init-arch.h
33834         (bit_YMM_Usable): Rename to...
33835         (bit_AVX_Usable): ... this.
33836         (bit_FMA4_Usable): New macro.
33837         (bit_XMM_state): New macro.
33838         (bit_YMM_state): New macro.
33839         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33840         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33841         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33842         (CPUID_OSXSAVE): New macro.
33843         (CPUID_AVX): New macro.
33844         (CPUID_FMA4): New macro.
33845         (index_YMM_Usable): Rename to...
33846         (index_AVX_Usable): ... this.
33847         (HAS_AVX): Use HAS_ARCH_FEATURE.
33848         (HAS_FMA4): Likewise.
33849         (HAS_YMM_USABLE): Remove.
33850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33851         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33852         are present.
33853         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33854         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33855         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33856         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33857         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33859 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33861         * math/libm-test.c: Support platforms without multiple rounding modes.
33862         * math/bug-nextafter.c: Support platforms without FP exceptions.
33863         * math/bug-nexttoward.c: Likewise.
33864         * math/test-fenv.c: Likewise.
33865         * math/test-misc.c: Likewise.
33866         * stdlib/bug-getcontext.c: Likewise.
33868 2012-05-17  Andreas Jaeger  <aj@suse.de>
33870         * manual/examples/search.c (critter_cmp): Change signature to
33871         avoid warnings.
33872         * manual/string.texi (Collation Functions): Likewise.
33874 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33876         * bits/types.h: Fold copyright years.
33877         * bits/typesizes.h: Likewise.
33878         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33879         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33880         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33881         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33882         * time/time.h: Likewise.
33884 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33886         [BZ #208]
33887         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33888         in instead of returning them.  Return void.
33889         (__libc_mallinfo): Accumulate over all arenas.
33890         (__malloc_stats): Adjust for change in int_mallinfo interface.
33892 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33894         [BZ #10375]
33895         * configure.in (NM): Add AC_CHECK_TOOL for it.
33896         (libc_extra_cflags): New substituted variable.
33897         Check for -fstack-protector being used implicitly.
33898         * configure: Regenerated.
33899         * config.make.in (config-extra-cflags): New variable,
33900         gets @libc_extra_cflags@.
33901         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33903         [BZ #10375]
33904         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33905         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33906         * configure: Regenerated.
33907         * config.make.in (CPPUNDEFS): New substituted variable.
33908         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33909         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33910         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33912 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33914         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33915         (mq_attr): Use __syscall_slong_t.
33917 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33919         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33920         Check __x86_64__ instead of __WORDSIZE.
33921         (_STAT_VER_LINUX): Likewise.
33922         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33923         __syscall_ulong_t and __syscall_slong_t.
33924         (stat64): Likewise.
33926 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33928         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33930 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33932         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33934 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33936         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33937         __syscall_ulong_t.
33939         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33940         include <bits/wordsize.h>.  Check __x86_64__ instead of
33941         __WORDSIZE.
33942         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33943         defined.
33944         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33946         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33947         include <bits/wordsize.h>.  Check __x86_64__ instead of
33948         __WORDSIZE.
33949         (user_regs_struct): Use "__extension__ unsigned long long"
33950         instead of "unsigned long" if __x86_64__ is defined.
33951         (user): Likewise.  Pad after pointer field if __ILP32__ is
33952         defined.
33954 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33956         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33957         versions 5 to 9.
33958         * configure: Regenerated.
33959         * manual/install.texi (texinfo): Increase version requirement to
33960         4.5 or later.
33961         * INSTALL: Regenerated.
33963         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33965 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33967         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33969         * sysdeps/x86_64/x32/ffs.c: New file.
33971         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33972         __syscall_ulong_t.
33973         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33974         defined.  Use __syscall_ulong_t.
33975         (shminfo): Use __syscall_ulong_t.
33976         (shm_info): Likewise.
33978         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33979         __syscall_ulong_t.
33981         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33982         <bits/wordsize.h>.
33983         (msgqnum_t): Use __syscall_ulong_t.
33984         (msglen_t): Likewise.
33985         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33986         __syscall_ulong_t.
33988         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33989         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33991         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33993         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33994         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33996         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33997         __syscall_slong_t.
33999         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34000         include <bits/wordsize.h>.  Check __x86_64__ instead of
34001         __WORDSIZE.
34003         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34004         "unsigned long long int" if __x86_64__ is defined.
34005         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34007         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34008         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34009         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34011         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34012         <stdint.h>.
34013         (GET_PC): Cast to uintptr_t first.
34014         (GET_FRAME): Likewise.
34015         (GET_STACK): Likewise.
34017         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34018         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34019         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34020         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34021         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34022         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34023         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34024         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34025         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34026         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34027         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34028         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34029         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34030         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34031         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34032         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34033         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34034         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34035         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34036         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34037         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34038         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34039         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34040         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34041         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34042         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34043         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34044         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34045         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34047 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34049         * Makerules (+depfiles): Also collect depfiles from .oS in
34050         $(extra-objs).
34051         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34052         .oS, $(libnldbl-routines)).
34054         * Makerules (native-compile-mkdep-flags): Define.
34055         * sunrpc/Makefile (extra-objs): Add $(addprefix
34056         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34057         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34058         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34059         calling $(make-target-directory).
34061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34063         * bits/types.h (__snseconds_t): Removed.
34064         * time/time.h (struct timespec): Replace __snseconds_t with
34065         __syscall_slong_t.
34066         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34067         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34068         Likewise.
34069         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34070         (__SNSECONDS_T_TYPE): Likewise.
34071         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34072         (__SNSECONDS_T_TYPE): Likewise.
34073         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34074         (__SNSECONDS_T_TYPE): Likewise.
34076 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34078         * sysdeps/mach/hurd/bits/typesizes.h
34079         (__SYSCALL_SLONG_TYPE): New macro.
34080         (__SYSCALL_ULONG_TYPE): Likewise.
34082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34084         * bits/types.h (__syscall_slong_t): New type.
34085         (__syscall_ulong_t): Likewise.
34087         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34088         (__SYSCALL_ULONG_TYPE): Likewise.
34089         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34090         (__SYSCALL_SLONG_TYPE): Likewise.
34091         (__SYSCALL_ULONG_TYPE): Likewise.
34092         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34093         (__SYSCALL_SLONG_TYPE): Likewise.
34094         (__SYSCALL_ULONG_TYPE): Likewise.
34095         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34096         (__SYSCALL_SLONG_TYPE): Likewise.
34097         (__SYSCALL_ULONG_TYPE): Likewise.
34099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34101         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34102         Add sigaltstack-offsets.sym.
34103         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34104         <sigaltstack-offsets.h>.
34105         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34106         longjmp_msg pointer.
34107         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34108         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34109         signal stack.
34110         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34112 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34114         * elf/stackguard-macros.h: Remove file.
34115         * sysdeps/generic/stackguard-macros.h: New file.
34116         * sysdeps/i386/stackguard-macros.h: Likewise.
34117         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34118         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34119         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34120         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34121         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34122         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34123         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34124         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34125         <elf/stackguard-macros.h>.
34127         [BZ #14109]
34128         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34129         __aligned__ in attribute.
34130         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34131         (gregset_t): Likewise.
34133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34135         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34136         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34137         * sysdeps/x86_64/x32/Implies-after: New file.
34139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34141         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34142         and access return value for _dl_profile_fixup.  Use R10_LP to
34143         load frame size.
34145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34147         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34149 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34151         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34152         * sysdeps/x86_64/x32/sysdep.h: New file.
34154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34156         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34157         * sysdeps/x86_64/setjmp.S: Likewise.
34159 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34161         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34162         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34163         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34164         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34165         remove unused global constant.
34167 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34169         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34170         include of <not-cancel.h>.
34172 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34174         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34176 2012-05-15  Jeff Law  <law@redhat.com>
34177             Andreas Jaeger  <aj@suse.de>
34179         [BZ #13594]
34180         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34181         out from...
34182         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34183         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34184         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34185         code changing __hst_map_handle.map.
34187 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34189         * configure.in (sysnames): Look for Implies-before and Implies-after
34190         files.
34191         * configure: Regenerated.
34193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34195         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34196         8-byte data alignment with LP_SIZE alignment.
34198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34200         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34201         into R10_LP.
34203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34205         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34209         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34210         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34211         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34212         Likewise.
34213         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34217         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34218         (stackinfo_sub_sp): Likewise.
34220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34222         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34223         RAX_LP.
34225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34227         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34228         into R*_LP.
34230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34232         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34233         sizes into R*_LP.
34235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34237         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34241         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34242         into R11_LP and load __x86_64_shared_cache_size_half into
34243         R8_LP.
34245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34247         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34248         R8_LP.
34250 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34252         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34253         logb for POWER7.
34254         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34255         logbf for POWER7.
34256         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34257         logbl for POWER7.
34258         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34259         powerpc32/power7/fpu/s_logb.c via #include.
34260         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34261         powerpc32/power7/fpu/s_logbf.c via #include.
34262         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34263         powerpc32/power7/fpu/s_logbl.c via #include.
34265 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34267         * README.libm: Remove file.
34269 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34271         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34272         count for x32.  Use R*_LP and omit operand-size suffix.
34274 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34276         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34277         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34278         * sysdeps/x86_64/x32/shlib-versions: New file.
34280 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34282         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34283         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34284         Use _dl_fatal_printf instead.
34286 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34288         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34289         set if not set by the user.  Do not allow for being unset.
34290         * sysdeps/unix/sysv/linux/configure: Regenerated.
34292 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34294         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34295         the `q' suffix from lea and replace .quad with ASM_ADDR.
34297 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34300         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34301         instead of $17.
34302         (PTR_DEMANGLE): Likewise.
34304 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34306         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34307         (LP_OP): Likewise.
34308         (ASM_ADDR): Likewise.
34309         (RAX_LP): Likewise.
34310         (RBP_LP): Likewise.
34311         (RBX_LP): Likewise.
34312         (RCX_LP): Likewise.
34313         (RDI_LP): Likewise.
34314         (RSI_LP): Likewise.
34315         (RSP_LP): Likewise.
34316         (R8_LP): Likewise.
34317         (R9_LP): Likewise.
34318         (R10_LP): Likewise.
34319         (R10_LP): Likewise.
34320         (R11_LP): Likewise.
34321         (R12_LP): Likewise.
34322         (R13_LP): Likewise.
34323         (R14_LP): Likewise.
34324         (R15_LP): Likewise.
34326 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34328         * sysdeps/x86_64/x32/dl-machine.h: New file.
34330 2012-05-14  Andreas Jaeger  <aj@suse.de>
34332         * manual/Makefile (subdir): Remove export of subdir.
34333         (all): Remove target.
34334         (.PHONY): Remove all from list.
34335         (mkinstalldirs): Remove.
34336         (.PHONY): Remove installdirs from list.
34337         ($(inst_infodir)/libc.info): Use make-target-directory.
34338         (installdirs): Remove.
34339         (subdir_%): Remove.
34340         (glibc-targets): Remove.
34341         (lib): Remove.
34342         (stubs): Remove.
34343         ($(objpfx)stubs ../po/manual.pot): Remove.
34344         ($(objpfx)stamp%): Remove.
34345         (make-target-directory): Remove.
34346         (subdir_install): Remove.
34347         (routines): Remove.
34348         (aux): Remove.
34349         (sources): Remove.
34350         (objects): Remove.
34351         (headers): Remove.
34353         [BZ #13750]
34354         * manual/.gitignore: Remove, it's not needed anymore.
34355         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34356         all files in it.
34357         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34358         directory.
34359         (texis): Renamed to $(objpfx)texis.
34360         (texis-path): New, contains path to generated files.
34361         (chapters.%): Use texis-path for complete path, add extra argument
34362         libc-texinfo.sh.
34363         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34364         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34365         (summary,texi, stamp-summary): Use complete path of
34366         files. Generate files in build dir.
34367         (dir-add.texi): Build in build dir.
34368         (libm-err.texi,stamp-libm-err): Likewise.
34369         (version.texi, stamp-version): Likewise.
34370         (.%c.texi): Likewise.
34371         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34372         (mostlyclean): Remove target.
34373         (realclean): Remove target.
34374         (generated): Add new variable with contents from mostlyclean and
34375         realclean, remove entries duplicated in common-mostlyclean, add
34376         stamp-libm-err and stamp-version.
34377         (generated-dirs): Add libc directory.
34378         ($(inst_infodir)/libc.info): Install files from build dir.
34380         * manual/install.texi (Configuring and compiling): Adjust since
34381         the info files are not part of the tar ball anymore.
34383 2012-05-14  Andreas Jaeger  <aj@suse.de>
34385         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34386         variable.
34388 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34390         [BZ #13717]
34391         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34392         to 2.2.0 where earlier.
34393         * sysdeps/unix/sysv/linux/configure: Regenerated.
34394         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34395         Remove conditional code.
34396         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34397         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34398         Remove conditional code.
34399         [!__NR_lchown]: Likewise.
34400         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34401         [__NR_lchown]: Likewise.
34402         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34403         comment referencing __ASSUME_LCHOWN_SYSCALL.
34404         * sysdeps/unix/sysv/linux/i386/sigaction.c
34405         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34406         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34407         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34408         Remove conditional code.
34409         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34410         (__protocol_available): Remove #if 0 code.
34411         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34412         conditional code.
34413         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34414         * sysdeps/unix/sysv/linux/kernel-features.h
34415         (__ASSUME_GETCWD_SYSCALL): Don't define.
34416         (__ASSUME_REALTIME_SIGNALS): Likewise.
34417         (__ASSUME_PREAD_SYSCALL): Likewise.
34418         (__ASSUME_PWRITE_SYSCALL): Likewise.
34419         (__ASSUME_POLL_SYSCALL): Likewise.
34420         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34421         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34422         non-SPARC.
34423         (__ASSUME_SIOCGIFNAME): Don't define.
34424         (__ASSUME_MSG_NOSIGNAL): Likewise.
34425         (__ASSUME_SENDFILE): Define unconditionally.
34426         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34427         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34428         conditional code.
34429         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34430         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34431         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34432         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34433         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34434         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34435         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34437         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34438         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34440         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34441         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34443         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34444         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34446         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34447         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34449         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34450         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34452         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34453         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34455         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34456         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34458         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34459         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34460         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34461         Remove conditional code.
34462         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34463         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34464         Remove conditional code.
34465         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34466         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34467         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34468         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34469         Remove conditional code.
34470         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34471         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34472         Remove conditional code.
34473         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34474         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34475         Remove conditional code.
34476         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34477         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34478         Remove conditional code.
34479         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34480         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34481         Remove conditional code.
34482         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34483         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34484         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34485         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34486         * sysdeps/unix/sysv/linux/sigaction.c
34487         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34488         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34489         * sysdeps/unix/sysv/linux/sigpending.c
34490         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34491         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34492         * sysdeps/unix/sysv/linux/sigprocmask.c
34493         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34494         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34495         * sysdeps/unix/sysv/linux/sigsuspend.c
34496         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34497         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34498         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34499         (__libc_missing_rt_sigs): Remove.
34500         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34501         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34502         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34503         Remove conditional code.
34504         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34505         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34506         return 1.
34507         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34508         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34509         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34510         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34512 2012-05-14  Andreas Jaeger  <aj@suse.de>
34514         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34515         it's not used in glibc.
34516         (__coshm1): Likewise.
34517         (__acosh1p): Likewise.
34518         (__sgn): Likewise.
34520         * manual/string.texi (Copying and Concatenation): Add missing
34521         variable in concat example.
34522         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34524 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34526         [BZ #14103]
34527         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34528         __builtin_clzl with __builtin_clzll.
34530 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34532         [BZ #14104]
34533         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34534         libc_freeres_ptr.
34536 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34538         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34539         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34540         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34541         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34543 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34545         * NEWS: Update ia64 info.
34547 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34549         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34550         used as bcopy.
34552 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34554         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34555         * sysdeps/unix/syscalls.list (dup3): Likewise.
34556         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34557         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34559 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34561         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34562         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34564 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34566         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34567         thread pointer.
34568         (TLS_IE): Use mov/add instead of movq/addq to load thread
34569         pointer.
34570         (TLS_GD_PREFIX): New.
34571         (TLS_GD): Use it.
34573 2012-05-11  David S. Miller  <davem@davemloft.net>
34575         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34576         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34577         (_FPU_SETCW): Likewise.
34579 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34581         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34582         is 32-byte aligned.
34584 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34586         [BZ #11837]
34587         * iconvdata/gb18030.c: Update tables.
34588         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34589         characters specially.
34590         (BODY for TO_LOOP): Add encoding of missing ranges.
34592 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34594         [BZ #13673]
34595         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34596         * sysdeps/mach/hurd/dup3.c: Likewise.
34597         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34598         * sysdeps/powerpc/memmove.c:: Likewise.
34600 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34602         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34603         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34605 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34607         * elf/elf.h (R_X86_64_RELATIVE64): New.
34608         (R_X86_64_NUM): Updated.
34609         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34610         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34611         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34612         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34613         tst-quad1pie tst-quad2pie
34614         (modules-names): Add tst-quadmod1 tst-quadmod2.
34615         ($(objpfx)tst-quad1): New dependency.
34616         ($(objpfx)tst-quad2): Likewise.
34617         ($(objpfx)tst-quad1pie): Likewise.
34618         ($(objpfx)tst-quad2pie): Likewise.
34619         * sysdeps/x86_64/tst-quad1.c: New file.
34620         * sysdeps/x86_64/tst-quad1pie.c: New file.
34621         * sysdeps/x86_64/tst-quad2.c: Likewise.
34622         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34623         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34624         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34625         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34626         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34630         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34631         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34632         * streams/stropts.h (t_scalar_t): Define type.
34634         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34635         (_PATH_PRESERVE): Set to "/var/lib".
34636         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34638         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34639         instead of int.
34641         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34642         if __dir_mkfile succeeded.
34644         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34645         checking for _hurd_dtablesize.  Unlock it right after having
34646         finished _hurd_dtable allocation.
34648 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34650         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34651         * sysdeps/mach/hurd/configure: Regenerated.
34652         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34653         special-casing to...
34654         * sysdeps/gnu/configure.in: ... this new file.
34655         * sysdeps/unix/sysv/linux/configure: Regenerated.
34656         * sysdeps/gnu/configure: New generated file.
34658         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34659         for Linux: use nsec instead of usec, as well as:
34660         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34661         members of type struct timespec.
34662         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34663         New macros.
34664         (struct stat64): Likewise.
34665         (_STATBUF_ST_NSEC): New macro.
34666         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34668         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34669         __strtoul_internal rather than strtoul.
34671 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34673         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34674         and reject them.
34676 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34678         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34679         which preserves existing values.
34680         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34682 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34684         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34685         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34686         greater than FD_SETSIZE.
34688 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34690         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34691         allocated, call __vm_protect to finish enabling the existing space, and
34692         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34693         allocate the remainder.
34695 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34697         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34698         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34700 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34702         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34703         sysdeps/mach/hurd/readlink.c.
34705         * posix/tst-sysconf.c (posix_options): Only use
34706         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34707         _POSIX_SYNCHRONIZED_IO when they are defined
34708         * sysdeps/mach/hurd/bits/posix_opt.h:
34709         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34710         (_XOPEN_REALTIME): Undefine macro.
34711         (_XOPEN_REALTIME_THREADS): Undefine macro.
34712         (_XOPEN_SHM): Undefine macro.
34713         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34714         macro to -1.
34715         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34716         macro to -1.
34717         (_POSIX_ASYNC_IO): Undefine macro.
34718         (_POSIX_PRIORITIZED_IO): Undefine macro.
34719         (_POSIX_SPIN_LOCKS): Define macro to -1.
34721         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34722         SA_NODEFER, SA_RESETHAND.
34723         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34724         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34725         F_DUPFD_CLOEXEC.
34727 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34729         * elf/Makefile (pldd-modules): Define unconditionally.
34731 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34733         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34735 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34737         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34738         Return ENOENT when name is empty.
34739         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34741 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34743         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34745         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34747 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34749         Fix mlock in all cases except non-readable pages.
34750         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34751         instead of VM_PROT_ALL as parameter to __vm_wire function.
34753         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34754         (__mkdir): When path is `/', just fail with EEXIST.
34755         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34757 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34759         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34760         <sys/uio.h> (for writev).
34761         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34762         and <sys/param.h> (for MIN).
34764 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34766         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34767         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34768         if interrupted.
34770 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34772         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34773         Depend on against $(link-rpcuserlibs).
34775 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34777         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34778         (__libc_stack_end): Do not use attribute_relro.
34779         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34780         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34781         to libthread-provided value.
34782         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34783         attribute_relro.
34785 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34787         [BZ #3748]
34788         * bits/libc-lock.h (__libc_once_get): New macro.
34789         * sysdeps/mach/bits/libc-lock.h: Likewise.
34790         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34791         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34792         instead of using implementation details.
34794         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34795         * libio/freopen.c: Likewise.
34796         * libio/freopen64.c: Likewise.
34797         * misc/syslog.c: Likewise.
34798         * nscd/connections.c: Likewise.
34799         * nscd/netgroupcache.c: Likewise.
34800         * sysdeps/posix/getcwd.c: Likewise.
34802 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34804         * math/w_ilogbf.c: Add #include <limits.h>.
34806 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34808         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34809         path instead of returning without unlocking.
34811         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34812         immediate-write ioctls.
34813         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34815 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34817         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34818         __builtin_frame_address instead of making assumptions about the
34819         location of the return address relative to DATA.  Force early load of
34820         the return address.
34821         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34822         __builtin_frame_address.
34824         dup3 for GNU Hurd.
34825         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34826         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34827         implement dup3 and do some further code clean-ups.
34828         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34829         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34831 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34833         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34835         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34836         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34837         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34838         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34839         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34840         d->port.lock.
34842         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34843         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34844         when handler == SIG_ERR, not when handler != SIG_ERR.
34846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34848         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34849         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34850         definitions.
34852         accept4 for GNU Hurd.
34853         * include/sys/socket.h (__libc_accept4): New prototype.
34854         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34855         to implement __libc_accept4.
34856         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34857         __libc_accept4.
34858         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34860         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34861         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34862         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34863         signal-defines.sym.
34865 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34867         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34869 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34871         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34872         assertion on O_CLOEXEC flag.
34873         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34874         * hurd/intern-fd.c: Likewise.
34875         * hurd/port2fd.c: Likewise.
34877 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34879         [BZ #3906]
34880         * bits/in.h (IPV6_PKTINFO): Define new macro.
34881         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34883 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34885         [BZ #13954]
34886         [BZ #13955]
34887         [BZ #13956]
34888         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34889         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34890         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34891         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34892         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34893         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34894         * math/libm-test.inc (logb_test) : Additional logb tests.
34896 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34897             Andreas Jaeger  <aj@suse.de>
34899         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34900         * configure: Regenerated.
34901         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34902         * config.make.in (link-obsolete-rpc): New substituted variable.
34903         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34904         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34905         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34906         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34907         so that libc.a contains the symbols.
34908         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34909         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34910         * sunrpc/auth_none.c: Likewise.
34911         * sunrpc/auth_unix.c: Likewise.
34912         * sunrpc/authdes_prot.c: Likewise.
34913         * sunrpc/authuxprot.c: Likewise.
34914         * sunrpc/clnt_gen.c: Likewise.
34915         * sunrpc/clnt_perr.c: Likewise.
34916         * sunrpc/clnt_raw.c: Likewise.
34917         * sunrpc/clnt_simp.c: Likewise.
34918         * sunrpc/clnt_tcp.c: Likewise.
34919         * sunrpc/clnt_udp.c: Likewise.
34920         * sunrpc/clnt_unix.c: Likewise.
34921         * sunrpc/des_crypt.c: Likewise.
34922         * sunrpc/des_soft.c: Likewise.
34923         * sunrpc/get_myaddr.c: Likewise.
34924         * sunrpc/key_call.c: Likewise.
34925         * sunrpc/key_prot.c: Likewise.
34926         * sunrpc/netname.c: Likewise.
34927         * sunrpc/pm_getmaps.c: Likewise.
34928         * sunrpc/pm_getport.c: Likewise.
34929         * sunrpc/pmap_clnt.c: Likewise.
34930         * sunrpc/pmap_prot.c: Likewise.
34931         * sunrpc/pmap_prot2.c: Likewise.
34932         * sunrpc/pmap_rmt.c: Likewise.
34933         * sunrpc/publickey.c: Likewise.
34934         * sunrpc/rpc_cmsg.c: Likewise.
34935         * sunrpc/rpc_common.c: Likewise.
34936         * sunrpc/rpc_dtable.c: Likewise.
34937         * sunrpc/rpc_prot.c: Likewise.
34938         * sunrpc/rpc_thread.c: Likewise.
34939         * sunrpc/rtime.c: Likewise.
34940         * sunrpc/svc.c: Likewise.
34941         * sunrpc/svc_auth.c: Likewise.
34942         * sunrpc/svc_raw.c: Likewise.
34943         * sunrpc/svc_run.c: Likewise.
34944         * sunrpc/svc_tcp.c: Likewise.
34945         * sunrpc/svc_udp.c: Likewise.
34946         * sunrpc/svc_unix.c: Likewise.
34947         * sunrpc/svcauth_des.c: Likewise.
34948         * sunrpc/xcrypt.c: Likewise.
34949         * sunrpc/xdr.c: Likewise.
34950         * sunrpc/xdr_array.c: Likewise.
34951         * sunrpc/xdr_float.c: Likewise.
34952         * sunrpc/xdr_intXX_t.c: Likewise.
34953         * sunrpc/xdr_mem.c: Likewise.
34954         * sunrpc/xdr_rec.c: Likewise.
34955         * sunrpc/xdr_ref.c: Likewise.
34956         * sunrpc/xdr_sizeof.c: Likewise.
34957         * sunrpc/xdr_stdio.c: Likewise.
34959 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34961         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34962         change.  Update copyright years.
34964 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34966         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34968 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34969             Joseph Myers  <joseph@codesourcery.com>
34970             Paul Pluzhnikov  <ppluzhnikov@google.com>
34972         [BZ #14012]
34973         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34974         requiring rpcgen.
34975         [cross-compiling] (extra-libs): Likewise.
34976         [cross-compiling] (extra-libs-others): Likewise.
34977         [cross-compiling] (librpcsvc-routines): Likewise.
34978         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34979         [cross-compiling] (omit-deps): Likewise.
34980         (sunrpc-CPPFLAGS): New variable.
34981         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34982         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34983         (cross-rpcgen-objs): New variable.
34984         (extra-objs): Append $(cross-rpcgen-objs).
34985         ($(cross-rpcgen-objs)): New rule.
34986         ($(objpfx)cross-rpcgen): Likewise.
34987         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34988         comment.
34989         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34990         ($(objpfx)x%.stmp): Likewise.
34991         * sunrpc/proto.h [IS_IN_build] (_): Define.
34992         [IS_IN_build] (_libc_intl_domainname): Likewise.
34994 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34996         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34997         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34998         and R_X86_64_TPOFF64.
35000 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
35002         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35003         sysdeps/unix/sysv/syscalls.list.
35004         (stime): Likewise.
35005         (utime): Likewise.
35006         * sysdeps/unix/sysv/syscalls.list: Remove file.
35008 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
35010         [BZ #3440]
35011         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35012         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35013         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35014         (__LC_IDENTIFICATION): Make these macros useful in #if
35015         expressions, as required by C99.
35017 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
35019         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35020         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
35021         after this.
35023 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
35025         * stdlib/longlong.h: Updated from GCC.
35027 2012-05-09  Andreas Jaeger  <aj@suse.de>
35029         * nscd/nscd.c (run_modes): Make named enum, reorder so that
35030         default is first entry.
35031         (run_mode): Set type.
35032         (main): Remove informal message about syslog.
35033         (options): Fix typo.
35035         [BZ #14053]
35036         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35037         to asm.
35038         (lrint): Likewise.
35039         (llrintf): Likewise.
35040         (llrint): Likewise.
35041         (rint): Likewise.
35042         (rintf): Likewise.
35043         (nearbyint): Likewise.
35044         (nearbyintf): Likewise.
35046 2012-05-09  Andreas Jaeger  <aj@suse.de>
35047             Pedro Alves  <palves@redhat.com>
35049         * nscd/nscd.c (run_mode): Use enum.
35050         (main): Cleanup coding style issue.
35052 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35053             Andreas Jaeger  <aj@suse.de>
35055         * nscd/nscd.c (go_background): Replaced with...
35056         (run_mode): ... this.
35057         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35058         (options): Add -F --foreground.
35059         (main): Implement it.
35060         (parse_opt): Parse it.
35062 2012-05-09  Andreas Jaeger  <aj@suse.de>
35064         [BZ #14083]
35065         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35066         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35067         -Wconversion warning.
35068         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35069         Likewise.
35071 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35073         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35074         == 0.
35075         (LC_ALL): Use macro-int-constant.
35076         (LC_COLLATE): Likewise.
35077         (LC_CTYPE): Likewise.
35078         (LC_MESSAGES): Likewise.
35079         (LC_MONETARY): Likewise.
35080         (LC_NUMERIC): Likewise.
35081         (LC_TIME): Likewise.
35082         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35083         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35084         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35085         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35086         Specify type.
35087         [C99-based standards] (float_t): Expect type.
35088         [C99-based standards] (double_t): Expect type.
35089         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35090         type.
35091         [C99-based standards] (HUGE_VALL): Likewise.
35092         [C99-based standards] (INFINITY): Likewise.
35093         [C99-based standards] (NAN): Likewise.
35094         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35095         [C99-based standards] (FP_NAN): Likewise.
35096         [C99-based standards] (FP_NORMAL): Likewise.
35097         [C99-based standards] (FP_SUBNORMAL): Likewise.
35098         [C99-based standards] (FP_ZERO): Likewise.
35099         [C99-based standards] (FP_FAST_FMA): Use
35100         optional-macro-int-constant.  Specify type.  Require == 1.
35101         [C99-based standards] (FP_FAST_FMAF): Likewise.
35102         [C99-based standards] (FP_FAST_FMAL): Likewise.
35103         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35104         [C99-based standards] (FP_ILOGBNAN): Likewise.
35105         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35106         Specify type.
35107         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35108         [C99-based standards] (math_errhandling): Specify type.
35109         [ISO99 || ISO11] (signgam): Do not allow.
35110         [non-C99-based standards] (copysignf): Do not allow.
35111         [non-C99-based standards] (exp2f): Likewise.
35112         [non-C99-based standards] (log2f): Likewise.
35113         [non-C99-based standards] (modff): Allow.
35114         [non-C99-based standards] (erff): Do not allow.
35115         [non-C99-based standards] (erfcf): Likewise.
35116         [non-C99-based standards] (gammaf): Likewise.
35117         [non-C99-based standards] (hypotf): Likewise.
35118         [non-C99-based standards] (j0f): Likewise.
35119         [non-C99-based standards] (j1f): Likewise.
35120         [non-C99-based standards] (jnf): Likewise.
35121         [non-C99-based standards] (lgammaf): Likewise.
35122         [non-C99-based standards] (tgammaf): Likewise.
35123         [non-C99-based standards] (y0f): Likewise.
35124         [non-C99-based standards] (y1f): Likewise.
35125         [non-C99-based standards] (ynf): Likewise.
35126         [non-C99-based standards] (isnanf): Likewise.
35127         [non-C99-based standards] (acoshf): Likewise.
35128         [non-C99-based standards] (asinhf): Likewise.
35129         [non-C99-based standards] (atanhf): Likewise.
35130         [non-C99-based standards] (cbrtf): Likewise.
35131         [non-C99-based standards] (expm1f): Likewise.
35132         [non-C99-based standards] (ilogbf): Likewise.
35133         [non-C99-based standards] (log1pf): Likewise.
35134         [non-C99-based standards] (logbf): Likewise.
35135         [non-C99-based standards] (nextafterf): Likewise.
35136         [non-C99-based standards] (remainderf): Likewise.
35137         [non-C99-based standards] (rintf): Likewise.
35138         [non-C99-based standards] (scalbf): Likewise.
35139         [non-C99-based standards] (copysignl): Likewise.
35140         [non-C99-based standards] (exp2l): Likewise.
35141         [non-C99-based standards] (log2l): Likewise.
35142         [non-C99-based standards] (modfl): Allow.
35143         [non-C99-based standards] (erfl): Do not allow.
35144         [non-C99-based standards] (erfcl): Likewise.
35145         [non-C99-based standards] (gammal): Likewise.
35146         [non-C99-based standards] (hypotl): Likewise.
35147         [non-C99-based standards] (j0l): Likewise.
35148         [non-C99-based standards] (j1l): Likewise.
35149         [non-C99-based standards] (jnl): Likewise.
35150         [non-C99-based standards] (lgammal): Likewise.
35151         [non-C99-based standards] (tgammal): Likewise.
35152         [non-C99-based standards] (y0l): Likewise.
35153         [non-C99-based standards] (y1l): Likewise.
35154         [non-C99-based standards] (ynl): Likewise.
35155         [non-C99-based standards] (isnanl): Likewise.
35156         [non-C99-based standards] (acoshl): Likewise.
35157         [non-C99-based standards] (asinhl): Likewise.
35158         [non-C99-based standards] (atanhl): Likewise.
35159         [non-C99-based standards] (cbrtl): Likewise.
35160         [non-C99-based standards] (expm1l): Likewise.
35161         [non-C99-based standards] (ilogbl): Likewise.
35162         [non-C99-based standards] (log1pl): Likewise.
35163         [non-C99-based standards] (logbl): Likewise.
35164         [non-C99-based standards] (nextafterl): Likewise.
35165         [non-C99-based standards] (remainderl): Likewise.
35166         [non-C99-based standards] (rintl): Likewise.
35167         [non-C99-based standards] (scalbl): Likewise.
35168         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35169         [non-C99-based standards] (FP_*): Do not allow.
35170         [C99-based standards] (FP_*): Change to
35171         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35172         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35173         allow.
35174         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35175         (SIG_ERR): Likewise.
35176         [X/Open-based standards] (SIG_HOLD): Likewise.
35177         (SIG_IGN): Likewise.
35178         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35179         positive value.
35180         (SIGFPE): Likewise.
35181         (SIGILL): Likewise.
35182         (SIGINT): Likewise.
35183         (SIGSEGV): Likewise.
35184         (SIGTER): Likewise.
35185         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35186         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35187         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35188         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35189         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35190         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35191         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35192         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35193         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35194         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35195         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35196         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35197         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35198         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35199         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35200         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35201         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35202         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35203         [X/Open-based standards] (SIGTRAP): Likewise.
35204         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35205         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35206         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35207         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35208         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35209         allow.
35211 2012-05-08  Ian Wienand  <ianw@vmware.com>
35213         [BZ #14080]
35214         * time/tzset.c (__tzset_parse_tz): Update default rules for
35215         daylight time changes in the Energy Policy Act of 2005.
35217 2012-05-09  Andreas Jaeger  <aj@suse.de>
35219         [BZ #13983]
35220         * elf/ldconfig.c (parse_conf): Change string to make clear that
35221         ldconfig only issued a warning if ld.so.conf does not exist.
35223 2012-05-08  David S. Miller  <davem@davemloft.net>
35225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35226         movxtod instead of popping the value on the stack.
35228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35230 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35232         * config.h.in: Add HAVE_ARM_PCS_VFP.
35234 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35236         [BZ #13979]
35237         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35238         checking but the checks are disabled for any reason.
35240 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35242         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35243         and ELF64_R_TYPE with ELFW(R_TYPE).
35245 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35247         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35248         (ulimit): Likewise.
35250         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35251         (settimeofday): Likewise.
35253 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35255         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35256         a struct th_u2 inside the union, and move tu_block/tu_code into
35257         a new th_u3 union of tu_block/tu_code inside of that.  Move
35258         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35259         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35260         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35261         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35262         (th_stuff): Change to th_u1.tu_stuff.
35263         (th_data): Define.
35264         (th_msg): Change to th_u1.th_u2.tu_data.
35266 2012-05-07  David S. Miller  <davem@davemloft.net>
35268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35270         [BZ #14074]
35271         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35272         (SETUP_PIC_REG): Use it.
35273         (SETUP_PIC_REG_LEAF): Use it.
35275 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35277         [BZ #13885]
35278         [BZ #13923]
35279         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35280         USE_AS_EXPM1L.
35281         (EXPL_FINITE): Likewise.
35282         (FLDLOG): Likewise.
35283         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35284         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35285         e_expl.S.
35286         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35287         USE_AS_EXPM1L.
35288         (EXPL_FINITE): Likewise.
35289         (FLDLOG): Likewise.
35290         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35291         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35292         e_expl.S.
35293         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35294         test of -max_value argument for long double.
35295         * sysdeps/i386/fpu/libm-test-ulps: Update.
35296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35298 2012-05-06  David S. Miller  <davem@davemloft.net>
35300         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35301         quad soft-float symbols whose references which are compiler
35302         generated.
35303         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35305 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35307         [BZ #13884]
35308         [BZ #13914]
35309         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35310         USE_AS_EXP10L.
35311         (EXPL_FINITE): Likewise.
35312         (FLDLOG): Likewise.
35313         (c0): Likewise.
35314         (c1): Likewise.
35315         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35316         Adjust comments for base varying.
35317         (__expl_finite): Change alias to EXPL_FINITE.
35318         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35319         e_expl.S.
35320         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35321         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35322         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35323         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35324         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35325         USE_AS_EXP10L.
35326         (EXPL_FINITE): Likewise.
35327         (FLDLOG): Likewise.
35328         (c0): Likewise.
35329         (c1): Likewise.
35330         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35331         Adjust comments for base varying.
35332         (__expl_finite): Change alias to EXPL_FINITE.
35333         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35334         tests for bugs.
35335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35337         [BZ #14064]
35338         * math/libm-test.inc (check_float_internal): Correct ulp
35339         calculation for subnormal expected results.
35341 2012-05-06  Andreas Jaeger  <aj@suse.de>
35343         * Makeconfig (+math-flags): New, set to -frounding-math.
35344         (+cflags): Add +math-flags so that all of glibc gets compiled with
35345         it.
35347         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35349 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35351         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35352         Disable one test.
35354         [BZ #13787]
35355         [BZ #13922]
35356         [BZ #14036]
35357         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35358         (__ieee754_expl): Allow for and saturate large arguments.
35359         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35360         (u_threshold): Likewise.
35361         (__exp): Call __ieee754_exp before checking for overflow and
35362         underflow.
35363         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35364         (u_threshold): Likewise.
35365         (__expf): Call __ieee754_expf before checking for overflow and
35366         underflow.
35367         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35368         (u_threshold): Likewise.
35369         (__expl): Call __ieee754_expl before checking for overflow and
35370         underflow.
35371         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35372         (__ieee754_expl): Allow for and saturate large arguments.
35373         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35374         missing overflow exception on overflow.
35375         (expm1_test): Do not allow missing overflow exception on overflow.
35377         * sysdeps/i386/fpu/e_expl.c: Move to ...
35378         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35379         rather than using inline asm.
35380         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35381         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35382         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35384         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35385         (nice): Likewise.
35386         (poll): Likewise.
35387         (signal): Likewise.
35388         (time): Likewise.
35389         (times): Likewise.
35391 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35393         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35394         sysdeps/unix/common/syscalls.list.
35395         (fchmod): Likewise.
35396         (fchown): Likewise.
35397         (ftruncate): Likewise.
35398         (getrusage): Likewise.
35399         (gettimeofday): Likewise.
35400         (setpgid): Likewise.
35401         (setregid): Likewise.
35402         (setreuid): Likewise.
35403         (sigaction): Likewise.
35404         (truncate): Likewise.
35405         (vhangup): Likewise.
35406         * sysdeps/unix/common/syscalls.list: Remove file.
35407         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35408         * sysdeps/unix/sysv/linux/Implies: Likewise.
35410 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35412         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35414         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35415         Moved to ...
35416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35417         Here.
35418         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35419         to ...
35420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35421         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35422         to ...
35423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35424         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35425         to ...
35426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35427         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35428         to ...
35429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35430         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35431         to ...
35432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35433         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35434         to ...
35435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35436         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35437         to ...
35438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35439         Here.
35440         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35441         to ...
35442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35443         Here.
35444         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35445         to ...
35446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35447         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35448         Moved to ...
35449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35450         Here.
35451         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35452         to ...
35453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35455 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35457         * sysdeps/unix/common/bits/dirent.h: Remove file.
35458         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35460         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35461         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35462         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35463         * sysdeps/unix/bsd/isatty.c: Likewise.
35464         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35465         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35466         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35468 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35470         [BZ #13563]
35471         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35472         long double comparison inaccuracies.
35473         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35476 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35478         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35479         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35481 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35483         [BZ #14049]
35484         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35485         nonzero digits before rounding a hex value.
35486         * stdlib/tst-strtod.c (tests): Add another test.
35488 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35490         * sysdeps/s390/fpu/libm-test-ulps: Update.
35492 2012-05-03  Andreas Jaeger  <aj@suse.de>
35494         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35495         does not get optimized out.
35496         (malloc_opt_barrier): New.
35498 2012-05-03  Andreas Jaeger  <aj@suse.de>
35499             Roland McGrath  <roland@hack.frob.com>
35501         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35502         intermediate file deletion.
35503         (generated): Add .symlist files.
35505 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35507         [BZ #13775]
35508         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35509         Redirect under this condition.
35510         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35511         [__USE_GNU] (__dprintf_chk): Not under this condition.
35512         [__USE_GNU] (__vdprintf_chk): Likewise.
35513         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35514         under this condition.
35515         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35516         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35517         [__USE_XOPEN2K8] (vdprintf): Likewise.
35518         [__USE_GNU] (__dprintf_chk): Not under this condition.
35519         [__USE_GNU] (__vdprintf_chk): Likewise.
35520         [__USE_GNU] (dprintf): Likewise.
35521         [__USE_GNU] (vdprintf): Likewise.
35523 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35525         * elf/Makefile (common-generated): Set this instead of generated for
35526         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35527         $(all-built-dso)-derived lists.
35529 2012-05-03  Andreas Jaeger  <aj@suse.de>
35531         * sysdeps/i386/fpu/libm-test-ulps: Update.
35533         * FAQ: Removed.
35534         * FAQ.in: Likewise.
35535         * scripts/gen-FAQ.pl: Likewise.
35536         * manual/install.texi (Installation): Point to online location of
35537         FAQ.
35538         * Makefile (files-for-dist): Remove FAQ.
35539         (FAQ): Remove.
35541 2012-05-02  Allan McRae  <allan@archlinux.org>
35543         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35544         (LDFLAGS-reldepmod5.so): Likewise.
35545         (LDFLAGS-reldep6mod1.so): Likewise.
35546         (LDFLAGS-reldep6mod4.so): Likewise.
35547         (LDFLAGS-reldep8mod3.so): Likewise.
35548         (LDFLAGS-unload4mod1.so): Likewise.
35549         (LDFLAGS-unload4mod2.so): Likewise.
35550         (LDFLAGS-tst-initorder): Likewise.
35551         (LDFLAGS-tst-initordera2.so): Likewise.
35552         (LDFLAGS-tst-initordera3.so): Likewise.
35553         (LDFLAGS-tst-initordera4.so): Likewise.
35554         (LDFLAGS-tst-initorderb2.so): Likewise.
35555         (LDFLAGS-noload): Likewise.
35556         (LDFLAGS-next): Likewise.
35557         (LDFLAGS-order2mod1.so): Likewise.
35558         (LDFLAGS-order2mod2.so): Likewise.
35559         (LDFLAGS-tst-initorder2): Likewise.
35560         (LDFLAGS-tst-initorder2a.so): Likewise.
35561         (LDFLAGS-tst-initorder2b.so): Likewise.
35562         (LDFLAGS-tst-initorder2c.so): Likewise.
35563         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35565 2012-05-02  David S. Miller  <davem@davemloft.net>
35567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35569 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35571         [BZ #14055]
35572         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35574 2012-05-02  Andreas Jaeger  <aj@suse.de>
35576         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35577         since we manipulate rounding mode.
35578         (CPPFLAGS-test-idouble.c): Likewise.
35579         (CPPFLAGS-test-ifloat.c): Likewise.
35580         (CFLAGS-test-ldouble.c): Likewise.
35581         (CFLAGS-test-double.c): Likewise.
35582         (CFLAGS-test-float.c): Likewise.
35583         (CFLAGS-test-misc.c): Likewise.
35584         (CFLAGS-test-test-fenv.c): Likewise.
35586 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35588         [BZ #2550]
35589         [BZ #2570]
35590         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35591         comparisons to determine direction to adjust input.
35593 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35595         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35596         output to the target.
35598         * scripts/localplt.awk: New file.
35599         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35600         (check-localplt-CFLAGS): Variable removed.
35601         ($(all-built-dso:=.jmprel)): New static pattern rule.
35602         (generated): Add those targets.
35603         (localplt-built-dso): New variable.
35604         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35606         * elf/check-localplt.c: File removed.
35608         * scripts/check-execstack.awk: New file.
35609         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35610         (check-execstack-CFLAGS): Variable removed.
35611         ($(objpfx)check-execstack.h): Target removed.
35612         ($(objpfx)execstack-default): New target.
35613         (generated): Add that instead of check-execstack.h.
35614         ($(all-built-dso:=.phdr)): New static pattern rule.
35615         (generated): Add those targets.
35616         * elf/check-execstack.c: File removed.
35618         * scripts/check-textrel.awk: New file.
35619         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35620         (check-textrel-CFLAGS): Variable removed.
35621         (all-built-dso): Use := to define.o
35622         ($(all-built-dso:=.dyn)): New static pattern rule.
35623         (generated): Add those targets.
35624         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35625         * config.make.in (READELF): New substituted variable.
35626         * elf/check-textrel.c: File removed.
35628 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35630         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35631         allow.
35632         * conform/data/ctype.h-data [C99-based standards] (isblank):
35633         Expect function.
35634         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35635         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35636         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35637         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35638         Specify type.  Require positive value.
35639         (EILSEQ): Likewise.
35640         (ERANGE): Likewise.
35641         [ISO || POSIX] (EILSEQ): Do not expect.
35642         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35643         Specify type.  Require positive value.
35644         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35645         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35646         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35647         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35648         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35649         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35650         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35651         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35652         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35653         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35654         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35655         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35656         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35657         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35658         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35659         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35660         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35661         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35662         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35663         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35664         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35665         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35666         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35667         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35668         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35669         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35670         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35671         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35672         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35673         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35674         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35675         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35676         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35677         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35678         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35679         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35680         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35681         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35682         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35683         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35684         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35685         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35686         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35687         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35688         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35689         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35690         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35691         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35692         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35693         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35694         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35695         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35696         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35697         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35698         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35699         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35700         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35701         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35702         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35703         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35704         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35705         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35706         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35707         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35708         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35709         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35710         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35711         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35712         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35713         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35714         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35715         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35716         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35717         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35718         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35719         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35720         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35721         Require >= 2.
35722         (FLT_ROUNDS): Expect as macro, not constant.
35723         (FLT_MANT_DIG): Use macro-int-constant.
35724         (DBL_MANT_DIG): Likewise.
35725         (LDBL_MANT_DIG): Likewise.
35726         (FLT_DIG): Likewise.
35727         (DBL_DIG): Likewise.
35728         (LDBL_DIG): Likewise.
35729         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35730         (DBL_MIN_EXP): Likewise.
35731         (LDBL_MIN_EXP): Likewise.
35732         (FLT_MAX_EXP): Use macro-int-constant.
35733         (DBL_MAX_EXP): Likewise.
35734         (LDBL_MAX_EXP): Likewise.
35735         (FLT_MAX_10_EXP): Likewise.
35736         (DBL_MAX_10_EXP): Likewise.
35737         (LDBL_MAX_10_EXP): Likewise.
35738         (FLT_MAX): Use macro-constant.
35739         (DBL_MAX): Likewise.
35740         (LDBL_MAX): Likewise.
35741         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35742         (DBL_EPSILON): Likewise.
35743         (LDBL_EPSILON): Likewise.
35744         (FLT_MIN): Likewise.
35745         (DBL_MIN): Likewise.
35746         (LDBL_MIN): Likewise.
35747         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35748         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35749         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35750         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35751         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35752         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35753         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35754         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35755         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35756         [ISO11] (FLT_TRUE_MIN): Likewise.
35757         [ISO11] (LDBL_TRUE_MIN): Likewise.
35758         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35759         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35760         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35761         (SCHAR_MAX): Likewise.
35762         (UCHAR_MAX): Likewise.
35763         (CHAR_MIN): Likewise.
35764         (CHAR_MAX): Likewise.
35765         (MB_LEN_MAX): Use macro-int-constant.
35766         (SHRT_MIN): Use macro-int-constant.  Specify type.
35767         (SHRT_MAX): Likewise.
35768         (USHRT_MAX): Likewise.
35769         (INT_MAX): Likewise.
35770         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35771         bound negative.
35772         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35773         bound with "U".
35774         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35775         bound with "L".
35776         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35777         bound negative.  Suffix upper bound with "L".
35778         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35779         bound with "UL".
35780         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35781         Specify type.
35782         [C99-based standards] (LLONG_MAX): Likewise.
35783         [C99-based standards] (ULLONG_MAX): Likewise.
35784         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35785         == 0.
35786         [ISO11] (max_align_t): Require type.
35787         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35789         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35790         from $CFLAGS, without defining away __attribute__ calls.
35791         (checknamespace): Use $CFLAGS_namespace.
35793         * conform/conformtest.pl (@keywords): Only include C99 keywords
35794         for standards based on C99 or C11.
35796         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35797         Disable tests.
35798         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35799         UNIX98]: Likewise.
35801         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35802         usability of symbols in #if.
35804         * conform/conformtest.pl: If macro or constant types start
35805         "promoted:", expect the symbol to be of the following type
35806         promoted by the integer promotions.
35808         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35809         in one place.  Also handle "macro-constant".
35811         * conform/conformtest.pl: Only accept expected macro values with
35812         "==".  Parse all "macro" lines in one place.
35813         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35815         * conform/conformtest.pl: Handle braced types on "constant" lines
35816         instead of handling "typed-constant".
35817         * conform/data/signal.h-data: Use "constant" instead of
35818         "typed-constant".
35820         * conform/conformtest.pl: Handle "optional-" at start of lines in
35821         one place rather than duplicating several cases.  Handle each
35822         format of "macro" line with initial "optional-".
35824         * conform/conformtest.pl: Only accept expected constant or
35825         optional-constant values with "==".  Parse all "constant" lines in
35826         one place.  Parse all "optional-constant" lines in one place.
35827         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35828         * conform/data/fmtmsg.h-data: Likewise.
35829         * conform/data/netinet/in.h-data: Likewise.
35830         * conform/data/tar.h-data: Likewise.
35831         * conform/data/limits.h-data: Use "==" form on "constant" and
35832         "optional-constant" lines.
35834         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35835         Use -std=c99 for XOPEN2K.
35836         (@knownproblems): Remove.
35837         (newtoken): Don't check %isknown.
35839         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35840         Do not expect macro.
35841         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35842         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35843         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35844         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35845         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35846         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35847         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35848         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35849         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35850         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35851         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35852         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35853         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35854         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35855         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35856         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35857         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35858         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35859         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35860         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35861         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35862         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35863         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35864         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35865         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35866         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35867         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35868         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35869         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35870         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35871         [XPG3] (acosh): Likewise.
35872         [XPG3] (asinh): Likewise.
35873         [XPG3] (atanh): Likewise.
35874         [XPG3] (cbrt): Likewise.
35875         [XPG3] (expm1): Likewise.
35876         [XPG3] (ilogb): Likewise.
35877         [XPG3] (log1p): Likewise.
35878         [XPG3] (logb): Likewise.
35879         [XPG3] (nextafter): Likewise.
35880         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35881         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35882         [XPG3] (remainder): Likewise.
35883         [XPG3] (rint): Likewise.
35884         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35885         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35886         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35887         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35888         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35889         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35890         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35891         [UNIX98 || XOPEN2K] (scalb): Expect.
35892         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35893         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35894         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35895         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35896         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35897         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35898         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35899         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35900         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35901         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35902         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35903         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35904         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35905         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35906         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35907         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35908         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35909         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35910         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35911         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35912         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35913         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35914         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35915         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35916         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35917         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35918         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35919         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35920         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35921         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35922         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35923         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35924         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35925         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35926         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35927         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35928         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35929         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35930         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35931         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35932         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35933         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35934         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35935         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35936         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35937         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35938         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35939         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35940         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35941         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35942         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35943         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35944         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35945         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35946         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35947         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35948         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35949         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35950         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35951         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35952         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35953         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35954         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35955         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35956         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35957         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35958         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35959         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35960         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35961         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35962         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35963         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35964         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35965         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35966         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35967         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35968         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35969         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35970         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35971         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35972         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35973         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35974         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35975         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35976         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35977         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35978         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35979         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35980         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35981         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35982         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35983         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35984         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35985         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35986         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35987         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35988         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35989         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35990         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35991         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35992         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35993         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35994         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35995         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35996         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35997         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35998         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35999         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36000         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36001         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36002         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36003         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36004         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36005         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36006         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36007         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36008         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36009         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36010         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36011         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36012         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36013         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36014         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36015         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36016         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36017         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36018         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36019         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36020         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36021         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36022         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36023         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36024         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36025         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36026         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36027         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36028         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36030         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36031         _XOPEN_SOURCE_EXTENDED for XPG4.
36033         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36035         * Makeconfig (localtime): Remove variable.
36036         (inst_localtime-file): Likewise.
36038 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36041         Update.
36042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36043         Update.
36044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36045         Update.
36046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36047         Update.
36048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36049         Update.
36050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36051         Update.
36052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36053         Update.
36054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36055         Update.
36056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36057         Update.
36059 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36061         [BZ #2550]
36062         [BZ #2570]
36063         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36064         comparisons to determine direction to adjust input.
36065         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36066         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36067         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36068         Likewise.
36069         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36070         Likewise.
36071         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36072         Likewise.
36073         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36074         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36075         Likewise.
36076         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36077         Likewise.
36078         * math/libm-test.inc (nexttoward_test): Add more tests.
36080 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36082         [BZ #14040]
36083         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36084         in version GLIBC_2.1, not GLIBC_2.0.
36085         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36086         Likewise.
36088 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36090         [BZ #13942]
36091         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36092         (1 - x) * (1 + x).
36093         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36094         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36095         * math/libm-test.inc (acos_test): Add more tests.
36096         (asin_test): Likewise.
36097         * sysdeps/i386/fpu/libm-test-ulps: Update.
36098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36100         [BZ #14034]
36101         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36102         of square root.
36103         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36104         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36105         * math/libm-test.inc (acos_test_tonearest): New function.
36106         (acos_test_towardzero): Likewise.
36107         (acos_test_downward): Likewise.
36108         (acos_test_upward): Likewise.
36109         (asin_test_tonearest): Likewise.
36110         (asin_test_towardzero): Likewise.
36111         (asin_test_downward): Likewise.
36112         (asin_test_upward): Likewise.
36113         (main): Call the new functions.
36114         * sysdeps/i386/fpu/libm-test-ulps: Update.
36115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36117         [BZ #13884]
36118         [BZ #13924]
36119         * math/e_exp10.c: Include <float.h>.
36120         (__ieee754_exp10): Handle underflow here rather than multiplying
36121         large negative argument by M_LN10.
36122         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36123         of __ieee754_expf.
36124         * math/e_exp10l.c: Include <float.h>.
36125         (__ieee754_exp10l): Handle underflow here rather than multiplying
36126         large negative argument by M_LN10l.
36127         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36128         spurious overflow exception on underflow.
36130 2012-04-29  Marek Polacek  <polacek@redhat.com>
36132         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36133         (__fortify_function): New macro.
36134         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36135         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36136         __extern_always_inline.
36137         * libio/bits/stdio2.h: Likewise.
36138         * libio/bits/stdio.h: Likewise.
36139         * string/string.h: Likewise.
36140         * string/bits/string3.h: Likewise.
36141         * include/stdio.h: Likewise.
36142         * stdlib/bits/stdlib.h: Likewise.
36143         * stdlib/stdlib.h: Likewise.
36144         * rt/bits/mqueue2.h: Likewise.
36145         * rt/mqueue.h: Likewise.
36146         * posix/bits/unistd.h: Likewise.
36147         * posix/unistd.h: Likewise.
36148         * io/bits/poll2.h: Likewise.
36149         * io/bits/fcntl2.h: Likewise.
36150         * io/fcntl.h: Likewise.
36151         * io/sys/poll.h: Likewise.
36152         * misc/bits/syslog.h: Likewise.
36153         * misc/bits/syslog-ldbl.h: Likewise.
36154         * misc/sys/syslog.h: Likewise.
36155         * socket/bits/socket2.h: Likewise.
36156         * socket/sys/socket.h: Likewise.
36157         * debug/tst-chk1.c: Likewise.
36158         * wcsmbs/bits/wchar2.h: Likewise.
36159         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36160         * wcsmbs/wchar.h: Likewise.
36162 2012-04-29  Andreas Jaeger  <aj@suse.de>
36164         * Makerules (tests): Remove enable-check-abi protection.
36165         (check-abi-warn): Remove.
36166         (check-abi-%): Remove check-abi-warn usage.
36168         * configure.in: Remove check-abi configure option.
36169         * configure: Regenerated.
36170         * config.make.in (enable-check-abi): Remove.
36172 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36174         [BZ #14033]
36175         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36176         double functions to double *_finite functions.
36178         [BZ #13941]
36179         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36180         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36181         LDBL_MIN_EXP.
36182         * stdio-common/Makefile (tests): Add tst-sprintf3.
36183         * stdio-common/tst-sprintf3.c: New file.
36185         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36186         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36188 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36190         * conform/conformtest.pl: Remove duplicate typed-constant
36191         handling.
36193 2012-04-28  David S. Miller  <davem@davemloft.net>
36195         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36196         (check-abi-%): Remove AWK script prerequisite and explicit
36197         abilist directory.
36198         (check-abi): Rewrite to just diff the symlist with the abilist.
36199         (config-tls, config-abi-config): Delete, no longer used.
36200         (update-abi-%): Remove AWK script and explicit abilist directory.
36201         (update-abi): Rewrite to simply compare and conditionally copy the
36202         symlist and the sysdep abilist file.  Remove update-abi-config
36203         checks.
36204         * abilist/ld.abilist: Remove.
36205         * abilist/libBrokenLocale.abilist: Remove.
36206         * abilist/libanl.abilist: Remove.
36207         * abilist/libcrypt.abilist: Remove.
36208         * abilist/libdl.abilist: Remove.
36209         * abilist/librt.abilist: Remove.
36210         * abilist/libthread_db.abilist: Remove.
36211         * abilist/libutil.abilist: Remove.
36212         * scripts/extract-abilist.awk: Remove.
36213         * scripts/merge-abilist.awk: Remove.
36214         * sysdeps/generic/libcidn.abilist: New file.
36215         * sysdeps/generic/libnss_compat.abilist: New file.
36216         * sysdeps/generic/libnss_db.abilist: New file.
36217         * sysdeps/generic/libnss_dns.abilist: New file.
36218         * sysdeps/generic/libnss_files.abilist: New file.
36219         * sysdeps/generic/libnss_hesiod.abilist: New file.
36220         * sysdeps/generic/libnss_nis.abilist: New file.
36221         * sysdeps/generic/libnss_nisplus.abilist: New file.
36222         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36223         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36224         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36225         file.
36226         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36227         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36228         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36229         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36230         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36231         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36232         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36233         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36234         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36235         file.
36236         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36237         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36238         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36239         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36240         file.
36241         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36242         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36243         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36244         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36245         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36246         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36247         file.
36248         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36249         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36250         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36251         file.
36252         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36253         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36254         New file.
36255         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36256         New file.
36257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36258         New file.
36259         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36260         New file.
36261         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36262         New file.
36263         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36264         New file.
36265         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36266         New file.
36267         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36268         New file.
36269         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36270         New file.
36271         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36272         New file.
36273         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36274         New file.
36275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36276         New file.
36277         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36278         New file.
36279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36280         file.
36281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36282         New file.
36283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36284         New file.
36285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36286         file.
36287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36288         New file.
36289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36290         New file.
36291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36292         file.
36293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36294         New file.
36295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36296         New file.
36297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36298         New file.
36299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36300         New file.
36301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36302         New file.
36303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36304         New file.
36305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36307         file.
36308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36309         New file.
36310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36311         file.
36312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36313         file.
36314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36315         file.
36316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36317         file.
36318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36319         file.
36320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36321         New file.
36322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36323         file.
36324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36325         file.
36326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36327         New file.
36328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36329         file.
36330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36332         file.
36333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36334         New file.
36335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36336         file.
36337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36338         file.
36339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36340         file.
36341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36342         file.
36343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36344         file.
36345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36346         New file.
36347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36348         file.
36349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36350         file.
36351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36352         New file.
36353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36354         file.
36355         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36356         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36357         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36358         file.
36359         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36360         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36361         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36362         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36363         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36364         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36365         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36366         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36367         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36368         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36371         file.
36372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36373         New file.
36374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36375         file.
36376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36377         file.
36378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36379         file.
36380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36381         file.
36382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36383         file.
36384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36385         New file.
36386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36387         New file.
36388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36389         file.
36390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36391         New file.
36392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36393         file.
36394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36396         file.
36397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36398         New file.
36399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36400         file.
36401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36402         file.
36403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36404         file.
36405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36406         file.
36407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36408         file.
36409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36410         New file.
36411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36412         New file.
36413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36414         file.
36415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36416         New file.
36417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36418         file.
36420 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36422         * conform/conformtest.pl: Fix typo in handling typed-constant from
36423         allow-header.
36425 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36427         * README: Cut down references to pre-2.6 Linux kernels and
36428         Linuxthreads.  Update lists of configurations in libc and ports
36429         and sort alphabetically.  Say "or newer" with Linux kernel version
36430         requirements.
36432         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36434 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36436         [BZ #887]
36437         * math/libm-test.inc (logb_test_downward): New test to expose
36438         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36439         rounding mode.
36441 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36443         [BZ #14027]
36444         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36445         to be done.
36446         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36447         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36449 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36451         * sysdeps/unix/i386/brk.S: Remove file.
36452         * sysdeps/unix/i386/dl-brk.S: Likewise.
36453         * sysdeps/unix/i386/pipe.S: Likewise.
36454         * sysdeps/unix/i386/sigreturn.S: Likewise.
36455         * sysdeps/unix/i386/syscall.S: Likewise.
36456         * sysdeps/unix/i386/vfork.S: Likewise.
36457         * sysdeps/unix/i386/wait.S: Likewise.
36459         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36460         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36462         * configure.in (arm*-none*): Do not allow without
36463         --enable-hacker-mode.
36464         (netbsd*): Remove case setting base_os.
36465         (386bsd*): Likewise.
36466         (freebsd*): Likewise.
36467         (bsdi*): Likewise.
36468         (osf*): Likewise.
36469         (sunos*): Likewise.
36470         (ultrix*): Likewise.
36471         (newsos*): Likewise.
36472         (dynix*): Likewise.
36473         (*bsd*): Likewise.
36474         (sysv*): Likewise.
36475         (isc*): Likewise.
36476         (esix*): Likewise.
36477         (sco*): Likewise.
36478         (minix*): Likewise.
36479         (irix4*): Likewise.
36480         (irix6*): Likewise.
36481         (solaris[2-9]*): Likewise.
36482         (none): Likewise.
36483         * configure: Regenerated.
36485 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36487         [BZ #11521]
36488         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36489         overflow or cancellation in calculating denominator.
36490         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36491         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36492         down expression to avoid unexpected rounding in newer GCCs.
36493         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36495 2012-04-26  David S. Miller  <davem@davemloft.net>
36497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36498         long-double compat symbols.
36499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36513 2012-04-25  David S. Miller  <davem@davemloft.net>
36515         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36516         HWCAP_* values only after the memory barriers have been defined.
36517         (atomic_full_barrier): Define.
36518         (atomic_read_barrier): Define.
36519         (atomic_write_barrier): Define.
36521 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36523         * shlib-versions: Add libgcc_s version information.
36524         * sysdeps/generic/libgcc_s.h: Remove.
36525         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36526         libgcc_s.h.
36527         * sysdeps/gnu/unwind-resume.c: Likewise.
36528         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36530 2012-04-25  David S. Miller  <davem@davemloft.net>
36532         * sysdeps/unix/sparc/brk.S: Delete.
36533         * sysdeps/unix/sparc/dl-brk.S: Delete.
36534         * sysdeps/unix/sparc/pipe.S: Delete.
36535         * sysdeps/unix/sparc/sysdep.S: Delete.
36536         * sysdeps/unix/sparc/sysdep.h: Delete.
36537         * sysdeps/unix/sparc/vfork.S: Delete.
36538         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36539         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36540         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36541         (ret_ERRVAL, r0, r1, MOVE): Define.
36542         (JUMPTARGET): Remove.
36543         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36544         sysdeps/unix/sparc/sysdep.h
36545         (ENTRY, END): Remove.
36546         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36548 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36550         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36551         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36552         -DIS_IN_build.
36554         * timezone/README: Update upstream location and email address for
36555         tzcode and tzdata.
36556         * timezone/zdump.c: Update from tzcode 2012b.
36557         * timezone/zic.c: Likewise.
36559         * configure.in (libc_cv_as_needed): Remove test.
36560         * configure: Regenerated.
36561         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36562         conditional definition.
36563         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36564         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36565         * config.make.in (have-as-needed): Remove variable.
36567 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36568             Paul Pluzhnikov  <ppluzhnikov@google.com>
36570         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36571         strings correctly.
36573 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36575         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36576         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36577         * sysdeps/sh/strlen.S: Likewise.
36579 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36581         * sysdeps/unix/fork.S: Remove file.
36582         * sysdeps/unix/i386/fork.S: Likewise.
36583         * sysdeps/unix/sparc/fork.S: Likewise.
36585         * sysdeps/unix/system.c: Remove file.
36586         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36588         * sysdeps/unix/getegid.S: Remove file.
36589         * sysdeps/unix/geteuid.S: Likewise.
36591 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36593         * scripts/check-localplt.awk: New file.
36594         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36595         of diff.
36596         * scripts/data/localplt-generic.data: Add a comment.
36598         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36599         NODE when __dir_mkfile failed.
36600         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36601         Reported by Ludovic Courtès <ludo@gnu.org>.
36603 2012-04-24  Andreas Jaeger  <aj@suse.de>
36605         * Makerules (common-clean): Also remove gen-as-const-headers
36606         files.
36608 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36610         * Makerules (native-compile): Do not change working directory for
36611         build.  Use $(OUTPUT_OPTION) in command.
36612         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36614 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36616         [BZ #13886]
36617         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36618         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36619         * math/libm-test.inc (floor_test): Add more tests.
36620         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36622 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36624         * sysdeps/unix/getdents.c: Remove file.
36625         * sysdeps/unix/sysv/getdents.c: Likewise.
36626         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36628         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36629         sysdeps/unix/mman/syscalls.list.
36630         (mmap): Likewise.
36631         (mprotect): Likewise.
36632         (msync): Likewise.
36633         (munmap): Likewise.
36634         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36635         * sysdeps/unix/mman/syscalls.list: Remove.
36636         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36638         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36639         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36640         * configure: Regenerated.
36641         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36642         $(libgcc_s_suffix).
36643         * config.make.in (libgcc_s_suffix): Remove variable.
36645 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36647         * sysdeps/unix/sysv/gethostname.c: Move to ...
36648         * sysdeps/posix/gethostname.c: ... here.
36650         * sysdeps/unix/execve.S: Remove file.
36652         * sysdeps/unix/_exit.S: Remove file.
36654 2012-04-23  Andreas Jaeger  <aj@suse.de>
36656         [BZ #13739]
36657         * manual/Makefile: Remove make dist support, there's no
36658         need for a stand-alone documentation tar ball.
36659         (TEXI2DVI): Define always, it's not in Makeconfig.
36660         (dist): Removed.
36661         (tar-it): Removed.
36662         (edition): Removed.
36663         (glibc-doc-$(edition).tar): Removed
36664         (%.Z): Removed.
36665         (%.gz): Removed.
36666         (%.uu): Removed.
36667         (ETAGS): Remove, it's in Makeconfig.
36668         (move-if-change): Remove, it's in Makeconfig.
36670 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36672         [BZ #13970]
36673         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36674         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36675         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36676         (strtod_l, strtof_l, strtold_l): Remove __wur.
36677         It is not necessarily an error to ignore strtol's return value.
36678         One can reliably look at the stored endptr to decide whether
36679         the number had valid syntax.
36681 2012-04-21  Andreas Jaeger  <aj@suse.de>
36683         [BZ #13739]
36684         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36686 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36688         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36689         * sysdeps/unix/sysv/Versions: Remove file.
36691 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36693         [BZ #13927]
36694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36696 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36698         [BZ #7064]
36699         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36700         version from __vm86.
36702 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36704         * sysdeps/unix/common/lxstat.c: Remove file.
36705         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36707         * sysdeps/unix/sysv/Makefile: Remove file.
36709         * sysdeps/unix/sysv/direct.h: Remove file.
36711         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36712         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36713         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36714         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36715         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36716         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36717         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36719         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36721         * sysdeps/unix/xmknod.c: Remove file.
36722         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36724         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36726         * sysdeps/unix/sysv/i386/time.S: Remove file.
36728         * sysdeps/unix/fxstat.c: Remove file.
36729         * sysdeps/unix/xstat.c: Likewise.
36730         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36732         * sysdeps/unix/sysv/sigaction.c: Remove file.
36734         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36735         (sysdep_headers): Remove variable.
36736         [termio.h not in sysdep_headers] (generated): Likewise.
36737         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36738         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36739         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36740         * sysdeps/unix/sysv/tcflow.c: Likewise.
36741         * sysdeps/unix/sysv/tcflush.c: Likewise.
36742         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36743         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36744         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36745         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36746         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36748         * sysdeps/unix/siglist.c: Remove file.
36750         * sysdeps/unix/getppid.S: Remove file.
36752         * sysdeps/unix/mkdir.c: Remove file.
36753         * sysdeps/unix/rmdir.c: Likewise.
36755 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36757         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36758         ERR_MAX value.
36759         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36760         errlist-compat value.
36762 2012-04-18  David S. Miller  <davem@davemloft.net>
36764         * sysdeps/generic/memcopy.h (reg_char): Delete.
36765         * debug/strcat_chk.c: Use char, not reg_char.
36766         * debug/strcpy_chk.c: Likewise.
36767         * debug/strncat_chk.c: Likewise.
36768         * debug/strncpy_chk.c: Likewise.
36769         * string/memchr.c: Likewise.
36770         * string/memrchr.c: Likewise.
36771         * string/rawmemchr.c: Likewise.
36772         * string/strcat.c: Likewise.
36773         * string/strchr.c: Likewise.
36774         * string/strchrnul.c: Likewise.
36775         * string/strcmp.c: Likewise.
36776         * string/strcpy.c: Likewise.
36777         * string/strncat.c: Likewise.
36778         * string/strncmp.c: Likewise.
36779         * string/strncpy.c: Likewise.
36781 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36783         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36784         __builtin_memcopy is called when src and dest ranges are known to not
36785         overlap.
36787 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36789         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36790         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36791         fwd_align_merge macro call.
36792         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36793         bwd_align_merge macro call.
36794         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36796 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36798         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36799         bwd_align_merge macros.
36800         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36801         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36802         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36804 2012-04-18  David S. Miller  <davem@davemloft.net>
36806         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36808 2012-04-18  Andreas Jaeger  <aj@suse.de>
36810         [BZ# 6794]
36811         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36812         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36813         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36815         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36816         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36817         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36819         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36820         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36821         Adjust for changed ldbl-128 files.
36823         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36824         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36825         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36827 2012-04-17  David S. Miller  <davem@davemloft.net>
36829         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36831 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36833         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36834         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36835         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36836         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36837         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36838         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36840 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36842         [BZ #6794]
36843         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36844         * math/libm-test.inc: Add ilogb errno and exception tests.
36845         * math/w_ilogb.c: New file: ilogb wrapper.
36846         * math/w_ilogbf.c: New file: ilogbf wrapper.
36847         * math/w_ilogbl.c: New file: ilogbl wrapper.
36848         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36849         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36850         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36851         exception being thrown with 0.0 as argument.
36852         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36853         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36854         exception being thrown with 0.0 as argument.
36855         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36856         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36857         exception being thrown with 0.0 as argument.
36858         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36859         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36860         exception being thrown with 0.0 as argument.
36861         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36862         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36863         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36864         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36865         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36866         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36867         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36868         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36869         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36871 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36873         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36874         with altivec.
36876 2012-04-16  Marek Polacek  <polacek@redhat.com>
36878         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36880 2012-04-16  Marek Polacek  <polacek@redhat.com>
36882         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36883         operands of fdivp instruction.
36885 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36887         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36888         * elf/tst-auditmod3b.c: Likewise.
36889         * elf/tst-auditmod4b.c: Likewise.
36890         * elf/tst-auditmod5b.c: Likewise.
36891         * elf/tst-auditmod6b.c: Likewise.
36892         * elf/tst-auditmod6c.c: Likewise.
36893         * elf/tst-auditmod7b.c: Likewise.
36894         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36895         * sysdeps/x86_64/preconfigure.in: Likewise.
36896         * sysdeps/x86_64/preconfigure: Regenerated.
36898 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36900         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36901         __ILP32__.
36903 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36905         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36906         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36908 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36910         [BZ #13973]
36911         * locale/iso-639.def: Fix gl language name. Spotted by
36912         Yaron Shahrabani.
36914 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36916         [BZ #2074]
36917         * libio/libio.h (__io_write_fn): Update comment.
36919 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36921         [BZ #2074]
36922         * stdio.texi (Hook Functions): The user provided writer function
36923         is not allowed to return -1.
36925 2012-04-11  David S. Miller  <davem@davemloft.net>
36927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36929 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36931         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36932         Add a leading slash to rtkaio.
36934 2012-04-11  Jim Meyering  <meyering@redhat.com>
36936         [BZ #11959]
36937         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36938         It is not necessarily an error to ignore fwrite's return
36939         value.  One can reliably use ferror to test for errors after
36940         the fact.
36942 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36944         * bits/types.h (__snseconds_t): New type.
36945         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36947         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36948         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36949         (__SNSECONDS_T_TYPE): Likewise.
36950         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36951         (__SNSECONDS_T_TYPE): Likewise.
36952         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36953         (__SNSECONDS_T_TYPE): Likewise.
36955 2012-04-10  Andreas Jaeger  <aj@suse.de>
36957         [BZ #2636]
36958         * manual/time.texi (Processor Time): Return type of times is
36959         elapsed real time since an arbitrary point in the past.
36960         (CPU Time): Move CLK_TCK from here...
36961         (Processor Time): ...to here.  Correct description.
36962         * manual/conf.texi (Constants for Sysconf): Correct description of
36963         _SC_CLK_TCK.
36965 2012-04-10  David S. Miller  <davem@davemloft.net>
36967         [BZ #13967]
36968         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36969         where the is a gap between DT_REL(A) and DT_JMPREL.
36971 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36973         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36974         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36975         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36977 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36979         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36980         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36981         (dl_main): Handle --inhibit-cache.
36982         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36983         _dl_inhibit_cache.
36984         * elf/dl-load.c (_dl_map_object): Use it.
36985         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36987 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36989         [BZ #13872]
36990         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36991         (__ieee754_powl): Saturate large exponents rather than testing for
36992         overflow of y*log2(x).
36993         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36994         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36995         exceptions.
36997         [BZ #11521]
36998         * math/s_ctan.c: Include <float.h>.
36999         (__ctan): Avoid internal overflow or cancellation in calculating
37000         denominator.
37001         * math/s_ctanf.c: Likewise.
37002         * math/s_ctanl.c: Likewise.
37003         * math/s_ctanh.c: Likewise.
37004         * math/s_ctanhf.c: Likewise.
37005         * math/s_ctanhl.c: Likewise.
37006         * math/libm-test.inc (ctan_test): Add more tests.
37007         (ctanh_test): Likewise.
37008         * sysdeps/i386/fpu/libm-test-ulps: Update.
37009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37011 2012-04-09  Andreas Jaeger  <aj@suse.de>
37013         [BZ #6894]
37014         * manual/filesys.texi (Directory Entries): Mention that d_namlen
37015         is an optional BSD extension.
37017         [BZ #10254]
37018         * manual/stdio.texi (Opening Streams): Document additional fopen
37019         parameters.
37021 2012-04-09  Roland McGrath  <roland@hack.frob.com>
37023         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37024         %eax without telling the compiler.
37026 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
37028         [BZ # 13963]
37029         * manual/install.texi: Use sourceware.org.
37031 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
37033         [BZ #13873]
37034         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37035         (__ieee754_pow): Generate overflow and underflow using huge*huge
37036         and tiny*tiny rather than just returning constant infinity or zero
37037         for large exponents.
37038         * math/libm-test.inc (pow_test): Require overflow exceptions for
37039         applicable cases of large exponents.
37041         [BZ #706]
37042         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37043         (__ieee754_pow): Use iterative multiplication algorithm only for
37044         integer exponents with absolute value below 1024.  Check for odd
37045         integer exponents when using algorithm for real exponents.
37046         * math/libm-test.inc (pow_test): Add more tests.
37047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37049 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37051         [BZ #13705]
37052         * math/libm-test.inc (exp_test): Do not allow overflow exception
37053         on underflow test.
37055 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37057         [BZ #13705]
37058         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37059         instead of __kernel_standard_f.
37061 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37063         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37064         * sysdeps/x86_64/memset_chk.S: Likewise.
37066 2012-04-08  Andreas Jaeger  <aj@suse.de>
37068         [BZ #10153]
37069         * manual/startup.texi (Environment Access): Describe return value
37070         for putenv and setenv.
37072         [BZ #6895]
37073         * manual/filesys.texi (Directory Entries): Add description for
37074         DT_LNK.
37076         [BZ #6890]
37077         * manual/filesys.texi (Directory Entries): Clarify that it's file
37078         system not operating system in the description of DT_UNKNOWN.
37080         [BZ #6578]
37081         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37083 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37085         [BZ #6649]
37086         * manual/llio.texi (Opening and Closing Files): Add cross
37087         reference to explain mode argument.
37089 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37091         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37092         * sysdeps/x86_64/memset_chk.S: Likewise.
37094 2012-04-07  David S. Miller  <davem@davemloft.net>
37096         * elf/elf.h (R_SPARC_WDISP10): Define.
37097         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37098         R_SPARC_SIZE32.
37099         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37100         R_SPARC_SIZE64 and R_SPARC_H34.
37102 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37104         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37105         conditions and remove no longer applicable assertion.
37107 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37109         * bits/byteswap.h: Include <features.h>.
37110         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37111         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37113 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37115         * bits/byteswap.h (__bswap_16): Removed.
37116         Include <bits/byteswap-16.h> to get __bswap_16.
37117         * sysdeps/i386/bits/byteswap.h: Likewise.
37118         * sysdeps/s390/bits/byteswap.h: Likewise.
37119         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37120         * bits/byteswap-16.h: New file.
37121         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37122         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37123         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37124         * string/Makefile (headers): Add bits/byteswap-16.h.
37126 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37128         [BZ #13895]
37129         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37130         extra indirection.
37131         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37132         * nss/tst-nss-static.c: New.
37134 2012-04-06  Robert Millan  <rmh@gnu.org>
37136         [BZ #6486]
37137         * manual/llio.texi (File Position Primitive): lseek
37138         refers to WHENCE when it really means OFFSET.
37140 2012-04-06  Andreas Jaeger  <aj@suse.de>
37142         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37143         strncmp declarations.
37145         * abilist/libc.abilist: Add __poll and __ppoll.
37147 2012-04-05  David S. Miller  <davem@davemloft.net>
37149         * scripts/check-local-headers.sh: Accept a host triplet in the
37150         path matched by the exclude regexp.
37152         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37153         definition.
37154         * sysdeps/powerpc/powerpc32/dl-machine.h
37155         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37156         * sysdeps/s390/s390-32/dl-machine.h
37157         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37158         * sysdeps/sparc/sparc32/dl-machine.h
37159         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37160         * sysdeps/sparc/sparc64/dl-machine.h
37161         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37163         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37164         lazy binding.
37165         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37166         undefined symbol errors.
37168         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37169         DT_NEEDED entries.
37171 2012-04-05  Michael Matz  <matz@suse.de>
37173         [BZ #13592]
37174         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37176 2012-04-05  Andreas Jaeger  <aj@suse.de>
37178         [BZ #13908]
37179         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37180         comment.
37182 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37184         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37185         which ROUND is no valid rounding mode.
37187 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37189         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37190         read again.
37191         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37193 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37195         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37196         an exception using FPU order intentionally.
37198 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37200         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37201         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37202         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37203         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37205 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37207         [BZ #12340]
37208         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37209         EINVAL when BUFLEN is too smal.
37211 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37213         [BZ #13553]
37214         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37215         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37217 2012-04-03  Andreas Jaeger  <aj@suse.de>
37219         [BZ #13938]
37220         * manual/setjmp.texi (System V contexts): Fix sentence.
37222         [BZ #13926]
37223         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37224         New macro for this case.
37225         [!__GNUC__] (__bswap_64): New inline function for this case.
37226         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37227         * bits/byteswap.h: Likewise.
37228         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37229         ull, guard with __GLIBC_HAVE_LONG_LONG.
37231         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37232         __GLIBC_HAVE_LONG_LONG.
37234         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37235         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37237 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37239         [BZ #13691]
37240         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37241         inptr and inend, rather than using last_ch.
37243 2012-04-02  David S. Miller  <davem@davemloft.net>
37245         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37246         * stdio-common/printf-parse.h (read_int): Change return type to
37247         'int', return -1 on INT_MAX overflow.
37248         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37249         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37250         overflows INT_MAX.  Check for overflow of in-format-string precision
37251         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37252         SIZE_MAX not INT_MAX for integer overflow test.
37253         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37254         skip the construct in the format string but do not record anything.
37255         * stdio-common/bug22.c: Adjust to test both width/prevision
37256         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37257         explicitly for proper errno values.
37259 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37261         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37262         CHAR_MAX.
37263         * string/test-strcmp.c [! WIDE]: Likewise.
37264         * time/tst-mktime2.c: Likewise for INT_MAX.
37265         * string/test-string.h: #include <sys/param.h> for MIN.
37267         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37268         * sysdeps/i386/init-first.c (init): Likewise.
37269         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37270         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37271         * sysdeps/sh/init-first.c (init): Likewise.
37273 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37275         * po/ru.po: Update from translation team.
37276         * po/vi.po: Likewise.
37278 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37280         * resolv/nss_dns/dns-host.c: Merge copyright years.
37282 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37284         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37285         Optimize memcpy with prefetch if
37286         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37287         src, dst pointers have unequal 16 byte alignments.
37289 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37291         [BZ #13928]
37292         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37293         from a CNAME entry and return the minimum ttl for the query.
37294         (gaih_getanswer_slice): Likewise.
37296 2012-03-30  Jeff Law  <law@redhat.com>
37298         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37299         due to long keys.
37300         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37301         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37303         * resolv/nss_dns/dns-host.c: Update copyright year.
37305 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37307         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37308         requests to save a system call.  Fix check that all bytes are sent.
37310         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37311         comments for sendmmsg.
37313 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37315         [BZ #13691]
37316         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37317         with only 1 character between 0x0041 and 0x01b0.
37318         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37319         * wcsmbs/tst-mbsnrtowcs.c: New file.
37321 2012-03-29  David S. Miller  <davem@davemloft.net>
37323         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37324         small copies by hand.
37326 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37328         [BZ #13761]
37329         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37330         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37331         group memberships.
37333 2012-03-28  David S. Miller  <davem@davemloft.net>
37335         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37336         that branches into memcpy.
37337         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37338         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37339         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37340         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37341         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37342         bits.
37343         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37344         implementation too.
37345         * sysdeps/sparc/mempcpy.S: New file.
37347         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37348         the IFUNC routine in the libc case.
37349         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37351         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37352         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37353         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37354         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37355         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37356         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37357         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37358         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37360         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37361         loop to 256 bytes instead of 64 bytes and fix test signedness.
37363         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37364         * sysdeps/sparc/sparc32/Makefile: rather than here...
37365         * sysdeps/sparc/sparc64/Makefile: and here.
37367 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37369         * malloc/mallocbug.c: Avoid warnings about unused variables.
37371 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37373         [BZ #13760]
37374         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37375         in the right place. Discard and retry query if response is
37376         larger than input buffer size.
37378 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37380         [BZ #369]
37381         [BZ #2678]
37382         [BZ #3866]
37383         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37384         x for large integer exponent.
37385         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37386         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37387         sign of result as needed afterwards.
37388         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37389         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37390         result for underflowing pow the same as for overflow.
37391         (__kernel_standard_l): Handle powl overflow and underflow here
37392         rather than calling __kernel_standard.
37393         * math/libm-test.inc (pow_test): Add more tests.
37395         [BZ #3868]
37396         [BZ #13879]
37397         [BZ #13910]
37398         [BZ #13911]
37399         [BZ #13912]
37400         [BZ #13913]
37401         [BZ #13915]
37402         [BZ #13916]
37403         [BZ #13917]
37404         [BZ #13918]
37405         [BZ #13919]
37406         [BZ #13920]
37407         [BZ #13921]
37408         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37409         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37410         (__kernel_standard_l): New function.
37411         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37412         __kernel_standard.
37413         * math/w_acosl.c (__acosl): Likewise.
37414         * math/w_asinl.c (__asinl): Likewise.
37415         * math/w_atan2l.c (__atan2l): Likewise.
37416         * math/w_atanhl.c (__atanhl): Likewise.
37417         * math/w_coshl.c (__coshl): Likewise.
37418         * math/w_exp10l.c (__exp10l): Likewise.
37419         * math/w_exp2l.c (__exp2l): Likewise.
37420         * math/w_fmodl.c (__fmodl): Likewise.
37421         * math/w_hypotl.c (__hypotl): Likewise.
37422         * math/w_j0l.c (__j0l, __y0l): Likewise.
37423         * math/w_j1l.c (__j1l, __y1l): Likewise.
37424         * math/w_jnl.c (__jnl, __ynl): Likewise.
37425         * math/w_lgammal.c (__lgammal): Likewise.
37426         * math/w_log10l.c (__log10l): Likewise.
37427         * math/w_log2l.c (__log2l): Likewise.
37428         * math/w_logl.c (__logl): Likewise.
37429         * math/w_powl.c (__powl): Likewise.
37430         * math/w_remainderl.c (__remainderl): Likewise.
37431         * math/w_scalbl.c (sysv_scalbl): Likewise.
37432         * math/w_sinhl.c (__sinhl): Likewise.
37433         * math/w_sqrtl.c (__sqrtl): Likewise.
37434         * math/w_tgammal.c (__tgammal): Likewise.
37435         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37436         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37437         * math/libm-test.inc (acos_test): Add more tests.
37438         (acosh_test): Likewise.
37439         (asin_test): Likewise.
37440         (atanh_test): Likewise.
37441         (exp_test): Likewise.
37442         (exp10_test): Likewise.
37443         (exp2_test): Likewise.
37444         (expm1_test): Likewise.
37445         (lgamma_test): Likewise.
37446         (log_test): Likewise.
37447         (log10_test): Likewise.
37448         (log1p_test): Likewise.
37449         (log2_test): Likewise.
37450         (pow_test): Do not allow some spurious overflow exceptions.
37451         (sqrt_test): Add more tests.
37452         (tgamma_test): Likewise.
37453         (y0_test): Likewise.
37454         (y1_test): Likewise.
37455         (yn_test): Likewise.
37457 2012-03-27  Anton Blanchard  <anton@samba.org>
37459         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37460         MAP_HUGETLB.
37461         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37462         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37463         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37465 2012-03-27  David S. Miller  <davem@davemloft.net>
37467         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37469         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37470         have-as-vis3 check.
37472 2012-03-27  Andreas Jaeger  <aj@suse.de>
37474         * sysdeps/x86_64/elf/configure.in: Moved to ...
37475         * sysdeps/x86_64/configure.in: ... here.
37476         * sysdeps/x86_64/elf/start.S: Moved to ...
37477         * sysdeps/x86_64/start.S: ... here.
37478         * sysdeps/x86_64/elf/configure: Delete.
37480         * sysdeps/x86_64/configure.in: Merge contents from
37481         sysdeps/i386/configure.in (without i686 check).
37483         * sysdeps/i386/elf/Versions: Merge into ...
37484         * sysdeps/i386/Versions: ... this.
37485         * sysdeps/i386/elf/Versions: Delete file.
37486         * sysdeps/i386/elf/start.S: Moved to ...
37487         * sysdeps/i386/start.S: ...here.
37488         * sysdeps/i386/elf/configure.in: Merge into...
37489         * sysdeps/i386/configure.in: ...here.
37490         * sysdeps/i386/elf/configure.in: Delete file.
37491         * sysdeps/i386/elf/configure: Delete file.
37493         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37494         * debug/backtracesyms.c: ... here.
37495         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37496         * debug/backtracesymsfd.c: ... here.
37497         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37498         * sysdeps/generic/ifunc-sel.h: ... here.
37500         * sysdeps/unix/i386/start.c: Delete file.
37501         * sysdeps/unix/sparc/start.c: Delete file.
37502         * sysdeps/unix/start.c: Delete file.
37504         * sysdeps/sh/elf/configure.in: Moved to ...
37505         * sysdeps/sh/configure.in: ... here.
37506         * sysdeps/sh/elf/start.S: Moved to ...
37507         * sysdeps/sh/start.S: ... here.
37508         * sysdeps/sh/elf/configure: Delete file.
37510         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37511         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37512         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37513         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37514         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37515         * sysdeps/powerpc/powerpc64/start.S: here.
37516         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37517         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37518         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37519         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37520         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37522         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37523         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37524         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37525         * sysdeps/powerpc/powerpc32/start.S: ... here.
37526         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37527         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37528         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37530         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37531         * sysdeps/powerpc/ifunc-sel.h: ... here.
37532         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37533         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37535         * sysdeps/sparc/elf/configure.in: Moved to ...
37536         * sysdeps/sparc/configure.in: ... here.
37537         * sysdeps/sparc/elf/configure: Delete file.
37538         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37539         * sysdeps/sparc/sparc32/start.S: ... here.
37540         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37541         * sysdeps/sparc/sparc64/start.S: ... here.
37542         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37543         * sysdeps/sparc/sparc32/Makefile: ... this.
37544         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37545         * sysdeps/sparc/sparc64/Makefile: ... this.
37547         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37548         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37549         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37550         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37551         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37552         * sysdeps/s390/s390-32/setjmp.S: ... here.
37553         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37554         * sysdeps/s390/s390-32/configure.in: ... here.
37555         * sysdeps/s390/s390-32/elf/configure: Delete file.
37556         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37557         * sysdeps/s390/s390-32/start.S: ... here.
37559         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37560         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37561         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37562         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37563         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37564         * sysdeps/s390/s390-64/setjmp.S: ... here.
37565         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37566         * sysdeps/s390/s390-64/configure.in: ... here
37567         * sysdeps/s390/s390-64/elf/configure: Delete file.
37568         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37569         * sysdeps/s390/s390-64/start.S: ... here.
37570         * sysdeps/s390/s390-64/elf/configure: Delete.
37572         * configure.in: Remove support for elf directories in sysdeps.
37574         * configure: Regenerated.
37575         * sysdeps/i386/configure: Regenerated.
37576         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37577         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37578         * sysdeps/s390/s390-32/configure: Regenerated.
37579         * sysdeps/s390/s390-64/configure: Regenerated.
37580         * sysdeps/sh/configure: Regenerated.
37581         * sysdeps/sparc/configure: Regenerated.
37582         * sysdeps/x86_64/configure: Regenerated.
37584 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37588         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37589         denormal result into account.
37591 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37593         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37594         Reported by Allan McRae <allan@archlinux.org>.
37596 2012-03-23  Jeff Law  <law@redhat.com>
37598         * nss/getnssent.c (__nss_getent): Fix typo.
37600 2012-03-23  David S. Miller  <davem@davemloft.net>
37602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37604 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37606         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37607         to pad to uint64_t for each field.
37608         (dl_tls_index): Replace unsigned long with uint64_t.
37610 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37611         Paul Pluzhnikov  <ppluzhnikov@google.com>
37613         [BZ #6528]
37614         * grp/Makefile (otherlibs): Don't set it.
37615         * inet/Makefile (otherlibs): Likewise.
37616         * login/Makefile (otherlibs): Likewise.
37617         * nscd/Makefile (otherlibs): Likewise.
37618         * posix/Makefile (otherlibs): Likewise.
37619         * pwd/Makefile (otherlibs): Likewise.
37620         * rt/Makefile (otherlibs): Likewise.
37621         * sunrpc/Makefile (otherlibs): Likewise.
37622         * nss/Makefile (otherlibs): Likewise.
37623         Add libnss_files to routines and static-only-routines.
37624         ($(objpfx)getent): Remove rule.
37625         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37626         static-only-routines.
37628 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37630         [BZ #13892]
37631         * math/s_cexp.c: Include <float.h>.
37632         (__cexp): Handle exp result overflowing not necessarily
37633         overflowing both real and imaginary parts of result.
37634         * math/s_cexpf.c: Likewise.
37635         * math/s_cexpl.c: Likewise.
37636         * math/libm-test.inc (cexp_test): Add more tests.
37637         * sysdeps/i386/fpu/libm-test-ulps: Update.
37638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37640 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37642         * include/link.h (ELFW): New macro.
37643         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37644         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37646 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37648         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37649         with uint64_t.
37651 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37653         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37654         declaration.
37655         (struct La_x32_retval): Likewise.
37657 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37659         * sysdeps/x86_64/preconfigure.in: New file.
37660         * sysdeps/x86_64/preconfigure: New generated file.
37662 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37664         [BZ #13824]
37665         * math/e_exp2l.c: Include <float.h>.
37666         (__ieee754_exp2l): Handle overflow and underflow cases
37667         separately.  Only pass fractional part of argument to
37668         __ieee754_expl.
37669         * math/libm-test.inc (exp2_test): Add more tests.
37671         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37672         negating x to take absolute value.
37673         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37674         Likewise.
37675         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37676         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37677         Likewise.
37678         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37679         computing low part if x was negated.
37680         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37682 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37684         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37685         la_x32_gnu_pltexit.
37686         (pltexit): Cast int_retval to ptrdiff_t.
37687         * elf/tst-auditmod3b.c: Likewise.
37688         * elf/tst-auditmod4b.c: Likewise.
37689         * elf/tst-auditmod5b.c: Likewise.
37690         * elf/tst-auditmod6b.c: Likewise.
37691         * elf/tst-auditmod6c.c: Likewise.
37692         * elf/tst-auditmod7b.c: Likewise.
37694         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37695         and x32_gnu_pltexit.
37697         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37698         __ELF_NATIVE_CLASS.
37699         (La_x32_regs): New macro.
37700         (La_x32_retval): Likewise.
37701         (la_x32_gnu_pltenter): New function prototype.
37702         (la_x32_gnu_pltexit): Likewise.
37704 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37706         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37707         exponent.
37709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37711         * configure.in (libc_cv_cc_nofma): Check for option to disable
37712         generation of FMA instructions.
37713         * configure: Regenerate.
37714         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37715         * sysdeps/ieee754/dbl-64/Makefile: New file.
37716         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37717         Remove brandred-fma4.
37718         (CFLAGS-brandred-fma4.c): Remove.
37719         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37720         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37721         define.
37722         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37723         define.
37725 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37727         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37728         LLONG_MAX != LONG_MAX.
37729         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37730         (_fitoa_word): Likewise.
37731         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37732         LLONG_MAX != LONG_MAX.
37733         * stdio-common/_itowa.h: Include <_itoa.h>.
37734         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37735         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37736         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37737         only if not defined.
37738         (_ITOA_WORD_TYPE): Likewise.
37739         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37740         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37742 2012-03-21  David S. Miller  <davem@davemloft.net>
37744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37746 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37748         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37749         of x86_64 when setting libc_cv_slibdir, libdir and
37750         libc_cv_localedir.
37751         * sysdeps/unix/sysv/linux/configure: Regenerated.
37753 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37755         * manual/lang.texi (Old Varargs): Remove section.
37756         (How Variadic): Update menu.
37757         (va_start): Do not mention varargs.h.
37759 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37760             Joseph Myers  <joseph@codesourcery.com>
37762         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37763         link test.
37764         * configure: Regenerated.
37766 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37768         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37769         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37770         conformtest.pl
37772 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37774         * NOTES: Remove.
37775         * Makefile (files-for-dist): Remove NOTES.
37776         (NOTES): Remove rule.
37777         * README: Don't refer to NOTES.
37778         * manual/creature.texi: Don't include macros.texi.
37779         * manual/intro.texi (creature.texi): Remove comment referring to
37780         NOTES.
37782         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37783         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37784         * configure: Regenerated.
37785         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37786         LIBC_TRY_CC_OPTION.
37787         (libc_cv_as_i686): Likewise.
37788         (libc_cv_cc_avx): Likewise.
37789         (libc_cv_cc_sse2avx): Likewise.
37790         (libc_cv_cc_fma4): Likewise.
37791         (libc_cv_cc_novzeroupper): Likewise.
37792         * sysdeps/i386/configure: Regenerated.
37794         [BZ #13883]
37795         * sysdeps/i386/fpu/s_cexp.S: Remove.
37796         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37797         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37798         * math/libm-test.inc (cexp_test): Add more tests.
37799         * sysdeps/i386/fpu/libm-test-ulps: Update.
37800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37802 2012-03-21  Allan McRae  <allan@archlinux.org>
37804         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37806 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37808         [BZ #13871]
37809         * math/w_exp2.c: Do not include <float.h>.
37810         (o_threshold, u_threshold): Remove.
37811         (__exp2): Calculate result before checking finiteness and calling
37812         __kernel_standard.
37813         * math/w_exp2f.c: Likewise.
37814         * math/w_exp2l.c: Likewise.
37815         * math/libm-test.inc (exp2_test): Require overflow exception for
37816         1e6 input.
37818         [BZ #3866]
37819         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37820         range of signed 64-bit integers before using fistpll.  Remove
37821         checks for whether integers fit in mantissa bits.
37822         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37823         the range of signed 32-bit integers before using fistpl.  Remove
37824         checks for whether integers fit in mantissa bits.
37825         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37826         (__ieee754_powl): Test for y outside the range of signed 64-bit
37827         integers before using fistpll.  Reduce 64-bit values to 63-bit
37828         ones as needed.
37829         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37830         divide-by-zero is raised for zero to large negative powers.
37831         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37832         (__ieee754_powl): Test for y outside the range of signed 64-bit
37833         integers before using fistpll.  Reduce 64-bit values to 63-bit
37834         ones as needed.
37835         * math/libm-test.inc (pow_test): Add more tests.
37837 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37839         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37840         <stdio-common/_itoa.h>.
37841         * debug/segfault.c: Likewise.
37842         * elf/dl-cache.c: Likewise.
37843         * elf/dl-minimal.c: Likewise.
37844         * elf/dl-misc.c: Likewise.
37845         * elf/dl-sysdep.c: Likewise.
37846         * elf/dl-version.c: Likewise.
37847         * elf/rtld.c: Likewise.
37848         * hurd/hurdsock.c: Likewise.
37849         * hurd/lookup-retry.c: Likewise.
37850         * malloc/malloc.c: Likewise.
37851         * malloc/mtrace.c: Likewise.
37852         * nscd/nscd_getgr_r.c: Likewise.
37853         * nscd/nscd_getpw_r.c: Likewise.
37854         * nscd/nscd_getserv_r.c: Likewise.
37855         * posix/getopt_init.c: Likewise.
37856         * posix/wordexp.c: Likewise.
37857         * stdio-common/_itoa.c: Likewise.
37858         * stdio-common/printf_fphex.c: Likewise.
37859         * stdio-common/vfprintf.c: Likewise.
37860         * string/_strerror.c: Likewise.
37861         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37862         * sysdeps/i386/i686/hp-timing.h: Likewise.
37863         * sysdeps/mach/_strerror.c: Likewise.
37864         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37865         * sysdeps/mach/hurd/sethostid.c: Likewise.
37866         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37867         * sysdeps/mach/xpg-strerror.c: Likewise.
37868         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37869         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37870         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37871         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37872         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37873         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37874         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37875         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37876         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37877         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37878         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37879         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37880         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37881         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37882         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37883         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37884         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37885         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37886         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37887         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37888         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37890         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37892         * stdio-common/_itoa.h: Moved to ...
37893         * sysdeps/generic/_itoa.h: Here.
37895         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37897         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37898         instead of "_itoa.h" and "_itowa.h".
37899         * stdio-common/vfprintf.: Likewise.
37901 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37903         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37904         <bits/wordsize.h>.
37905         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37906         (__signbit): Likwise.
37907         (llrintf): Likwise.
37908         (llrint): Likwise.
37910 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37912         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37913         __WORDSIZE != 64.
37915 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37917         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37918         OVERFLOW_EXCEPTION_OK.
37919         * math/libm-test.inc ("Philosophy"): Update comment about
37920         exception testing.
37921         (OVERFLOW_EXCEPTION): Define.
37922         (OVERFLOW_EXCEPTION_OK): Likewise.
37923         (INVALID_EXCEPTION_OK): Renumber.
37924         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37925         (IGNORE_ZERO_INF_SIGN): Likewise.
37926         (test_exceptions): Handle FE_OVERFLOW.
37927         (exp10_test): Expect overflow exceptions.
37928         (exp2_test): Likewise.
37929         (expm1_test): Likewise.
37930         (nextafter_test): Likewise.
37931         (pow_test): Likewise.
37932         (scalbn_test): Likewise.
37933         (scalbln_test): Likewise.
37935 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37937         * sysdeps/x86_64/bits/atomic.h
37938         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37939         64bit integer.
37940         (atomic_exchange_acq): Likewise.
37941         (__arch_exchange_and_add_body): Likewise.
37942         (__arch_add_body): Likewise.
37943         (atomic_add_negative): Likewise.
37944         (atomic_add_zero): Likewise.
37946 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37948         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37949         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37951 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37953         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37954         Check __x86_64__ instead of __WORDSIZE.
37956 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37958         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37960 2012-03-19  David S. Miller  <davem@davemloft.net>
37962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37964         * sysdeps/sparc/fpu/fenv_private.h: New file.
37965         * sysdeps/sparc/fpu/math_private.h: Use it.
37966         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37967         Remove.
37968         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37969         (libc_feholdexcept_setroundl): Remove.
37970         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37971         Remove.
37972         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37973         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37975 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37977         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37978         int64_t instead of long int.
37979         (INSERT_WORDS64): Likwise.
37981 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37983         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37984         _Unwind_GetCFA return to _Unwind_Ptr first.
37986 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37988         [BZ #13629]
37989         * math/s_clog.c: Include <float.h>.
37990         (__clog): Scale large or subnormal inputs.
37991         * math/s_clogf.c: Likewise.
37992         * math/s_clogl.c: Likewise.
37993         * math/s_clog10.c: Include <float.h>.
37994         (M_LOG10_2): Define.
37995         (__clog10): Scale large or subnormal inputs.
37996         * math/s_clog10f.c: Likewise.
37997         * math/s_clog10l.c: Likewise.
37998         * math/libm-test.inc (clog_test): Add more tests.
37999         (clog10_test): Likewise.
38000         * sysdeps/i386/fpu/libm-test-ulps: Update.
38001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38003         [BZ #11451]
38004         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38005         x and y.
38006         * math/libm-test.inc (atan2_test): Add another test.
38008         * Makerules (common-objdir-compile): Remove.
38009         * sysdeps/unix/Makefile (config-generated): Do not add
38010         $(unix-generated) to variable.
38011         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38012         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38013         Remove rule.
38014         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38015         Likewise.
38016         [generic bits/local_lim.h] (before-compile): Do not append to
38017         variable.
38018         [generic bits/local_lim.h] (common-generated): Likewise.
38019         [generic sys/param.h] (before-compile): Do not append to variable.
38020         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38021         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38022         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38023         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38024         include.
38025         [generic sys/param.h] (sys/param.h-includes): Remove variable.
38026         [generic sys/param.h] (sys/param.h-includes): Remove rule.
38027         [generic sys/param.h] ($(addprefix
38028         $(common-objpfx),$(sys/param.h-includes))): Likewise.
38029         [generic sys/param.h] (common-generated): Do not append to
38030         variable.
38031         [generic sys/param.h] (sysdep_headers): Likewise.
38032         [generic bits/errno.h] (before-compile): Do not append to
38033         variable.
38034         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38035         rule.
38036         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38037         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38038         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38039         [generic bits/errno.h] (common-generated): Do not append to
38040         variable.
38041         [generic bits/ioctls.h] (before-compile): Do not append to
38042         variable.
38043         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38044         rule.
38045         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38046         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38047         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38048         rule.
38049         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38050         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38051         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38052         [generic bits/ioctls.h] (common-generated): Do not append to
38053         variable.
38054         [generic sys/syscall.h] (syscall.h): Remove variable.
38055         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38056         rule.
38057         [generic sys/syscall.h] (before-compile): Do not append to
38058         variable.
38059         [generic sys/syscall.h] (common-generated): Likewise.
38060         * sysdeps/unix/errnos-tmpl.c: Remove file.
38061         * sysdeps/unix/errnos.awk: Likewise.
38062         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38063         * sysdeps/unix/ioctls.awk: Likewise.
38064         * sysdeps/unix/mk-local_lim.c: Likewise.
38065         * sysdeps/unix/snarf-ioctls: Likewise.
38067 2012-03-19  Richard Henderson  <rth@twiddle.net>
38069         * sysdeps/i386/fpu/fenv_private.h: New file.
38070         * sysdeps/i386/fpu/math_private.h: Use it.
38071         (math_opt_barrier, math_force_eval): Remove.
38072         (libc_feholdexcept_setround_53bit): Remove.
38073         (libc_feupdateenv_53bit): Remove.
38074         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38075         (math_opt_barrier, math_force_eval): Remove.
38076         (libc_feholdexcept): Remove.
38077         (libc_feholdexcept_setround): Remove.
38078         (libc_fetestexcept, libc_fesetenv): Remove.
38079         (libc_feupdateenv_test): Remove.
38080         (libc_feupdateenv, libc_feholdsetround): Remove.
38081         (libc_feresetround): Remove.
38083         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38084         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38086         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38087         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38088         (libc_feupdateenv_testl): New.
38089         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38090         (libc_feupdateenv_testf): New.
38091         (libc_feupdateenv): Use libc_feupdateenv_test.
38092         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38093         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38095         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38096         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38097         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38098         (libc_feresetround_noex): New.
38099         (libc_feresetround_noexf): New.
38100         (libc_feresetround_noexl): New.
38101         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38102         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38103         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38104         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38105         SET_RESTORE_ROUND.
38106         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38107         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38108         (__cos): Likewise.
38109         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38110         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38111         SET_RESTORE_ROUND_NOEX.
38112         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38113         SET_RESTORE_ROUND_NOEXF.
38114         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38115         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38116         (libc_feholdsetroundf): New.
38117         (libc_feresetround, libc_feresetroundf): New.
38119         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38120         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38121         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38123         * sysdeps/generic/math_private.h: Include <fenv.h>.
38124         (default_libc_feholdexcept): New.
38125         (default_libc_feholdexcept_setround): New.
38126         (default_libc_fesetenv, default_libc_feupdateenv): New.
38127         (libc_feholdexcept): Only define if undefined.
38128         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38129         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38130         (libc_feholdexcept_setroundl): Likewise.
38131         (libc_feholdexcept_setround_53bit): Likewise.
38132         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38133         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38134         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38135         (libc_feupdateenv_53bit): Likewise.
38136         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38137         (libc_feholdexcept): Convert from macro to inline function.
38138         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38139         (libc_fesetenv, libc_feupdateenv): Likewise.
38141         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38142         not previously defined.
38143         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38144         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38145         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38146         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38147         * sysdeps/ieee754/flt-32/math_private.h: New file.
38148         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38149         math_private.h below SET_FLOAT_WORD.
38150         (__isnan, __isinf_ns, __finite): Remove.
38151         (__isnanf, __isinf_nsf, __finitef): Remove.
38153 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38157 2012-03-17  David S. Miller  <davem@davemloft.net>
38159         [BZ #6471]
38160         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38161         for 2.16.
38163 2012-03-16  David S. Miller  <davem@davemloft.net>
38165         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38166         warnings.
38168         [BZ #6471]
38169         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38170         properly.
38171         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38172         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38173         sysdep_routines when subdir is sysvipc.
38174         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38175         __getshmlba helper.
38177         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38179 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38181         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38182         [__LP64__].
38184 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38186         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38187         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38188         (__lround): Renamed to ...
38189         (__llround): This.  Replace long int with long long int.
38190         Define lround functions as aliases of llround functions.
38191         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38193 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38195         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38196         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38197         adresses to uintptr_t.  Replace "long int" and "unsigned long
38198         int" with "greg_t" on va_arg.
38200 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38202         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38203         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38205         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38206         Move e_machine check before EI_CLASS check.  Handle x32
38207         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38208         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38209         SKIP_EM_IA_64 and include
38210         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38212         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38213         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38214         (add_system_dir): New macro.
38216         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38217         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38219 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38221         [BZ #2551]
38222         [BZ #2552]
38223         [BZ #2553]
38224         [BZ #2554]
38225         [BZ #2562]
38226         [BZ #2563]
38227         [BZ #2565]
38228         [BZ #2566]
38229         [BZ #2576]
38230         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38231         (y0): Likewise.
38232         * math/w_j0f.c (j0f): Likewise.
38233         (y0f): Likewise.
38234         * math/w_j0l.c (__j0l): Likewise.
38235         (__y0l): Likewise.
38236         * math/w_j1.c (j1): Likewise.
38237         (y1): Likewise.
38238         * math/w_j1f.c (j1f): Likewise.
38239         (y1f): Likewise.
38240         * math/w_j1l.c (__j1l): Likewise.
38241         (__y1l): Likewise.
38242         * math/w_jn.c (jn): Likewise.
38243         (yn): Likewise.
38244         * math/w_jnf.c (jnf): Likewise.
38245         (ynf): Likewise.
38246         * math/w_jnl.c (__jnl): Likewise.
38247         (__ynl): Likewise.
38248         * math/libm-test.inc (j0_test): Add more tests.
38249         (j1_test): Likewise.
38250         (jn_test): Likewise.  Add trailing semicolon to existing test.
38251         (y0_test): Likewise.
38252         (y1_test): Likewise.
38253         * sysdeps/i386/fpu/libm-test-ulps: Update.
38254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38256         [BZ #13851]
38257         [BZ #13854]
38258         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38259         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38260         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38261         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38262         (__tanl): Set errno for infinite argument.
38263         * sysdeps/i386/fpu/mptan.c: Remove.
38264         * sysdeps/i386/fpu/s_tan.S: Likewise.
38265         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38266         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38267         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38268         * math/libm-test.inc (tan_test): Add more tests and enable more
38269         tests for double and long double.
38270         * sysdeps/i386/fpu/libm-test-ulps: Update.
38271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38273 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38275         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38276         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38278 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38280         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38281         * configure.in: Use it for both main tree and add-ons.
38282         * configure: Regenerated.
38284 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38286         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38288 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38290         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38291         in comment.
38293         [BZ #13851]
38294         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38295         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38296         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38297         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38298         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38299         infinite argument.
38300         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38301         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38302         != 0 for prec == 2.
38303         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38304         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38305         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38306         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38307         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38308         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38309         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38310         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38311         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38312         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38313         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38314         * math/libm-test.inc (cos_test): Add more tests and enable more
38315         tests for long double.
38316         (sin_test): Likewise.
38317         (sincos_test): Likewise.
38318         * sysdeps/i386/fpu/libm-test-ulps: Update.
38319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38321 2012-03-16  David S. Miller  <davem@davemloft.net>
38323         * sysdeps/sparc/fpu/math_private.h: New file.
38325 2012-03-15  David S. Miller  <davem@davemloft.net>
38327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38328         file.
38329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38331         file.
38332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38337         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38338         sysdep routines.
38339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38341         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38342         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38344         * sysdeps/sparc/sparc-ifunc.h: New file.
38345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38346         sparc-ifunc.h
38347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38349         Likewise.
38350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38351         Likewise.
38352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38356         Likewise.
38357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38362         Likewise.
38363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38364         Likewise.
38365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38370         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38371         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38372         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38379         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38383         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38384         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38385         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38386         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38387         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38388         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38390 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38392         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38393         scaling.
38394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38396 2012-03-15  Andreas Jaeger  <aj@suse.de>
38398         [BZ #13852]
38399         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38400         ieee754/flt-32 implementation for sin, cos and sincos.
38401         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38402         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38403         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38404         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38405         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38406         ieee754/flt-32 implementation for tan.
38408         * math/libm-test.inc (cos_test): Enable some large input tests for
38409         float as well
38410         (sin_test): Likewise.
38411         (sincos_test): Likewise.
38412         (tan_test): Add tests for large input.
38414         * sysdeps/i386/fpu/libm-test-ulps: Update.
38416 2012-03-15  Andreas Jaeger  <aj@suse.de>
38418         [BZ #13658]
38419         * math/libm-test.inc (cos_test): Add more test cases.
38420         (sin_test): Likewise.
38421         (sincos_test): Likewise.
38423 2012-03-15  Andreas Jaeger  <aj@suse.de>
38425         [BZ #13837]
38426         * math/libm-test.inc (cos_test): Add a test case for large input
38427         value.
38428         (sin_test): Likewise.
38429         (sincos_test): Likewise.
38431 2012-03-15  Andreas Jaeger  <aj@suse.de>
38432             Joseph Myers  <joseph@codesourcery.com>
38434         [BZ #13658]
38435         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38436         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38437         * sysdeps/i386/fpu/branred.c: Likewise.
38438         * sysdeps/i386/fpu/dosincos.c: Likewise.
38439         * sysdeps/i386/fpu/mpa.c: Likewise.
38440         * sysdeps/i386/fpu/s_cos.S: Likewise.
38441         * sysdeps/i386/fpu/s_sin.S: Likewise.
38442         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38443         * sysdeps/i386/fpu/sincos32.c: Likewise.
38445         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38446         Define.
38447         (libc_feupdateenv_53bit): Define.
38448         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38449         Define.
38450         (libc_feupdateenv_53bit): Define.
38452         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38453         53 bit (without extend i386 double precision).
38455         * math/libm-test.inc (sincos_test): Add tests for large input.
38456         (sin): Likewise.
38457         (cos): Likewise.
38459         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38461 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38465 2012-03-15  David S. Miller  <davem@davemloft.net>
38467         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38468         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38469         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38470         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38475         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38483         file.
38484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38486         file.
38487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38489         file.
38490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38492         file.
38493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38494         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38495         fmin/fmax sysdep routines.
38496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38498 2012-03-14  David S. Miller  <davem@davemloft.net>
38500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38501         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38502         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38503         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38504         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38505         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38506         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38507         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38508         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38512         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38513         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38514         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38515         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38516         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38518         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38520         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38521         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38522         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38523         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38524         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38525         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38526         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38527         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38528         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38529         routines.
38530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38531         file.
38532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38534         file.
38535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38537         file.
38538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38540         file.
38541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38543         file.
38544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38546         file.
38547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38548         file.
38549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38550         file.
38551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38552         file.
38553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38554         New file.
38555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38556         file.
38557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38558         file.
38559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38561         file.
38562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38564         file.
38565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38567         file.
38568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38570         VIS3 routines.
38572         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38573         New file.
38575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38577         * sysdeps/sparc/configure.in: New file.
38578         * sysdeps/sparc/configure: Generate.
38579         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38580         * configure: Regenerate.
38581         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38582         * config.make.in (have-as-vis3): New.
38583         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38584         available use -Av9d instead of -Av9a.
38585         * sysdeps/sparc/sparc64/Makefile: Likewise.
38586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38588         New file.
38589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38590         file.
38591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38592         New file.
38593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38594         file.
38595         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38596         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38597         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38598         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38599         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38601         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38602         fzeros/fnegs to load 0x80000000 into a float register instead of
38603         using the stack.
38604         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38606 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38608         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38609         bits/syscall.h.
38610         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38611         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38612         ($(inst_includedir)/bits/syscall.h): Remove rule.
38613         ($(objpfx)bits/syscall.d): Include instead of
38614         $(objpfx)syscall-list.d.
38615         (generated): Change syscall-list.h and syscall-list.d to
38616         bits/syscall.h and bits/syscall.d.
38618 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38620         [BZ #13846]
38621         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38623 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38625         [BZ #13841]
38626         * math/s_csqrt.c: Include <float.h>.
38627         (__csqrt): Scale large or subnormal inputs.
38628         * math/s_csqrtf.c: Likewise.
38629         * math/s_csqrtl.c: Likewise.
38630         * math/libm-test.inc (csqrt_test): Add more tests.
38631         * sysdeps/i386/fpu/libm-test-ulps: Update.
38632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38634         [BZ #13840]
38635         * math/libm-test.inc (hypot_test): Add more tests.
38637 2012-03-13  David S. Miller  <davem@davemloft.net>
38639         [BZ #13840]
38640         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38641         double-precision for the calculation instead of scaling.
38643 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38645         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38646         manipulate bits before adding and subtracting TWO52[sx].
38647         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38648         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38649         Likewise.
38650         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38652 2012-03-13  David S. Miller  <davem@davemloft.net>
38654         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38655         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38656         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38657         rtld-global-offsets.h
38658         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38660         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38661         large parameters.
38663         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38665         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38666         'err' in the ifdef scope in which it is actually used.
38668         * nss/nss_db/db-init.c: Include string.h
38670 2012-03-12  David S. Miller  <davem@davemloft.net>
38672         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38673         masking out of the most significant byte of random value used.
38674         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38675         Fix coding style in previous change.
38677         * sysdeps/unix/sysv/linux/kernel-features.h
38678         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38679         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38680         expression.
38681         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38682         later.
38684 2012-03-11  David S. Miller  <davem@davemloft.net>
38686         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38687         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38688         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38689         for 'resultvar' otherwise things get truncated on 64-bit.
38691         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38692         Fix masking out of the most significant byte of random value used.
38694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38696 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38700 2012-03-09  David S. Miller  <davem@davemloft.net>
38702         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38703         variables with appropriate CPP guards.
38704         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38705         from the frame pointer, not the stack pointer.  Correct layout
38706         comments.  Fix test on resulting framesize and the management of
38707         the outregs buffer for pltexit.  Preserve floating point return
38708         values across _dl_call_pltexit call.
38709         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38710         framesize and the management of the outregs buffer for pltexit.
38711         Preserve floating point return values across _dl_call_pltexit
38712         call.
38713         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38714         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38715         (la_sparc64_gnu_pltexit): New functions.
38716         (print_exit): Fix format string for return register value.
38718 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38720         * sunrpc/Makefile (others): Add rpcgen.
38721         ($(objpfx)rpcgen): Remove special build rule and dependency on
38722         libc.
38723         * sunrpc/rpcgen.c: New file.
38725 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38727         [BZ #13673]
38728         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38729         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38730         * sysdeps/i386/crti.S: Likewise.
38731         * sysdeps/i386/crtn.S: Likewise.
38732         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38733         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38734         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38735         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38736         * sysdeps/sh/crti.S: Likewise.
38737         * sysdeps/sh/crtn.S: Likewise.
38738         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38740         [BZ #13673]
38741         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38742         with URL.
38743         * locale/programs/locfile-kw.gperf: Likewise.
38744         * locale/programs/charmap-kw.h: Regenerated.
38745         * locale/programs/locfile-kw.h: Likewise.
38747         [BZ #13673]
38748         * intl/plural.y: Replace FSF snail mail address with URL.
38749         * intl/plural.c: Regenerated.
38751 2012-03-09  Richard Henderson  <rth@twiddle.net>
38753         * include/math_private.h: Remove file.
38754         * math/math_private.h: Move file ...
38755         * sysdeps/generic/math_private.h: ... here.
38757         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38758         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38759         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38761         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38762         and <math_private.h>.
38763         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38764         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38765         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38766         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38767         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38768         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38769         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38770         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38771         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38772         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38773         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38774         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38775         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38776         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38777         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38778         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38779         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38780         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38781         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38782         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38783         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38784         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38785         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38786         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38787         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38788         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38789         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38790         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38791         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38792         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38793         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38794         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38795         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38796         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38797         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38798         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38799         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38800         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38801         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38802         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38803         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38804         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38805         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38806         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38807         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38808         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38809         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38810         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38811         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38812         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38813         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38814         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38815         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38816         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38817         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38818         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38819         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38820         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38821         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38822         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38823         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38824         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38825         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38826         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38827         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38828         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38829         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38830         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38831         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38832         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38833         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38834         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38835         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38836         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38837         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38838         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38839         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38840         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38841         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38842         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38843         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38844         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38845         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38846         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38847         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38848         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38849         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38850         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38851         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38852         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38853         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38854         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38855         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38856         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38857         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38858         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38859         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38860         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38861         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38862         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38863         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38864         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38865         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38866         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38867         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38868         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38869         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38870         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38871         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38872         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38873         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38874         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38875         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38876         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38877         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38878         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38879         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38880         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38881         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38882         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38883         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38884         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38885         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38886         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38887         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38888         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38889         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38890         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38891         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38892         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38893         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38894         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38895         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38896         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38897         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38898         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38899         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38900         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38901         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38902         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38903         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38904         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38905         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38906         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38907         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38908         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38909         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38910         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38911         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38912         * sysdeps/ieee754/k_standard.c: Likewise.
38913         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38914         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38915         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38916         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38917         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38918         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38919         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38920         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38921         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38922         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38923         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38925         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38926         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38927         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38928         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38929         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38930         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38931         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38932         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38933         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38934         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38935         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38936         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38937         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38938         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38939         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38940         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38941         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38942         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38943         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38944         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38945         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38946         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38947         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38948         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38949         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38950         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38951         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38952         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38953         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38954         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38955         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38956         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38957         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38958         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38959         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38960         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38961         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38962         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38963         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38964         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38965         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38966         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38967         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38968         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38969         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38970         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38971         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38972         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38973         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38974         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38975         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38976         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38977         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38978         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38979         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38980         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38981         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38982         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38983         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38984         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38985         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38986         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38987         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38988         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38989         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38990         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38991         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38992         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38993         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38994         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38995         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38996         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38997         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38998         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38999         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39000         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39001         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39002         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39003         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39004         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39005         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39006         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39007         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39008         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39009         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39010         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39011         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39012         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39013         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39014         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39015         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39016         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39017         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39018         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39019         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39020         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39021         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39022         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39023         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39024         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39025         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39026         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39027         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39028         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39029         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39030         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39031         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39032         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39033         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39034         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39035         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39036         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39037         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39038         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39039         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39040         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39041         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39042         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39043         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39044         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39045         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39046         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39047         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39048         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39049         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39050         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39051         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39052         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39053         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39054         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39055         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39056         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39057         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39058         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39059         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39060         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39061         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39062         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39063         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39064         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39065         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39066         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39067         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39068         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39069         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39070         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39071         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39072         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39073         * sysdeps/ieee754/s_lib_version.c: Likewise.
39074         * sysdeps/ieee754/s_matherr.c: Likewise.
39075         * sysdeps/ieee754/s_signgam.c: Likewise.
39076         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39077         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39078         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39079         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39080         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39081         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39082         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39083         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39084         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39085         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39086         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39087         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39088         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39089         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39090         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39091         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39092         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39093         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39094         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39095         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39096         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39098 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39100         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39101         * sunrpc/rpc_main.c: Likewise.
39102         * sunrpc/rpc_svcout.c: Likewise.
39104 2012-03-09  David S. Miller  <davem@davemloft.net>
39106         * include/math_private.h: New file.
39108 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39110         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39111         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39112         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39113         from <bits/socket_type.h>.
39114         (enum __socket_type): Don't define here.
39115         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39116         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39117         bits/socket_type.h.
39119         [BZ #13566]
39120         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39121         checking __USE_GNU.
39123         * Makerules ($(inst_includedir)/%.h): New rule.
39124         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39125         (install-others): Remove variable setting.
39126         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39128 2012-03-08  Richard Henderson  <rth@twiddle.net>
39130         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39131         from macro to inline function; merge with the
39132         !__LIBC_INTERNAL_MATH_INLINES version.
39133         (__ieee754_sqrtf): Likewise.
39135         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39136         to inline function.
39137         (__rintf, __floor, __floorf): Likewise.
39139         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39140         macro to inline function.
39141         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39143         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39144         not <math/math_private.h>.
39146 2012-03-08  David S. Miller  <davem@davemloft.net>
39148         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39149         copyright year.
39150         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39152 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39154         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39155         normalization.
39156         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39157         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39159 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39161         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39162         be defined individually, they must be defined as a block.  Define
39163         S for printing a string instead of hidint the different by using a
39164         macro for adding the 'l'.
39165         * stdio-common/tst-fphex-wide.c: Adjust.
39167 2012-03-07  Marek Polacek  <polacek@redhat.com>
39169         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39171 2012-03-08  Marek Polacek  <polacek@redhat.com>
39173         [BZ #13806]
39174         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39175         * stdio-common/tst-fphex.c: Define a few macros to make the
39176         test reusable.  Use them.
39177         * stdio-common/tst-fphex-wide.c: New file.
39179 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39181         [BZ #6911]
39182         * manual/macros.texi (gnusystems): New macro.
39183         (nongnusystems): Likewise.
39184         (gnulinuxhurdsystems): Likewise.
39185         (gnuhurdsystems): Likewise..
39186         (gnulinuxsystems): Likewise.
39187         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39188         variants of the GNU system, not "GNU system".
39189         * manual/conf.texi: Likewise.
39190         * manual/errno.texi: Likewise.  Update example of errno macro
39191         expansion.
39192         * manual/filesys.texi: Likewise.
39193         (getumask): Document as specific to GNU/Hurd.
39194         * manual/install.texi: Likewise.  Reword some references to
39195         GNU/Linux.
39196         * manual/intro.texi: Likewise.
39197         * manual/io.texi: Likewise.
39198         (File Name Portability): Detail which constraints are inapplicable
39199         to all GNU systems and which are only inapplicable to GNU/Hurd.
39200         * manual/job.texi: Likewise.
39201         * manual/llio.texi: Likewise.
39202         (O_NOCTTY): Document as present on GNU/Linux.
39203         * manual/maint.texi: Likewise.
39204         * manual/memory.texi: Likewise.
39205         * manual/pattern.texi: Likewise.
39206         * manual/pipe.texi: Likewise.
39207         * manual/process.texi: Likewise.
39208         * manual/resource.texi: Likewise.
39209         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39210         child on GNU/Hurd.
39211         * manual/setjmp.texi: Likewise.
39212         * manual/signal.texi: Likewise.
39213         * manual/startup.texi: Likewise.
39214         * manual/stdio.texi: Likewise.
39215         * manual/terminal.texi: Likewise.
39216         (ONLCR): Document as POSIX.
39217         (OXTABS): Document availability on GNU/Linux as XTABS.
39218         (ONOEOT): Document availability separately from other bits.
39219         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39220         * manual/time.texi: Likewise.
39221         * manual/users.texi: Likewise.
39222         * INSTALL: Regenerated.
39223         * sysdeps/gnu/errlist.c: Regenerated.
39225         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39226         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39227         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39228         puts.
39229         * configure: Regenerated.
39231 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39233         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39234         default includes instead of AC_HEADER_CHECK.
39235         * sysdeps/i386/configure: Regenerated.
39237         [BZ #10716]
39238         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39239         * math/s_cacoshf.c (__cacoshf): Likewise.
39240         * math/s_cacoshl.c (__cacoshl): Likewise.
39241         * math/s_casinh.c (__casinh): Set signs of result from argument.
39242         * math/s_casinhf.c (__casinhf): Likewise.
39243         * math/s_casinhl.c (__casinhl): Likewise.
39244         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39245         (casinh_test): Add more tests.
39246         * sysdeps/i386/fpu/libm-test-ulps: Update.
39247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39249 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39251         * po/zh_TW.po: Update from translation team.
39253         * login/Makefile (distribute): Remove variable.
39254         * catgets/Makefile: Likewise.
39255         * mach/Makefile: Likewise.
39256         * malloc/Makefile: Likewise.
39257         * misc/Makefile: Likewise.
39258         * iconv/Makefile: Likewise.
39259         * nscd/Makefile: Likewise.
39260         * hurd/Makefile: Likewise.
39261         * manual/Makefile: Likewise.
39262         * locale/Makefile: Likewise.
39263         * intl/Makefile: Likewise.
39264         * conform/Makefile: Likewise.
39265         * nss/Makefile: Likewise.
39266         * time/Makefile: Likewise.
39267         * soft-fp/Makefile: Likewise.
39268         * dirent/Makefile: Likewise.
39269         * gmon/Makefile: Likewise.
39270         * po/Makefile: Likewise.
39271         * rt/Makefile: Likewise.
39272         * socket/Makefile: Likewise.
39273         * math/Makefile: Likewise.
39274         * signal/Makefile: Likewise.
39275         * debug/Makefile: Likewise.
39276         * elf/Makefile: Likewise.
39277         * timezone/Makefile: Likewise.
39278         * stdlib/Makefile: Likewise.
39279         * iconvdata/Makefile: Likewise.
39280         * sunrpc/Makefile: Likewise.
39281         * io/Makefile: Likewise.
39282         * argp/Makefile: Likewise.
39283         * inet/Makefile: Likewise.
39284         * hesiod/Makefile: Likewise.
39285         * grp/Makefile: Likewise.
39286         * csu/Makefile: Likewise.
39287         * wctype/Makefile: Likewise.
39288         * crypt/Makefile: Likewise.
39289         * libio/Makefile: Likewise.
39290         * string/Makefile: Likewise.
39291         * nis/Makefile: Likewise.
39292         * resolv/Makefile: Likewise.
39293         * stdio-common/Makefile: Likewise.
39294         * wcsmbs/Makefile: Likewise.
39295         * dlfcn/Makefile: Likewise.
39296         * posix/Makefile: Likewise.
39298         [BZ #6959]
39299         * timezone/Makefile: Don't install timezone files, just the programs
39300         and scripts.
39302 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39304         * nss/databases.def: Add missing gshadow entry.
39306         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39308 2012-03-06  Marek Polacek  <polacek@redhat.com>
39310         [BZ #13726]
39311         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39312         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39313         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39314         * stdio-common/tst-long-dbl-fphex.c: New file.
39316 2012-03-06  David S. Miller  <davem@davemloft.net>
39318         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39319         (set_obp_int): New function.
39320         (get_obp_int): New function.
39321         (__get_clockfreq_via_dev_openprom): Likewise.
39322         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39323         Avoid unused variable warnings on 'val' and use builtin_expect.
39324         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39325         __builtin_expect.
39326         (INLINE_CLONE_SYSCALL): Likewise.
39328 2012-03-05  David S. Miller  <davem@davemloft.net>
39330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39332 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39336         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39337         only for |x| >= 40.
39338         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39340 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39342         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39343         Replace gettimeofday with __vdso_gettimeofday.
39345         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39346         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39347         __vdso_clock_gettime and __vdso_getcpu.
39349         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39350         time with __vdso_time.
39352 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39354         * manual/lang.texi (size_t): Note types to which size_t may be
39355         equivalent with the GNU C Library, but do not describe when
39356         differences between them are significant.
39358 2012-03-05  Andreas Jaeger  <aj@suse.de>
39360         * sysdeps/i386/fpu/libm-test-ulps: Update.
39362 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39364         [BZ #3976]
39365         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39366         (__ieee754_pow): Save and restore rounding mode and use
39367         round-to-nearest for main computations.
39368         * math/libm-test.inc (pow_test_tonearest): New function.
39369         (pow_test_towardzero): Likewise.
39370         (pow_test_downward): Likewise.
39371         (pow_test_upward): Likewise.
39372         (main): Call the new functions.
39373         * sysdeps/i386/fpu/libm-test-ulps: Update.
39374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39376         [BZ #3976]
39377         * math/libm-test.inc (cosh_test_tonearest): New function.
39378         (cosh_test_towardzero): Likewise.
39379         (cosh_test_downward): Likewise.
39380         (cosh_test_upward): Likewise.
39381         (sinh_test_tonearest): Likewise.
39382         (sinh_test_towardzero): Likewise.
39383         (sinh_test_downward): Likewise.
39384         (sinh_test_upward): Likewise.
39385         (main): Call the new functions.
39386         * sysdeps/i386/fpu/libm-test-ulps: Update.
39387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39389 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39391         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39392         default stack guard is set in last bytes.
39393         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39395 2012-03-05  Kees Cook  <keescook@chromium.org>
39397         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39399         [BZ #13656]
39400         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39401         possibly allocate from heap instead of stack.
39402         * stdio-common/bug-vfprintf-nargs.c: New file.
39403         * stdio-common/Makefile (tests): Add nargs overflow test.
39405 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39409 2012-03-03  Marek Polacek  <polacek@redhat.com>
39411         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39412         * math/math_private.h: Likewise.
39413         * stdlib/tst-strtod.c: Likewise.
39414         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39415         * sysdeps/x86_64/bits/atomic.h: Likewise.
39417 2012-03-02  David S. Miller  <davem@davemloft.net>
39419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39423         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39424         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39425         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39426         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39428 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39430         [BZ #13792]
39431         * manual/examples/README: New file, says the example source files
39432         can be used under GPL>=2.
39433         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39434         line containing just "*/".
39435         * manual/examples/add.c: Add copyright header (GPL>=2).
39436         * manual/examples/argp-ex1.c: Likewise.
39437         * manual/examples/argp-ex2.c: Likewise.
39438         * manual/examples/argp-ex3.c: Likewise.
39439         * manual/examples/argp-ex4.c: Likewise.
39440         * manual/examples/atexit.c: Likewise.
39441         * manual/examples/db.c: Likewise.
39442         * manual/examples/dir.c: Likewise.
39443         * manual/examples/dir2.c: Likewise.
39444         * manual/examples/execinfo.c: Likewise.
39445         * manual/examples/filecli.c: Likewise.
39446         * manual/examples/filesrv.c: Likewise.
39447         * manual/examples/fmtmsgexpl.c: Likewise.
39448         * manual/examples/genpass.c: Likewise.
39449         * manual/examples/inetcli.c: Likewise.
39450         * manual/examples/inetsrv.c: Likewise.
39451         * manual/examples/isockad.c: Likewise.
39452         * manual/examples/longopt.c: Likewise.
39453         * manual/examples/memopen.c: Likewise.
39454         * manual/examples/memstrm.c: Likewise.
39455         * manual/examples/mkfsock.c: Likewise.
39456         * manual/examples/mkisock.c: Likewise.
39457         * manual/examples/mygetpass.c: Likewise.
39458         * manual/examples/pipe.c: Likewise.
39459         * manual/examples/popen.c: Likewise.
39460         * manual/examples/rprintf.c: Likewise.
39461         * manual/examples/search.c: Likewise.
39462         * manual/examples/select.c: Likewise.
39463         * manual/examples/setjmp.c: Likewise.
39464         * manual/examples/sigh1.c: Likewise.
39465         * manual/examples/sigusr.c: Likewise.
39466         * manual/examples/stpcpy.c: Likewise.
39467         * manual/examples/strdupa.c: Likewise.
39468         * manual/examples/strftim.c: Likewise.
39469         * manual/examples/strncat.c: Likewise.
39470         * manual/examples/subopt.c: Likewise.
39471         * manual/examples/swapcontext.c: Likewise.
39472         * manual/examples/termios.c: Likewise.
39473         * manual/examples/testopt.c: Likewise.
39474         * manual/examples/testpass.c: Likewise.
39475         * manual/examples/timeval_subtract.c: Likewise.
39477         [BZ #13792]
39478         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39479         function to ...
39480         * manual/timeval_subtract.c.texi: ... here, new file.
39482 2012-03-02  David S. Miller  <davem@davemloft.net>
39484         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39486 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39488         [BZ #3976]
39489         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39490         (__sin): Save and restore rounding mode and use round-to-nearest
39491         for all computations.
39492         (__cos): Save and restore rounding mode and use round-to-nearest
39493         for all computations.
39494         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39495         <fenv.h>.
39496         (tan): Save and restore rounding mode and use round-to-nearest for
39497         all computations.
39498         * math/libm-test.inc (cos_test_tonearest): New function.
39499         (cos_test_towardzero): Likewise.
39500         (cos_test_downward): Likewise.
39501         (cos_test_upward): Likewise.
39502         (sin_test_tonearest): Likewise.
39503         (sin_test_towardzero): Likewise.
39504         (sin_test_downward): Likewise.
39505         (sin_test_upward): Likewise.
39506         (tan_test_tonearest): Likewise.
39507         (tan_test_towardzero): Likewise.
39508         (tan_test_downward): Likewise.
39509         (tan_test_upward): Likewise.
39510         (main): Call the new functions.
39511         * sysdeps/i386/fpu/libm-test-ulps: Update.
39512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39514         [BZ #10135]
39515         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39516         small n, then large n, before computing and testing k+n.
39517         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39518         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39519         Likewise.
39520         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39521         Likewise.
39522         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39523         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39524         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39525         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39526         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39527         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39528         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39529         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39530         * math/libm-test.inc (scalbn_test): Add more tests.
39531         (scalbln_test): Likewise.
39533         * manual/filesys.texi (mode_t): Describe constraints on size and
39534         signedness, not exact equivalence to a particular type.
39535         (ino_t): Likewise.
39536         (ino64_t): Likewise.
39537         (dev_t): Likewise.
39538         (nlink_t): Likewise.
39539         (blkcnt_t): Likewise.
39540         (blkcnt64_t): Likewise.
39541         * manual/llio.texi (off_t): Likewise.
39543         [BZ #3976]
39544         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39545         (__ieee754_exp): Save and restore rounding mode and use
39546         round-to-nearest for all computations.
39547         * math/libm-test.inc (exp_test_tonearest): New function.
39548         (exp_test_towardzero): Likewise.
39549         (exp_test_downward): Likewise.
39550         (exp_test_upward): Likewise.
39551         (main): Call the new functions.
39552         * sysdeps/i386/fpu/libm-test-ulps: Update.
39553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39555 2012-03-01  Chris Demetriou  <cgd@google.com>
39557         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39558         have predictable order.
39560 2012-03-01  David S. Miller  <davem@davemloft.net>
39562         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39564         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39565         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39566         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39567         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39569         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39570         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39571         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39573         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39574         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39575         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39576         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39577         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39581         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39582         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39583         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39585         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39586         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39587         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39588         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39589         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39590         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39591         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39592         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39593         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39594         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39595         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39596         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39597         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39598         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39599         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39600         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39601         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39602         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39603         * sysdeps/sparc/elf/configure: Regenerated.
39605 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39607         * configure.in (AS, LD): Require binutils 2.20 or later.
39608         * configure: Regenerated.
39609         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39610         as required minimum version.
39611         * INSTALL: Regenerated.
39613         [BZ #2541]
39614         [BZ #4108]
39615         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39616         before squaring exponent.
39617         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39618         bottom long double and 27 bits of top long double before squaring
39619         exponent.
39620         * math/libm-test.inc (erfc_test): Add more tests.
39621         * sysdeps/i386/fpu/libm-test-ulps: Update.
39622         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39625 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39627         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39628         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39629         containing bit-fields.
39630         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39631         * soft-fp/single.h (_FP_UNION_S): Likewise.
39632         * soft-fp/double.h (_FP_UNION_D): Likewise.
39634 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39636         [BZ #13786]
39637         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39638         not include ../strcmp.S.
39639         [USE_AS_STRNCASECMP_L]: Likewise.
39640         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39641         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39642         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39643         (__strncasecmp_l_ia32): Define as alias to
39644         __strncasecmp_l_nonascii.
39646         [BZ #5794]
39647         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39648         * sysdeps/i386/fpu/libm-test-ulps: Update.
39649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39651         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39654 2012-02-29  Jeff Law  <law@redhat.com>
39656         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39657         out of bounds read.
39659 2012-02-29  Marek Polacek  <polacek@redhat.com>
39661         [BZ #13706]
39662         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39663         * elf/Makefile: Add rules to run tst-unused-dep.out.
39665 2012-02-28  David S. Miller  <davem@davemloft.net>
39667         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39668         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39669         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39670         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39671         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39672         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39674 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39676         * math/libm-test.inc (llround_test): Move one test from
39677         lround_test.  Use TEST_f_L in moved test.
39678         (lround_test): Move misplaced test to llround_test.  Add testcase
39679         from bug 2561.
39681 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39683         * sysdeps/x86_64/fpu/e_expf.S: New file.
39684         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39686 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39688         [BZ #13637]
39689         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39690         of remain_len that may cause incomplete multi-byte character and
39691         false match.
39692         * posix/bug-regex33.c: New file.
39693         * posix/Makefile (tests): Add bug-regex33.
39695 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39697         * manual/macros.texi: New file.
39698         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39699         * manual/libc.texinfo: Include macros.texi.
39700         * manual/creatute.texi: Likewise.
39701         * manual/install.texi: Likewise.
39702         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39703         @glibcadj{} in references to the GNU C Library.
39704         * manual/charset.texi: Likewise.
39705         * manual/conf.texi: Likewise.
39706         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39707         when not using those macros.
39708         * manual/creature.texi: Likewise.
39709         * manual/crypt.texi: Likewise.
39710         * manual/errno.texi: Likewise.
39711         * manual/filesys.texi: Likewise.
39712         * manual/header.texi: Likewise.
39713         * manual/install.texi: Likewise.
39714         * manual/intro.texi: Likewise.
39715         * manual/io.texi: Likewise.
39716         * manual/job.texi: Likewise.
39717         * manual/lang.texi: Likewise.
39718         * manual/libc.texiinfo: Likewise.
39719         * manual/llio.texi: Likewise.
39720         * manual/locale.texi: Likewise.
39721         * manual/maint.texi: Likewise.
39722         * manual/math.texi: Likewise.
39723         * manual/memory.texi: Likewise.
39724         * manual/message.texi: Likewise.
39725         * manual/nss.texi: Likewise.
39726         * manual/pattern.texi: Likewise.
39727         * manual/process.texi: Likewise.
39728         * manual/resource.texi: Likewise.
39729         * manual/search.texi: Likewise.
39730         * manual/setjmp.texi: Likewise.
39731         * manual/signal.texi: Likewise.
39732         * manual/socket.texi: Likewise.
39733         * manual/startup.texi: Likewise.
39734         * manual/stdio.texi: Likewise.
39735         * manual/string.texi: Likewise.
39736         * manual/sysinfo.texi: Likewise.
39737         * manual/syslog.texi: Likewise.
39738         * manual/terminal.texi: Likewise.
39739         * manual/time.texi: Likewise.
39740         * manual/users.texi: Likewise.
39741         * INSTALL: Regenerated.
39742         * NOTES: Regenerated.
39743         * sysdeps/gnu/errlist.c: Regenerated.
39745 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39747         * include/dirent.h: Include <dirstream.h> before
39748         <dirent/dirent.h>.
39750 2012-02-28  David S. Miller  <davem@davemloft.net>
39752         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39753         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39754         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39755         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39757 2012-02-27  David S. Miller  <davem@davemloft.net>
39759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39761         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39762         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39765         frame pointer instead of stack pointer relative arg slot.
39766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39767         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39768         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39770 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39772         [BZ #3992]
39773         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39775 2012-02-27  David S. Miller  <davem@davemloft.net>
39777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39781         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39782         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39783         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39784         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39786 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39788         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39789         later.  Allow versions 5-9.
39790         * configure: Regenerated.
39791         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39792         required minimum version and 4.6 as recommended version.  Do not
39793         mention bugs in GCC 2.7 and 2.8.
39794         * INSTALL: Regenerated.
39796 2012-02-27  David S. Miller  <davem@davemloft.net>
39798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39802         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39803         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39804         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39805         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39807         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39808         manipulate bits before adding and subtracting TWO112[sx].
39809         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39811 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39813         [BZ #13775]
39814         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39815         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39816         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39817         being in POSIX, because they are in 1003.1-2008.
39819         * rt/tst-aio.c: Include <fcntl.h>.
39820         * rt/tst-aio7.c: Likewise.
39821         * rt/tst-aio64.c: Likewise.
39823         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39825 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39827         * manual/install.texi (--with-headers): Describe headers as
39828         interface headers, not private headers.
39829         (Specific advice for GNU/Linux systems): Describe use of headers
39830         from "make headers_install", not private headers from older
39831         kernels.
39832         * INSTALL: Regenerated.
39833         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39834         Change to 2.6.19.
39835         * sysdeps/unix/sysv/linux/configure: Regenerated.
39837         * manual/llio.texi (fclean): Remove documentation.
39839         * manual/Makefile (libc-texi-generated): New variable.  Include
39840         version.texi.
39841         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39842         $(libc-texi-generated), not duplicated list of files.
39843         (version.texi, stamp-version): New rules.
39844         (realclean): Remove $(libc-texi-generated), not individual files
39845         from that list.  Do not remove dir-add.texinfo.
39846         * manual/libc.texinfo: Comment out uses of edition numbers and
39847         references to printed manual.  Remove last-updated dates.
39848         (EDITION): Comment out.
39849         (ISBN): Likewise.
39850         (VERSION, UPDATED): Remove.
39851         (version.texi): Include.
39853 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39855         * sysdeps/posix/spawni.c: Include <signal.h>.
39856         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39857         * sysdeps/pthread/aio_fsync.c: Likewise.
39859 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39861         * conform/Makefile (tests): Run only when not cross-compiling and
39862         when fast-check is not defined.
39864         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39865         * conform/data/limits.h-data: Fixes for POSIX2008.
39866         * conform/run-conformtest.sh: Run all tests.
39867         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39868         headers.
39869         * include/bits/dlfcn.h: Likewise.
39870         * include/langinfo.h: Likewise.
39871         * include/monetary.h: Likewise.
39872         * include/sys/poll.h: Likewise.
39874         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39875         for __USE_GNU.
39876         * posix/spawn.h: Define __need_sigset_t.
39877         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39878         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39879         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39880         to get sigevent_t only.
39881         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39882         only for __USE_GNU.
39883         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39884         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39885         process_vm_writev only for __USE_GNU.
39886         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39888         * conform/Makefile: For now ignore errors from run-conformtest.
39889         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39890         POSIX to avoid namespace pollution.  Don't prepend headers.
39891         * conform/data/aio.h-data: Fixes for POSIX testing.
39892         * conform/data/fcntl.h-data: Likewise.
39893         * conform/data/glob.h-data: Likewise.
39894         * conform/data/grp.h-data: Likewise.
39895         * conform/data/pthread.h-data: Likewise.
39896         * conform/data/pwd.h-data: Likewise.
39897         * conform/data/signal.h-data: Likewise.
39898         * conform/data/spawn.h-data: Likewise.
39899         * conform/data/stdio.h-data: Likewise.
39900         * conform/data/stdlib.h-data: Likewise.
39901         * conform/data/stropts.h-data: Likewise.
39902         * conform/data/sys/mman.h-data: Likewise.
39903         * conform/data/sys/stat.h-data: Likewise.
39904         * conform/data/sys/types.h-data: Likewise.
39905         * conform/data/sys/wait.h-data: Likewise.
39906         * conform/data/time.h-data: Likewise.
39907         * conform/data/unistd.h-data: Likewise.
39908         * conform/data/utime.h-data: Likewise.
39910         * io/sys/stat.h: fchmod was always in POSIX.
39911         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39912         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39913         * rt/aio.h: Define __need_timespec before including <time.h>.
39914         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39915         struct.  Add forward declaration of pthread_attr_t and use it in
39916         sigevent.
39917         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39918         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39919         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39920         always remove CLK_TCK definition.
39922 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39924         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39926 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39928         * conform/run-conformtest.sh: New file.
39929         * conform/Makefile: Run run-conformtest for tests.
39930         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39931         support.
39933         * conform/data/uchar.h-data: New file.
39934         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39935         * conform/data/arpa/inet.h-data: Likewise.
39936         * conform/data/assert.h-data: Likewise.
39937         * conform/data/complex.h-data: Likewise.
39938         * conform/data/cpio.h-data: Likewise.
39939         * conform/data/ctype.h-data: Likewise.
39940         * conform/data/dirent.h-data: Likewise.
39941         * conform/data/dlfcn.h-data: Likewise.
39942         * conform/data/errno.h-data: Likewise.
39943         * conform/data/fcntl.h-data: Likewise.
39944         * conform/data/float.h-data: Likewise.
39945         * conform/data/fmtmsg.h-data: Likewise.
39946         * conform/data/fnmatch.h-data: Likewise.
39947         * conform/data/ftw.h-data: Likewise.
39948         * conform/data/glob.h-data: Likewise.
39949         * conform/data/grp.h-data: Likewise.
39950         * conform/data/iconv.h-data: Likewise.
39951         * conform/data/inttypes.h-data: Likewise.
39952         * conform/data/langinfo.h-data: Likewise.
39953         * conform/data/libgen.h-data: Likewise.
39954         * conform/data/limits.h-data: Likewise.
39955         * conform/data/locale.h-data: Likewise.
39956         * conform/data/math.h-data: Likewise.
39957         * conform/data/monetary.h-data: Likewise.
39958         * conform/data/mqueue.h-data: Likewise.
39959         * conform/data/ndbm.h-data: Likewise.
39960         * conform/data/net/if.h-data: Likewise.
39961         * conform/data/netdb.h-data: Likewise.
39962         * conform/data/netinet/in.h-data: Likewise.
39963         * conform/data/nl_types.h-data: Likewise.
39964         * conform/data/poll.h-data: Likewise.
39965         * conform/data/pthread.h-data: Likewise.
39966         * conform/data/pwd.h-data: Likewise.
39967         * conform/data/regex.h-data: Likewise.
39968         * conform/data/sched.h-data: Likewise.
39969         * conform/data/search.h-data: Likewise.
39970         * conform/data/semaphore.h-data: Likewise.
39971         * conform/data/setjmp.h-data: Likewise.
39972         * conform/data/signal.h-data: Likewise.
39973         * conform/data/spawn.h-data: Likewise.
39974         * conform/data/stdarg.h-data: Likewise.
39975         * conform/data/stdio.h-data: Likewise.
39976         * conform/data/stdlib.h-data: Likewise.
39977         * conform/data/string.h-data: Likewise.
39978         * conform/data/strings.h-data: Likewise.
39979         * conform/data/stropts.h-data: Likewise.
39980         * conform/data/sys/ipc.h-data: Likewise.
39981         * conform/data/sys/mman.h-data: Likewise.
39982         * conform/data/sys/msg.h-data: Likewise.
39983         * conform/data/sys/resource.h-data: Likewise.
39984         * conform/data/sys/select.h-data: Likewise.
39985         * conform/data/sys/sem.h-data: Likewise.
39986         * conform/data/sys/shm.h-data: Likewise.
39987         * conform/data/sys/socket.h-data: Likewise.
39988         * conform/data/sys/stat.h-data: Likewise.
39989         * conform/data/sys/statvfs.h-data: Likewise.
39990         * conform/data/sys/time.h-data: Likewise.
39991         * conform/data/sys/timeb.h-data: Likewise.
39992         * conform/data/sys/times.h-data: Likewise.
39993         * conform/data/sys/types.h-data: Likewise.
39994         * conform/data/sys/uio.h-data: Likewise.
39995         * conform/data/sys/un.h-data: Likewise.
39996         * conform/data/sys/utsname.h-data: Likewise.
39997         * conform/data/sys/wait.h-data: Likewise.
39998         * conform/data/syslog.h-data: Likewise.
39999         * conform/data/tar.h-data: Likewise.
40000         * conform/data/termios.h-data: Likewise.
40001         * conform/data/utime.h-data: Likewise.
40002         * conform/data/utmpx.h-data: Likewise.
40003         * conform/data/varargs.h-data: Likewise.
40004         * conform/data/wchar.h-data: Likewise.
40005         * conform/data/wctype.h-data: Likewise.
40006         * conform/data/wordexp.h-data: Likewise.
40008         * include/stropts.h: New file.
40009         * include/uchar.h: New file.
40010         * include/aio.h: Changes to allow conformtest.pl to use the headers.
40011         * include/assert.h: Likewise.
40012         * include/ctype.h: Likewise.
40013         * include/dirent.h: Likewise.
40014         * include/dlfcn.h: Likewise.
40015         * include/fcntl.h: Likewise.
40016         * include/fnmatch.h: Likewise.
40017         * include/glob.h: Likewise.
40018         * include/grp.h: Likewise.
40019         * include/libio.h: Likewise.
40020         * include/locale.h: Likewise.
40021         * include/math.h: Likewise.
40022         * include/net/if.h: Likewise.
40023         * include/netdb.h: Likewise.
40024         * include/netinet/in.h: Likewise.
40025         * include/pthread.h: Likewise.
40026         * include/pwd.h: Likewise.
40027         * include/regex.h: Likewise.
40028         * include/sched.h: Likewise.
40029         * include/search.h: Likewise.
40030         * include/setjmp.h: Likewise.
40031         * include/signal.h: Likewise.
40032         * include/stdio.h: Likewise.
40033         * include/stdlib.h: Likewise.
40034         * include/string.h: Likewise.
40035         * include/sys/cdefs.h: Likewise.
40036         * include/sys/mman.h: Likewise.
40037         * include/sys/msg.h: Likewise.
40038         * include/sys/resource.h: Likewise.
40039         * include/sys/select.h: Likewise.
40040         * include/sys/socket.h: Likewise.
40041         * include/sys/stat.h: Likewise.
40042         * include/sys/statvfs.h: Likewise.
40043         * include/sys/time.h: Likewise.
40044         * include/sys/times.h: Likewise.
40045         * include/sys/uio.h: Likewise.
40046         * include/sys/utsname.h: Likewise.
40047         * include/sys/wait.h: Likewise.
40048         * include/termios.h: Likewise.
40049         * include/time.h: Likewise.
40050         * include/ulimit.h: Likewise.
40051         * include/unistd.h: Likewise.
40052         * include/utime.h: Likewise.
40053         * include/wchar.h: Likewise.
40054         * include/wctype.h: Likewise.
40055         * include/wordexp.h: Likewise.
40057         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40059         * time/time.h: TIME_UTC must be a macro.
40060         Make timespec_get available for ISO C11 only as well.
40062 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40064         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40065         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40067 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40069         * configure.in: Use -o not -a in test for unsupported multi-arch.
40071 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40073         * manual/texinfo.tex: Update to version 2012-01-19.16.
40075 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40077         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40079 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40081         [BZ #13738]
40082         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40083         * manual/fdl-1.3.texi: New file.
40084         * manual/fdl-1.1.texi: File removed.
40086         [BZ #13738]
40087         * manual/libc.texinfo (FDL_VERSION): New @set.
40088         Use it for mention of FDL in cover text.
40089         (Documentation License): Use it in @include file name.
40091 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40092             Roland McGrath  <roland@hack.frob.com>
40094         [BZ #5461]
40095         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40096         (not LONG_LONG_MAX and LONG_LONG_MIN.
40097         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40098         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40099         name.
40100         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40102 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40104         [BZ #2547]
40105         [BZ #11365]
40106         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40107         manipulate bits before adding and subtracting TWO23[sx].
40108         * math/libm-test.inc (nearbyint_test): Add more tests.
40110 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40112         [BZ #2548]
40113         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40114         bits before adding and subtracting TWO23[sx].
40115         * math/libm-test.inc (rint_test): Add more tests.
40116         (rint_test_tonearest): Likewise.
40117         (rint_test_towardzero): Likewise.
40118         (rint_test_downward): Likewise.
40119         (rint_test_upward: Likewise.
40121 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40123         [BZ #10110]
40124         * include/stdc-predef.h: New file.  Extracted from features.h.
40125         * include/features.h: Include stdc-predef.h.
40126         * Makefile (headers): Add stdc-predef.h.
40127         * CONFORMANCE (Compiler limitations): Update.
40129 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40131         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40133 2012-02-21  David S. Miller  <davem@davemloft.net>
40135         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40136         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40138 2012-02-20  David S. Miller  <davem@davemloft.net>
40140         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40141         using a normal save/restore sequence, rather than allocating a
40142         dummy stack frame just to store a frame pointer and restore.
40143         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40145 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40147         * manual/install.texi: Fix stray word in line-wrapped comment.
40149 2012-02-20  David S. Miller  <davem@davemloft.net>
40151         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40152         both binutils and gcc support GOTDATA.
40154         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40155         "rd %pc" in the PIC register setup sequences.
40157         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40158         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40159         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40160         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40161         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40162         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40163         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40164         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40165         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40166         (SYSCALL_ERROR_HANDLER): Likewise.
40167         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40168         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40169         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40170         (SYSCALL_ERROR_HANDLER): Likewise.
40172         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40173         (HAVE_GCC_GOTDATA): New.
40174         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40175         relocation support in both binutils and gcc.
40176         * sysdeps/sparc/elf/configure: Regenerate.
40178         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40179         * sysdeps/sparc/sparc32/elf/configure: Delete.
40180         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40181         * sysdeps/sparc/sparc64/elf/configure: Delete.
40182         * sysdeps/sparc/elf/configure.in: New file.
40183         * sysdeps/sparc/elf/configure: Generate.
40185         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40186         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40187         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40188         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40189         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40191 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40193         * manual/install.texi: Do not mention specific glibc version
40194         numbers.
40195         * manual/libc.texinfo (VERSION, UPDATED): Update.
40196         (@copying): Use @copyright{} and range of years.
40198 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40200         [BZ #13695]
40201         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40202         [crti.S not in sysdirs] (generated): Do not append.
40203         [crti.S not in sysdirs] (omit-deps): Likewise.
40204         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40205         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40206         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40207         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40208         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40209         Likewise.
40210         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40211         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40212         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40213         * csu/defs.awk: Remove file.
40214         * sysdeps/generic/initfini.c: Likewise.
40215         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40216         variable.
40217         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40218         Likewise.
40220 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40222         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40223         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40224         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40225         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40226         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40227         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40228         <bits/epoll.h>.
40229         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40230         (__EPOLL_PACKED): Define to empty if not defined by
40231         <bits/epoll.h>.
40232         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40233         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40234         bits/epoll.h.
40236 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40238         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40239         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40240         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40241         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40242         <bits/timerfd.h>.
40243         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40245         bits/timerfd.h.
40247 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40249         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40250         in C locale.
40251         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40252         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40253         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40256 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40258         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40259         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40261 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40263         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40264         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40265         defined.
40266         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40267         Likewise.
40268         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40269         entry for 2.16.
40271 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40273         * math/w_acos.c: Use non-signaling floating-point comparisons.
40274         * math/w_acosf.c: Likewise.
40275         * math/w_acosh.c: Likewise.
40276         * math/w_acoshf.c: Likewise.
40277         * math/w_acoshl.c: Likewise.
40278         * math/w_acosl.c: Likewise.
40279         * math/w_asin.c: Likewise.
40280         * math/w_asinf.c: Likewise.
40281         * math/w_asinl.c: Likewise.
40282         * math/w_atanh.c: Likewise.
40283         * math/w_atanhf.c: Likewise.
40284         * math/w_atanhl.c: Likewise.
40285         * math/w_exp2.c: Likewise.
40286         * math/w_exp2f.c: Likewise.
40287         * math/w_exp2l.c: Likewise.
40288         * math/w_j0.c: Likewise.
40289         * math/w_j0f.c: Likewise.
40290         * math/w_j0l.c: Likewise.
40291         * math/w_j1.c: Likewise.
40292         * math/w_j1f.c: Likewise.
40293         * math/w_j1l.c: Likewise.
40294         * math/w_jn.c: Likewise.
40295         * math/w_jnf.c: Likewise.
40296         * math/w_log.c: Likewise.
40297         * math/w_log10.c: Likewise.
40298         * math/w_log10f.c: Likewise.
40299         * math/w_log10l.c: Likewise.
40300         * math/w_log2.c: Likewise.
40301         * math/w_log2f.c: Likewise.
40302         * math/w_log2l.c: Likewise.
40303         * math/w_logf.c: Likewise.
40304         * math/w_logl.c: Likewise.
40305         * math/w_sqrt.c: Likewise.
40306         * math/w_sqrtf.c: Likewise.
40307         * math/w_sqrtl.c: Likewise.
40308         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40309         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40310         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40311         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40312         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40314 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40316         [BZ #9739]
40317         * manual/string.texi (strnlen): Use correct parameter name in
40318         equivalent expression.
40320 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40322         [BZ #11174]
40323         * manual/users.texi (seteuid): Consistently use neweuid for
40324         argument name.
40326 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40328         [BZ #13704]
40329         * manual/nss.texi (Services in the NSS configuration): Correct
40330         list of services in example configuration file.
40332 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40334         [BZ #11322]
40335         * manual/arith.texi: Remove statements about negative zero
40336         behaving identically to zero.
40338 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40340         [BZ #5993]
40341         * manual/install.texi: Do not document upgrading from libc5.
40343 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40345         [BZ #4596]
40346         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40348 2012-02-18  David S. Miller  <davem@davemloft.net>
40350         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40351         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40352         %o7 across the call.
40353         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40354         instead.
40355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40356         SETUP_PIC_REG_LEAF.
40357         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40358         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40359         * sysdeps/sparc/crtn.S: Likewise.
40361 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40363         * aout/Makefile: Remove.
40365 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40367         [BZ #13058]
40368         * manual/examples/argp-ex1.c (main): Format definition in GNU
40369         style.
40370         * manual/examples/argp-ex2.c (main): Likewise.
40371         * manual/examples/argp-ex3.c (main): Likewise.
40372         * manual/examples/argp-ex4.c (main): Likewise.
40373         * manual/examples/longopt.c (main): Use new-style prototype
40374         definition.
40375         * manual/examples/strncat.c (main): Specify return type and use
40376         (void) for arguments.
40377         * manual/examples/subopt.c (main): Use char **argv argument.
40379 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40381         [BZ #5077]
40382         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40383         rounding modes.
40385 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40387         [BZ #6907]
40388         * manual/string.texi (strchr): Change when strchrnul is
40389         recommended.
40391 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40393         [BZ #174]
40394         * manual/locale.texi (setlocale): Document LOCPATH.
40396 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40398         [BZ #10210]
40399         * manual/process.texi (execle): Move @dots{} before last argument.
40401 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40403         [BZ #12047]
40404         * manual/charset.texi (Generic Charset Conversion): Fix typo
40405         (LC_TYPE -> LC_CTYPE).
40407 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40409         [BZ #5805]
40410         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40411         (scalbnf): Likewise.
40412         (scalbnl): Likewise.
40413         (scalbln): Likewise.
40414         (scalblnf): Likewise.
40415         (scalblnl): Likewise.
40416         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40417         (vwarnx): Likewise.
40418         (verr): Likewise.
40419         (verrx): Likewise.
40420         * manual/filesys.texi (telldir): Use braces around return type.
40421         * manual/llio.texi (mmap): Add space after comma.
40422         (mmap64): Likewise.
40423         * manual/math.texi (jn): Use @var{} on parameter names.
40424         (jnf): Likewise.
40425         (jnl): Likewise.
40426         (yn): Likewise.
40427         (ynf): Likewise.
40428         (ynl): Likewise.
40429         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40430         line.
40431         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40432         "...".
40433         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40434         (sched_get_priority_max): Likewise.
40435         * manual/signal.texi (sigvec): Add space after comma.
40436         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40437         names.
40438         (if_indextoname): Likewise.
40439         (if_freenameindex): Likewise.
40440         (sendto): Use ',' instead of '.' in prototype.
40441         * manual/startup.texi (syscall): Use @dots{} instead of literal
40442         "...".
40443         * manual/stdio.texi (__fpending): Separate initial words of
40444         paragraph from @deftypefun line.
40445         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40446         "...".
40447         (vsyslog): Use @var{} on parameter names.
40448         * manual/terminal.texi (stty): Use @var{} on parameter names.
40449         * manual/users.texi (getutmp): Use @var{} on parameter names.
40450         (getutmpx): Likewise.
40452 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40454         [BZ #6884]
40455         * manual/stdio.texi (fopen): Fix typos in description of
40456         ",ccs=STRING".
40458 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40460         [BZ #4026]
40461         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40462         get clock_id definition.
40464 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40466         [BZ #4822]
40467         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40468         (madvise): Cast every argument to void on its own.
40470 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40472         [BZ #9902]
40473         * manual/startup.texi (Exit Status): Fix typo.
40475 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40477         [BZ #10140]
40478         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40479         * manual/examples/argp-ex2.c: Likewise.
40480         * manual/examples/argp-ex3.c: Likewise.
40482 2012-02-16  Richard Henderson  <rth@redhat.com>
40484         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40485         * sysdeps/s390/s390-32/initfini.c: Remove.
40486         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40487         * sysdeps/s390/s390-64/initfini.c: Remove.
40489 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40491         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40492         compiler output for sysdeps/generic/initfini.c.
40493         * sysdeps/sh/elf/initfini.c: Remove file.
40495 2012-02-16  David S. Miller  <davem@davemloft.net>
40497         [BZ #11494]
40498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40500         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40501         * sysdeps/sparc/crti.S: New file.
40502         * sysdeps/sparc/crtn.S: New file.
40503         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40504         * sysdeps/sparc/sparc64/Makefile: Likewise.
40506 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40508         [BZ #3335]
40509         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40511 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40513         [BZ #4822]
40514         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40516         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40517         (write, read, close): Likewise.
40518         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40520 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40522         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40523         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40524         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40525         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40526         <bits/signalfd.h>.
40527         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40528         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40529         bits/signalfd.h.
40531 2012-02-14  Marek Polacek  <polacek@redhat.com>
40533         * sysdeps/x86_64/crti.S: New file.
40534         * sysdeps/x86_64/crtn.S: New file.
40535         * sysdeps/x86_64/elf/initfini.c: Remove file.
40537 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40539         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40540         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40541         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40542         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40543         <bits/inotify.h>.
40544         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40545         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40546         bits/inotify.h.
40548 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40550         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40551         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40552         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40553         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40554         <bits/eventfd.h>.
40555         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40557         bits/eventfd.h.
40559 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40561         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40562         __feraiseexcept instead of feraiseexcept.
40564         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40565         nanosleep invocations.
40566         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40567         strings, and add error checking for a nanosleep invocations.
40569 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40571         Replace FSF snail mail address with URLs, as per GNU coding standards.
40572         Most of the snail mail addresses were wrong anyway, and omitting
40573         them makes the source code easier to maintain.  Almost all of the
40574         changes are to license notices and to locale LC_IDENTIFICATION
40575         addresses, except for this one:
40576         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40577         not its snail mail address.
40579 2012-02-09  Richard Henderson  <rth@twiddle.net>
40581         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40582         of kernel-features.h.
40584         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40586 2012-02-08  Marek Polacek  <polacek@redhat.com>
40588         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40589         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40590         * sysdeps/gnu/_G_config.h: Likewise.
40591         * sysdeps/generic/_G_config.h: Likewise.
40593 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40595         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40596         tests.
40597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40599         * sysdeps/powerpc/powerpc32/crti.S: New file.
40600         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40601         * sysdeps/powerpc/powerpc64/crti.S: New file.
40602         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40604         * Makeconfig (have-initfini): Don't set.
40605         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40606         * configure.in (nopic_initfini): Don't substitute.
40607         * config.h.in (HAVE_INITFINI): Don't #undef.
40608         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40609         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40611 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40613         Support crti.S and crtn.S provided directly by architectures.
40614         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40615         [crti.S in sysdirs] (omit-deps): Likewise.
40616         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40617         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40618         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40619         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40620         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40621         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40622         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40623         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40624         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40625         compiler output for sysdeps/generic/initfini.c.
40626         * sysdeps/i386/elf/Makefile: Remove file.
40627         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40629 2012-02-07  Marek Polacek  <polacek@redhat.com>
40631         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40632         * sysdeps/gnu/_G_config.h: Likewise.
40633         * sysdeps/mach/hurd/_G_config.h: Likewise.
40635 2012-02-07  Marek Polacek  <polacek@redhat.com>
40637         * math/Makefile (tests): Add tst-CMPLX2.
40638         * math/tst-CMPLX2.c: New file.
40640 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40642         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40644         * math/libm-test.inc (jn_test): Add missing L suffix.
40646 2012-02-06  Marek Polacek  <polacek@redhat.com>
40648         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40649         * sysdeps/i386/fpu/e_powf.S: Likewise.
40650         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40651         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40652         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40653         * sysdeps/i386/fpu/e_pow.S: Likewise.
40654         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40655         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40656         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40657         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40658         * sysdeps/i386/fpu/e_log2.S: Likewise.
40659         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40660         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40661         * sysdeps/i386/fpu/e_powl.S: Likewise.
40662         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40663         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40664         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40665         * sysdeps/i386/fpu/e_logl.S: Likewise.
40666         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40667         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40668         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40669         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40670         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40671         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40672         * sysdeps/i386/fpu/e_log.S: Likewise.
40673         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40674         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40675         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40676         * sysdeps/i386/fpu/e_logf.S: Likewise.
40677         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40678         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40679         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40680         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40681         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40682         * sysdeps/i386/fpu/e_log10.S: Likewise.
40683         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40684         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40685         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40686         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40687         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40688         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40689         * sysdeps/i386/asm-syntax.h: Likewise.
40690         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40691         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40692         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40693         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40694         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40695         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40696         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40697         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40698         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40699         * sysdeps/powerpc/sysdep.h: Likewise.
40700         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40701         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40703 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40705         [BZ #411]
40706         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40708 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40710         * sysdeps/i386/sysdep.h: Include <features.h>.
40711         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40712         version.
40714 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40716         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40717         Define.
40718         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40719         LOAD_PIC_REG_STR.
40721 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40723         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40724         (SETUP_PIC_REG): Use GET_PC_THUNK.
40725         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40726         macro.
40728 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40730         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40731         for non-PIC compilation.
40732         (SETUP_PIC_REG): Add .p2align directive.
40733         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40734         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40735         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40736         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40737         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40738         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40739         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40740         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40741         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40742         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40743         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40744         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40745         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40746         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40747         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40748         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40749         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40750         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40751         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40752         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40753         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40754         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40755         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40756         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40757         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40759         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40760         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40761         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40762         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40763         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40764         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40765         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40766         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40767         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40768         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40769         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40770         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40771         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40772         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40773         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40775 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40777         * math/tst-CMPLX.c: Include <stdio.h>.
40779 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40781         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40782         float.
40783         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40784         * sysdeps/sparc/bits/mathdef.h: Likewise.
40786 2012-01-31  Marek Polacek  <polacek@redhat.com>
40788         * libio/libio.h: Don't define _PARAMS.
40789         * locale/programs/config.h: Don't define PARAMS.
40790         * stdlib/strtol_l.c: Likewise.
40791         (__strtol_l): Remove PARAMS from the prototype.
40793 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40795         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40796         names.  Just use the correct names.  Remove unnecessary wrapper
40797         functions.
40798         * malloc/arena.c: Likewise.
40799         * malloc/hooks.c: Likewise.
40801         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40802         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40803         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40805 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40807         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40808         into tail calls.
40809         (update_get_addr): New function.
40810         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40811         GET_ADDR_MODULE parameter.
40813 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40815         * crypt/cert.c: Remove __STDC__ conditionals.
40816         * crypt/crypt-entry.c: Likewise.
40817         * crypt/crypt_util.c: Likewise.
40818         * libio/filedoalloc.c: Likewise.
40819         * libio/fileops.c: Likewise.
40820         * libio/genops.c: Likewise.
40821         * libio/iofclose.c: Likewise.
40822         * libio/iofdopen.c: Likewise.
40823         * libio/iofopen.c: Likewise.
40824         * libio/iofopen64.c: Likewise.
40825         * libio/iogetdelim.c: Likewise.
40826         * libio/iopopen.c: Likewise.
40827         * libio/obprintf.c: Likewise.
40828         * libio/oldfileops.c: Likewise.
40829         * libio/oldiofclose.c: Likewise.
40830         * libio/oldiofdopen.c: Likewise.
40831         * libio/oldiofopen.c: Likewise.
40832         * libio/oldiopopen.c: Likewise.
40833         * libio/wfiledoalloc.c: Likewise.
40834         * libio/wgenops.c: Likewise.
40835         * locale/programs/xmalloc.c: Likewise.
40836         * misc/syslog.c: Likewise.
40837         * stdio-common/xbug.c: Likewise.
40838         * string/memchr.c: Likewise.
40839         * string/memcmp.c: Likewise.
40840         * string/memrchr.c: Likewise.
40841         * string/rawmemchr.c: Likewise.
40842         * sysdeps/posix/getcwd.c: Likewise.
40843         * time/strftime_l.c: Likewise.
40845 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40847         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40848         * config.make.in (config-cflags-sse2avx): Define.
40849         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40850         Fix typo.
40852 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40854         * scripts/config.guess: Update from upstream config git repository.
40855         * scripts/config.sub: Likewise.
40857 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40859         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40860         (EM_NUM): Update.
40861         (R_TILEPRO_*, R_TILEGX_*): New macros.
40863         * scripts/firstversions.awk: Fix bug in version range handling.
40865         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40867         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40869         * include/sys/epoll.h: New file.
40870         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40871         libc_hidden_def.
40873 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40875         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40876         Avoid unnecessary __WORDSIZE == 64 test.
40877         (fmaxf): Use VEX format if possible.
40878         (fmax): Likewise.
40879         (fminf): Likewise.
40880         (fmin): Likewise.
40882         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40883         * math/math_private.h: Remove libc_fegetround* and
40884         libc_fesetround*.
40885         * sysdeps/i386/configure.in: Check for -msse2avx.
40886         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40887         also if SSE2AVX is defined.
40888         Remove libc_fegetround* and libc_fesetround*.
40889         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40890         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40891         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40892         of HAS_YMM_USABLE.
40893         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40894         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40895         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40896         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40897         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40899         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40901 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40903         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40904         size is not set.
40905         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40907 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40909         [BZ #13618]
40910         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40911         relocation.
40912         * Makeconfig (libm): Define.
40913         * elf/Makefile: Add rules to build and run tst-relsort1.
40914         * elf/tst-relsort1.c: New file.
40915         * elf/tst-relsort1mod1.c: New file.
40916         * elf/tst-relsort1mod2.c: New file.
40918 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40920         * math/s_ldexp.c: Remove __STDC__ conditionals.
40921         * math/s_ldexpf.c: Likewise.
40922         * math/s_ldexpl.c: Likewise.
40923         * math/s_nextafter.c: Likewise.
40924         * math/s_nexttowardf.c: Likewise.
40925         * math/s_significand.c: Likewise.
40926         * math/s_significandf.c: Likewise.
40927         * math/s_significandl.c: Likewise.
40928         * math/w_jnl.c: Likewise.
40929         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40930         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40931         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40932         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40933         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40934         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40935         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40936         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40937         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40938         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40939         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40940         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40941         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40942         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40943         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40944         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40945         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40946         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40947         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40948         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40949         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40950         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40951         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40952         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40953         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40954         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40955         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40956         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40957         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40958         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40959         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40960         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40961         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40962         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40963         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40964         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40965         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40966         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40967         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40968         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40969         * sysdeps/ieee754/k_standard.c: Likewise.
40970         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40971         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40972         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40973         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40974         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40975         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40976         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40977         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40978         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40979         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40980         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40981         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40982         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40983         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40984         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40985         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40986         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40987         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40988         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40989         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40990         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40991         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40992         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40993         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40994         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40995         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40996         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40997         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40998         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40999         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41000         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41001         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41002         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41003         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41004         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41005         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41006         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41007         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41008         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41009         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41010         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41011         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41012         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41013         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41014         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41015         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41016         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41017         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41018         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41019         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41020         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41021         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41022         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41023         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41024         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41025         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41026         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41027         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41028         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41029         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41030         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41031         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41032         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41033         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41034         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41035         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41036         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41037         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41038         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41039         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41040         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41041         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41042         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41043         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41044         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41045         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41046         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41047         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41048         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41049         * sysdeps/ieee754/s_matherr.c: Likewise.
41050         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41051         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41052         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41053         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41055 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41057         * crypt/md5.h: Remove __STDC__ conditionals.
41058         * libio/libioP.h: Likewise.
41059         * locale/programs/config.h: Likewise.
41060         * sysdeps/generic/sysdep.h: Likewise.
41061         * sysdeps/i386/asm-syntax.h: Likewise.
41062         * sysdeps/s390/asm-syntax.h: Likewise.
41063         * sysdeps/unix/sysdep.h: Likewise.
41064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41067 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41069         * libio/libio.h: Remove __STDC__ conditionals.
41070         * malloc/obstack.h: Likewise.
41071         * math/complex.h: Likewise.
41072         * math/math.h: Likewise.
41073         * sysdeps/generic/_G_config.h: Likewise.
41074         * sysdeps/gnu/_G_config.h: Likewise.
41075         * sysdeps/mach/hurd/_G_config.h: Likewise.
41076         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41077         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41078         * sysdeps/sparc/bits/mathdef.h: Likewise.
41080 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41082         [BZ #13583]
41083         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41084         Clean up HAS_* macros.
41085         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41086         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41087         possible.
41088         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41089         HAS_AVX.
41090         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41091         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41092         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41093         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41094         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41096 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41098         * elf/tst-unique3.cc (gets): Remove declaration.
41099         * elf/tst-unique3lib.cc (gets): Likewise.
41100         * elf/tst-unique3lib2.cc (gets): Likewise.
41101         * elf/tst-unique4.cc (gets): Likewise.
41103 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41105         * include/stdio.h: Add C++ protection.  Add gets declarations and
41106         definitions.
41107         * debug/tst-chk1.c: Don't declare gets here.
41108         * stdio-common/tst-gets.c: Likewise.
41110 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41112         * posix/glob: Remove directory.
41114 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41116         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41118 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41120         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41121         of the non-standard EPFNOSUPPORT.
41123 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41125         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41126         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41127         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41129 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41131         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41133 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41135         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41136         transient errors.
41137         * nscd/grpcache.c (cache_addgr): Likewise.
41138         * nscd/hstcache.c (cache_addhst): Likewise.
41139         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41140         * nscd/pwdcache.c (cache_addpw): Likewise.
41141         * nscd/servicescache.c (cache_addserv): Likewise.
41143 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41145         * malloc/malloc.c: Various cleanups.
41146         * malloc/hooks.c: Likewise.
41148         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41149         * stdlib/bug-fmtmsg1.c: New file.
41151         * stdlib/fmtmsg.c (init): Add missing unlock.
41152         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41154 2012-01-12  Marek Polacek  <polacek@redhat.com>
41156         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41157         and _GNU_SOURCE.
41159 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41161         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41162         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41163         macro to ensure uniqueness of label name.
41164         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41165         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41167 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41169         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41171         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41172         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41173         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41174         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41176 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41178         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41180         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41181         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41182         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41184         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41186         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41187         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41188         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41189         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41191         * math/bits/math-finite.h: Add ldexp support.
41193 2012-01-10  Marek Polacek  <polacek@redhat.com>
41195         * locale/programs/localedef.h (show_archive_content): Add noreturn
41196         attribute.
41198 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41200         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41202 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41204         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41206         * io/Makefile (headers): Add bits/poll2.h.
41208 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41211         typo #include statement.
41213 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41215         * include/sys/cdefs.h: Define __attribute_alloc_size.
41216         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41217         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41218         * elf/pldd.c: Likewise.
41219         * iconv/iconv_charmap.c: Likewise.
41220         * iconv/iconvconfig.c: Likewise.
41221         * iconv/strtab.c: Likewise.
41222         * locale/programs/locale.c: Likewise.
41223         * locale/programs/localedef.h: Likewise.
41224         * locale/programs/simple-hash.c: Likewise.
41225         * nscd/nscd.h: Likewise.
41226         * nss/makedb.c: Likewise.
41227         * sysdeps/generic/ldconfig.h: Likewise.
41228         * locale/programs/localedef.c: Remove xmalloc prototype.
41229         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41231 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41233         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41234         appropriate.
41236 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41238         * math/Makefile (tests): Add tst-CMPLX.
41239         * math/tst-CMPLX.c: New file.
41241         * math/complex.h (CMPLXL): Fix typo.
41243         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41244         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41245         GLIBC_2.16.
41246         * debug/tst-chk1.c: Add poll and ppoll tests.
41247         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41248         * include/sys/poll.h: Add hidden proto for ppoll.
41249         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41250         * sysdeps/mach/hurd/ppoll.c: Likewise.
41251         * io/ppoll.c: Likewise.
41252         * debug/poll_chk.c: New file.
41253         * debug/ppoll_chk.c: New file.
41254         * include/bits/poll2.h: New file.
41255         * io/bits/poll2.h: New file.
41257         [BZ #1350]
41258         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41260         * configure.in: static is always set to yes.  Remove.
41261         * config.make.in: Don't set build-static.
41262         * Makeconfig: Remove use of build-static.
41263         * dlfcn/Makefile: Likewise.
41264         * elf/Makefile: Likewise.
41265         * math/Makefile: Likewise.
41266         * misc/Makefile: Likewise.
41267         * nptl/Makefile: Likewise.
41268         * sysdeps/mach/hurd/Makefile: Likewise.
41270         * configure.in: PWD_P is not used anymore.
41271         * config.make.in: Remove PWD_P entry.
41273         * configure.in: Remove last remnants of RANLIB.
41274         No need to check for signed size_t anymore.
41275         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41276         and IA-64.
41277         Remove __builtin_expect test because we require at least gcc 3.4.
41278         * aclocal.m4: Likewise.
41280         * wcsmbs/mbrtoc16.c: Implement using towc function.
41281         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41282         * wcsmbs/wcsmbsload.c: Likewise.
41283         * iconv/gconv_simple.c: Likewise.
41284         * iconv/gconv_int.h: Likewise.
41285         * iconv/gconv_builtin.h: Likewise.
41286         * iconv/iconv_prog.c: Remove CHAR16 handling.
41288         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41290         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41292         * configure.in: Remove --with-elf and --enable-bounded options.
41293         Dont set base_machine for ia64.  More non-ELF conditions removed.
41294         Remove testing and setting of leading underscore information.
41295         * config.make.in (build-bounded): Set to no.
41296         * config.h.in: Remove NO_UNDERSCORES entry.
41297         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41298         them.
41299         * csu/start.c: Remove !NO_UNDERSCORE code.
41300         * locale/localeinfo.h: Likewise.
41301         * sysdeps/generic/machine-gmon.h: Likewise.
41302         * sysdeps/generic/sysdep.h: Likewise.
41303         * sysdeps/i386/sysdep.h: Likewise.
41304         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41305         * sysdeps/mach/sysdep.h: Likewise.
41306         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41307         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41308         * sysdeps/sh/sysdep.h: Likewise.
41309         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41310         * sysdeps/unix/i386/sysdep.S: Likewise.
41311         * sysdeps/unix/sparc/start.c: Likewise.
41312         * sysdeps/unix/sparc/sysdep.S: Likewise.
41313         * sysdeps/unix/sparc/sysdep.h: Likewise.
41314         * sysdeps/unix/start.c: Likewise.
41315         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41316         * sysdeps/x86_64/sysdep.h: Likewise.
41318 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41320         [BZ #13553]
41321         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41322         for non-gcc.
41323         * argp/argp-fmtstream.h: Use const instead __const.
41324         * argp/argp.h: Likewise.
41325         * assert/assert.h: Likewise.
41326         * bits/fenv.h: Likewise.
41327         * bits/sched.h: Likewise.
41328         * bits/sigset.h: Likewise.
41329         * bits/sigthread.h: Likewise.
41330         * catgets/nl_types.h: Likewise.
41331         * conform/data/pthread.h-data: Likewise.
41332         * crypt/crypt-private.h: Likewise.
41333         * crypt/crypt.h: Likewise.
41334         * crypt/crypt_util.c: Likewise.
41335         * ctype/ctype.h: Likewise.
41336         * debug/execinfo.h: Likewise.
41337         * debug/mbsnrtowcs_chk.c: Likewise.
41338         * debug/mbsrtowcs_chk.c: Likewise.
41339         * debug/wcsnrtombs_chk.c: Likewise.
41340         * debug/wcsrtombs_chk.c: Likewise.
41341         * debug/wcstombs_chk.c: Likewise.
41342         * dirent/dirent.h: Likewise.
41343         * dlfcn/dlfcn.h: Likewise.
41344         * elf/neededtest4.c: Likewise.
41345         * grp/grp.h: Likewise.
41346         * gshadow/gshadow.h: Likewise.
41347         * iconv/gconv.h: Likewise.
41348         * iconv/gconv_int.h: Likewise.
41349         * iconv/gconv_simple.c: Likewise.
41350         * iconv/iconv.h: Likewise.
41351         * iconv/loop.c: Likewise.
41352         * iconv/skeleton.c: Likewise.
41353         * include/aio.h: Likewise.
41354         * include/aliases.h: Likewise.
41355         * include/argz.h: Likewise.
41356         * include/arpa/inet.h: Likewise.
41357         * include/assert.h: Likewise.
41358         * include/dirent.h: Likewise.
41359         * include/dlfcn.h: Likewise.
41360         * include/execinfo.h: Likewise.
41361         * include/fcntl.h: Likewise.
41362         * include/fenv.h: Likewise.
41363         * include/glob.h: Likewise.
41364         * include/grp.h: Likewise.
41365         * include/libintl.h: Likewise.
41366         * include/mntent.h: Likewise.
41367         * include/netdb.h: Likewise.
41368         * include/pwd.h: Likewise.
41369         * include/rpc/netdb.h: Likewise.
41370         * include/sched.h: Likewise.
41371         * include/search.h: Likewise.
41372         * include/shadow.h: Likewise.
41373         * include/signal.h: Likewise.
41374         * include/stdio.h: Likewise.
41375         * include/stdlib.h: Likewise.
41376         * include/string.h: Likewise.
41377         * include/sys/socket.h: Likewise.
41378         * include/sys/stat.h: Likewise.
41379         * include/sys/statfs.h: Likewise.
41380         * include/sys/statvfs.h: Likewise.
41381         * include/sys/syslog.h: Likewise.
41382         * include/sys/time.h: Likewise.
41383         * include/sys/uio.h: Likewise.
41384         * include/time.h: Likewise.
41385         * include/unistd.h: Likewise.
41386         * include/utmp.h: Likewise.
41387         * include/wchar.h: Likewise.
41388         * include/wctype.h: Likewise.
41389         * inet/aliases.h: Likewise.
41390         * inet/arpa/inet.h: Likewise.
41391         * inet/netinet/ether.h: Likewise.
41392         * inet/netinet/in.h: Likewise.
41393         * intl/libintl.h: Likewise.
41394         * io/bits/fcntl2.h: Likewise.
41395         * io/fcntl.h: Likewise.
41396         * io/ftw.h: Likewise.
41397         * io/sys/poll.h: Likewise.
41398         * io/sys/stat.h: Likewise.
41399         * io/sys/statfs.h: Likewise.
41400         * io/sys/statvfs.h: Likewise.
41401         * io/utime.h: Likewise.
41402         * libio/bits/stdio.h: Likewise.
41403         * libio/bits/stdio2.h: Likewise.
41404         * libio/libio.h: Likewise.
41405         * libio/libioP.h: Likewise.
41406         * libio/stdio.h: Likewise.
41407         * locale/lc-ctype.c: Likewise.
41408         * locale/locale.h: Likewise.
41409         * login/utmp.h: Likewise.
41410         * malloc/arena.c: Likewise.
41411         * malloc/malloc.c: Likewise.
41412         * malloc/malloc.h: Likewise.
41413         * malloc/mcheck.c: Likewise.
41414         * malloc/mtrace.c: Likewise.
41415         * math/bits/mathcalls.h: Likewise.
41416         * math/fenv.h: Likewise.
41417         * math/math_private.h: Likewise.
41418         * misc/bits/error.h: Likewise.
41419         * misc/bits/syslog.h: Likewise.
41420         * misc/err.h: Likewise.
41421         * misc/error.h: Likewise.
41422         * misc/fstab.h: Likewise.
41423         * misc/mntent.h: Likewise.
41424         * misc/regexp.h: Likewise.
41425         * misc/search.h: Likewise.
41426         * misc/sgtty.h: Likewise.
41427         * misc/sys/mman.h: Likewise.
41428         * misc/sys/syslog.h: Likewise.
41429         * misc/sys/uio.h: Likewise.
41430         * misc/sys/xattr.h: Likewise.
41431         * misc/ttyent.h: Likewise.
41432         * nis/rpcsvc/ypclnt.h: Likewise.
41433         * nss/nss.h: Likewise.
41434         * posix/bits/unistd.h: Likewise.
41435         * posix/fnmatch.h: Likewise.
41436         * posix/glob.h: Likewise.
41437         * posix/sched.h: Likewise.
41438         * posix/spawn.h: Likewise.
41439         * posix/sys/wait.h: Likewise.
41440         * posix/unistd.h: Likewise.
41441         * posix/wordexp.h: Likewise.
41442         * pwd/pwd.h: Likewise.
41443         * resolv/netdb.h: Likewise.
41444         * resource/sys/resource.h: Likewise.
41445         * rt/aio.h: Likewise.
41446         * rt/bits/mqueue2.h: Likewise.
41447         * rt/mqueue.h: Likewise.
41448         * shadow/shadow.h: Likewise.
41449         * signal/signal.h: Likewise.
41450         * socket/send.c: Likewise.
41451         * socket/sendto.c: Likewise.
41452         * socket/sys/socket.h: Likewise.
41453         * stdio-common/printf.h: Likewise.
41454         * stdlib/bits/stdlib.h: Likewise.
41455         * stdlib/fmtmsg.h: Likewise.
41456         * stdlib/monetary.h: Likewise.
41457         * stdlib/stdlib.h: Likewise.
41458         * stdlib/ucontext.h: Likewise.
41459         * streams/stropts.h: Likewise.
41460         * string/argz.h: Likewise.
41461         * string/bits/string2.h: Likewise.
41462         * string/string.h: Likewise.
41463         * string/strings.h: Likewise.
41464         * sunrpc/rpc/auth.h: Likewise.
41465         * sunrpc/rpc/auth_des.h: Likewise.
41466         * sunrpc/rpc/clnt.h: Likewise.
41467         * sunrpc/rpc/netdb.h: Likewise.
41468         * sunrpc/rpc/pmap_clnt.h: Likewise.
41469         * sunrpc/rpc/xdr.h: Likewise.
41470         * sysdeps/generic/inttypes.h: Likewise.
41471         * sysdeps/generic/net/if.h: Likewise.
41472         * sysdeps/generic/sys/swap.h: Likewise.
41473         * sysdeps/gnu/net/if.h: Likewise.
41474         * sysdeps/gnu/utmpx.h: Likewise.
41475         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41476         * sysdeps/i386/i486/bits/string.h: Likewise.
41477         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41478         * sysdeps/s390/bits/string.h: Likewise.
41479         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41480         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41481         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41482         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41483         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41484         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41485         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41486         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41487         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41488         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41489         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41490         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41491         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41492         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41493         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41494         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41495         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41496         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41497         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41498         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41499         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41500         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41501         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41502         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41503         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41504         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41505         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41506         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41507         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41508         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41509         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41510         * sysvipc/sys/ipc.h: Likewise.
41511         * sysvipc/sys/msg.h: Likewise.
41512         * sysvipc/sys/sem.h: Likewise.
41513         * sysvipc/sys/shm.h: Likewise.
41514         * termios/termios.h: Likewise.
41515         * time/sys/time.h: Likewise.
41516         * time/time.h: Likewise.
41517         * wcsmbs/bits/wchar2.h: Likewise.
41518         * wcsmbs/uchar.h: Likewise.
41519         * wcsmbs/wchar.h: Likewise.
41520         * wctype/wctype.h: Likewise.
41522         [BZ #13551]
41523         * Makeconfig: Remove all but ELF support including AIX support.
41524         * Makerules: Likewise.
41525         * config.h.in: Likewise.
41526         * config.make.in: Likewise.
41527         * configure: Likewise.
41528         * configure.in: Likewise.
41529         * csu/Makefile: Likewise.
41530         * csu/version.c: Likewise.
41531         * debug/Makefile: Likewise.
41532         * dlfcn/Makefile: Likewise.
41533         * elf/Makefile: Likewise.
41534         * extra-lib.mk: Likewise.
41535         * iconv/Makefile: Likewise.
41536         * include/libc-symbols.h: Likewise.
41537         * include/shlib-compat.h: Likewise.
41538         * resolv/Makefile: Likewise.
41539         * resolv/res_libc.c: Likewise.
41540         * rt/Makefile: Likewise.
41541         * sysdeps/i386/asm-syntax.h: Likewise.
41542         * sysdeps/i386/sysdep.h: Likewise.
41543         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41544         * sysdeps/mach/sysdep.h: Likewise.
41545         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41546         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41547         * sysdeps/s390/asm-syntax.h: Likewise.
41548         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41549         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41550         * sysdeps/sh/sysdep.h: Likewise.
41551         * sysdeps/unix/sparc/sysdep.h: Likewise.
41552         * sysdeps/wordsize-32/divdi3.c: Likewise.
41553         * sysdeps/x86_64/sysdep.h: Likewise.
41555         * argp/Versions: Remove _argp_unlock_xxx.
41557         [BZ #13559]
41558         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41559         * abilist/libBrokenLocale.abilist: Likewise.
41560         * abilist/libanl.abilist: Likewise.
41561         * abilist/libc.abilist: Likewise.
41562         * abilist/libcrypt.abilist: Likewise.
41563         * abilist/libdl.abilist: Likewise.
41564         * abilist/libm.abilist: Likewise.
41565         * abilist/libnsl.abilist: Likewise.
41566         * abilist/libpthread.abilist: Likewise.
41567         * abilist/libresolv.abilist: Likewise.
41568         * abilist/librt.abilist: Likewise.
41569         * abilist/libthread_db.abilist: Likewise.
41570         * abilist/libutil.abilist: Likewise.
41571         * abilist/libnss_db.abilist: New file.
41573         * scripts/abilist.awk: Add support for indirect functions.
41575         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41577         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41579         * shlib-versions: Remove entries for ports architectures.
41581         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41582         files in ports.
41583         * elf/stackguard-macros.h: Remove support for IA-64.
41584         * elf/tst-auditmod1.c: Likewise.
41585         * sysdeps/generic/ldsodefs.h: Likewise.
41587         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41588         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41589         configure files.
41591         [BZ #13552]
41592         * configure.in: Remove --enable-omitfp support.
41593         * FAQ.in: Adjust.
41594         * config.make.in: Likewise.
41595         * Makeconfig: Likewise.
41596         * manual/install.texi: Likewise.
41598         In case anyone cares, the IA-64 architecture could move to ports.
41599         * sysdeps/ia64/*: Removed.
41600         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41601         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41603         [BZ #13555]
41604         * configure.in: Remove entries for unsupported architectures.
41606         [BZ #13533]
41607         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41608         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41609         routines.
41610         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41611         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41612         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41613         fall back to using wcrtomb.
41614         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41615         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41616         renaming.
41617         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41618         * wcsmbs/tst-c16c32-1.c: New file.
41620         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41621         local variable.
41623         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41625         * elf/tst-unique3.cc: Add explicit declaration of gets.
41626         * elf/tst-unique3lib.cc: Likewise.
41627         * elf/tst-unique3lib2.cc: Likewise.
41628         * elf/tst-unique4.cc: Likewise.
41630         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41632 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41634         [BZ #13566]
41635         * assert/assert.h (static_assert): Don't define for C++.
41636         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41637         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41639 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41641         * iconv/loop.c (single loop): Fix assertion in storing of
41642         remaining bytes.
41644         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41646 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41648         * posix/getconf.c: Update copyright year.
41649         * nss/getent.c: Likewise.
41650         * nss/makedb.c: Likewise.
41651         * iconv/iconvconfig.c: Likewise.
41652         * iconv/iconv_prog.c: Likewise.
41653         * elf/ldconfig.c: Likewise.
41654         * elf/pldd.c: Likewise.
41655         * elf/sotruss.ksh: Likewise.
41656         * catgets/gencat.c: Likewise.
41657         * csu/version.c: Likewise.
41658         * elf/ldd.bash.in: Likewise.
41659         * elf/sprof.c (print_version): Likewise.
41660         * locale/programs/locale.c: Likewise.
41661         * locale/programs/localedef.c: Likewise.
41662         * login/programs/pt_chown.c: Likewise.
41663         * nscd/nscd.c (print_version): Likewise.
41664         * debug/xtrace.sh: Likewise.
41665         * malloc/memusage.sh: Likewise.
41666         * malloc/mtrace.pl: Likewise.
41667         * debug/catchsegv.sh: Likewise.
41669 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41671         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41672         pure attribute.
41674 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41676         [BZ #13533]
41677         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41678         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41679         transformations.
41680         * iconv/gconv_int.h: Likewise.
41681         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41682         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41683         from libc for GLIBC_2.16.
41684         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41685         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41686         * wcsmbs/uchar.h: Really define mbstate_t.
41687         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41688         * wcsmbs/c16rtomb.c: New file.
41689         * wcsmbs/mbrtoc16.c: New file.
41690         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41691         for C/POSIX locale.
41692         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41693         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41695         * wcsmbs/wchar.h: Add missing __restrict.
41697 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41699         [BZ #13532]
41700         * time/Makefile (routines): Add timespec_get.
41701         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41702         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41703         timespec for ISO C11.
41704         * time/timespec_get.c: New file.
41705         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41706         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41708         [BZ #13531]
41709         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41710         * stdlib/stdlib.h: Declare aligned_alloc.
41711         * Versions.def: Add GLIBC_2.16 for libc.
41712         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41714         [BZ 13527]
41715         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41716         ISO C11.
41718         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41719         code.
41721         [BZ #13528]
41722         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41724         [BZ #13529]
41725         * assert/assert.h (static_assert): Define.
41727         * version.h: Update for 2.16 development version.
41729         [BZ #13526]
41730         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41731         _ISOC11_SOURCE.
41733         * version.h (RELEASE): Bump for 2.15 release.
41734         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41736         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41737         Patch by Marek Polacek <mpolacek@redhat.com>.
41739         * bits/byteswap.h: Protect long long constants with __extension__.
41740         * sysdeps/i386/bits/byteswap.h: Likewise.
41741         * sysdeps/ia64/bits/byteswap.h: Likewise.
41742         * sysdeps/s390/bits/byteswap.h: Likewise.
41743         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41745 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41747         [BZ #13540]
41748         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41749         destination buffer.
41750         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41752 2011-12-23  Marek Polacek  <polacek@redhat.com>
41754         * elf/dl-addr.c (determine_info): Add inline keyword.
41755         * elf/tst-auditmod4b.c (check_avx): Likewise.
41756         * elf/tst-auditmod6b.c (check_avx): Likewise.
41757         * elf/tst-auditmod6c.c (check_avx): Likewise.
41758         * elf/tst-auditmod7b.c (check_avx): Likewise.
41760 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41762         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41763         !__SSE_MATH__.
41765 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41767         [BZ #13540]
41768         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41769         processing for last bytes.
41771 2011-08-06  Bruno Haible  <bruno@clisp.org>
41773         [BZ #13061]
41774         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41775         U+0385, not to U+1FEE.
41777         [BZ #13062]
41778         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41779         entry for U+00A5 U+0301.
41781 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41783         [BZ #13166]
41784         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41785         buffer for the output is too small.
41787         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41788         optimization.
41790         [BZ #13185]
41791         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41792         SSE flags if possible.
41794 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41796         [BZ #13540]
41797         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41798         processing for last bytes.
41800 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41802         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41803         (syscall-list-default-options, syscall-list-default-condition)
41804         (syscall-list-includes): Define.
41805         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41806         list of ABIs and options and #if conditions for each ABI.  Do not
41807         handle common syscalls between ABIs specially.
41808         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41809         Remove.
41810         (syscall-list-variants, syscall-list-32bit-options)
41811         (syscall-list-32bit-condition, syscall-list-64bit-options)
41812         (syscall-list-64bit-condition): Define.
41813         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41814         (syscall-list-variants, syscall-list-32bit-options)
41815         (syscall-list-32bit-condition, syscall-list-64bit-options)
41816         (syscall-list-64bit-condition): Define.
41817         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41818         Remove.
41819         (syscall-list-variants, syscall-list-32bit-options)
41820         (syscall-list-32bit-condition, syscall-list-64bit-options)
41821         (syscall-list-64bit-condition): Define.
41822         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41823         Remove.
41824         (syscall-list-variants, syscall-list-32bit-options)
41825         (syscall-list-32bit-condition, syscall-list-64bit-options)
41826         (syscall-list-64bit-condition): Define.
41828 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41830         * locale/iso-639.def: Add brx entry.
41832         [BZ #13328]
41833         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41834         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41836         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41837         __feraiseexcept_renamed.
41839 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41841         [BZ #13538]
41842         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41843         EPOLLET with unsigned values.
41844         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41845         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41847         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41848         to large cancellation.
41849         * math/s_cacoshf.c: Likewise.
41850         * math/s_cacoshl.c: Likewise.
41852 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41854         [BZ #13305]
41855         [BZ #12786]
41856         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41857         * math/s_cacoshf.c: Likewise.
41858         * math/s_cacoshl.c: Likewise.
41860 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41862         [BZ #13439]
41863         * iconv/gconv.h: Define __GCONV_SWAP.
41864         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41865         * iconvdata/utf-16.c: Likewise.
41866         * iconvdata/utf-32.c: Likewise.
41868 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41870         [BZ #13524]
41871         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41872         numerator after shifting it by one limb.
41874 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41876         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41877         under [__USE_EXTERN_INLINES].
41879 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41881         [BZ #13446]
41882         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41884 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41886         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41887         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41888         optimized code.
41889         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41890         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41891         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41892         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41893         for strncasecmp/strncasecmp_l compilation.
41894         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41895         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41897 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41899         [BZ #13484]
41900         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41901         of __asm__.
41903 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41905         [BZ #13506]
41906         * time/tzfile.c (__tzfile_read): Check values from file header.
41908 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41910         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41911         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41912         * powerpc/powerpc32/dl-start.S: Likewise.
41913         * powerpc/powerpc32/elf/start.S: Likewise.
41914         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41915         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41916         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41917         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41918         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41919         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41920         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41921         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41922         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41923         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41924         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41925         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41926         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41927         * powerpc/powerpc32/memset.S: Likewise.
41928         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41929         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41930         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41931         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41932         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41933         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41934         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41935         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41936         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41937         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41938         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41939         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41940         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41942 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41944         * math/libm-test.inc: Added more nearbyint tests.
41945         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41946         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41947         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41948         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41950 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41952         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41953         FD_CLOEXEC.
41955 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41957         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41958         Add wcscpy-ssse3 wcscpy-c.
41959         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41960         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41961         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41962         * sysdeps/x86_64/wcschr.S: New file.
41963         * sysdeps/x86_64/wcsrchr.S: New file.
41964         * string/test-strcmp.c: Remove checking of wcscmp function for
41965         wrong alignments.
41966         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41967         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41968         wcsrchr-sse2 wcsrchr-c.
41969         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41970         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41971         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41972         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41973         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41974         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41975         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41976         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41977         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41978         * wcsmbc/wcschr.c (WCSCHR): New macro.
41980 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41982         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41983         * wcsmbs/test-wcsrchr.c: New file.
41984         * string/test-strrchr.c: Add wcsrchr support.
41985         (WIDE): New macro.
41986         * wcsmbs/test-wcscpy.c: New file.
41987         * string/test-strcpy.c: Add wcscpy support.
41988         (WIDE): New macro.
41990 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41992         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41993         the inner loop.
41995 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41997         [BZ #13472]
41998         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42000 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
42002         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42003         Minor optimizations.
42005         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42006         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42007         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42009 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
42011         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42012         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42013         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42014         for gcc to avoid warnings.
42015         * inet/Makefile (tests): Add tst-checks.
42016         * inet/tst-checks.c: New file.
42018         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42019         warning.
42021         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42022         __wmemcmp_sse2.
42024         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42025         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42027         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42029 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
42031         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42032         problem.
42034         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42036 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
42038         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42039         conditional on GCC version.
42040         (__arch_compare_and_exchange_val_8_acq)
42041         (__arch_compare_and_exchange_val_16_acq)
42042         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42043         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42044         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42046 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42048         * sysdeps/sh/backtrace.c: New file.
42050 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42052         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42053         parenthesis.
42055 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42057         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42058         falling back to utime.
42060 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42062         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42063         expectations for float.
42065 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42067         * locale/weight.h (findidx): Add parameter len.
42068         * locale/weightwc.h (findidx): Likewise.
42069         * posix/fnmatch_loop.c (FCT): Adjust caller.
42070         * posix/regcomp.c (build_equiv_class): Likewise.
42071         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42072         * posix/regexec.c (check_node_accept_bytes): Likewise.
42073         * string/strcoll_l.c (STRCOLL): Likewise.
42074         * string/strxfrm_l.c (STRXFRM): Likewise.
42076 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42078         * Makefile.in: Remove CVSOPT handling.
42079         * configure.in: Remove use of AC_REVISION.
42080         * iconvdata/Makefile (distribute): No need to filter out CVS.
42081         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42082         handling.
42084 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42086         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42087         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42088         [USE_AS_STRNCASECMP_L]: Likewise.
42089         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42090         NO_TLS_DIRECT_SEG_REFS.
42091         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42092         Fix argument offsets for non-PIC.
42093         [USE_AS_STRNCASECMP_L]: Likewise.
42094         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42095         NO_TLS_DIRECT_SEG_REFS.
42097 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42099         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42100         O_CLOEXEC.
42101         * locale/loadlocale.c (_nl_load_locale): Likewise.
42103 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42105         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42106         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42107         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42108         (SYSCALL_GETTIME): Set errno on error.
42110         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42111         count references to noai6ai_cached.
42113 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42115         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42117         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42118         FD_CLOEXEC for /proc/self/maps.
42120         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42121         FD_CLOEXEC for /proc/meminfo.
42123         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42124         gai.conf.
42126         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42127         FD_CLOEXEC for given file.
42129         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42131         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42132         FD_CLOEXEC for /etc/hosts.
42133         (_gethtent): Likewise.
42135         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42137         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42138         cancellation and set FD_CLOEXEC for /etc/netgroup.
42140         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42141         reading /etc/publickey.
42143         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42144         allow cancellation when reading /etc/group.
42146         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42147         cancellation.
42148         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42150         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42151         when using data file.
42153         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42155         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42156         (write_nis_obj): Use "c" and "e" in fopen.
42158         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42160         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42162         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42164         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42166         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42167         locale.alias.
42169         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42171         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42173         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42175         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42176         file parsing and set FD_CLOEXEC.
42178 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42180         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42182 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42184         * malloc/arena.c (arena_get2): Don't call reused_arena when
42185         _int_new_arena failed.
42187 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42189         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42190         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42191         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42192         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42193         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42194         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42195         to compile strcasecmp and strncasecmp.
42196         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42197         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42199         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42201 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42203         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42204         locale-defines.sym to gen-as-const-headers.
42205         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42206         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42207         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42208         to compile strcasecmp and strncasecmp.
42209         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42210         strcasecmp_l and strncasecmp_l.
42211         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42212         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42213         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42214         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42215         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42216         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42217         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42218         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42219         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42220         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42221         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42223 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42225         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42226         result of SYSDEP_GETTIME_CPU to retval.
42227         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42228         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42230         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42231         variable.
42233         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42234         mantissa words.
42235         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42237         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42238         from unused variable.
42240         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42241         DWARF definitions.
42242         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42243         for assembling.
42245         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42246         over namespaces.
42248         * sunrpc/rpc_prot.c (rejected): Fix case value.
42250         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42251         unsigned long long int to avoid warnings in shift.
42253         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42254         of use of trans.
42255         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42256         variable tmp.
42258         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42259         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42260         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42262         * nis/nis_table.c (nis_list): Use variable of correct type for
42263         result of __follow_path call.
42265 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42267         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42268         of math functions ceil, trunc, floor, round, and sqrt, when
42269         avaliable on the platform.
42270         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42271         name clash.
42272         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42273         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42274         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42276 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42278         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42279         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42281 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42283         * include/unistd.h: Fix __readlink return type.
42284         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42286 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42288         * stdlib/ucontext.h: Undo last change for makecontext.
42290 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42292         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42294         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42295         * setjmp/setjmp.h: Mark functions as non-leaf.
42296         * setjmp/bits/setjmp2.h: Likewise.
42297         * stdlib/ucontext.h: Likewise.
42299 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42301         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42302         (reused_arena): Don't check arena limit.
42303         (arena_get2): Atomically check arena limit.
42305 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42307         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42308         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42310         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42311         instructions.
42313 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42315         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42316         handler when locking.
42318         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42319         Fix size of allocated buffer.
42321 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42323         [BZ #10103]
42324         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42325         declarations for long double functions.
42326         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42328         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42330 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42332         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42333         installed.
42335         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42336         is disabled.
42338 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42340         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42342 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42344         * include/alloca.h (stackinfo_alloca_round): Define.
42345         (extend_alloca): Use it.
42346         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42347         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42348         here.
42350         * scripts/check-local-headers.sh: Ignore libaudit.h.
42352         * nscd/Makefile (extra-objs): Make recursively expanded.
42354 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42356         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42357         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42359         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42360         * posix/tst-rfc3484-2.c: Likewise.
42361         * posix/tst-rfc3484-3.c: Likewise.
42363         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42364         process_vm_writev.
42365         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42366         process_vm_writev.
42367         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42368         process_vm_writev from libc using GLIBC_2.15 version.
42370         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42372 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42374         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42375         stack usage.
42377 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42379         [BZ #13367]
42380         * nss/getent.c (initgroups_keys): Show error message in case no group
42381         names are given.
42383         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42384         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42385         __bump_nl_timestamp.
42386         * nscd/connections (nscd_init): When host database is served open
42387         netlink socket and request notification about configuration changes.
42388         (main_loop_poll): Track netlink file descriptor and bump timestamp
42389         in case data becomes available.
42390         (main_loop_epoll): Likewise.
42391         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42392         (database_pers_head): Add extra_data fileds.
42393         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42394         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42395         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42396         Adjust caller.
42397         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42398         in6ai data, call __free_in6ai.
42399         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42400         Add -DHAVE_NETLINK.
42401         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42402         interface information.  Reuse previous data if netlink timestamp
42403         is not changed.
42404         (__bump_nl_timestamp): New function.
42405         (__free_in6ai): New function.
42407 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42409         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42410         close_not_cancel_no_status here.
42411         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42413 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42415         [BZ #13276]
42416         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42417         return value.
42419         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42420         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42421         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42423 2011-07-03  Andreas Jaeger  <aj@suse.de>
42425         [BZ #10709]
42426         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42427         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42428         * math/libm-test.inc (sin_test): Add test case.
42430 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42432         [BZ #13337]
42433         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42434         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42436         * elf/chroot_canon.c (chroot_canon): Cleanups.
42438         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42440         [BZ #13335]
42441         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42442         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42444         * string/test-strchr.c: Make usable for strchrnul testing.
42445         * string/test-strchrnul.c: New file.
42446         * string/Makefile (strop-tests): Add strchrnul.
42448         * po/it.po: Update from translation team.
42449         * po/es.po: Likewise.
42451 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42453         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42454         the three constants needed as parameters.  Drop the others.
42455         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42456         __m128i_strloadu_tolower.
42457         Create and initialize variable zero and use it in all the places
42458         where _mm_setzero_si128 was used.
42460         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42461         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42462         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42463         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42464         anymore.
42465         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42466         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42467         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42468         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42469         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42470         __mpranred, __mptan.
42471         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42472         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42473         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42474         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42475         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42476         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42477         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42478         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42479         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42481 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42483         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42484         redefine if SHARED.
42485         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42487         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42488         wide char related routines to wcsmbs subdir.
42490 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42492         [BZ #13344]
42493         * misc/sys/cdefs.h (__THROWNL): Define.
42494         * posix/unistd.h: Use __THREADNL instead of __THREAD
42495         for memory synchronization functions.
42497 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42499         [BZ #13349]
42500         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42501         doesn't exist.
42502         * manual/stdio.texi (Obstack Streams): Node removed.
42504 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42506         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42507         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42508         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42510         * math/math_private.h (math_force_eval): Allow non-addressable
42511         arguments.
42512         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42514 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42516         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42517         file is not needed.
42519         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42520         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42521         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42522         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42523         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42524         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42525         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42526         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42527         Add AVX variants.
42528         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42529         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42530         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42531         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42532         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42533         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42534         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42535         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42536         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42537         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42538         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42539         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42540         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42541         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42542         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42543         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42544         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42545         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42546         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42548         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42549         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42551         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42552         place.  Use VEX encoding when compiling for AVX.
42554 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42556         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42557         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42559         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42561 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42563         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42564         useless if() expression.
42565         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42566         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42567         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42568         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42569         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42570         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42571         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42572         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42573         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42574         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42575         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42576         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42577         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42578         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42579         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42580         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42581         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42582         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42583         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42585         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42587 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42589         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42590         condition.
42591         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42593 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42595         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42596         .text section.  Avoid duplicate constants.
42597         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42598         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42599         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42601         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42604         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42605         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42606         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42607         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42608         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42609         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42610         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42611         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42612         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42613         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42614         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42615         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42616         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42617         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42618         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42619         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42620         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42621         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42622         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42623         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42624         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42625         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42626         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42627         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42628         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42629         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42630         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42631         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42632         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42633         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42634         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42635         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42636         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42637         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42638         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42639         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42640         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42641         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42643 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42645         * sysdeps/x86_64/dla.h: Move to ...
42646         * sysdeps/x86_64/fpu/dla.h: ...here.
42647         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42648         situations.  Use __builtin_fma only for gcc 4.6 and up.
42650         * config.make.in: Add have-mfma4 entry.
42651         * configure.in: Substitute libc_cv_cc_fma4.
42652         * math/Makefile (dbl-only-routines): Add sincostab.
42653         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42654         Use __sincostab not sincos.
42655         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42656         name is a macro.
42657         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42658         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42659         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42660         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42661         using __copysign.
42662         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42663         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42664         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42665         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42666         and __inv.
42667         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42668         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42669         __copysign.
42670         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42671         define aliases when function name is a macro.
42672         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42673         sysdeps/ieee754/dbl-64/sincos.tbl.
42674         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42675         fma4-enabled routines.
42676         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42677         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42678         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42679         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42680         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42681         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42682         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42683         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42684         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42685         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42686         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42687         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42688         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42689         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42690         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42691         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42692         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42693         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42694         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42695         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42696         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42697         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42698         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42699         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42700         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42701         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42702         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42703         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42704         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42705         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42707         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42708         rename.
42709         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42710         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42712         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42713         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42714         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42715         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42716         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42718 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42720         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42722 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42724         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42726         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42727         prediction.
42728         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42730         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42731         Remove unused variable magic_bits.
42732         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42734         * string/strnlen.c: Define and use STRNLEN macro.
42735         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42736         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42737         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42738         * wcsmbs/wcslen.c: Define and use WCSLEN.
42739         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42740         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42741         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42742         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42743         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42744         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42745         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42747 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42750         strnlen-sse2-no-bsf.
42751         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42752         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42753         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42754         Add strnlen support.
42755         (USE_AS_STRNLEN): New macro.
42756         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42757         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42758         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42759         * sysdeps/x86_64/wcslen.S: New file.
42761 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42763         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42764         XMM-moves are used for copying on small sizes.
42766 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42768         * wcsmbs/Makefile (strop-tests): Add wcschr.
42769         * wcsmbs/test-wcschr.c: New file.
42770         * string/test-strchr.c: Update.
42771         Add wcschr support.
42772         (WIDE): New macro.
42774 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42776         * wcsmbs/Makefile (strop-tests): Add wcslen.
42777         * wcsmbs/test-wcslen.c: New file.
42778         * string/test-strlen.c: Update.
42779         Add wcslen support.
42780         (WIDE): New macro.
42782 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42784         * po/it.po: Update from translation team.
42786 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42788         * sysdeps/x86_64/wcscmp.S: Update.
42789         Fix wrong comparison semantics.
42790         wcscmp shall use signed comparison not unsigned.
42791         Don't use substraction to avoid overflow bug.
42792         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42793         * wcsmbc/wcscmp.c: Likewise.
42794         * string/test-strcmp.c: Likewise.
42795         Add new tests to check cases with negative values.
42797 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42799         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42800         * sysdeps/x86_64/dla.h: ...here.  New file.
42801         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42802         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42803         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42804         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42805         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42806         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42807         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42808         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42809         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42811 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42813         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42814         __ynl_finite aliases.
42816 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42820         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42821         define DLA_FMA.
42822         [DLA_FMA] (EMULV): Use DLA_FMA.
42823         [DLA_FMA] (MUL12): Use EMULV.
42824         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42825         that are not needed.
42826         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42829         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42830         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42831         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42832         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42834 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42836         * math/s_nan.c: Undef __nan.
42837         * math/s_nanf.c: Undef __nanf.
42838         * math/s_nanl.c: Undef __nanl.
42839         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42840         "math_private.h".
42842 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42844         * math/s_catan.c: Add branch predictions.
42845         * math/s_catanf.c: Likewise.
42846         * math/s_catanh.c: Likewise.
42847         * math/s_catanhf.c: Likewise.
42848         * math/s_catanhl.c: Likewise.
42849         * math/s_catanl.c: Likewise.
42850         * math/s_cexp.c: Likewise.
42851         * math/s_cexpf.c: Likewise.
42852         * math/s_cexpl.c: Likewise.
42853         * math/s_clog.c: Likewise.
42854         * math/s_clog10.c: Likewise.
42855         * math/s_clog10f.c: Likewise.
42856         * math/s_clog10l.c: Likewise.
42857         * math/s_clogf.c: Likewise.
42858         * math/s_clogl.c: Likewise.
42859         * math/s_csqrt.c: Likewise.
42860         * math/s_csqrtf.c: Likewise.
42861         * math/s_csqrtl.c: Likewise.
42862         * math/s_ctanf.c: Likewise.
42863         * math/s_ctanh.c: Likewise.
42864         * math/s_ctanhf.c: Likewise.
42865         * math/s_ctanhl.c: Likewise.
42866         * math/s_ctanl.c: Likewise.
42868         * math/math_private.h: Define __nan, __nanf, __nanl.
42869         * math/s_cacosh.c: Include <math_private.h>.
42870         * math/s_cacoshl.c: Likewise.
42871         * math/s_casinh.c: Likewise.
42872         * math/s_casinhf.c: Likewise.
42873         * math/s_casinhl.c: Likewise.
42874         * math/s_ccos.c: Rely entire on ccosh.
42875         * math/s_ccosf.c: Rely entire on ccoshf.
42876         * math/s_ccosl.c: Rely entirely on ccoshl.
42877         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42878         Remove tests for FE_INVALID.
42879         * math/s_ccoshf.c: Likewise.
42880         * math/s_ccoshl.c: Likewise.
42881         * math/s_csin.c: Likewise.
42882         * math/s_csinf.c: Likewise.
42883         * math/s_csinh.c Likewise.
42884         * math/s_csinhf.c: Likewise.
42885         * math/s_csinhl.c: Likewise.
42886         * math/s_csinl.c: Likewise.
42887         * math/s_ctan.c: Likewise.
42888         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42889         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42890         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42892 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42895         compilation problems.
42897         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42898         __builtin_expect.
42900 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42902         * sysdeps/i386/configure.in: Test for -mfma4 option.
42903         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42904         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42905         COMMON_CPUID_INDEX_80000001.
42906         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42907         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42908         use it if FMA3 is not supported.
42909         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42911         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42912         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42914 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42916         [BZ #12892]
42917         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42918         it would create a cycle with a link time dependency.
42920 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42922         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42923         instruction.
42924         * string/Makefile (strop-tests): Add rawmemchr.
42925         * string/test-rawmemchr.c: New file.
42927         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42928         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42929         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42930         when compiling str{,n}casecmp and when AVX is available.  Hook up
42931         new optimized code in initializers.
42933 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42935         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42936         __feraiseexcept instead of feraiseexcept.
42938 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42940         * math/math_private.h: Define defaults for libc_fetestexcept and
42941         libc_feupdateenv.
42942         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42943         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42944         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42945         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42946         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42947         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42948         libc_fetestexcept and libc_feupdateenv.
42950         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42951         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42952         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42953         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42954         libc_feholdexcept_setround.
42956         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42957         Add s_nearbyint-c and s_nearbyintf-c.
42958         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42959         nearbyintf inlines.
42960         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42961         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42962         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42963         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42965         * math/math_private.h: Define defaults for libc_fegetround,
42966         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42967         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42968         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42969         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42970         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42971         standard functions.
42972         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42973         Remove comments and hacks for old compiler versions.
42974         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42975         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42976         libc_feholdexceptl.
42978 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42980         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42981         (__feraiseexcept_renamed): Add __NTH.
42982         (feraiseexcept): Add __NTH.  Rename local variables to fix
42983         namespace violations.
42985 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42987         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42989         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42991         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42992         recently added interfaces.
42993         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42995         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42996         about macro parameter expansion.
42998         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42999         __NO_MATH_INLINES is defined.  Cleanups.
43001         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43002         and __floorf is target has SSE4.1.
43003         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43004         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43005         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43006         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43008         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43009         name.
43010         (floorf): Likewise.
43012         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43014 2011-10-17  Andreas Schwab  <schwab@redhat.com>
43016         * misc/sys/cdefs.h: Fix last change.
43018         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43019         database lookup.
43021 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
43023         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43025         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43026         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43027         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43028         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43029         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43030         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43031         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43032         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43033         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43034         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43035         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43036         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43037         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43038         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43039         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43040         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43041         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43042         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43043         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43044         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43045         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43046         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43048         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43049         ceil, ceilf, floor, floorf.
43051         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43052         Perform IRELATIVE relocations last.
43054         * elf/do-rel.h: Add another parameter nrelative, replacing the
43055         local variable with the same name.  Change name of the function
43056         to end in Rel or Rela (uppercase).
43057         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43058         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43059         elf_dynamic_do_##reloc function.
43061 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43063         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43064         is sufficient, at least on modern CPUs.
43066         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43068         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43069         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43071         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43072         __expl_finite.
43073         * math/bits/math-finite.h: Add entries for exp.
43074         * math/e_expl.c: Add __*_finite alias.
43075         * sysdeps/i386/fpu/e_exp.S: Likewise.
43076         * sysdeps/i386/fpu/e_expf.S: Likewise.
43077         * sysdeps/i386/fpu/e_expl.c: Likewise.
43078         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43079         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43080         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43081         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43082         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43083         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43084         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43086         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43087         is sufficient, at least on modern CPUs.
43089         * ctype/ctype-info.c (__ctype_init): Define.
43090         * include/ctype.h (__ctype_init): Declare.
43091         (__ctype_b_loc): The variable is always initialized.
43092         (__ctype_toupper_loc): Likewise.
43093         (__ctype_tolower_loc): Likewise.
43094         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43095         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43097 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43099         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43101         * configure.in: Also look in $cxxmachine/include for C++ system
43102         headers.
43104 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43106         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43107         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43108         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43109         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43110         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43111         (USE_AS_WMEMCMP): New macro.
43112         Fixing indents.
43113         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43114         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43115         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43116         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43117         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43118         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43119         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43120         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43121         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43122         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43123         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43124         (USE_AS_WMEMCMP): New macro.
43125         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43126         * sysdeps/string/test-memcmp.c: Update.
43127         Fix simple_wmemcmp.
43128         Add new tests.
43129         * wcsmbs/wmemcmp.c: Update.
43130         (WMEMCMP): New macro.
43131         Fix overflow bug.
43133 2011-10-12  Andreas Jaeger  <aj@suse.de>
43135         [BZ #13268]
43136         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43138 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43140         * libio/iofwide.c (do_length): Avoid warning.
43142         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43144 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43146         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43148         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43149         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43150         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43151         * sysdeps/i386/i686/fpu/e_log.S: New file.
43152         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43153         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43155         * ctype/ctype.h: Add support for inlined isXXX functions when
43156         compiling C++ code.
43158 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43160         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43162         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43164 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43166         [BZ #13291]
43167         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43169 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43171         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43172         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43173         feraiseexcept.
43175         * sysdeps/x86_64/memrchr.S: Check for zero size.
43177         * string/stratcliff.c: Add memrchr tests.
43179 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43181         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43182         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43183         rawmemchr-sse2 rawmemchr-sse2-bsf.
43184         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43185         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43186         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43187         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43188         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43189         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43190         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43191         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43192         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43193         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43194         * string/memrchr.c (MEMRCHR): New macro.
43196 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43198         Add integration with gcc's -ffinite-math-only and optimize wrapper
43199         functions in libm.
43200         * Versions.def: Define GLIBC_2.15 version for libm.
43201         * math/Makefile (headers): Add bits/math-finite.h.
43202         * math/bits/math-finite.h: New file.
43203         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43204         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43205         * math/e_acoshl.c: Add __*_finite alias.
43206         * math/e_acosl.c: Likewise.
43207         * math/e_asinl.c: Likewise.
43208         * math/e_atan2l.c: Likewise.
43209         * math/e_atanhl.c: Likewise.
43210         * math/e_coshl.c: Likewise.
43211         * math/e_exp10.c: Likewise.
43212         * math/e_exp10f.c: Likewise.
43213         * math/e_exp10l.c: Likewise.
43214         * math/e_exp2l.c: Likewise.
43215         * math/e_fmodl.c: Likewise.
43216         * math/e_gammal_r.c: Likewise.
43217         * math/e_hypotl.c: Likewise.
43218         * math/e_j0l.c: Likewise.
43219         * math/e_j1l.c: Likewise.
43220         * math/e_jnl.c: Likewise.
43221         * math/e_lgammal_r.c: Likewise.
43222         * math/e_log10l.c: Likewise.
43223         * math/e_log2l.c: Likewise.
43224         * math/e_logl.c: Likewise.
43225         * math/e_powl.c: Likewise.
43226         * math/e_sinhl.c: Likewise.
43227         * math/e_sqrtl.c: Likewise.
43228         * math/e_scalb.c: Completely rewritten and optimized.
43229         * math/e_scalbf.c: Likewise.
43230         * math/e_scalbl.c: Likewise.
43231         * math/w_acos.c: Likewise.
43232         * math/w_acosf.c: Likewise.
43233         * math/w_acosl.c: Likewise.
43234         * math/w_acosh.c: Likewise.
43235         * math/w_acoshf.c: Likewise.
43236         * math/w_acoshl.c: Likewise.
43237         * math/w_asin.c: Likewise.
43238         * math/w_asinf.c: Likewise.
43239         * math/w_asinl.c: Likewise.
43240         * math/w_atan2.c: Likewise.
43241         * math/w_atan2f.c: Likewise.
43242         * math/w_atan2l.c: Likewise.
43243         * math/w_atanh.c: Likewise.
43244         * math/w_atanhf.c: Likewise.
43245         * math/w_atanhl.c: Likewise.
43246         * math/w_exp10.c: Likewise.
43247         * math/w_exp10f.c: Likewise.
43248         * math/w_exp10l.c: Likewise.
43249         * math/w_fmod.c: Likewise.
43250         * math/w_fmodf.c: Likewise.
43251         * math/w_fmodl.c: Likewise.
43252         * math/w_j0.c: Likewise.
43253         * math/w_j0f.c: Likewise.
43254         * math/w_j0l.c: Likewise.
43255         * math/w_j1.c: Likewise.
43256         * math/w_j1f.c: Likewise.
43257         * math/w_j1l.c: Likewise.
43258         * math/w_jn.c: Likewise.
43259         * math/w_jnf.c: Likewise.
43260         * math/w_log.c: Likewise.
43261         * math/w_logf.c: Likewise.
43262         * math/w_logl.c: Likewise.
43263         * math/w_log10.c: Likewise.
43264         * math/w_log10f.c: Likewise.
43265         * math/w_log10l.c: Likewise.
43266         * math/w_log2.c: Likewise.
43267         * math/w_log2f.c: Likewise.
43268         * math/w_log2l.c: Likewise.
43269         * math/w_pow.c: Likewise.
43270         * math/w_powf.c: Likewise.
43271         * math/w_powl.c: Likewise.
43272         * math/w_remainder.c: Likewise.
43273         * math/w_remainderf.c: Likewise.
43274         * math/w_remainderl.c: Likewise.
43275         * math/w_scalb.c: Likewise.
43276         * math/w_scalbf.c: Likewise.
43277         * math/w_scalbl.c: Likewise.
43278         * math/w_sqrt.c: Likewise.
43279         * math/w_sqrtf.c: Likewise.
43280         * math/w_sqrtl.c: Likewise.
43281         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43282         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43283         used.
43284         * math/math_private.h: Declare __kernel_standard_f.
43285         * math/w_cosh.c: Remove cruft and optimize a bit.
43286         * math/w_coshf.c: Likewise.
43287         * math/w_coshl.c: Likewise.
43288         * math/w_exp2.c: Likewise.
43289         * math/w_exp2f.c: Likewise.
43290         * math/w_exp2l.c: Likewise.
43291         * math/w_hypot.c: Likewise.
43292         * math/w_hypotf.c: Likewise.
43293         * math/w_hypotl.c: Likewise.
43294         * math/w_lgamma.c: Likewise.
43295         * math/w_lgamma_r.c: Likewise.
43296         * math/w_lgammaf.c: Likewise.
43297         * math/w_lgammaf_r.c: Likewise.
43298         * math/w_lgammal.c: Likewise.
43299         * math/w_lgammal_r.c: Likewise.
43300         * math/w_sinh.c: Likewise.
43301         * math/w_sinhf.c: Likewise.
43302         * math/w_sinhl.c: Likewise.
43303         * math/w_tgamma.c: Likewise.
43304         * math/w_tgammaf.c: Likewise.
43305         * math/w_tgammal.c: Likewise.
43306         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43307         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43308         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43309         Minor optimizations.  Pretty printing.  Remove cruft.
43310         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43311         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43312         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43313         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43314         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43315         * sysdeps/i386/fpu/e_asin.S: Likewise.
43316         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43317         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43318         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43319         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43320         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43321         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43322         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43323         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43324         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43325         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43326         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43327         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43328         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43329         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43330         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43331         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43332         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43333         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43334         * sysdeps/i386/fpu/e_log.S: Likewise.
43335         * sysdeps/i386/fpu/e_log10.S: Likewise.
43336         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43337         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43338         * sysdeps/i386/fpu/e_log2.S: Likewise.
43339         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43340         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43341         * sysdeps/i386/fpu/e_logf.S: Likewise.
43342         * sysdeps/i386/fpu/e_logl.S: Likewise.
43343         * sysdeps/i386/fpu/e_pow.S: Likewise.
43344         * sysdeps/i386/fpu/e_powf.S: Likewise.
43345         * sysdeps/i386/fpu/e_powl.S: Likewise.
43346         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43347         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43348         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43349         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43350         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43351         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43352         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43353         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43354         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43355         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43356         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43357         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43358         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43359         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43360         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43361         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43362         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43363         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43364         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43365         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43366         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43367         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43368         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43369         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43370         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43371         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43372         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43373         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43374         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43375         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43376         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43377         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43378         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43379         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43380         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43381         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43382         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43383         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43384         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43385         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43386         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43387         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43388         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43389         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43390         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43391         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43392         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43393         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43394         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43395         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43396         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43397         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43398         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43399         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43400         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43401         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43402         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43403         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43404         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43405         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43406         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43407         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43408         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43409         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43410         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43411         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43412         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43413         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43414         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43415         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43416         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43417         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43418         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43419         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43420         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43421         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43422         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43423         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43424         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43425         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43426         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43427         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43428         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43429         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43430         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43431         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43432         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43433         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43434         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43435         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43436         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43437         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43438         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43439         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43440         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43441         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43442         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43443         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43444         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43445         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43446         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43447         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43448         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43449         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43450         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43451         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43452         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43453         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43454         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43455         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43456         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43457         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43458         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43459         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43460         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43461         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43462         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43463         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43464         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43465         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43466         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43467         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43468         (__isnanf): Likewise.
43469         (__isinf_ns): Likewise.
43470         (__isinf_nsf): Likewise.
43471         (__finite): Likewise.
43472         (__finitef): Likewise.
43473         (__ieee754_sqrt): Define as macro.
43474         (__ieee754_sqrtf): Define as macro.
43475         (__ieee754_sqrtl): Define as macro.
43476         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43477         inlined copy.
43478         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43479         __FINITE_MATH_ONLY__ consistent.
43480         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43482 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43484         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43485         of rawmemchr.
43487         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43489 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43491         * po/ja.po: Update from translation team.
43493 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43495         * locale/programs/locarchive.c (prepare_address_space): New function.
43496         (create_archive, enlarge_archive, open_archive): Use it.
43498         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43499         inside [SHARED], where it is used.
43501         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43503         * nss/getent.c (netgroup_keys): Remove unused variable.
43504         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43506 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43508         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43509         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43510         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43511         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43512         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43513         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43514         * math/Makefile (libm-calls): Add s_isinf_ns.
43515         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43516         * math/multc3.c: Likewise.
43517         * math/s_casin.c: Likewise.
43518         * math/s_casinf.c: Likewise.
43519         * math/s_casinl.c: Likewise.
43520         * math/s_ccos.c: Likewise.
43521         * math/s_ccosf.c: Likewise.
43522         * math/s_ccosl.c: Likewise.
43523         * math/s_ctan.c: Likewise.
43524         * math/s_ctanf.c: Likewise.
43525         * math/s_ctanh.c: Likewise.
43526         * math/s_ctanhf.c: Likewise.
43527         * math/s_ctanhl.c: Likewise.
43528         * math/s_ctanl.c: Likewise.
43529         * math/w_fmod.c: Likewise.
43530         * math/w_fmodf.c: Likewise.
43531         * math/w_fmodl.c: Likewise.
43532         * math/w_remainder.c: Likewise.
43533         * math/w_remainderf.c: Likewise.
43534         * math/w_remainderl.c: Likewise.
43535         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43536         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43537         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43538         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43539         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43540         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43541         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43542         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43544         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43545         of the number.
43546         * stdio-common/printf_fphex.c: Likewise.
43547         * stdio-common/printf_size.c: Likewise.
43549         * math/e_exp10.c: Include math_private.h using <...> not "...".
43550         * math/e_exp10f.c: Likewise.
43551         * math/e_exp10l.c: Likewise.
43552         * math/e_exp2l.c: Likewise.
43553         * math/e_j0l.c: Likewise.
43554         * math/e_j1l.c: Likewise.
43555         * math/e_jnl.c: Likewise.
43556         * math/e_lgammal_r.c: Likewise.
43557         * math/e_rem_pio2l.c: Likewise.
43558         * math/e_scalb.c: Likewise.
43559         * math/e_scalbf.c: Likewise.
43560         * math/e_scalbl.c: Likewise.
43561         * math/k_cosl.c: Likewise.
43562         * math/k_sinl.c: Likewise.
43563         * math/k_tanl.c: Likewise.
43564         * math/s_cacoshf.c: Likewise.
43565         * math/s_catan.c: Likewise.
43566         * math/s_catanf.c: Likewise.
43567         * math/s_catanh.c: Likewise.
43568         * math/s_catanhf.c: Likewise.
43569         * math/s_catanhl.c: Likewise.
43570         * math/s_catanl.c: Likewise.
43571         * math/s_ccosh.c: Likewise.
43572         * math/s_ccoshf.c: Likewise.
43573         * math/s_ccoshl.c: Likewise.
43574         * math/s_cexp.c: Likewise.
43575         * math/s_cexpf.c: Likewise.
43576         * math/s_cexpl.c: Likewise.
43577         * math/s_clog.c: Likewise.
43578         * math/s_clog10.c: Likewise.
43579         * math/s_clog10f.c: Likewise.
43580         * math/s_clog10l.c: Likewise.
43581         * math/s_clogf.c: Likewise.
43582         * math/s_clogl.c: Likewise.
43583         * math/s_csin.c: Likewise.
43584         * math/s_csinf.c: Likewise.
43585         * math/s_csinh.c: Likewise.
43586         * math/s_csinhf.c: Likewise.
43587         * math/s_csinhl.c: Likewise.
43588         * math/s_csinl.c: Likewise.
43589         * math/s_csqrt.c: Likewise.
43590         * math/s_csqrtf.c: Likewise.
43591         * math/s_csqrtl.c: Likewise.
43592         * math/s_ctan.c: Likewise.
43593         * math/s_ctanf.c: Likewise.
43594         * math/s_ctanh.c: Likewise.
43595         * math/s_ctanhf.c: Likewise.
43596         * math/s_ctanhl.c: Likewise.
43597         * math/s_ctanl.c: Likewise.
43598         * math/s_ldexp.c: Likewise.
43599         * math/s_ldexpf.c: Likewise.
43600         * math/s_ldexpl.c: Likewise.
43601         * math/s_significand.c: Likewise.
43602         * math/s_significandf.c: Likewise.
43603         * math/s_significandl.c: Likewise.
43604         * math/w_acos.c: Likewise.
43605         * math/w_acosf.c: Likewise.
43606         * math/w_acosh.c: Likewise.
43607         * math/w_acoshf.c: Likewise.
43608         * math/w_acoshl.c: Likewise.
43609         * math/w_acosl.c: Likewise.
43610         * math/w_asin.c: Likewise.
43611         * math/w_asinf.c: Likewise.
43612         * math/w_asinl.c: Likewise.
43613         * math/w_atan2.c: Likewise.
43614         * math/w_atan2f.c: Likewise.
43615         * math/w_atan2l.c: Likewise.
43616         * math/w_atanh.c: Likewise.
43617         * math/w_atanhf.c: Likewise.
43618         * math/w_atanhl.c: Likewise.
43619         * math/w_cosh.c: Likewise.
43620         * math/w_coshf.c: Likewise.
43621         * math/w_coshl.c: Likewise.
43622         * math/w_dremf.c: Likewise.
43623         * math/w_exp10.c: Likewise.
43624         * math/w_exp10f.c: Likewise.
43625         * math/w_exp10l.c: Likewise.
43626         * math/w_exp2.c: Likewise.
43627         * math/w_exp2f.c: Likewise.
43628         * math/w_fmod.c: Likewise.
43629         * math/w_fmodf.c: Likewise.
43630         * math/w_fmodl.c: Likewise.
43631         * math/w_hypot.c: Likewise.
43632         * math/w_hypotf.c: Likewise.
43633         * math/w_hypotl.c: Likewise.
43634         * math/w_j0.c: Likewise.
43635         * math/w_j0f.c: Likewise.
43636         * math/w_j0l.c: Likewise.
43637         * math/w_j1.c: Likewise.
43638         * math/w_j1f.c: Likewise.
43639         * math/w_j1l.c: Likewise.
43640         * math/w_jn.c: Likewise.
43641         * math/w_jnf.c: Likewise.
43642         * math/w_jnl.c: Likewise.
43643         * math/w_lgamma.c: Likewise.
43644         * math/w_lgamma_r.c: Likewise.
43645         * math/w_lgammaf.c: Likewise.
43646         * math/w_lgammaf_r.c: Likewise.
43647         * math/w_lgammal.c: Likewise.
43648         * math/w_lgammal_r.c: Likewise.
43649         * math/w_log.c: Likewise.
43650         * math/w_log10.c: Likewise.
43651         * math/w_log10f.c: Likewise.
43652         * math/w_log10l.c: Likewise.
43653         * math/w_log2.c: Likewise.
43654         * math/w_log2f.c: Likewise.
43655         * math/w_log2l.c: Likewise.
43656         * math/w_logf.c: Likewise.
43657         * math/w_logl.c: Likewise.
43658         * math/w_pow.c: Likewise.
43659         * math/w_powf.c: Likewise.
43660         * math/w_powl.c: Likewise.
43661         * math/w_remainder.c: Likewise.
43662         * math/w_remainderf.c: Likewise.
43663         * math/w_remainderl.c: Likewise.
43664         * math/w_scalb.c: Likewise.
43665         * math/w_scalbf.c: Likewise.
43666         * math/w_scalbl.c: Likewise.
43667         * math/w_sinh.c: Likewise.
43668         * math/w_sinhf.c: Likewise.
43669         * math/w_sinhl.c: Likewise.
43670         * math/w_sqrt.c: Likewise.
43671         * math/w_sqrtf.c: Likewise.
43672         * math/w_sqrtl.c: Likewise.
43673         * math/w_tgamma.c: Likewise.
43674         * math/w_tgammaf.c: Likewise.
43675         * math/w_tgammal.c: Likewise.
43677         * po/ja.po: Update from translation team.
43679 2011-09-29  Andreas Jaeger  <aj@suse.de>
43681         [BZ #13179]
43682         * sunrpc/netname.c (netname2host): Fix logic.
43684         [BZ #6779]
43685         [BZ #6783]
43686         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43687         correctly.
43688         * math/w_remainder.c (__remainder): Likewise.
43689         * math/w_remainderf.c (__remainderf): Likewise.
43690         * math/libm-test.inc (remainder_test): Add test cases.
43692 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43694         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43695         sdiv_qrnnd.
43697 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43699         * string/test-memcmp.c: Avoid unncessary #defines.
43700         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43702 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43704         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43705         Use new sse2 version for core i3 - i7 as it's faster
43706         than sse42 version.
43707         (bit_Prefer_PMINUB_for_stringop): New.
43708         * sysdeps/x86_64/rawmemchr.S: Update.
43709         Replace with faster SSE2 version.
43710         * sysdeps/x86_64/memrchr.S: New file.
43711         * sysdeps/x86_64/memchr.S: Update.
43712         Replace with faster SSE2 version.
43714 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43716         * elf/dl-load.c (lose): Add cast to avoid warning.
43718 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43720         * po/ca.po: Update from translation team.
43722         * inet/getnetgrent_r.c: Hook up nscd.
43723         * nscd/Makefile (routines): Add nscd_netgroup.
43724         (nscd-modules): Add netgroupcache.
43725         (CFLAGS-netgroupcache.c): Define.
43726         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43727         (cache_search): Add const to second parameter.
43728         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43729         INNETGR.
43730         (dbs): Add netgrdb entry.
43731         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43732         (verify_persistent_db): Handle netgrdb.
43733         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43734         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43735         GETFDNETGR.
43736         (netgroup_response_header): Define.
43737         (innetgroup_response_header): Define.
43738         (datahead): Add netgroup_response_header and innetgroup_response_header
43739         elements.
43740         * nscd/nscd.conf: Add entries for netgroup cache.
43741         * nscd/nscd.h (dbtype): Add netgrdb.
43742         (_PATH_NSCD_NETGROUP_DB): Define.
43743         (netgroup_iov_disabled): Declare.
43744         (xmalloc, xcalloc, xrealloc): Move declarations here.
43745         (cache_search): Adjust prototype.
43746         Add netgroup-related prototypes.
43747         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43748         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43749         (__nscd_innetgr): Declare.
43750         * nscd/selinux.c (perms): Use access_vector_t as element type and
43751         add netgroup-related initializers.
43752         * nscd/netgroupcache.c: New file.
43753         * nscd/nscd_netgroup.c: New file.
43754         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43755         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43756         For four parameters use innetgr.
43757         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43758         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43759         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43760         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43762         * nscd/connections.c (register_traced_file): Don't register file
43763         for disabled databases.
43765 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43767         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43769         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43770         from tree and freeing node.
43772 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43774         * nss/nsswitch.c (__nss_database_lookup): Handle
43775         nss_parse_service_list out of memory case.
43777 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43779         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43780         out of memory case.
43782 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43784         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43785         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43786         pass it down.
43787         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43788         elf_machine_rela, elf_machine_lazy_rel.
43789         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43790         (ELF_DYNAMIC_DO_REL): Likewise.
43791         (ELF_DYNAMIC_DO_RELA): Likewise.
43792         (ELF_DYNAMIC_RELOCATE): Likewise.
43793         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43794         to ELF_DYNAMIC_DO_REL.
43795         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43796         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43797         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43798         elf_machine_rela.
43799         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43800         skip_ifunc, don't call ifunc function if non-zero.
43801         (elf_machine_rela): Likewise.
43802         (elf_machine_lazy_rel): Likewise.
43803         (elf_machine_lazy_rela): Likewise.
43804         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43805         (elf_machine_lazy_rel): Likewise.
43806         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43807         Likewise.
43808         (elf_machine_lazy_rel): Likewise.
43809         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43810         Likewise.
43811         (elf_machine_lazy_rel): Likewise.
43812         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43813         (elf_machine_lazy_rel): Likewise.
43814         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43815         (elf_machine_lazy_rel): Likewise.
43816         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43817         (elf_machine_lazy_rel): Likewise.
43818         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43819         (elf_machine_lazy_rel): Likewise.
43820         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43821         (elf_machine_lazy_rel): Likewise.
43822         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43823         (elf_machine_lazy_rel): Likewise.
43825 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43827         * nss/nss_files/files-init.c (_nss_files_init): Use static
43828         initialization for all the *_traced_file variables.
43830 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43832         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43834 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43836         [BZ #13226]
43837         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43839 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43841         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43842         Reread the line before reparsing it.
43844 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43846         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43848 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43849             Maxim Kuvyrkov  <maxim@codesourcery.com>
43850             Joseph Myers  <joseph@codesourcery.com>
43852         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43853         if needed for __stack_chk_guard.
43855 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43857         * sysdeps/posix/spawni.c (script_execute): Always define it.
43858         It will be optimized away if unused.
43859         (maybe_script_execute): New function.
43860         (__spawni): Call it.
43862         * Makerules: Don't include tls.make.
43863         (config-tls): Always set to thread.
43864         * tls.make.c: File removed.
43866 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43868         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43869         * config.make.in (CPPFLAGS-config): New substituted variable.
43871 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43873         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43875         [BZ #13192]
43876         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43877         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43879 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43881         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43882         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43883         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43884         (CALL_FAIL): Likewise.
43885         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43886         (CALL_FAIL): Macro removed.
43887         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43889 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43891         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43892         for __FINITE_MATH_ONLY__ == 1.
43894 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43896         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43897         __ieee754_sqrt instead of sqrt.
43898         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43899         __ieee754_sqrtf instead of sqrtf.
43900         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43901         __floorf instead of floorf.
43902         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43903         __floorf, __truncf instead of floorf, truncf.
43905 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43907         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43909         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43910         __extern_always_inline.
43911         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43912         32-bit.
43914 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43916         * elf/rtld.c (dl_main): Also relocate in dependency order when
43917         doing symbol dependency testing.
43919 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43921         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43922         Always define `refsym'.
43924 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43926         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43927         (__FD_ELT): Renamed from __FDELT.
43928         * misc/bits/select2.h (__FD_ELT): Likewise.
43929         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43930         __FD_MASK instead of __FDELT, __FDMASK.
43931         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43932         Likewise.
43933         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43934         Likewise.
43936         * elf/Makefile (gen-ldd): Fix pattern.
43938         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43939         (init_tls): Likewise.
43941 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43943         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43945 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43947         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43948         `struct cmsghdr *' instead of `void *'.
43949         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43950         Likewise.
43952 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43954         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43955         if non-absolute.
43956         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43957         ldd_rewrite_script.
43959 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43961         * configure.in: Remove --with-tls option.
43962         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43963         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43964         out in case it is missing.
43965         * sysdeps/ia64/elf/configure.in: Likewise.
43966         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43967         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43968         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43969         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43970         * sysdeps/sh/elf/configure.in: Likewise.
43971         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43972         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43973         * sysdeps/x86_64/elf/configure.in: Likewise.
43974         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43975         * sysdeps/mach/hurd/tls.h: Likewise.
43977         [BZ #13067]
43978         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43980         [BZ #13090]
43981         * configure.in: Fix use of AC_INIT.
43983         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43985 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43987         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43988         __set_errno.
43989         * malloc/hooks.c: Likewise.
43991         [BZ #11929]
43992         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43993         variables statically.
43994         (narenas): Initialize.
43995         (list_lock): Initialize.
43996         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43997         initializtion of main_arena and list_lock.  Small cleanups.
43998         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43999         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
44000         Add initializers to main_arena and mp_.
44001         (malloc_state): Remove pagesize member.  Change all users to use
44002         GLRO(dl_pagesize).
44004         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44005         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
44006         is always initialized.
44008         * malloc/malloc.c: Removed unused configurations and dead code.
44009         * malloc/arena.c: Likewise.
44010         * malloc/hooks.c: Likewise.
44011         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44013         * include/tls.h: Removed.  USE___THREAD must always be defined.
44014         * bits/libc-tsd.h: Don't handle !USE___THREAD.
44015         * elf/dl-libc.c: Likewise.
44016         * elf/dl-tsd.c: Likewise.
44017         * include/errno.h: Likewise.
44018         * include/netdb.h: Likewise.
44019         * include/resolv.h: Likewise.
44020         * inet/herrno-loc.c: Likewise.
44021         * inet/herrno.c: Likewise.
44022         * malloc/arena.c: Likewise.
44023         * malloc/hooks.c: Likewise.
44024         * malloc/malloc.c: Likewise.
44025         * resolv/res-state.c: Likewise.
44026         * resolv/res_libc.c: Likewise.
44027         * sysdeps/i386/dl-machine.h: Likewise.
44028         * sysdeps/ia64/dl-machine.h: Likewise.
44029         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44030         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44031         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44032         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44033         * sysdeps/sh/dl-machine.h: Likewise.
44034         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44035         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44036         * sysdeps/unix/i386/sysdep.S: Likewise.
44037         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44038         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44039         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44040         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44041         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44042         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44043         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44044         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44045         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44046         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44047         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44048         * sysdeps/x86_64/dl-machine.h: Likewise.
44049         * tls.make.c: Likewise.
44051         * configure.in: Remove --with-__thread option.  Make tests for
44052         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44053         tls_model attribute fail if no support is available.  Remove
44054         USE_IN_LIBIO.
44055         * Makeconfig: Adjust for dropped configure option.  All features are
44056         now mandatory.
44057         * Makerules: Likewise.
44058         * Versions.def: Likewise.
44059         * argp/argp-fmtstream.c: Likewise.
44060         * argp/argp-fmtstream.h: Likewise.
44061         * argp/argp-help.c: Likewise.
44062         * assert/assert.c: Likewise.
44063         * config.h.in: Likewise.
44064         * config.make.in: Likewise.
44065         * configure: Likewise.
44066         * configure.in: Likewise.
44067         * csu/Versions: Likewise.
44068         * csu/init.c: Likewise.
44069         * elf/tst-audit2.c: Likewise.
44070         * elf/tst-tls10.c: Likewise.
44071         * elf/tst-tls10.h: Likewise.
44072         * elf/tst-tls11.c: Likewise.
44073         * elf/tst-tls12.c: Likewise.
44074         * elf/tst-tls14.c: Likewise.
44075         * elf/tst-tlsmod11.c: Likewise.
44076         * elf/tst-tlsmod12.c: Likewise.
44077         * elf/tst-tlsmod13.c: Likewise.
44078         * elf/tst-tlsmod13a.c: Likewise.
44079         * elf/tst-tlsmod14a.c: Likewise.
44080         * elf/tst-tlsmod15b.c: Likewise.
44081         * elf/tst-tlsmod16a.c: Likewise.
44082         * elf/tst-tlsmod16b.c: Likewise.
44083         * elf/tst-tlsmod7.c: Likewise.
44084         * elf/tst-tlsmod8.c: Likewise.
44085         * elf/tst-tlsmod9.c: Likewise.
44086         * gmon/gmon.c: Likewise.
44087         * grp/fgetgrent_r.c: Likewise.
44088         * grp/putgrent.c: Likewise.
44089         * hurd/fopenport.c: Likewise.
44090         * include/libc-symbols.h: Likewise.
44091         * include/tls.h: Likewise.
44092         * intl/gettextP.h: Likewise.
44093         * intl/loadinfo.h: Likewise.
44094         * locale/global-locale.c: Likewise.
44095         * locale/localeinfo.h: Likewise.
44096         * mach/devstream.c: Likewise.
44097         * malloc/arena.c: Likewise.
44098         * malloc/set-freeres.c: Likewise.
44099         * misc/err.c: Likewise.
44100         * misc/getttyent.c: Likewise.
44101         * misc/mntent_r.c: Likewise.
44102         * posix/getopt.c: Likewise.
44103         * posix/wordexp.c: Likewise.
44104         * pwd/fgetpwent_r.c: Likewise.
44105         * resolv/Versions: Likewise.
44106         * resolv/res_hconf.c: Likewise.
44107         * shadow/fgetspent_r.c: Likewise.
44108         * shadow/putspent.c: Likewise.
44109         * stdio-common/printf_fphex.c: Likewise.
44110         * stdio-common/tmpfile.c: Likewise.
44111         * stdlib/abort.c: Likewise.
44112         * stdlib/fmtmsg.c: Likewise.
44113         * sunrpc/auth_unix.c: Likewise.
44114         * sunrpc/clnt_perr.c: Likewise.
44115         * sunrpc/clnt_tcp.c: Likewise.
44116         * sunrpc/clnt_udp.c: Likewise.
44117         * sunrpc/clnt_unix.c: Likewise.
44118         * sunrpc/openchild.c: Likewise.
44119         * sunrpc/svc_simple.c: Likewise.
44120         * sunrpc/svc_tcp.c: Likewise.
44121         * sunrpc/svc_udp.c: Likewise.
44122         * sunrpc/svc_unix.c: Likewise.
44123         * sunrpc/xdr.c: Likewise.
44124         * sunrpc/xdr_array.c: Likewise.
44125         * sunrpc/xdr_rec.c: Likewise.
44126         * sunrpc/xdr_ref.c: Likewise.
44127         * sunrpc/xdr_stdio.c: Likewise.
44129 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44131         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44133 2011-07-03  Andreas Jaeger  <aj@suse.de>
44135         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44136         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44137         regenerate with gen-libm-tests.pl.
44139 2010-05-12  Petr Baudis  <pasky@suse.cz>
44141         [BZ #11589]
44142         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44143         around j0() zero points by switching to j1().
44144         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44145         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44147         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44149 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44151         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44152         instead of 0.
44153         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44154         instead of 0.
44155         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44156         Patch in part by Pavel Roskin <proski@gnu.org>.
44158         [BZ #13138]
44159         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44160         realloc.
44161         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44162         Free memory block if necessary.
44164         [BZ #12847]
44165         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44166         be NULL.  Don't lock in this case.
44168 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44170         * elf/elf.h (ELFOSABI_GNU): New macro.
44171         (ELFOSABI_LINUX): Define to that.
44173 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44175         * string/strncat.c (strncat): Undef the symbol in case it has been
44176         defined in bits/string.h.
44178 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44180         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44182         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44183         link map.
44185 2011-08-17  Andreas Jaeger  <aj@suse.de>
44187         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44189 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44190             Ian Lance Taylor  <iant@google.com>
44192         * math/libm-test.inc (lround_test): New testcase.
44193         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44195 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44197         * Makefile: Remove support for automatic cvs check-ins.
44198         * Makerules: Likewise.
44199         * config.make.in: Likewise.
44200         * configure.in: Likewise.
44201         * intl/Makefile: Likewise.
44202         * locale/Makefile: Likewise.
44203         * po/Makefile: Likewise.
44204         * posix/Makefile: Likewise.
44205         * sysdeps/gnu/Makefile: Likewise.
44206         * sysdeps/mach/hurd/Makefile: Likewise.
44207         * sysdeps/sparc/sparc32/Makefile: Likewise.
44209         [BZ #13118]
44210         * posix/Makefile (bug-regex32-ENV): Define.
44211         Patch by John Stanley <jpsinthemix@verizon.net>.
44213         * misc/Makefile (headers): Add bits/select2.h.
44214         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44215         * misc/bits/select2.h: New file.
44216         * include/bits/select2.h: New file.
44217         * debug/Makefile (routines): Add fdelt_chk.
44218         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44219         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44220         FD_ISSET.
44221         * debug/fdelt_chk.c: New file.
44223         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44224         * wcsmbs/test-wmemcmp.c: Likewise.
44225         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44226         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44228 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44230         * string/Makefile (strop-tests): Add memcmp.
44231         * string/test-wmemcmp.c: New file.
44232         * string/test-memcmp.c: Add wmemcmp support.
44234 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44236         [BZ #13153]
44237         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44238         2011-07-19 change.
44240         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44241         garbage value in a __mach_port_mod_refs call in the cases of the
44242         task-self and thread-self ports.
44244 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44246         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44248 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44250         * elf/dl-load.c (lose): Check for non-null L.
44252 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44254         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44256         * elf/dl-libc.c (dlerror_run): Pass back error code from
44257         dl_catch_error.
44259         [BZ #13123]
44260         * elf/dl-load.c (lose): Free l_origin if it is valid.
44262         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44263         names.
44264         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44265         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44266         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44267         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44268         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44269         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44271 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44273         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44274         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44275         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44276         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44277         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44278         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44279         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44280         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44281         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44282         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44284 2011-08-15  Alan Modra  <amodra@gmail.com>
44286         [BZ #13092]
44287         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44288         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44289         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44290         ppc_mcount to static-only-routines.
44291         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44292         __mcount_internal.
44293         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44294         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44296 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44298         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44299         for finite and infinity parameters.
44301 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44303         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44304         and add nop instructions for throughput optimization.
44305         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44307 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44309         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44310         aligned copy for power7 with vector-scalar instructions.
44311         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44313 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44315         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44316         AVX check.
44318 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44320         [BZ #13144]
44321         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44322         last change.
44324 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44326         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44327         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44328         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44329         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44330         clock_gettime.
44332 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44334         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44335         Forgot to demangle the pointer.
44337         * sysdeps/i386/sysdep.h: Define atom_text_section.
44338         * sysdeps/x86_64/sysdep.h: Likewise.
44339         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44340         section with atom_text_section.
44341         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44342         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44343         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44344         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44345         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44347         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44348         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44349         already be defined.  Change to take two parameters and don't assign
44350         result to variable.  Adjust all users.
44351         Define INTERNAL_GETTIME if not already defined.
44352         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44353         call.
44354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44355         HAVE_CLOCK_GETTIME_VSYSCALL.
44356         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44358         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44359         gettimeofday vsyscall, just use time.
44361 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44363         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44364         <errno.h>.
44366 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44368         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44369         syscall on x86-64.
44370         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44371         syscall.
44372         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44373         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44374         syscall if possible.
44376 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44378         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44379         e_ident.  Don't pass to find_mapsXX.
44380         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44382 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44384         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44385         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44386         * sysdeps/x86_64/multiarch/strchr.S: Update.
44387         Check bit_slow_BSF bit.
44388         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44389         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44390         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44392 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44394         [BZ #13134]
44395         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44396         before glibc 2.15.
44397         (tryshell): Define.
44398         (__spawni): Change last parameter to be flag.  Test
44399         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44400         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44401         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44402         * posix/spawni.c: Likewise.
44403         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44404         * posix/spawnp.c: Likewise.  Change normal version to use
44405         SPAWN_XFLAGS_USE_PATH.
44406         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44407         SPAWN_XFLAGS_TRY_SHELL.
44409         [BZ #13150]
44410         * posix/glob.h: Remove gcc 1.x support.
44412         [BZ #13068]
44413         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44415 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44417         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44418         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44419         strrchr-sse2-bsf
44420         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44421         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44422         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44423         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44424         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44425         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44427 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44429         * sysdeps/x86_64/wcscmp.S: New file.
44431         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44432         wcscmp-c wcscmp-sse2
44433         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44434         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44435         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44436         * wcsmbs/wcscmp.c: Allow renaming.
44438 2011-09-05  David S. Miller  <davem@davemloft.net>
44440         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44441         stack slot, rather than the struct return pointer slot.
44442         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44443         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44445         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44447 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44449         * po/ja.po: Update from translation team.
44451         [BZ #13144]
44452         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44453         kernel in 64-bit binaries.
44455 2011-09-01  David S. Miller  <davem@davemloft.net>
44457         * elf/elf.h (HWCAP_SPARC_*): Move to..
44458         * sysdeps/sparc/sysdep.h: this new file and add new values.
44459         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44460         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44461         _DL_HWCAP_COUNT to 24.
44462         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44463         entries.
44464         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44465         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44466         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44467         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44468         instead of magic constants.
44469         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44471 2011-08-31  David S. Miller  <davem@davemloft.net>
44473         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44474         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44475         Reimplement to do errno handling inline.
44476         (SYSCALL_ERROR_HANDLER): New macro.
44477         (__SYSCALL_STRING): Do not do errno handling in asm.
44478         (__CLONE_SYSCALL_STRING): Delete.
44479         (__INTERNAL_SYSCALL_STRING): Delete.
44480         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44481         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44482         (PSEUDO): Reimplement to do errno handling inline.
44483         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44484         (SYSCALL_ERROR_HANDLER): New macro.
44485         (__SYSCALL_STRING): Do not do errno handling in asm.
44486         (__CLONE_SYSCALL_STRING): Delete.
44487         (__INTERNAL_SYSCALL_STRING): Delete.
44488         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44489         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44490         i386.
44491         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44492         (inline_syscall*): Add 'err' argument.
44493         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44494         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44495         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44496         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44498         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44499         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44501 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44503         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44505 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44507         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44508         directive.
44510 2011-08-24  David S. Miller  <davem@davemloft.net>
44512         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44514 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44516         * elf/Makefile: Add rules to build and run unload8 test.
44517         * elf/unload8.c: New file.
44518         * elf/unload8mod1.c: New file.
44519         * elf/unload8mod1x.c: New file.
44520         * elf/unload8mod2.c: New file.
44521         * elf/unload8mod3.c: New file.
44523         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44524         it wasn't used.
44526 2011-08-23  David S. Miller  <davem@davemloft.net>
44528         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44529         subtract stack bias.
44530         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44531         %sp not %fp in calculations.
44532         (_JMPBUF_UNWINDS_ADJ): Likewise.
44534         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44535         (aio_suspend): Call it to force an exception region around the
44536         AIO_MISC_WAIT() invocation.
44538 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44540         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44541         backslash.
44543 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44545         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44546         protection macro.
44547         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44548         and <dl-machine.h>.
44549         (Elf64_FuncDesc): Remove.
44551 2011-08-22  David S. Miller  <davem@davemloft.net>
44553         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44554         sigaltstack check, add missing cfi directives.
44555         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44556         missing cfi directives, and sigaltstack handling.
44558 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44560         [BZ #11724]
44561         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44562         object is seen twice.
44563         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44565         * elf/Makefile (distribute): Add tst-initorder2.c.
44566         (tests): Add tst-initorder2.
44567         (modules-names): Add tst-initorder2a tst-initorder2b
44568         tst-initorder2c tst-initorder2d.  Add rules to build them.
44569         ($(objpfx)tst-initorder2.out): New rule.
44570         * elf/tst-initorder2.c: New file.
44571         * elf/tst-initorder2.exp: New file.
44573 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44575         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44577         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44578         dependencies back to end of function.
44580         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44581         $(elfobjdir)/ld.so.
44583 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44585         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44586         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44587         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44588         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44589         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44590         of __vdso_gettimeofday.
44591         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44592         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44593         attribute_hidden.
44594         (_libc_vdso_platform_setup): Remove initialization of
44595         __vdso_gettimeofday and __vdso_time.
44597 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44599         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44600         and fgetc_unlocked.
44601         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44602         getc_unlocked.
44604         * elf/dl-open.c (add_to_global): Report additions to the global scope
44605         for LD_DEBUG=scopes.
44606         (dl_open_worker): Also print scope of newly loaded dependencies.
44607         (_dl_show_scope): Indicate if there is no scope.
44609         [BZ #13114]
44610         * stdio-common/Makefile (tests): Add bug24.
44611         * stdio-common/bug24.c: New file.
44613 2011-08-19  Andreas Jaeger  <aj@suse.de>
44615         [BZ #13114]
44616         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44617         non-existant file when using close-on-exec mode.
44619 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44621         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44622         the very first instruction.
44624         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44625         the CFI state in the end.
44626         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44627         inclusion of dl-trampoline.h.
44628         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44630 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44632         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44633         expectations for long double.
44635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44636         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44638 2011-08-14  David S. Miller  <davem@davemloft.net>
44640         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44641         artificual limit depends upon the system page size.
44643 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44645         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44646         * resolv/Makefile: Define CFLAGS-libresolv.
44648 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44650         * nss/makedb.c (compute_tables): Make variables used in nested
44651         function static.
44653 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44655         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44656         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44657         if buffer was too small.
44659         * elf/pldd.c (main): Attach to all threads in the process.
44660         Rewrite /proc handling to use *at functions.
44662 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44664         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44665         specifies first scope to show.
44666         (dl_open_worker): Update callers.  Move printing scope of new
44667         object to before the relocation.
44668         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44669         * sysdeps/generic/ldsodefs.h: Update declaration.
44671         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44672         string for the scope number.
44674 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44676         * nscd/servicescache.c (cache_addserv): Make sure written is always
44677         initialized.
44679 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44681         * sysdeps/i386/i486/bits/atomic.h
44682         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44683         statement expression, so as to suppress "set but not used" warning.
44684         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44686         * string/strncat.c (STRNCAT): Use prototype definition.
44688         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44689         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44690         -Iprograms here.
44691         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44692         (localedef-modules): Add localedef.
44693         (locale-modules): Add locale.
44695         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44696         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44697         to avoid a warning.
44699 2011-08-14  David S. Miller  <davem@davemloft.net>
44701         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44702         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44704 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44706         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44707         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44708         * elf/rtld.c (dl_main): Set l_name of vDSO.
44709         Call _dl_show_scope when DL_DEBUG_SCOPES.
44710         (process_dl_debug): Recognize scopes flag and also set it for all.
44711         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44712         Declare _dl_show_scope.
44714         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44715         (do_dlopen): Pass caller_dlopen to dl_open.
44716         (__libc_dlopen_mode): Initialize caller_dlopen.
44718         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44719         of libc.  Make tolower call locale-independent.  Optimize a bit by
44720         using isdigit instead of isalnum.
44721         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44723 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44725         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44726         was a dependency or dynamically loaded.
44728 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44730         * intl/l10nflist.c: Allow architecture-specific pop function.
44731         * sysdeps/x86_64/l10nflist.c: New file.
44733         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44734         classification.
44736 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44738         * include/dirent.h: Add libc_hidden_proto for scandirat and
44739         scandirat64.  Don't declare __scandirat64.
44740         * dirent/scandirat.c: Add libc_hidden_def.
44741         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44742         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44744 2011-08-10  David S. Miller  <davem@davemloft.net>
44746         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44747         enum.
44748         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44749         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44750         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44752 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44754         * Versions.def [libc]: Add GLIBC_2.15.
44755         * dirent/Makefile (routines): Add scandirat and scandirat64.
44756         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44757         GLIBC_2.15.
44758         * dirent/dirent.h: Declare scandirat and scandirat64.
44759         * dirent/scandirat.c: New file.
44760         * dirent/scandirat64.c: New file.
44761         * sysdeps/wordsize-64/scandirat.c: New file.
44762         * sysdeps/wordsize-64/scandirat64.c: New file.
44763         * dirent/opendir.c: Define opendirat.
44764         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44765         using scandirat.
44766         * dirent/scandir64.c: Adjust for scandir.c change.
44767         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44768         __scandirat64, and __scandir_cancel_handler.
44769         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44770         additional parameter and use openat instead of open (outside of ld.so).
44771         Add new __opendir as wrapper around __opendirat.
44772         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44773         here without requiring old scandirat implementation.
44775 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44777         * dirent/scandir.c (cancel_handler): Renamed to
44778         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44779         defined.  Adjust users.
44780         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44781         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44783 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44785         * string/test-string.h (IMPL): Use __STRING to expand name and then
44786         stringify it.
44788         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44789         of cleanups.
44791 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44793         * string/Makefile: Update.
44794         (strop-tests): Append strncat.
44795         * string/test-wcscmp.c: New file.
44796         New comprehensive test for wcscmp.
44797         * string/test-strcmp.c: Update.
44798         (WIDE): New define.
44800 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44802         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44803         line.
44805 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44808         encoding to ACE if AI_IDN.
44810 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44812         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44813         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44815 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44817         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44818         Fix overflow bug in strncat.
44819         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44821         * string/test-strncat.c: Update.
44822         Add new tests for checking overflow bugs.
44824 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44826         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44827         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44828         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44829         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44830         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44831         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44832         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44833         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44834         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44836         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44837         (USE_AS_STRCAT): Define.
44838         Add strcat and strncat support.
44839         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44841 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44843         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44844         __n bigger than INT_MAX+1.
44845         (__strncmp_g): Likewise.
44847 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44849         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44850         * libio/stido.h: Likewise.
44852         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44853         (AF_NFC): Define.
44854         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44855         (AF_NFC): Define.
44857         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44858         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44859         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44860         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44861         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44863         [BZ #13021]
44864         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44865         installed.
44867         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44868         typo.
44869         (_dl_x86_64_save_sse): Likewise.
44871 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44873         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44874         OSXSAVE.
44875         (_dl_x86_64_save_sse): Likewise.
44877         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44879         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44881 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44883         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44884         change.
44885         (_dl_x86_64_save_sse): Use correct AVX check.
44887 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44889         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44890         bug in strncpy/strncat.
44891         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44893 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44895         * string/tester.c (test_strcat): Add tests for different alignments
44896         of source and destination.
44897         (test_strncat): Likewise.
44899 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44901         [BZ #12852]
44902         * posix/glob.c (glob): Check passed in values before using them in
44903         expressions to avoid some overflows.
44904         (glob_in_dir): Likewise.
44906         [BZ #13007]
44907         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44908         check for AVX enablement so that we don't crash with old kernels and
44909         new hardware.
44910         * elf/tst-audit4.c: Add same checks here.
44911         * elf/tst-audit6.c: Likewise.
44913         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44915 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44917         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44919 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44921         * po/cs.po: Update from translation team.
44922         * po/bg.po: Likewise.
44924 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44926         * misc/sys/cdefs.h: Add support for const attribute.
44927         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44928         to gnu_dev_{major,minor,makedev} functions.
44930 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44932         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44934 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44936         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44937         strlen results.
44939 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44941         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44942         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44943         register in order to avoid conflicts with the soft frame pointer
44944         being held in r11 when necessary.
44945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44946         (INTERNAL_VSYSCALL_NCS): Likewise.
44948 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44950         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44951         * elf/dl-fini.c (_dl_fini): Adjust caller.
44952         * elf/dl-close.c (_dl_close_worker): Likewise.
44953         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44955 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44957         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44958         "aux_cache->nlibs < 0".
44960         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44961         in the reload-count case.
44963 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44966         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44967         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44968         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44969         * sysdeps/x86_64/multiarch/strcat.S: New file.
44970         * sysdeps/x86_64/multiarch/strncat.S: New file.
44971         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44972         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44973         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44974         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44975         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44976         (USE_AS_STRCAT): Define.
44977         Add strcat and strncat support.
44978         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44979         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44980         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44981         * string/strncat.c: Update.
44982         (USE_AS_STRNCAT): Define.
44983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44984         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44985         and i7.
44986         * sysdeps/x86_64/multiarch/init-arch.h
44987         (bit_Prefer_PMINUB_for_stringop): New.
44988         (index_Prefer_PMINUB_for_stringop): Likewise.
44989         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44990         bit_Prefer_PMINUB_for_stringop.
44992 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44994         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44995         buffer64.
44996         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44997         of casting of buffer.
44998         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44999         buffer32 and buffer64.
45000         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45001         writes instead of casting of buffer.
45002         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45003         buffer32.
45004         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45005         casting of buffer.
45007 2011-07-19  Andreas Schwab  <schwab@redhat.com>
45009         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45011 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
45013         * nscd/nscd.c (termination_handler): Don't do anything for a database
45014         if it has not yet been initialized.
45016 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45018         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45020 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
45022         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45024 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
45026         * po/nl.po: Update from translation team.
45027         * po/sv.po: Likewise.
45029 2011-07-16  Roland McGrath  <roland@hack.frob.com>
45031         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45032         now disallowed by GCC.
45034         * configure.in (use-default-link): Default to yes if a test -shared
45035         link meets our qualifications.
45036         * configure: Regenerated.
45038         * config.make.in (output-format): New variable.
45039         * configure.in: Check for ld --print-output-format support.
45040         * configure: Regenerated.
45041         * Makerules ($(common-objpfx)format.lds)
45042         [$(output-format) != unknown]: Just use $(output-format),
45043         instead of the linker-script munging.
45045 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45047         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45048         of $(common-objpfx)shlib.lds.
45049         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45051         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45052         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45054         * configure.in (-z relro check): Adjust test code to add a large
45055         writable data section after it.
45056         * configure: Regenerated.
45058 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45060         * configure.in (-z relro check): Fix test code to make the variable
45061         truly const.
45062         * configure: Regenerated.
45064 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45066         * nscd/nscd.h (struct traced_file): Define.
45067         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45068         elements.  Add traced_files.
45069         (inotify_fd): Declare.
45070         (register_traced_file): Declare.
45071         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45072         (inotify_fd): Export.
45073         (resolv_conf_descr): Remove.
45074         (nscd_init): Move inotify descriptor creation to main.
45075         Don't register files for notification here.
45076         (register_traced_file): New function.
45077         (invalidate_cache): Don't use reset_res to determine whether to call
45078         res_init, go through the list of registered files.
45079         (main_loop_poll): The inotify descriptors are now stored in the
45080         structures for the traced files.
45081         (main_loop_epoll): Likewise
45082         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45083         to __nss_disable_nscd.
45084         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45085         for a database anymore.  Check the records for all the registered
45086         files instead.
45087         * nss/Makefile (libnss_files-routines): Add files-init.
45088         (libnss_db-routines): Add db-init.
45089         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45090         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45091         * nss/nss_db/db-init.c: New file.
45092         * nss/nss_files/files-init.c: New file.
45093         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45094         __nss_lookup_function.
45095         (__nss_lookup_function): Call nss_load_library.
45096         (nss_load_all_libraries): New function.
45097         (__nss_disable_nscd): Take parameter with callback function for files
45098         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45099         used for the cached services.
45100         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45101         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45102         options for features to all the files in nscd.
45104         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45106 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45108         * csu/elf-init.c (__libc_csu_init): Comment typo.
45110 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45112         * po/pl.po: Update from translation team.
45113         * po/ja.po: Likewise.
45114         * po/ru.po: Likewise.
45115         * po/ko.po: Likewise.
45116         * po/fr.po: Likewise.
45118 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45120         * configure.in (.ctors/.dtors header and trailer check):
45121         Use an empirical test on a built program.
45122         * configure: Regenerated.
45124         * configure.in (-z relro check): Use an empirical test on a built DSO.
45125         Detect, but do not require, on ia64.
45126         * configure: Regenerated.
45128         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45129         Update tests that use readelf to use $READELF instead.
45130         * configure: Regenerated.
45132 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45134         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45135         if the result is not used.
45137 2011-07-05  Andreas Jaeger  <aj@suse.de>
45139         [BZ#9696]
45140         * stdlib/tst-strtod.c: Add testcase.
45142 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45144         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45145         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45146         The latter has a higher limit.  Take additional parameter to pass to
45147         the new function.
45148         (__pathconf): Pass file to __statfs_link_max.
45149         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45150         __statfs_link_max.
45151         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45152         __statfs_link_max.
45154         [BZ #12868]
45155         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45156         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45157         Handle Lustre.
45158         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45159         (__statfs_filesize_max): Likewise.
45160         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45162 2011-07-05  Andreas Jaeger  <aj@suse.de>
45164         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45166 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45168         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45169         `status' variable.
45170         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45171         Likewise.
45173 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45175         * Makefile (strop-tests): Add strncat.
45176         * string/test-strncat.c: New file.
45178 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45180         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45182 2011-06-21  Andreas Jaeger  <aj@suse.de>
45184         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45185         Copy rule from iconvdata/Makefile.
45187 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45189         [BZ #12922]
45190         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45191         but no long options are defined, just return 'W'.
45193 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45195         [BZ #9696]
45196         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45198 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45200         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45201         netgroups to read.
45202         (innetgr): Likewise.
45204 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45206         * config.make.in (install_root): Default to $(DESTDIR).
45208 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45210         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45212 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45214         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45216         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45217         containing directory rather than embedding absolute directory names.
45219         * scripts/check-local-headers.sh: Rewritten using awk.
45220         Match by word, not by line.  Print error messages for matches.
45221         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45223         * Makerules [shlib-lds-flags empty]:
45224         ($(common-objpfx)libc_pic.opts): New target.
45225         ($(common-objpfx)libc_pic.os.clean): New target.
45226         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45228         * config.make.in (OBJCOPY): New variable.
45229         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45230         * configure: Regenerated.
45232         * config.make.in (use-default-link): New variable.
45233         * configure.in (use_default_link): Grok --with-default-link to set it.
45234         * configure: Regenerated.
45235         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45236         (shlib-lds, shlib-lds-flags): Define to empty.
45238         * Makerules (shlib-lds): New variable.
45239         (shlib-lds-flags): New variable.
45240         (build-shlib, build-moduile, build-module-asneeded): Use it.
45241         ($(common-objpfx)libc.so): Use $(shlib-lds).
45242         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45243         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45245         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45246         DT_FLAGS/DT_FLAGS_1 with zero flags.
45248         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45249         linker script munging.
45251 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45253         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45254         as 128-bit value.
45255         * crypt/sha512.c (sha512_process_block): Perform total addition using
45256         128-bit if possible.
45257         (__sha512_finish_ctx): Likewise.
45258         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45259         as 64-bit value.
45260         * crypt/sha256.c (SWAP64): Define.
45261         (sha256_process_block): Perform total addition using 64-bit if
45262         possible.
45263         (__sha256_finish_ctx): Likewise.
45265 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45267         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45268         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45269         * nscd/hstcache.c (cache_addhst): Likewise.
45270         * nscd/grpcache.c (cache_addgr): Likewise.
45271         * nscd/aicache.c (addhstaiX): Likewise
45272         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45274 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45276         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45277         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45278         * nscd/hstcache.c (cache_addhst): Likewise.
45279         * nscd/grpcache.c (cache_addgr): Likewise.
45280         * nscd/aicache.c (addhstaiX): Likewise
45282 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45284         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45285         domain only when needed.
45287 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45290         is always restored.
45292 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45294         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45295         are re-adding the entry.
45296         * nscd/servicescache.c (cache_addserv): Likewise.
45298 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45300         * sysdeps/generic/dl-irel.h: fix protection against multiple
45301         inclusions.
45302         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45304 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45306         [BZ #12935]
45307         * malloc/memusage.sh: Fix quoting in message.
45308         * debug/xtrace.sh: Likewise.
45310         * configure.in: Remove support for --experimental-malloc option, make
45311         it the default.
45312         * config.make.in: Likewise.
45313         * malloc/Makefile: Likewise.
45315 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45317         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45318         two-byte characters.
45320 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45322         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45323         AC_CACHE_CHECK invocation.
45324         * configure: Regenerated.
45326         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45328 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45330         [BZ #12350]
45331         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45332         bit from old_res_options.
45334         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45336         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45337         value type for setfct.
45339 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45341         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45342         __gettimeofday instead of gettimeofday.
45344 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45346         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45348 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45350         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45352         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45353         info.
45355 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45358         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45359         strcpy-sse2-unaligned strncpy-sse2-unaligned
45360         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45361         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45362         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45363         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45364         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45365         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45366         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45367         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45368         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45369         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45370         (STRCPY): Support SSE2 and SSSE3 versions.
45372 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45374         [BZ #12874]
45375         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45376         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45377         kernels which artificially limit size of requests.
45379 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45382         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45383         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45384         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45385         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45386         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45387         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45388         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45389         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45390         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45391         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45392         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45393         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45394         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45395         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45397         Enable unaligned load optimization for Intel Core i3, i5 and i7
45398         processors.
45399         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45400         Define.
45401         (index_Fast_Unaligned_Load): Define.
45402         (HAS_FAST_UNALIGNED_LOAD): Define.
45404 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45406         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45408 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45410         [BZ #12907]
45411         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45412         until it is clear that the information is realy needed.
45413         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45415 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45419 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45421         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45422         /sys/devices/system/cpu/online if it is usable.
45424         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45425         reading the information from the /proc filesystem to once a second.
45427 2011-06-21  Andreas Jaeger  <aj@suse.de>
45429         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45430         NULL after inclusion of kernel headers.
45432 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45434         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45435         calls to internal_setent.
45437         [BZ #12885]
45438         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45439         addresses using gethostbyname4_r ignore IPv4 addresses.
45441         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45442         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45444         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45446 2011-06-20  David S. Miller  <davem@davemloft.net>
45448         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45449         inclusions.
45450         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45452         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45453         (elf_irel): Use it.
45454         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45455         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45456         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45457         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45458         * sysdeps/x86_64/dl-irel.h: Likewise.
45460         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45461         * elf/dl-sym.c: Likewise.
45463 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45465         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45466         need to dereference resplen2.
45468 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45470         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45472 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45474         * Makeconfig: Define vardbdir and inst_vardbdir.
45475         * nss/Makefile: Add rules to install db-Makefile.
45477         * nss/nss_db/db-XXX.c: Cleanup.
45479         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45480         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45481         GLIBC_PRIVATE.
45482         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45483         * nss/makedb.c: Implement -g option to specify that value strings
45484         are generated and should not be added to table iterated over for
45485         get*ent calls.
45486         * nss/nss_db/db-initgroups.c: New file.
45488         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45489         interface.
45491         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45492         (internal_getgrouplist): Adjust to name change.
45493         Update use_initgroups_entry if this is not the first call.
45494         * nss/databases.def: Add initgroups entry.
45496         * nss/makedb.c (compute_tables): Check result of multiple hash table
45497         sizes to minimize maximum chain length.
45499 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45501         * Versions.def: Add entry for libnss_db.
45502         * shlib-versions: Likewise.
45503         * nss/Makefile: Add rules to build libnss_db.
45504         * nss/Versions: Add libnss_db information.  Organize libnss_files
45505         entries better.
45506         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45507         makedb progra.  Some minor improvements to generate smaller files.
45508         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45509         here from...
45510         * nss/makedb.c: ...here.
45511         Improve database format to be smaller and require less memory at
45512         runtime.
45513         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45514         db anymore.
45515         * nss/nss_db/db-netgrp.c: Likewise.
45516         * nss/nss_db/db-open.c: Likewise.
45517         * nss/nss_files/flies-XXX.x: Adjust comments.
45518         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45519         * nss/nss_files/files-grp.c: Likewise.
45520         * nss/nss_files/files-hosts.c: Likewise.
45521         * nss/nss_files/files-network.c: Likewise.
45522         * nss/nss_files/files-proto.c: Likewise.
45523         * nss/nss_files/files-pwd.c: Likewise.
45524         * nss/nss_files/files-rpc.c: Likewise.
45525         * nss/nss_files/files-service.c: Likewise.
45526         * nss/nss_files/files-sgrp.c: Likewise.
45527         * nss/nss_files/files-spwd.c: Likewise.
45528         * nss/nss_db/db-alias.c: Removed.
45529         * nss/nss_db/dummy-db.h: Removed.
45531 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45533         * nss/makedb.c: Rewritten to not use database library.
45534         * nss/Makefile: Update to build new makedb program.
45536 2011-06-14  Andreas Jaeger  <aj@suse.de>
45538         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45539         memset declaration.
45541 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45544         tmpbuf.
45546 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45548         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45549         * elf/Makefile ($(objpfx)ld.so): Likewise.
45551         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45552         Don't list ld.so twice in dependencies.
45554         * posix/bug-regex31.c: Include <stdlib.h>.
45556         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45558         * nis/nss_compat/compat-spwd.c
45559         (getspent_next_nss_netgr): Remove unused variable.
45560         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45562         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45563         nonmembers" output to use the right array.
45565         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45567         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45569         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45570         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45571         * catgets/gencat.c (read_input_file): Likewise.
45572         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45574         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45575         variable definition inside #if's controlling its use.
45577         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45579         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45581         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45583         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45584         unreachable code.
45586         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45588         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45589         * configure: Regenerated.
45591         * Makerules: Revert last change.
45592         * elf/Makefile: Likewise.
45594 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45596         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45597         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45598         (reloc-link): Likewise.
45600 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45602         * elf/Makefile: Add rules to build pldd.
45603         * elf/pldd.c: New file.
45604         * elf/pldd-xx.c: New file.
45606 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45608         * version.h: Update for 2.15 development version.
45610 2011-06-07  David S. Miller  <davem@davemloft.net>
45612         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45613         ifuncs.
45614         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45615         elf_machine_lazy_rel): Likewise.
45616         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45617         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45618         elf_machine_lazy_rel): Likewise.
45619         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45620         dl_hwcap via passed in argument.
45621         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45622         Likewise.
45624 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45626         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45628 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45630         [BZ #12849]
45631         * manual/fdl-1.1.texi: New file, verbatim from:
45632         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45633         * manual/lgpl-2.1.texi: New file, verbatim from:
45634         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45635         * manual/Makefile (licenses): New variable, list those new file names.
45636         (texis): Use it.
45637         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45639         * manual/fdl.texi: File removed.
45640         * manual/lesser.texi: File removed.
45641         * manual/libc.texinfo (Copying, Documentation License):
45642         Use new @include file names, put @appendix directive before @include.
45644 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45646         [BZ #12841]
45647         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45648         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45649         (mq_open): Add __NTH.
45651 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45654         Assume Intel Core i3/i5/i7 processor if AVX is available.
45656 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45659         typo.
45661 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45663         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45664         memory.  Use alloca_account.  Fix memory leak when retrying.
45666 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45668         * version.h (RELEASE): Bump for 2.14 release.
45669         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45671         * config.make.in (RANLIB): Remove entry.
45673 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45675         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45676         (libc.pot): Work around missing support for .ksh extension in xgettext.
45678         [BZ #12684]
45679         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45680         if both request failed.
45681         (send_dg): In case of server errors clear resplen or *resplen2.
45683         [BZ #12454]
45684         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45685         when there are multiple maps.
45686         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45687         (_dl_fini): Remove test here.
45689         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45691 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45693         [BZ #12350]
45694         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45695         bit from old_res_options.
45696         (gaih_inet): Likewise.
45698         [BZ #11099]
45699         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45700         as signed.
45702         * resolv/res_init.c (res_setoptions): Make the code more compact.
45704         [BZ #11558]
45705         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45706         set RES_USEVC.
45708         [BZ #11634]
45709         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45711         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45713         [BZ #11781]
45714         * malloc/malloc.h: Declare malloc hook variables as volatile.
45716         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45717         in last patch.
45719         [BZ #11799]
45720         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45721         raise in the comment.
45722         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45723         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45724         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45726 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45728         [BZ #12811]
45729         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45730         grow the buffers more if it already has to be sufficient.
45731         (build_wcs_upper_buffer): Likewise.
45732         * posix/regexec.c (check_matching): Likewise.
45733         (clean_state_log_if_needed): Likewise.
45734         (extend_buffers): Don't enlarge buffers beyond size of the input
45735         buffer.
45736         Patches mostly by Emil Wojak <emil@wojak.eu>.
45737         * posix/bug-regex32.c: New file.
45738         * posix/Makefile (tests): Add bug-regex32.
45740         * locale/findlocale.c (_nl_find_locale): Return right away if
45741         _nl_explode_name failed.
45742         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45744         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45746         * debug/xtrace.sh: Unify messages.
45747         * malloc/memusage.sh: Likewise.
45749         [BZ #12813]
45750         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45751         time symbol from vDSO.  Substitute with vsyscall if not available.
45752         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45753         __vdso_time.
45755         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45756         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45757         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45758         Add sendmmsg and internal_sendmmsg.
45759         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45760         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45761         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45763         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45764         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45765         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45767 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45769         [BZ #12813]
45770         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45771         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45772         available.
45773         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45774         __vdso_getcpu.
45776         [BZ #12814]
45777         * iconvdata/Makefile (tests): Add bug-iconv9.
45778         * iconvdata/bug-iconv9.c: New file.
45780 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45782         [BZ #12814]
45783         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45785 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45787         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45788         (struct user_regs_struct): Change intcs field back to cs.
45790 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45792         * po/ja.po: Update from translation team.
45794 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45796         [BZ #12795]
45797         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45798         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45800 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45802         * stdlib/longlong.h: Update from GCC.
45804 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45806         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45807         parameter name.
45808         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45809         Add parameter name.
45810         (__sysconf): Pass it down.
45812 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45814         [BZ #12671]
45815         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45816         some situations.
45817         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45818         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45819         add in in __libc_use_alloca calls.  Adjust callers.
45820         (glob): Use malloc in some situations.
45822         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45823         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45824         pltexit.
45826 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45828         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45829         and CLOCK_BOOTTIME_ALARM.
45831         [BZ #12782]
45832         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45833         is returned.
45835         * string/_strerror.c (__strerror_r): Print negative errors as signed
45836         numbers.
45838         [BZ #12777]
45839         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45840         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45841         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45843         * configure.in: Fix typo in redirection and correct removal of test
45844         files in two cases.
45846         [BZ #12788]
45847         * locale/setlocale.c (new_composite_name): Fix test to check for
45848         identical name of all categories.
45850         [BZ #12792]
45851         * libio/filedoalloc.c (local_isatty): New function.
45852         (_IO_file_doallocate): Use local_isatty.
45853         * stdio-common/perror.c (perror): In case a new stream is used
45854         forward the stream error.
45855         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45856         error flag.
45858 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45860         [BZ #11869]
45861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45862         alloca.
45863         * include/alloca.h (extend_alloca_account): Define.
45865         [BZ #11857]
45866         * posix/regex.h: Fix comments with documentation of user-accessible
45867         fields after compilation and describe correct free'ing of pattern
45868         after re_compile_pattern.
45869         Patch by Reuben Thomas <rrt@sc3d.org>.
45871 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45873         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45874         and -mno-altivec to prevent the compiler from using Altivec and/or
45875         VSX instructions when the corresponding registers are not available.
45877 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45879         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45881 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45883         * libio/freopen.c (freopen): Use __dup2, not dup2.
45884         * libio/freopen64.c (freopen64): Likewise.
45886 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45888         [BZ #12775]
45889         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45890         * math/Makefile (tests): Add test-powl.
45891         (CFLAGS-test-powl.c): Define.
45892         * math/test-powl.c: New file.
45894 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45896         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45898 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45900         [BZ #11837]
45901         * iconvdata/gb18030.c: Update to GB18020-2005.
45903 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45905         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45906         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45907         Patch by Aharon Robbins <arnold@skeeve.com>.
45909         [BZ #11892]
45910         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45911         on the stack.
45913         [BZ #11895]
45914         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45915         through underflows.
45917         [BZ #12766]
45918         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45919         point to strings before performing equality test for error_one_per_line
45920         mode.
45922         [BZ #11697]
45923         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45925         [BZ #11820]
45926         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45927         (struct user_fpregs_struct): Avoid __uint*_t types.
45929         [BZ #6420]
45930         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45931         symbol info.  Use it instead of calling _dl_addr locally.
45932         (lock_and_info): New function.
45933         (tr_freehook): Call lock_and_info and pass symbol info as additional
45934         parameter to tr_where.
45935         (tr_mallochook): Likewise.
45936         (tr_reallochook): Likewise.
45937         (tr_memalignhook): Likewise.
45939         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45940         used and couldn't be at all thread-safe.
45942 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45944         * libio/freopen.c (freopen): Don't close old file descriptor
45945         before the new one is opened.  Instead dup the new file descriptor
45946         to the old one after the new stream is created.
45947         * libio/freopen64.c (freopen64): Likewise.
45948         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45949         * libio/fileops.c (_IO_new_file_close_it): Handle new
45950         _IO_FLAGS2_NOCLOSE flag.
45951         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45952         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45953         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45954         _IO_FLAGS2_NOCLOSE flag.
45955         * include/unistd.h: Add hidden_proto for dup3.
45956         Define __have_dup3.
45957         * io/dup3.c: Define hidden symbol.
45958         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45960         [BZ #7101]
45961         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45962         when an incomplete long option is used.
45963         * posix/tst-getopt_long1.c: New file.
45964         * posix/Makefile (tests): Add tst-getopt_long1.
45966         [BZ #10138]
45967         * scripts/config.guess: Update from autoconf-2.68.
45968         * scripts/config.sub: Likewise.
45970         [BZ #10157]
45971         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45972         tests into ...
45973         (has_cpuclock): ...this.  New function.
45974         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45975         macro here based on has_cpuclock code.
45977         [BZ #10149]
45978         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45979         First byte (not low byte) is now always NUL.
45980         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45982         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45983         Use non-cancelable interfaces.
45985         [BZ #9809]
45986         * locale/iso-639.def: Add entry for Sorani.
45988         [BZ #11901]
45989         * include/stdlib.h: Move include protection to the right place.
45990         Define abort_msg_s.  Declare __abort_msg with it.
45991         * stdlib/abort.c (__abort_msg): Adjust type.
45992         * assert/assert.c (__assert_fail_base): New function.  Majority
45993         of code from __assert_fail.  Allocate memory for __abort_msg with
45994         mmap.
45995         (__assert_fail): Now call __assert_fail_base.
45996         * assert/assert-perr.c: Remove bulk of implementation.  Use
45997         __assert_fail_base.
45998         * include/assert.hL Declare __assert_fail_base.
45999         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46000         mmap.
46001         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46003 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
46005         [BZ #11952]
46006         [BZ #12453]
46007         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46008         until all modules are registered in the DTV.
46009         * elf/Makefile: Add rules to build and run tst-tls19.
46010         * elf/tst-tls19.c: New file.
46011         * elf/tst-tls19mod1.c: New file.
46012         * elf/tst-tls19mod2.c: New file.
46013         * elf/tst-tls19mod3.c: New file.
46014         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46016         [BZ #12083]
46017         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46018         correctly.
46020         [BZ #12601]
46021         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46022         two-byte sequence errors.
46023         * iconvdata/Makefile (tests): Add bug-iconv8.
46024         * iconvdata/bug-iconv8.c: New file.
46026         [BZ #12626]
46027         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46028         buf2 definition.
46030         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46032         [BZ #12432]
46033         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46034         (dummy_getcfa): New function.
46035         (init): Get _Unwind_GetCFA address, use dummy if not found.
46036         (backtrace_helper): In recursion check, also check whether CFA changes.
46037         (__backtrace): Completely initialize arg.
46039         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46040         storing incomplete byte sequence in state object.  Avoid testing for
46041         guaranteed too small input if we know there is enough data available.
46043 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46045         * Makeconfig (+link-pie): Indent.
46046         * Rules (binaries-pie): Define if $(have-fpie) and
46047         $(build-shared).
46048         (binaries-shared): Also filter out $(binaries-pie).
46049         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46050         * nscd/Makefile (others-pie): Add nscd.
46051         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46052         ($(objpfx)nscd): Remove command override.
46053         * login/Makefile (others-pie): Add pt_chown.
46054         ($(objpfx)pt_chown): Remove command override.
46055         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46056         remove command overrides.
46058 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46060         * libio/tst_putwc.c: Fix error messages.
46062         [BZ #12724]
46063         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46064         currently writing and seek to current position when not.
46065         * libio/Makefile (tests): Add bug-fclose1.
46066         * libio/bug-fclose1.c: New file.
46068 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46070         [BZ #12511]
46071         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46072         don't set DF_1_NODELETE here.
46073         (do_lookup_x): When entering new entry test for copy relocation
46074         and if necessary set DF_1_NODELETE flag.
46075         * elf/tst-unique4.cc: New file.
46076         * elf/tst-unique4.h: New file.
46077         * elf/tst-unique4lib.cc: New file.
46078         * elf/Makefile: Add rules to build and run tst-unique4.
46079         Patch by Piotr Bury <pbury@goahead.com>.
46081 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46083         [BZ #12052]
46084         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46086         [BZ #12625]
46087         * misc/mntent_r.c (addmntent): Flush the stream after the output
46089         [BZ #12393]
46090         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46091         (is_trusted_path_normalize): Skip initial colon.  Append slash
46092         to empty buffer.  Duplicate is_trusted_path code but allow
46093         constructed patch to be prefix.
46094         (is_dst): Allow $ORIGIN followed by /.
46095         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46096         Correct testing of result of is_trusted_path_normalize
46097         (decompose_rpath): Fix warning.
46099 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46101         [BZ #11257]
46102         * grp/initgroups.c (internal_getgrouplist): When we found the service
46103         list through the initgroups entry in nsswitch.conf do not always
46104         continue on a successful lookup.  Don't always use the
46105         __nss_group_database value if it is set.
46106         * nss/nsswitch.conf (initgroups): Change action for successful db
46107         lookup to continue for compatibility.
46109 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46111         [BZ #11532]
46112         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46113         and CP774 modules.
46114         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46115         and CP774 modules.
46116         * iconvdata/tst-tables.sh: Likewise.
46117         * iconvdata/cp770.c: New file.
46118         * iconvdata/cp771.c: New file.
46119         * iconvdata/cp772.c: New file.
46120         * iconvdata/cp773.c: New file.
46121         * iconvdata/cp774.c: New file.
46122         * iconvdata/testdata/CP770: New file.
46123         * iconvdata/testdata/CP770..UTF8: New file.
46124         * iconvdata/testdata/CP771: New file.
46125         * iconvdata/testdata/CP771..UTF8: New file.
46126         * iconvdata/testdata/CP772: New file.
46127         * iconvdata/testdata/CP772..UTF8: New file.
46128         * iconvdata/testdata/CP773: New file.
46129         * iconvdata/testdata/CP773..UTF8: New file.
46130         * iconvdata/testdata/CP774: New file.
46131         * iconvdata/testdata/CP774..UTF8: New file.
46133         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46134         END CHARMAP line.
46135         * iconvdata/gen-8bit-gap.sh: Likewise.
46136         * iconvdata/gen-8bit.sh: Likewise.
46138         * locale/iso-639.def: Add ary entry.
46140         [BZ #11258]
46141         * locale/C-translit.h.in: Add U20A1 transliteration.
46143         [BZ #12178]
46144         * locale/iso-639.def: Add wae entry.
46145         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46147         [BZ #12545]
46148         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46149         for n.
46151         [BZ #12711]
46152         * locale/C-translit.h.in: Add entry for U20B9.
46153         Patch by pravin.d.s@gmail.com.
46155 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46157         [BZ #12713]
46158         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46159         ENAMETOOLONG use generic getcwd.
46160         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46161         in rtld.  Use *stat64.
46162         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46163         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46164         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46165         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46166         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46167         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46168         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46169         __fstatat64 macros.
46170         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46171         * dirent/rewinddir.c: Add libc_hidden_def.
46172         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46173         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46175         * include/dirent.h (__alloc_dir): Add flags parameter.
46176         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46177         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46178         __alloc_dir.
46179         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46180         from fdopendir if O_CLOEXEC is already set.
46182 2011-03-15  Alan Modra  <amodra@gmail.com>
46184         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46185         l_tls_firstbyte_offset non-zero.  Save padding offset in
46186         l_tls_firstbyte_offset for later use.
46187         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46188         freeing static tls block.
46190 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46192         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46193         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46194         being defined by the kernel headers.
46196 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46198         [BZ #12734]
46199         * resolv/resolv.h: Define RES_NOTLDQUERY.
46200         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46201         no-tld-query and set RES_NOTLDQUERY.
46202         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46203         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46204         modern BIND to search name as TLD unless forbidden.
46206 2011-05-07  Petr Baudis  <pasky@suse.cz>
46207             Ulrich Drepper  <drepper@gmail.com>
46209         [BZ #12393]
46210         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46211         (is_trusted_path): ...to here.
46212         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46213         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46214         using is_trusted_path_normalize() in setuid scripts.
46216 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46218         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46219         __BEGIN/__END_DECLS.
46221 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46223         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46224         NSS_STATUS_NOTFOUND if no record was found.
46226 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46228         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46229         (headers-not-in-tirpc): Remove rpc/netdb.h
46230         * resolv/netdb.h: Revert last change.
46232 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46234         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46235         circular dependency between libgcc.a and libc.a.
46237 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46239         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46240         * nis/Makefile: Don't install rpcsvc/*.
46241         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46242         instead of <rpc/types.h>.
46243         (MAXHOSTNAMELEN): Define.
46245 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46247         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46249 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46251         [BZ #12714]
46252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46253         gethostbyname4_r when IPv6 results are possible.
46255 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46257         [BZ #12723]
46258         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46259         _PC_PIPE_BUF handling.
46261 2011-04-30  Bruno Haible  <bruno@clisp.org>
46263         [BZ #12717]
46264         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46265         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46266         to 'int'.
46267         * inet/getnameinfo.c (getnameinfo): Likewise.
46269 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46271         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46272         to groups setting in database lookup.
46273         * nss/nsswitch.conf: Add initgroups entry.
46275 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46277         [BZ #12685]
46278         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46279         mode string.
46280         Patch by Eric Blake <eblake@redhat.com>.
46282 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46284         * sunrpc/Makefile (need-export-routines): Add svc_run.
46285         (routines): Remove svc_run.
46286         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46287         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46288         * sunrpc/svc_run.c (svc_run): Likewise.
46289         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46291 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46293         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46294         problem in reallocation in last patch.
46296 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46298         * sunrpc/Makefile: Move inclusion of Rules.
46300 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46302         * nss/nss_files/files-initgroups.c: New file.
46303         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46304         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46305         _nss_files_initgroups_dyn.
46307 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46309         * elf/elf.h (R_ARM_IRELATIVE): Define.
46311 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46313         * po/ru.po: Update from translation team.
46315 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46317         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46318         dependencies.
46320 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46322         [BZ #12653]
46323         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46324         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46325         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46326         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46327         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46329 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46331         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46332         differing bytes.
46333         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46334         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46335         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46337 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46339         [BZ #12420]
46340         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46341         storing it.
46342         * stdlib/bug-getcontext.c: New file.
46343         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46345 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46347         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46348         instructions into .machine "z9-109".
46349         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46350         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46352 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46354         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46355         between environment variables and auxiliary vector.
46357 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46359         * Makefile: Add rules to build linkobj/libc.so.
46360         * include/libc-symbols.h: Define libc_hidden_nolink.
46361         * include/rpc/auth.h: Mark functions which are to be hidden.
46362         * include/rpc/auth_des.h: Likewise.
46363         * include/rpc/auth_unix.h: Likewise.
46364         * include/rpc/clnt.h: Likewise.
46365         * include/rpc/des_crypt.h: Likewise.
46366         * include/rpc/key_prot.h: Likewise.
46367         * include/rpc/pmap_clnt.h: Likewise.
46368         * include/rpc/pmap_prot.h: Likewise.
46369         * include/rpc/pmap_rmt.h: Likewise.
46370         * include/rpc/rpc_msg.h: Likewise.
46371         * include/rpc/svc.h: Likewise.
46372         * include/rpc/svc_auth.h: Likewise.
46373         * include/rpc/xdr.h: Likewise.
46374         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46375         * nss/Makefile: Likewise.
46376         * sunrpc/Makefile: Don't install headers.  Build library with normal
46377         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46378         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46379         for the compat linking library.  Remove use of INTDEF/INTUSE.
46380         * sunrpc/auth_none.c: Likewise.
46381         * sunrpc/auth_unix.c: Likewise.
46382         * sunrpc/authdes_prot.c: Likewise.
46383         * sunrpc/authuxprot.c: Likewise.
46384         * sunrpc/clnt_gen.c: Likewise.
46385         * sunrpc/clnt_perr.c: Likewise.
46386         * sunrpc/clnt_raw.c: Likewise.
46387         * sunrpc/clnt_simp.c: Likewise.
46388         * sunrpc/clnt_tcp.c: Likewise.
46389         * sunrpc/clnt_udp.c: Likewise.
46390         * sunrpc/clnt_unix.c: Likewise.
46391         * sunrpc/des_crypt.c: Likewise.
46392         * sunrpc/des_soft.c: Likewise.
46393         * sunrpc/get_myaddr.c: Likewise.
46394         * sunrpc/key_call.c: Likewise.
46395         * sunrpc/key_prot.c: Likewise.
46396         * sunrpc/netname.c: Likewise.
46397         * sunrpc/pm_getmaps.c: Likewise.
46398         * sunrpc/pm_getport.c: Likewise.
46399         * sunrpc/pmap_clnt.c: Likewise.
46400         * sunrpc/pmap_prot.c: Likewise.
46401         * sunrpc/pmap_prot2.c: Likewise.
46402         * sunrpc/pmap_rmt.c: Likewise.
46403         * sunrpc/publickey.c: Likewise.
46404         * sunrpc/rpc_cmsg.c: Likewise.
46405         * sunrpc/rpc_common.c: Likewise.
46406         * sunrpc/rpc_dtable.c: Likewise.
46407         * sunrpc/rpc_prot.c: Likewise.
46408         * sunrpc/rpc_thread.c: Likewise.
46409         * sunrpc/rtime.c: Likewise.
46410         * sunrpc/svc.c: Likewise.
46411         * sunrpc/svc_auth.c: Likewise.
46412         * sunrpc/svc_authux.c: Likewise.
46413         * sunrpc/svc_raw.c: Likewise.
46414         * sunrpc/svc_run.c: Likewise.
46415         * sunrpc/svc_simple.c: Likewise.
46416         * sunrpc/svc_tcp.c: Likewise.
46417         * sunrpc/svc_udp.c: Likewise.
46418         * sunrpc/svc_unix.c: Likewise.
46419         * sunrpc/svcauth_des.c: Likewise.
46420         * sunrpc/xcrypt.c: Likewise.
46421         * sunrpc/xdr.c: Likewise.
46422         * sunrpc/xdr_array.c: Likewise.
46423         * sunrpc/xdr_float.c: Likewise.
46424         * sunrpc/xdr_intXX_t.c: Likewise.
46425         * sunrpc/xdr_mem.c: Likewise.
46426         * sunrpc/xdr_rec.c: Likewise.
46427         * sunrpc/xdr_ref.c: Likewise.
46428         * sunrpc/xdr_sizeof.c: Likewise.
46429         * sunrpc/xdr_stdio.c: Likewise.
46431 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46433         [BZ #12650]
46434         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46435         * sysdeps/ia64/dl-tls.h: Likewise.
46436         * sysdeps/powerpc/dl-tls.h: Likewise.
46437         * sysdeps/s390/dl-tls.h: Likewise.
46438         * sysdeps/sh/dl-tls.h: Likewise.
46439         * sysdeps/sparc/dl-tls.h: Likewise.
46440         * sysdeps/x86_64/dl-tls.h: Likewise.
46441         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46443 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46445         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46446         rpath element also skip the following colon.
46447         (expand_dynamic_string_token): Add is_path parameter and pass
46448         down to DL_DST_REQUIRED and _dl_dst_substitute.
46449         (decompose_rpath): Call expand_dynamic_string_token with
46450         non-zero is_path.  Ignore empty rpaths.
46451         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46452         with zero is_path.
46454 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46457         Make cancelable.
46459 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46461         [BZ #12655]
46462         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46463         Patch by Filipe David Manana <fdmanana@apache.org>.
46465 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46467         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46468         Maintain aligned stack.
46469         (CHECK_RSP): Remove unused macro.
46471 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46473         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46474         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46476 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46478         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46480         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46482 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46484         [BZ #12518]
46485         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46486         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46487         * sysdeps/x86_64/memmove.c: New file.
46488         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46489         (memcpy): Renamed to ...
46490         (__new_memcpy): This.
46491         (memcpy): Provide GLIBC_2_14 memcpy.
46492         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46493         (memcpy): Provide GLIBC_2_2_5 memcpy.
46495 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46497         [BZ #12631]
46498         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46500 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46502         * misc/syncfs.c: New file.
46503         * misc/Makefile (routines): Add syncfs.
46504         * posix/unistd.h: Declare syncfs.
46505         * sysdeps/unix/syscalls.list: Add syncfs.
46507 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46509         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46510         open_by_handle_at.
46511         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46512         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46513         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46514         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46515         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46516         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46517         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46519 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46521         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46522         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46523         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46524         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46525         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46526         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46527         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46529         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46530         sync_file_range.c with -fexceptions.
46531         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46532         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46533         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46534         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46535         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46536         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46537         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46538         sync_file_range as cancellation point
46539         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46540         now a wrapper around __call_sync_file_range with cancellation handling.
46541         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46542         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46543         function name to __call_sync_file_range.
46544         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46545         Add call_sync_file_range.
46547 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46549         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46550         bits/timex.h.
46552 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46554         * iconv/iconv.h: Fix typo in comment.
46555         * io/fcntl.h: Likewise.
46556         * libio/stdio.h: Likewise.
46557         * posix/spawn.h: Likewise.
46558         * posix/unistd.h: Likewise.
46559         * stdlib/stdlib.h: Likewise.
46560         * time/time.h: Likewise.
46561         * wcsmbs/wchar.h: Likewise.
46563         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46564         open_by_handle): Add.
46565         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46566         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46567         Augment a few comments.
46568         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46569         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46570         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46571         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46572         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46573         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46574         open_by_handle.
46576         * io/fcntl.h (AT_EMPTY_PATH): Define.
46578 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46580         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46581         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46582         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46583         to...
46584         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46585         * Versions.def: Add GLIBC_2.14.
46586         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46587         Export.
46589 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46591         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46592         round counter.
46593         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46595 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46597         [BZ #12597]
46598         * string/test-strncmp.c (do_page_test): New function.
46599         (check2): Likewise.
46600         (test_main): Call check2.
46601         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46603 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46605         [BZ #12587]
46606         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46607         Handle cache information in CPU leaf 4.
46608         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46610 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46612         [BZ #12583]
46613         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46614         character representation.
46615         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46617 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46619         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46620         END(__isnan) to END(__isnanf) to match function entry point/label
46621         EALIGN(__isnanf,...).
46623 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46625         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46627 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46629         [BZ #12510]
46630         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46631         copy from the symbol referenced in the relocation to initialize the
46632         used variable.
46633         Patch by Piotr Bury <pbury@goahead.com>.
46634         * elf/Makefile: Add rules to build and tst-unique3.
46635         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46636         * elf/tst-unique3.cc: New file.
46637         * elf/tst-unique3.h: New file.
46638         * elf/tst-unique3lib.cc: New file.
46639         * elf/tst-unique3lib2.cc: New file.
46641         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46643 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46645         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46646         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46647         to _start.
46649 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46651         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46652         to-be-loaded object along a path to loader is ld.so.
46654 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46655             Ulrich Drepper  <drepper@gmail.com>
46657         * sysdeps/x86_64/memset.S: After aligning destination, code
46658         branches to different locations depending on the value of
46659         misalignment, when multiarch is enabled. Fix this.
46661 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46663         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46664         Set _x86_64_preferred_memory_instruction for AMD processsors.
46665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46666         Set bit_Prefer_SSE_for_memop for AMD processors.
46668 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46670         * libio/fmemopen.c (fmemopen): Optimize a bit.
46672 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46674         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46676 2011-03-03  Roland McGrath  <roland@redhat.com>
46678         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46680 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46682         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46683         __bzero_ultra1 instead of __memset_ultra1.
46685 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46686             Ulrich Drepper  <drepper@gmail.com>
46688         [BZ #12509]
46689         * include/link.h (struct link_map): Add l_orig_initfini.
46690         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46691         returning unsuccessfully.
46692         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46693         close of a file loaded at startup, restore the original l_initfini
46694         list.
46695         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46696         list, store the pointer.
46697         * elf/Makefile ($(objpfx)noload-mem): New rule.
46698         (noload-ENV): Define.
46699         (tests): Add $(objpfx)noload-mem.
46700         * elf/noload.c: Include <memcheck.h>.
46701         (main): Call mtrace.  Close all opened handles.
46703 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46705         [BZ #12454]
46706         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46707         dependencies are missing.
46709 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46711         Fix __if_freereq crash: Unlike the generic version which uses free,
46712         Hurd needs munmap.
46713         * sysdeps/mach/hurd/ifreq.h: New file.
46715 2011-01-27  Petr Baudis  <pasky@suse.cz>
46716             Ulrich Drepper  <drepper@gmail.com>
46718         [BZ 12445]#
46719         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46720         to extend_alloca().
46721         * stdio-common/bug23.c: New file.
46722         * stdio-common/Makefile (tests): Add bug23.
46724 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46725             Ulrich Drepper  <drepper@gmail.com>
46727         [BZ #12489]
46728         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46729         before performing relro protection.  At old place add assertion
46730         to make sure nothing changed.
46732 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46733             Glauber de Oliveira Costa  <glommer@gmail.com>
46735         * elf/elf.h: Add new ARM TLS relocs.
46737 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46740         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46741         cast from r3.
46742         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46743         'tests' variable.
46744         * sysdeps/wordsize-64/tst-writev.c: New file.
46746 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46748         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46749         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46750         insns in _dl_start to prevent a TOC reference before relocs are
46751         resolved.
46753 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46755         [BZ #12469]
46756         * Makeconfig: Remove RANLIB definition.
46757         * Makerules: Don't use RANLIB.
46758         * aclocal.m4: Remove ranlib test.
46759         * configure.in: No need to check for ranlib.
46760         * elf/rtld-Rules: Don't use RANLIB.
46762 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46764         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46765         protection macro.
46766         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46767         inclusion protection macro.
46769         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46770         SIGRTMIN and SIGRTMAX and print information in that case only when
46771         SIGRTMIN is defined.
46773 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46775         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46776         arginfo fn returning -1.
46778         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46779         and thousands string is zero terminated.
46781 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46783         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46784         sysdeps/unix/sysv/linux/bits/socket.h.
46786 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46788         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46789         (__CPU_COUNT): Remove old macros.
46790         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46791         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46792         (__CPU_ALLOC, __CPU_FREE): Add macros.
46793         (__sched_cpualloc, __sched_cpufree): Add declarations.
46795 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46797         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46798         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46799         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46800         (readdhstai): Return value of addhstaiX call.
46801         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46802         (addgrbyX): Return value returned by cache_addgr.
46803         (readdgrbyname): Return value returned by addgrbyX.
46804         (readdgrbygid): Likewise.
46805         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46806         (addpwbyX): Return value returned by cache_addpw.
46807         (readdpwbyname): Return value returned by addhstbyX.
46808         (readdpwbyuid): Likewise.
46809         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46810         (addservbyX): Return value returned by cache_addserv.
46811         (readdservbyname): Return value returned by addservbyX:
46812         (readdservbyport): Likewise.
46813         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46814         (addhstbyX): Return value returned by cache_addhst.
46815         (readdhstbyname): Return value returned by addhstbyX.
46816         (readdhstbyaddr): Likewise.
46817         (readdhstbynamev6): Likewise.
46818         (readdhstbyaddrv6): Likewise.
46819         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46820         (readdinitgroups): Return value returned by addinitgroupsX.
46821         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46822         (prune_cache): Keep track of timeout value of re-added entries.
46823         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46824         * nscd/nscd.h: Adjust prototypes of readd* functions.
46826 2011-02-04  Roland McGrath  <roland@redhat.com>
46828         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46829         (nis_stats): Likewise.
46830         * nis/nis_modify.c (nis_modify): Likewise.
46831         * nis/nis_remove.c (nis_remove): Likewise.
46832         * nis/nis_add.c (nis_add): Likewise.
46834         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46836         * posix/fnmatch_loop.c: Add some consts.
46838         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46840 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46842         [BZ #12460]
46843         * config.make.in (config-cflags-novzeroupper): Define.
46844         * configure.in: Substitute libc_cv_cc_novzeroupper.
46845         * elf/Makefile (AVX-CFLAGS): Define.
46846         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46847         (CFLAGS-tst-auditmod4a.c): Likewise.
46848         (CFLAGS-tst-auditmod4b.c): Likewise.
46849         (CFLAGS-tst-auditmod6b.c): Likewise.
46850         (CFLAGS-tst-auditmod6c.c): Likewise.
46851         (CFLAGS-tst-auditmod7b.c): Likewise.
46852         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46854 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46856         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46857         function to the callback.
46858         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46860 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46862         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46863         of errno.
46865 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46867         [BZ #11724]
46868         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46869         of constructors.
46870         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46871         of destructors.
46872         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46874         [BZ #11724]
46875         * elf/Makefile: Add rules to build and run new test.
46876         * elf/tst-initorder.c: New file.
46877         * elf/tst-initorder.exp: New file.
46878         * elf/tst-initordera1.c: New file.
46879         * elf/tst-initordera2.c: New file.
46880         * elf/tst-initordera3.c: New file.
46881         * elf/tst-initordera4.c: New file.
46882         * elf/tst-initorderb1.c: New file.
46883         * elf/tst-initorderb2.c: New file.
46884         * elf/tst-order-a1.c: New file.
46885         * elf/tst-order-a2.c: New file.
46886         * elf/tst-order-a3.c: New file.
46887         * elf/tst-order-a4.c: New file.
46888         * elf/tst-order-b1.c: New file.
46889         * elf/tst-order-b2.c: New file.
46890         * elf/tst-order-main.c: New file.
46891         New test case by George Gensure <werkt0@gmail.com>.
46893 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46895         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46896         decoding ACE if AI_CANONIDN.
46898 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46900         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46902 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46904         * version.h (RELEASE): Bump for 2.13 release.
46905         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46907         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46909         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46910         MADV_NOHUGEPAGE.
46911         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46912         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46913         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46914         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46915         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46916         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46918         * posix/getconf.c: Update copyright year.
46919         * catgets/gencat.c: Likewise.
46920         * csu/version.c: Likewise.
46921         * debug/catchsegv.sh: Likewise.
46922         * debug/xtrace.sh: Likewise.
46923         * elf/ldconfig.c: Likewise.
46924         * elf/ldd.bash.in: Likewise.
46925         * elf/sprof.c (print_version): Likewise.
46926         * iconv/iconv_prog.c: Likewise.
46927         * iconv/iconvconfig.c: Likewise.
46928         * locale/programs/locale.c: Likewise.
46929         * locale/programs/localedef.c: Likewise.
46930         * malloc/memusage.sh: Likewise.
46931         * malloc/mtrace.pl: Likewise.
46932         * nscd/nscd.c (print_version): Likewise.
46933         * nss/getent.c: Likewise.
46935         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46936         PF_CAIF, and PF_ALG.
46937         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46939 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46941         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46942         (modules-names): Use them.
46943         (ifunc-test-modules, ifunc-pie-tests): Define.
46944         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46945         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46946         (test-extras): Likewise.
46947         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46948         $(compile-command.c).
46949         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46950         (all-built-dso): Define.
46951         (check-textrel.out, check-execstack.out): Depend on it.
46953         * configure.in: Don't override --enable-multi-arch.
46955 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46957         [BZ #6812]
46958         * nscd/hstcache.c (tryagain): Define.
46959         (cache_addhst): Return tryagain not notfound for temporary errors.
46960         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46961         failed.
46963 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46965         [BZ #10563]
46966         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46967         to make the syscall.
46968         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46970         [BZ #12378]
46971         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46972         and fall back to matching as normal character if the string ends before
46973         the matching ']' is found.  This is what POSIX requires.
46974         * posix/testfnm.c: Adjust test result.
46975         * posix/globtest.sh: Adjust test result.  Add new test.
46976         * posix/tst-fnmatch.input: Likewise.
46977         * posix/tst-fnmatch2.c: Add new test.
46979 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46981         * elf/Makefile (check-execstack): Revert last change.  Depend on
46982         check-execstack.h.
46983         (check-execstack.h): New target.
46984         (generated): Add check-execstack.h.
46985         * elf/check-execstack.c: Include "check-execstack.h".
46986         (main): Revert last change.
46987         (handle_file): Return zero if GNU_STACK is absent and
46988         DEFAULT_STACK_PERMS doesn't include PF_X.
46990 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46992         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46993         in child fails because the descriptor is already closed.
46994         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46995         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46996         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46998         [BZ #12397]
46999         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47000         syscall.
47002         [BZ #10484]
47003         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47004         temporary buffer used to handle multi lookups locally.
47005         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47007 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47009         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47010         loader is ld.so.
47012 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
47014         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47015         alignment for SSE2.
47017 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
47019         [BZ #12394]
47020         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47021         characters.  When rounding increased number of integer digits recompute
47022         number of groups.
47023         * stdio-common/tst-grouping.c: New file.
47024         * stdio-common/Makefile: Add rules to build and run tst-grouping.
47026 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
47028         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47029         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
47031         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47032         void.
47033         * bits/select.h: Likewise.
47035 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
47037         * po/ja.po: Update from translation team.
47039 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
47041         [BZ #11155]
47042         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47043         implementation just like for lxstat, fxstatat, et al.
47045 2010-12-27  Jim Meyering  <meyering@redhat.com>
47047         [BZ #12348]
47048         * posix/regexec.c (build_trtable): Return failure indication upon
47049         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47051 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47053         [BZ #12201]
47054         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47055         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47056         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47057         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47059         [BZ #12207]
47060         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47062         [BZ #12204]
47063         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47064         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47066 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47068         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47069         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47070         script has SORT_BY_INIT_PRIORITY.
47071         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47072         NO_CTORS_DTORS_SECTIONS is defined.
47073         * elf/soinit.c: Likewise.
47074         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47075         NO_CTORS_DTORS_SECTIONS is defined.
47076         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47077         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47078         * sysdeps/sh/init-first.c: Likewise.
47079         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47081 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47083         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47084         always use the slow path.
47086 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47088         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47089         similar rule which adds the sysdep directories to the header search in
47090         order to pick up the correct platform stackinfo.h.
47091         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47092         perform test if it is, otherwise return successfully without testing.
47093         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47094         DEFAULT_STACK_PERMS define in stackinfo.h.
47095         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47096         defined in stackinfo.h.
47097         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47098         DEFAULT_STACK_PERMS defined in stackinfo.h.
47099         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47100         * sysdeps/ia64/stackinfo.h: Likewise.
47101         * sysdeps/s390/stackinfo.h: Likewise.
47102         * sysdeps/sh/stackinfo.h: Likewise.
47103         * sysdeps/sparc/stackinfo.h: Likewise.
47104         * sysdeps/x86_64/stackinfo.h: Likewise.
47105         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47106         PF_X for powerpc64.  Retain PF_X for powerpc32.
47108 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47110         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47111         accurately.
47112         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47113         GETDENTS_64BIT_ALIGNED.
47115 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47117         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47119 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47121         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47122         _GNU_SOURCE.
47124         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47125         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47126         Remove __restrict.
47127         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47128         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47130 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47132         [BZ #11655]
47133         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47134         are initialized.
47136 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47138         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47140 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47142         * po/it.po: Update from translation team.
47144 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47146         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47147         unused codes.
47149 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47151         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47153 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47155         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47156         specially.
47157         (gaih_getanswer_slice): Likewise.
47159 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47163 2010-05-31  Petr Baudis  <pasky@suse.cz>
47165         [BZ #11149]
47166         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47167         silently even in the chroot mode.
47169 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47171         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47172         last patch a bit.  Pretty printing
47174 2010-05-31  Petr Baudis <pasky@suse.cz>
47176         [BZ #10085]
47177         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47178         initialization of skip_initgroups_dyn.
47180 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47182         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47183         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47185 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47187         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47189 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47191         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47192         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47193         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47194         ($(objpfx)tst-fnmatch-mem): New rule.
47195         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47196         * posix/tst-fnmatch.c (main): Call mtrace.
47198 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47201         Support Intel processor model 6 and model 0x2c.
47203 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47205         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47206           signed comparison.
47208 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47210         [BZ #12205]
47211         * string/test-strncasecmp.c (check_result): New function.
47212         (do_one_test): Use it.
47213         (check1): New function.
47214         (test_main): Use it.
47215         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47216         Support strcasecmp and strncasecmp.
47218 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47220         [BZ #12194]
47221         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47222         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47224 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47226         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47227         IFUNC support.
47228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47229         memset-x86-64.
47230         * sysdeps/x86_64/multiarch/bzero.S: New file.
47231         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47232         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47233         * sysdeps/x86_64/multiarch/memset.S: New file.
47234         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47236         Set bit_Prefer_SSE_for_memop for Intel processors.
47237         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47238         Define.
47239         (index_Prefer_SSE_for_memop): Define.
47240         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47242 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47244         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47245         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47247 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47249         [BZ #12191]
47250         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47251         (__x86_64_raw_data_cache_size_half): Likewise.
47252         (__x86_64_raw_shared_cache_size): Likewise.
47253         (__x86_64_raw_shared_cache_size_half): Likewise.
47255         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47256         (__x86_64_raw_data_cache_size_half): Likewise.
47257         (__x86_64_raw_shared_cache_size): Likewise.
47258         (__x86_64_raw_shared_cache_size_half): Likewise.
47259         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47260         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47261         and __x86_64_raw_shared_cache_size_half.  Round
47262         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47263         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47264         to multiple of 256 bytes.
47266 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47268         [BZ #12167]
47269         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47270         of inacessible symlinks.  Verify result of symlink before returning it.
47271         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47272         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47274 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47276         * math/math.h (isinf): Fix typo in comment.
47278 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47280         * po/da.po: Update from translation team.
47282 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47284         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47285         is added to the list.
47287 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47288             Ulrich Drepper  <drepper@gmail.com>
47290         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47291         the global list here.  Move code to...
47292         (_dl_add_to_namespace_list): ...here.  New function.
47293         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47294         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47295         * elf/dl-load.c (lose): Don't remove the element from the list.
47296         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47297         (_dl_map_object): Likewise.
47299 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47301         [BZ #12159]
47302         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47303         into all bytes of SSE register.
47304         Patch by Richard Li <richardpku@gmail.com>.
47306 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47308         [BZ #12140]
47309         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47310         perturbing.
47312 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47314         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47315         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47316         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47317         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47319         submachine.
47320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47322 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47324         * include/dlfcn.h (__RTLD_SECURE): Define.
47325         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47326         mode & __RTLD_SECURE instead.
47327         (open_path): Rename preloaded parameter to secure.
47328         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47329         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47330         * elf/dl-deps.c (openaux): Likewise.
47331         * elf/rtld.c (struct map_args): Remove is_preloaded.
47332         (map_doit): Don't use it.
47333         (dl_main): Likewise.
47334         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47335         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47337 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47339         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47340         (sysd-rules-targets): Remove duplicates.
47341         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47342         rtld-%.$o dependency.
47344 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47346         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47347         _dl_map_object do it.
47349 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47351         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47352         fast fma builtins, define the macros in the C99 standard.
47353         (FP_FAST_FMAF): Likewise.
47354         (FP_FAST_FMAL): Likewise.
47355         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47357         * bits/mathdef.h: Update copyright year.
47358         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47360 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47362         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47363         builtins, define the macros in the C99 standard.
47364         (FP_FAST_FMAF): Likewise.
47365         (FP_FAST_FMAL): Likewise.
47366         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47367         multiply/add.
47368         (FP_FAST_FMAF): Likewise.
47370 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47372         [BZ #3268]
47373         * math/libm-test.inc (fma_test): Some new testcases.
47374         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47375         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47376         y and infinite z.  Do multiplication by C already in long double.
47377         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47379         y and infinite z.  Do bitwise or of inexact bit into u.d.
47380         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47381         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47382         * sysdeps/i386/fpu/s_fma.S: Removed.
47383         * sysdeps/i386/fpu/s_fmal.S: Removed.
47385 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47387         [BZ #3268]
47388         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47390         computation is not scheduled after fetestexcept.  Fix value
47391         of minimum denormal long double.
47393 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47395         [BZ #3268]
47396         * math/libm-test.inc (fma_test): Add some more tests.
47397         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47398         correctly.
47400 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47402         * scripts/data/localplt-s390-linux-gnu.data: New file.
47403         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47405 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47407         [BZ #3268]
47408         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47409         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47410         instead of dbl-64.
47411         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47412         inlines.
47413         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47414         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47415         if one of x and y is very large and the other is subnormal.
47416         * sysdeps/s390/fpu/s_fmaf.c: New file.
47417         * sysdeps/s390/fpu/s_fma.c: New file.
47418         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47419         * sysdeps/powerpc/fpu/s_fma.S: New file.
47420         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47421         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47422         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47424 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47426         [BZ #3268]
47427         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47428         fma tests.
47429         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47430         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47431         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47432         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47433         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47434         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47435         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47437 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47439         [BZ #12078]
47440         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47441         * posix/bug-regex31.input: Add test case.
47443 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47445         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47446         * posix/bug-regex31.input: New file.
47448         [BZ #12078]
47449         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47450         (parse_sub_exp): Fix last change, use postorder.
47452         * posix/bug-regex31.c: New file.
47453         * posix/Makefile: Add rules to build and run bug-regex31.
47455         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47457         [BZ #12078]
47458         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47460         [BZ #12108]
47461         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47462         to have entries in sys_siglist.
47464         [BZ #12093]
47465         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47466         be NULL.
47468 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47470         [BZ #3268]
47471         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47472         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47473         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47474         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47475         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47476         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47477         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47478         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47479         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47480         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47481         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47482         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47483         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47484         * math/ftestexcept.c (fetestexcept): Likewise.
47485         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47486         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47487         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47488         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47489         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47490         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47491         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47493 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47495         [BZ #12107]
47496         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47497         newline.
47499 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47501         * string/bug-strstr1.c: New file.
47502         * string/Makefile: Add rules to build and run bug-strstr1.
47504 2010-10-05  Eric Blake  <eblake@redhat.com>
47506         [BZ #12092]
47507         * string/str-two-way.h (two_way_long_needle): Always clear memory
47508         when skipping input due to the shift table.
47510 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47512         [BZ #12005]
47513         * malloc/mcheck.c: Handle large requests.
47515         [BZ #12077]
47516         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47517         for strncmp and strncasecmp.
47518         * string/stratcliff.c: Add tests for strcmp and strncmp.
47519         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47521 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47523         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47524         __set_fpscr.
47526 2010-09-30  Andreas Jaeger  <aj@suse.de>
47528         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47529         (CGROUP_SUPER_MAGIC): Define.
47530         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47531         Handle btrfs and cgroup file systems.
47532         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47533         Likewise.
47535 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47537         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47538         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47540 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47542         [BZ #12067]
47543         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47544         trying to locate the ELF header.
47546 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47548         [BZ #11611]
47549         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47550         Mask out sign-bit copies when constructing f_fsid.
47552 2010-09-24  Petr Baudis <pasky@suse.cz>
47554         * debug/stack_chk_fail_local.c: Add missing licence exception.
47555         * debug/warning-nop.c: Likewise.
47557 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47559         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47560         implementing getdents64 using getdents syscall, set d_type if
47561         __ASSUME_GETDENTS32_D_TYPE.
47563 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47565         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47566         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47568 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47570         [BZ #12037]
47571         * posix/unistd.h: Undo change of feature selection for ftruncate from
47572         2010-01-11.
47574 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47576         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47577         detection.
47579 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47581         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47582         fanotify_mark.
47583         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47585 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47587         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47588         variables after CHECK_SP call.
47589         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47591 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47592             Ulrich Drepper  <drepper@redhat.com>
47594         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47595         re-relocationg ld.so.
47596         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47597         _dl_init_paths call.
47598         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47599         here anymore.
47601 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47603         * resolv/res_init.c (__res_vinit): Count the default server we added.
47605 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47606             Ulrich Drepper  <drepper@redhat.com>
47608         [BZ #11968]
47609         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47610         (____longjmp_chk): Use %ebx for saving value across system call.
47611         Add unwind info.
47613 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47615         * manual/Makefile: Don't mix pattern rules with normal rules.
47617 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47619         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47620         operation.
47621         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47622         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47623         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47624         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47625         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47626         Likewise.
47628 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47630         [BZ #11979]
47631         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47632         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47634 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47636         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47637         * sysdeps/x86_64/addmul_1.S: Likewise.
47638         * sysdeps/x86_64/lshift.S: Likewise.
47639         * sysdeps/x86_64/mul_1.S: Likewise.
47640         * sysdeps/x86_64/rshift.S: Likewise.
47641         * sysdeps/x86_64/sub_n.S: Likewise.
47642         * sysdeps/x86_64/submul_1.S: Likewise.
47644 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47646         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47647         Define __sched_param instead of SCHED_* and sched_param when
47648         <bits/sched.h> is included with __need_schedparam defined.
47649         * bits/sched.h [__need_schedparam]
47650         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47651         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47652         (__defined_schedparam): Define to 1.
47653         (__sched_param): New structure, identical to sched_param.
47654         (__need_schedparam): Undefine.
47656 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47658         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47659         (epoll_create1): Declare.
47661         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47663 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47665         [BZ #7066]
47666         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47667         shifting retval into place.
47669 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47671         * nis/rpcsvc/nis.h: Update copyright notice.
47672         * nis/rpcsvc/nis.x: Likewise.
47673         * nis/rpcsvc/nis_callback.h: Likewise.
47674         * nis/rpcsvc/nis_callback.x: Likewise.
47675         * nis/rpcsvc/nis_object.x: Likewise.
47676         * nis/rpcsvc/nis_tags.h: Likewise.
47677         * nis/rpcsvc/yp.h: Likewise.
47678         * nis/rpcsvc/yp.x: Likewise.
47679         * nis/rpcsvc/ypupd.h: Likewise.
47680         * nis/yp_xdr.c: Likewise.
47681         * nis/ypupdate_xdr.c: Likewise.
47683         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47684         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47685         (pmap_getport): Use __libc_rpc_getport.
47686         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47687         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47688         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47690 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47693         fanotify_mark.
47695 2010-08-27  Roland McGrath  <roland@redhat.com>
47697         * sysdeps/i386/i686/multiarch/Makefile
47698         (CFLAGS-varshift.c): New variable.
47700 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47702         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47703         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47705         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47707         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47709 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47711         * sysdeps/x86_64/strlen.S: Unroll the loop.
47712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47713         strlen-sse2 strlen-sse2-bsf.
47714         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47715         __strlen_no_bsf if bit_Slow_BSF is set.
47716         (__strlen_sse42): Removed.
47717         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47718         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47720 2010-08-25  Roland McGrath  <roland@redhat.com>
47722         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47723         * sysdeps/x86_64/multiarch/varshift.c: New file.
47724         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47725         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47726         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47727         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47729 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47731         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47732         strlen-sse2 strlen-sse2-bsf.
47733         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47734         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47735         (__strlen_sse2): Removed.
47736         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47737         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47738         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47739         bit_Slow_BSF for Atom.
47740         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47741         (index_Slow_BSF): Define.
47742         (HAS_SLOW_BSF): Define.
47744 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47746         [BZ #10851]
47747         * resolv/res_init.c (__res_vinit): When no server address at all
47748         is given default to loopback.
47750 2010-08-24  Roland McGrath  <roland@redhat.com>
47752         * configure.in: Remove config-name.h generation.
47753         * configure: Regenerated.
47754         * config-name.in: File removed.
47755         * scripts/config-uname.sh: New file.
47756         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47757         ($(objdir)config-name.h): New target.
47759         * sunrpc/rpc_parse.h: Avoid nested comment.
47761 2010-08-24  Richard Henderson  <rth@redhat.com>
47762             Ulrich Drepper  <drepper@redhat.com>
47763             H.J. Lu  <hongjiu.lu@intel.com>
47765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47766         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47767         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47768         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47769         _mm_alignr_epi8 with _mm_loadu_si128.
47770         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47771         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47772         (__m128i_shift_right): Removed.
47773         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47774         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47775         * sysdeps/x86_64/multiarch/varshift.h: New file.
47776         * sysdeps/x86_64/multiarch/varshift.S: New file.
47778 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47780         * configure.in: Move assembler checks to before sysdep dir checking.
47782 2010-08-20  Petr Baudis  <pasky@suse.cz>
47784         * LICENSES: Sync the sunrpc license.
47786 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47788         * sunrpc/auth_des.c: Update copyright notice once again.
47789         * sunrpc/auth_none.c: Likewise.
47790         * sunrpc/auth_unix.c: Likewise.
47791         * sunrpc/authdes_prot.c: Likewise.
47792         * sunrpc/authuxprot.c: Likewise.
47793         * sunrpc/bindrsvprt.c: Likewise.
47794         * sunrpc/clnt_gen.c: Likewise.
47795         * sunrpc/clnt_perr.c: Likewise.
47796         * sunrpc/clnt_raw.c: Likewise.
47797         * sunrpc/clnt_simp.c: Likewise.
47798         * sunrpc/clnt_tcp.c: Likewise.
47799         * sunrpc/clnt_udp.c: Likewise.
47800         * sunrpc/clnt_unix.c: Likewise.
47801         * sunrpc/des_crypt.c: Likewise.
47802         * sunrpc/des_soft.c: Likewise.
47803         * sunrpc/get_myaddr.c: Likewise.
47804         * sunrpc/getrpcport.c: Likewise.
47805         * sunrpc/key_call.c: Likewise.
47806         * sunrpc/key_prot.c: Likewise.
47807         * sunrpc/openchild.c: Likewise.
47808         * sunrpc/pm_getmaps.c: Likewise.
47809         * sunrpc/pm_getport.c: Likewise.
47810         * sunrpc/pmap_clnt.c: Likewise.
47811         * sunrpc/pmap_prot.c: Likewise.
47812         * sunrpc/pmap_prot2.c: Likewise.
47813         * sunrpc/pmap_rmt.c: Likewise.
47814         * sunrpc/rpc/auth.h: Likewise.
47815         * sunrpc/rpc/auth_unix.h: Likewise.
47816         * sunrpc/rpc/clnt.h: Likewise.
47817         * sunrpc/rpc/des_crypt.h: Likewise.
47818         * sunrpc/rpc/key_prot.h: Likewise.
47819         * sunrpc/rpc/netdb.h: Likewise.
47820         * sunrpc/rpc/pmap_clnt.h: Likewise.
47821         * sunrpc/rpc/pmap_prot.h: Likewise.
47822         * sunrpc/rpc/pmap_rmt.h: Likewise.
47823         * sunrpc/rpc/rpc.h: Likewise.
47824         * sunrpc/rpc/rpc_des.h: Likewise.
47825         * sunrpc/rpc/rpc_msg.h: Likewise.
47826         * sunrpc/rpc/svc.h: Likewise.
47827         * sunrpc/rpc/svc_auth.h: Likewise.
47828         * sunrpc/rpc/types.h: Likewise.
47829         * sunrpc/rpc/xdr.h: Likewise.
47830         * sunrpc/rpc_clntout.c: Likewise.
47831         * sunrpc/rpc_cmsg.c: Likewise.
47832         * sunrpc/rpc_common.c: Likewise.
47833         * sunrpc/rpc_cout.c: Likewise.
47834         * sunrpc/rpc_dtable.c: Likewise.
47835         * sunrpc/rpc_hout.c: Likewise.
47836         * sunrpc/rpc_main.c: Likewise.
47837         * sunrpc/rpc_parse.c: Likewise.
47838         * sunrpc/rpc_parse.h: Likewise.
47839         * sunrpc/rpc_prot.c: Likewise.
47840         * sunrpc/rpc_sample.c: Likewise.
47841         * sunrpc/rpc_scan.c: Likewise.
47842         * sunrpc/rpc_scan.h: Likewise.
47843         * sunrpc/rpc_svcout.c: Likewise.
47844         * sunrpc/rpc_tblout.c: Likewise.
47845         * sunrpc/rpc_util.c: Likewise.
47846         * sunrpc/rpc_util.h: Likewise.
47847         * sunrpc/rpcinfo.c: Likewise.
47848         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47849         * sunrpc/rpcsvc/key_prot.x: Likewise.
47850         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47851         * sunrpc/rpcsvc/mount.x: Likewise.
47852         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47853         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47854         * sunrpc/rpcsvc/rex.x: Likewise.
47855         * sunrpc/rpcsvc/rstat.x: Likewise.
47856         * sunrpc/rpcsvc/rusers.x: Likewise.
47857         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47858         * sunrpc/rpcsvc/spray.x: Likewise.
47859         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47860         * sunrpc/rtime.c: Likewise.
47861         * sunrpc/svc.c: Likewise.
47862         * sunrpc/svc_auth.c: Likewise.
47863         * sunrpc/svc_authux.c: Likewise.
47864         * sunrpc/svc_raw.c: Likewise.
47865         * sunrpc/svc_run.c: Likewise.
47866         * sunrpc/svc_simple.c: Likewise.
47867         * sunrpc/svc_tcp.c: Likewise.
47868         * sunrpc/svc_udp.c: Likewise.
47869         * sunrpc/svc_unix.c: Likewise.
47870         * sunrpc/svcauth_des.c: Likewise.
47871         * sunrpc/xcrypt.c: Likewise.
47872         * sunrpc/xdr.c: Likewise.
47873         * sunrpc/xdr_array.c: Likewise.
47874         * sunrpc/xdr_float.c: Likewise.
47875         * sunrpc/xdr_mem.c: Likewise.
47876         * sunrpc/xdr_rec.c: Likewise.
47877         * sunrpc/xdr_ref.c: Likewise.
47878         * sunrpc/xdr_sizeof.c: Likewise.
47879         * sunrpc/xdr_stdio.c: Likewise.
47881         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47882         handling.
47884 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47886         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47888 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47890         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47891         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47892         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47893         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47894         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47895         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47896         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47897         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47898         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47899         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47900         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47901         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47902         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47903         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47905 2010-07-26  Anton Blanchard  <anton@samba.org>
47907         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47908         * malloc/arena.c (heap_trim): Likewise.
47910 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47912         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47913         here.  Not...
47914         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47915         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47917 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47919         * sysdeps/i386/elf/Makefile: New file.
47921 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47923         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47924         from fanotify_init.
47925         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47926         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47928 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47930         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47931         of strncasecmp_l.
47932         * sysdeps/multiarch/strcmp.S: Likewise.
47934 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47936         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47937         strncase_l-nonascii.
47938         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47939         Add strncase_l-ssse3.
47940         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47941         * sysdeps/x86_64/strcmp.S: Likewise.
47942         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47943         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47944         * sysdeps/x86_64/strncase.S: New file.
47945         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47946         * sysdeps/x86_64/strncase_l.S: New file.
47947         * string/Makefile (strop-tests): Add strncasecmp.
47948         * string/test-strncasecmp.c: New file.
47950         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47951         warning.
47953         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47954         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47956 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47958         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47960 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47962         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47963         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47964         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47966 2010-05-01  Alan Modra  <amodra@gmail.com>
47968         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47969         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47970         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47971         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47972         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47973         tidying.  Don't tail-call __sigjmp_save for static lib.
47974         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47975         save location.
47976         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47977         (CALL_MCOUNT): Add eh info, and nop after bl.
47978         (TAIL_CALL_SYSCALL_ERROR): New macro.
47979         (PSEUDO_RET): Use it.
47980         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47981         Correct save location of integer regs and cr.
47982         (_dl_profile_resolve): Correct cr save location.  Delete nops
47983         after bl when SHARED.  Reduce cfi size a little by better
47984         placement of cfi directives.
47985         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47986         make a stack frame.  Instead use parm save area as a temp.
47987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47988         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47990         Don't make a stack frame for parent, use parm save area.
47991         Increase child stack frame to 112 bytes.  Don't save unused reg,
47992         and adjust reg usage.  Set up cfi on error recovery and
47993         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47995         (__makecontext): Add dummy nop after jump to exit.
47996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47997         Use correct parm save area and cr save, reduce stack frame.
47998         Correct cfi for possible PSEUDO_RET frame setup.
47999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48000         Branch to local label emitted by PSEUDO_RET rather than
48001         __syscall_error.
48003 2010-08-12  Andreas Schwab  <schwab@redhat.com>
48005         [BZ #11904]
48006         * locale/programs/locale.c (print_assignment): New function.
48007         (show_locale_vars): Use it.
48009 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
48011         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48012         field.
48013         (struct statfs64): Likewise.
48014         (_STATFS_F_FLAGS): Define.
48015         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48016         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48017         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48018         (ST_VALID): Define locally.
48019         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48020         __statvfs_getflags, use the provided value.
48021         * sysdeps/unix/sysv/linux/kernel-features.h: Define
48022         __ASSUME_STATFS_F_FLAGS.
48024         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48026         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48027         Add sys/fanotify.h.
48028         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48029         fanotify_mask for GLIBC_2.13.
48030         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48031         fanotify_init and fanotify_mark.
48032         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48033         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48035         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48036         Add prlimit.
48037         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48038         prlimit64 for GLIBC_2.13.
48039         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48040         prlimit64.
48041         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48042         syscall.
48043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48044         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48045         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48046         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48047         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48048         add prlimit alias.
48049         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48051         [BZ #11903]
48052         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48053         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48055         * nss/Makefile: Add rules to build and run tst-nss-test1.
48056         * shlib-versions: Add entry for libnss_test1.
48057         * nss/nss_test1.c: New file.
48058         * nss/tst-nss-test1.c: New file.
48060         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48061         (__nss_configure_lookup): Set appropriate entry in
48062         __nss_configure_lookup to true.
48063         * nss/nsswitch.h: Define enum with indeces of databases in
48064         databases and __nss_database_custom arrays.  Declare
48065         __nss_database_custom.
48066         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48067         to avoid using nscd when custom rules are installed.
48068         * nss/getXXbyYY_r.c: Likewise.
48069         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48071         * nss/nss_files/files-parse.c: Whitespace fixes.
48073 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48075         [BZ #11883]
48076         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48077         * posix/fnmatch_loop.c: Likewise.
48079 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48081         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48082         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48083         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48084         * Versions.def [GLIBC_2.13]: Add.
48086 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48088         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48089         Also fail if tpwd after pwuid call is NULL.
48091 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48093         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48094         when converting to ms.
48096 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48098         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48099         EOPNOTSUPP errors with ENOTTY.
48100         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48101         EOPNOTSUPP errors with ENOTTY.
48103 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48105         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48106         Add strcasecmp_l-ssse3.
48107         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48108         strcasecmp.
48109         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48110         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48111         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48113 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48115         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48117         * string/Makefile (strop-tests): Add strcasecmp.
48118         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48119         strcasecmp_l-nonascii.
48120         (gen-as-const-headers): Add locale-defines.sym.
48121         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48122         * sysdeps/x86_64/strcasecmp.S: New file.
48123         * sysdeps/x86_64/strcasecmp_l.S: New file.
48124         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48125         * sysdeps/x86_64/locale-defines.sym: New file.
48126         * string/test-strcasecmp.c: New file.
48128         * string/test-strcasestr.c: Test both ends of the range of characters.
48129         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48131 2010-07-29  Roland McGrath  <roland@redhat.com>
48133         [BZ #11856]
48134         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48136 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48138         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48139         for ld.so.
48141 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48143         * manual/memory.texi (Malloc Tunable Parameters): Document
48144         M_PERTURB.
48146 2010-07-26  Roland McGrath  <roland@redhat.com>
48148         [BZ #11840]
48149         * configure.in (-fgnu89-inline check): Set and substitute
48150         gnu89_inline, not libc_cv_gnu89_inline.
48151         * configure: Regenerated.
48152         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48154 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48156         * string/test-strnlen.c: New file.
48157         * string/Makefile (strop-tests): Add strnlen.
48158         * string/tester.c (test_strnlen): Add a few more test cases.
48159         * string/tst-strlen.c: Better error reporting.
48161         * sysdeps/x86_64/strnlen.S: New file.
48163 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48165         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48166         lower-latency instructions.
48168 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48170         * string/test-strcasestr.c: New file.
48171         * string/test-strstr.c: New file.
48172         * string/Makefile (strop-tests): Add strstr and strcasestr.
48173         * string/str-two-way.h: Don't undefine MAX.
48174         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48176 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48178         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48179         strcasestr-nonascii.
48180         (CFLAGS-strcasestr-nonascii.c): Define.
48181         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48182         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48183         Remove unused attribute.
48185 2010-07-20  Roland McGrath  <roland@redhat.com>
48187         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48188         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48189         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48190         like LD_HWCAP_MASK can disable hwcaps.
48192 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48194         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48196 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48198         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48199         call in strcasestr.
48200         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48201         __strcasestr_sse42_nonascii.
48202         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48203         strcasestr-nonascii.c.
48204         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48206 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48208         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48209         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48210         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48211         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48213 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48215         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48216         fcntl.
48218 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48220         [BZ #11577]
48221         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48222         dl_signal_cerror.
48224 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48226         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48227         _PC_PIPE_BUF using F_GETPIPE_SZ.
48229 2010-07-05  Roland McGrath  <roland@redhat.com>
48231         * manual/arith.texi (Rounding Functions): Fix rint description
48232         implicit in round description.
48234 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48236         * elf/Makefile: Fix linking for a few tests to make recent linker
48237         happy.
48239 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48241         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48242         $(common-objpfx)libc_nonshared.a.
48244 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48246         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48247         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48248         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48249         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48250         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48251         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48252         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48253         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48268         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48269         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48270         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48271         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48272         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48273         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48274         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48275         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48276         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48277         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48278         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48279         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48295 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48297         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48298         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48299         * string/memmove.c (memmove): Renamed to ...
48300         (MEMMOVE): ...this.  Default to memmove.
48301         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48302         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48303         (END_CHK): Define.
48304         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48305         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48306         mempcpy-ssse3-back memmove-ssse3-back.
48307         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48308         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48309         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48310         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48311         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48312         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48313         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48314         * sysdeps/x86_64/multiarch/memmove.c: New file.
48315         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48316         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48317         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48318         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48319         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48320         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48321         Define.
48322         (index_Fast_Copy_Backward): Define.
48323         (HAS_ARCH_FEATURE): Define.
48324         (HAS_FAST_REP_STRING): Define.
48325         (HAS_FAST_COPY_BACKWARD): Define.
48327 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48329         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48330         Restore proper fallback handling.
48332 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48334         [BZ #11701]
48335         * posix/group_member.c (__group_member): Correct checking loop.
48337         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48338         OOM in getpwuid_r correctly.  Return error number when the caller
48339         should return, otherwise -1.
48340         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48341         call returning > 0 value.
48342         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48344 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48346         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48347         libc_nonshared.a from targets in modules-names.
48349 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48351         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48352         requires it.
48354 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48356         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48357         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48358         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48359         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48361 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48363         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48365 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48367         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48368         and F_GETPIPE_SZ.
48369         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48370         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48371         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48372         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48373         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48374         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48376 2010-06-14  Roland McGrath  <roland@redhat.com>
48378         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48380 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48382         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48383         __REDIRECT followed by __THROW.
48384         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48385         * posix/getopt.h (getopt): Likewise.
48387 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48389         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48390         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48391         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48392         in AT_FLAGS.
48393         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48394         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48396 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48398         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48400 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48402         [BZ #11640]
48403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48404         Properly check family and model.
48406 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48408         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48410 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48412         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48414 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48416         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48417         symbol reference.
48419 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48421         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48422         symbol reference.
48424 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48426         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48427         and internal_recvmmsg.
48428         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48429         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48430         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48431         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48433         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48434         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48435         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48437 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48439         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48441 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48443         POWER7 optimizations.
48444         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48445         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48447 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48449         * version.h: Update for 2.13 development version.
48451 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48453         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48454         exceptions.  Return 0.
48456 2010-05-07  Roland McGrath  <roland@redhat.com>
48458         * elf/ldconfig.c (main): Add a const.
48460 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48462         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48463         (args_options): Add no-idn option.
48464         (ahosts_keys_int): Add idn_flags to ai_flags.
48465         (parse_option): Handle 'i' option to clear idn_flags.
48467         * malloc/malloc.c (_int_free): Possible race in the most recently
48468         added check.  Only act on the data if no current modification
48469         happened.
48471 See ChangeLog.17 for earlier changes.